nimble-ui-pc
Version:
基础vue ui库 配置化组件 后台管理系统组件
1 lines • 21.5 kB
JavaScript
module.exports=function(t){var n={};function e(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s="jJRd")}({"+b8q":function(t,n,e){"use strict";var o={extends:e("jeun").a},i=e("VU/8")(o,null,!1,null,null,null);n.a=i.exports},"0Zk/":function(t,n,e){"use strict";n.a=function(t,n){return Object(o.a)(t,n).replace(/^[a-z]/,function(t){return t.toUpperCase()})};var o=e("lXuC")},"16/I":function(t,n,e){"use strict";var o=e("ekq3");var i=e("1JEl");n.a=Object(i.a)(function(t){return{model:{prop:"mValue",event:"valueChange"},props:{mValue:(t=t||{}).value||{}},data:function(){var n={myValue:Object(o.a)(t.myValueInit||this.mValue,[this.mValue],this)};return void 0===this.$options.propsData.mValue&&void 0!==n.myValue&&this._valueChange(),n},watch:{mValue:function(n,e){!1!==Object(o.a)(t.mValueChange,[n,e],this)&&(this.myValue=n)},myValue:function(n,e){!1!==Object(o.a)(t.myValueChange,[n,e],this)&&this._valueChange()}},methods:{_valueChange:function(t){void 0===t&&(t=this.myValue),this.$emit("valueChange",t)}}}})},"1JEl":function(t,n,e){"use strict";n.a=function(t){t&&!t.install&&(t.install=function(n,e){n.mixin(Object(o.a)(t,[e]))});return t};var o=e("ekq3")},"1p6n":function(t,n){},"2HHg":function(t,n,e){"use strict";n.a=function(t){t&&!t.install&&(t.install=function(n){var e=t.name||"",o=n.component(e);o||n.component(e,t)});return t}},"5fCB":function(t,n,e){"use strict";var o=e("E5mE"),i=e("eY/N");n.a=function t(){for(var n=!0,e=void 0,r=arguments.length,l=Array(r),a=0;a<r;a++)l[a]=arguments[a];if(l instanceof Array&&(e=l.slice(0,1)[0]),"boolean"==typeof e&&(n=e,l.splice(0,1),n||(e=l.splice(0,1)[0])),l&&l.length<1)return"boolean"==typeof e?l[1]:e;n&&(e=null);for(var c=0;c<l.length;c++){var s=l[c];if(s instanceof Object)if(n){for(var u in e&&e instanceof Object||(e=s instanceof Array?[]:{}),s)if(s.hasOwnProperty(u)){var f=s[u];if(g(f)){var d=g(e[u])&&e[u]||(f instanceof Array?[]:{});e[u]=t(d,f)}else void 0!==f?e[u]=f:void 0!==e[u]&&(e[u]=f)}}else e=e&&e instanceof Object?Object.assign(e,s):s}return e;function g(t){return t&&(Object(o.a)(t,"Array")||Object(i.a)(t))||!1}}},"68qm":function(t,n){},"83kI":function(t,n,e){"use strict";var o=e("yIPE"),i=e("Yx2F"),r=e("S65G"),l=e("SpSB"),a={extends:o.a,components:{UploadBtn:i.default,ColorPicker:r.default,NupLink:l.default}},c={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.controlConfig?e("div",{staticClass:"nups_extend-items"},["button"===t.controlConfig.type?[e("el-button",{staticClass:"nups_extend-btn",attrs:{type:t.controlConfig.styleType||"",size:t.controlConfig.size},on:{click:function(n){t.extendClick(t.controlConfig)}}},[t._v("\n "+t._s(t.controlConfig.nameText)+"\n ")])]:"fileButton"===t.controlConfig.type?[e("upload-btn",{attrs:{"form-model":t.formModel,config:t.config,"control-config":t.controlConfig},on:{extendClick:t.extendClick},model:{value:t.myValue,callback:function(n){t.myValue=n},expression:"myValue"}})]:"img"===t.controlConfig.type?[e("div",{staticClass:"nup_img-container",on:{click:function(n){t.extendClick(t.controlConfig)}}},[t.controlConfig.src||t.formModel&&t.formModel.get(t.config.controlName)&&t.formModel.get(t.config.controlName).value?[e("img",{attrs:{src:t.controlConfig.src||t.formModel.get(t.config.controlName).value,width:"100%",height:"100%"}})]:t._e()],2)]:"color"===t.controlConfig.type?[e("color-picker",{attrs:{"control-config":t.controlConfig,"form-model":t.formModel,config:t.config},on:{extendClick:t.extendClick},model:{value:t.myValue,callback:function(n){t.myValue=n},expression:"myValue"}})]:"link"===t.controlConfig.type?[e("nup-link",{attrs:{"control-config":t.controlConfig,"form-model":t.formModel,config:t.config,valueData:t.valueData},on:{extendClick:t.extendClick}})]:[e("span",{domProps:{innerHTML:t._s(t.controlConfig.nameText)},on:{click:function(n){t.extendClick(t.controlConfig)}}})]],2):t._e()},staticRenderFns:[]};var s=e("VU/8")(a,c,!1,function(t){e("DQfN")},null,null).exports,u=e("sAdx"),f={extends:u.a,props:{config:{type:Object}},components:{ExtendItem:s},methods:{myItemFliter:function(t){var n=t;if(this.itemFliter instanceof Function){var e=this.itemFliter(t);void 0!==e&&(n=e)}return n}}},d={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.controlConfig&&t.controlConfig.length?e("div",{staticClass:"nups_control-extend"},t._l(t.controlConfig,function(n,o){return e("extend-item",{key:o,staticClass:"nup_control-leftPadding",class:n.className||"",attrs:{"form-model":t.formModel,itemFliter:t.itemFliter,"control-config":t.myItemFliter(n),config:t.config,valueData:t.valueData},on:{extendClick:t.extendClick},model:{value:t.myValue,callback:function(n){t.myValue=n},expression:"myValue"}})})):t._e()},staticRenderFns:[]};var g=e("VU/8")(f,d,!1,function(t){e("qkpR")},null,null).exports,m={extends:u.a,components:{FormExtendFilter:g},computed:{extProps:function(){return{formModel:this.formModel,itemFliter:this.itemFliter,config:this.controlConfig,valueData:this.valueData}}},methods:{updataExtendClick:function(t){this.extendClick({controlConfig:this.controlConfig,extendConfig:t})}}},p={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return!t.bypassedWrap&&t.controlConfig?e("div",{staticClass:"nup_control-wraps"},[t.controlConfig.showNameText?e("div",{staticClass:"nup_control-usbNameText nup_control-leftPadding",class:[!t.requiredRight&&t.isRequired?"nup_is-required":""]},[t._v("\n "+t._s(t.controlConfig.nameText&&t.controlConfig.nameText+(t.controlConfig.isNoColon?"":":")||"")+"\n ")]):t._e(),t._v(" "),e("form-extend-filter",t._b({attrs:{controlConfig:t.controlConfig.prefixList},on:{extendClick:t.updataExtendClick},model:{value:t.myValue,callback:function(n){t.myValue=n},expression:"myValue"}},"form-extend-filter",t.extProps,!1)),t._v(" "),e("div",{staticClass:"nup_control-cont",class:[!t.controlConfig.showNameText&&"nup_control-leftPadding",t.controlConfig.className||""]},[t._t("default")],2),t._v(" "),e("form-extend-filter",t._b({attrs:{controlConfig:t.controlConfig.descList},on:{extendClick:t.updataExtendClick},model:{value:t.myValue,callback:function(n){t.myValue=n},expression:"myValue"}},"form-extend-filter",t.extProps,!1)),t._v(" "),t.controlConfig.showNameText&&t.requiredRight?e("div",{staticClass:"nup_ext-fix",class:[t.requiredRight&&t.isRequired?"nup_is-required-ext":""]}):t._e()],1):t.bypassedWrap?e("div",{staticClass:"form-control-container"},[t._t("default")],2):t._e()},staticRenderFns:[]};var h=e("VU/8")(m,p,!1,function(t){e("Cuff")},null,null);n.a=h.exports},"B/FW":function(t,n){},Cuff:function(t,n){},DQfN:function(t,n){},E5mE:function(t,n,e){"use strict";n.a=function(t,n){var e=!1;try{e=Object.prototype.toString.call(t)==="[object "+n+"]"}catch(t){}return e}},"F/C+":function(t,n,e){"use strict";var o=e("2HHg");n.a=o.a},IrUm:function(t,n,e){"use strict";n.a=function t(n,e,o){var i=!1;var r=n instanceof Object;var l=e instanceof Object;if(n===e)return!0;r&&r===l&&(r=Object.prototype.toString.call(n),l=Object.prototype.toString.call(e));if(!n&&e||n&&!e||r&&!l||!r&&l)return i;if(!r||!l)return n===e&&(i=!0),i;if(function(t,n){var e=!1;try{e=JSON.stringify(t)===JSON.stringify(n)}catch(t){e=!1}return e}(n,e))i=!0;else if(o&&o.length)i=s(o,n,e);else{var a=Object.keys(n),c=Object.keys(e);a.length===c.length&&(i=s(a,n,e))}return i;function s(n,e,o){for(var i=!0,r=0;r<n.length;r++){var l=n[r];if("__ob__"!==l&&!(i=t(e[l],o[l])))break}return i}}},"Q/c6":function(t,n,e){"use strict";var o=e("sAdx");var i=e("IrUm");function r(t,n){var e=-1;if(!t||!n||n.length<=0)return e;for(var o=0;o<n.length;o++)if(Object(i.a)(t,n[o])){e=o;break}return e}var l=e("5fCB");var a=e("zagf"),c={};function s(t){var n=((t||"")+"").match(/\.([a-z0-9]+)[^.]*$/i);return((n&&n[1]||"")+"").toLowerCase()}function u(t){return new Promise(function(n,e){if(!t)return n(null),null;var o=s(t&&t.name||"");if(!o||r(o,["jpg","jpeg","png","gif","bmp","jpe"])<0)return n(null),null;(function(t){return new Promise(function(n,e){var o=new FileReader;o.onload=function(){n(this.result)},o.onerror=function(t){e(t)},o.readAsDataURL(t)})})(t).then(function(t){var o,i;t?(o=t,new Promise(function(t,n){if(o){var e="";e="string"==typeof o?o:"";var r=new Image,l=Object(a.a)(i,[r,o])||!1;if(e&&c[e])return r=null,void t(c[e]);r.onload=function(){r.onload=null,r.onerror=null;var n={naturalHeight:r.naturalHeight||r.height,naturalWidth:r.naturalWidth||r.width,src:r.src,image:r};e&&(c[e]=n),t(n),r=null},r.onerror=function(t){n(t),r=null},l||(r.src=o)}else n(new Error("src不能为:"+o))})).then(n,e):n(null)},e)})}var f=e("0Zk/"),d={typeErrorMsg:"请上传正确文件格式",sizeErrorMsg:"文件大小过大",maxWidthErrorMsg:"图片宽度过大",maxHeightErrorMsg:"图片高度过大",widthErrorMsg:"图片宽度不符合",heightErrorMsg:"图片高度不符合",minWidthErrorMsg:"图片宽度不够",minHeightErrorMsg:"图片高度不够",scaleErrorMsg:"图片长宽比例不符合"},g={Image:["png","jpg","jpeg","gif"],Video:["mp4","ogg","flv","wmv","rmvb"],Ae:["zip"]};var m=function(t,n){var e=Object(l.a)(!0,d||{},n||{});return new Promise(function(n,l){var a=s(t&&t.name)||"",c=null,d=e.extension||"",m=void 0,p=(e.fileType||"")+"";!d||d instanceof Array||(m=[d]),!m&&d instanceof Array&&(m=d),!p||m&&m.length||(p=Object(f.a)(p),m=g[p]||void 0),m&&r(a,m)<0&&(c=e.typeErrorMsg),!c&&i("size",Math.max(parseInt((e.size||0)+"",10),t.size/1024),function(){c=e.sizeErrorMsg}),c||void 0===e.maxWidth&&void 0===e.maxHeight&&void 0===e.width&&void 0===e.height&&void 0===e.minWidth&&void 0===e.minHeight&&void 0===e.scale?n(c):u(t).then(function(t){if(t){var r=t.naturalWidth,l=t.naturalHeight;!c&&i("maxWidth",Math.max(r,o(e.maxWidth)),function(){c=e.maxWidthErrorMsg}),!c&&i("maxHeight",Math.max(l,o(e.maxHeight)),function(){c=e.maxHeightErrorMsg}),!c&&i("width",r,function(){c=e.widthErrorMsg}),!c&&i("height",l,function(){c=e.heightErrorMsg}),!c&&i("minWidth",Math.min(r,o(e.minWidth)),function(){c=e.minWidthErrorMsg}),!c&&i("minHeight",Math.min(l,o(e.minHeight)),function(){c=e.minHeightErrorMsg}),!c&&i("scale",r/l,function(){c=e.scaleErrorMsg})}n(c=c||null)})});function o(t){return parseInt((t||0)+"",10)||0}function i(t,n,i){o(e[t])>0&&e[t]+""!=n+""&&Object(a.a)(i)}},p=e("WGR+"),h={Image:["png","jpg","jpeg","gif"],Video:["mp4","ogg","flv","wmv","rmvb"],Ae:["zip"]},v={extends:o.a,data:function(){var t=this.controlConfig.validFile||{};return{fileType:Object(p.a)((t.type||"")+""),extension:null}},computed:{propsData:function(){var t=this.limit,n=this.myValue,e=this.controlConfig||{},o=e.showFileList||!1,i={showFileList:o};return o&&(i=Object.assign({class:[o&&(n&&n.length)>=t&&"nup_isDelAdd"],limit:t,fileList:n,showFileList:o},e.propsData||{})),i},limit:function(){var t=this.controlConfig||{},n=t.limit||1;return(t.showFileList||!1||n>1)&&(this.myValue&&this.myValue instanceof Array||(this.myValue?this.myValue=[{url:this.myValue}]:this.myValue=[])),n},accept:function(){var t=this.fileType,n=h[t]&&t;return"Ae"===n?"application/zip":(n||"*")+"/*"}},methods:{handleRemove:function(t,n){this.myValue=n},onBeforeUpload:function(t){var n=this,e=setTimeout(function(){n.$sLoading.loadingc({nameText:"文件读取中,请稍候。。。"},{key:"file_loadingc"})},200),o=t&&t.name.split(".").pop();this.extension=o;var i=Math.abs(n.controlConfig&&n.controlConfig.orientation||0),r=function(t,n){var e=t;if(t)switch(n+""){case"90":e={maxWidth:t.maxHeight,maxHeight:t.maxWidth,width:t.height,height:t.width,minWidth:t.minHeight,minHeight:t.minWidth,scale:t.scale&&1/t.scale||void 0}}return e}(n.controlConfig&&n.controlConfig.validFile,i);return new Promise(function(o,i){void 0!==e&&clearTimeout(e),r?m(t,r).then(function(t){n.$sLoading.close("file_loadingc"),t?(n.$sCommon.errorMsg(t,{type:"error"}),i(t)):o(!0)}):(n.$sLoading.close("file_loadingc"),o(!0))})},httpRequest:function(t){var n=this,e=n.fileType||"Image";return e="Ae"===e?"Image":e,new Promise(function(o,i){n.$sCommon.upload(t,{extension:n.extension,type:e,config:n.controlConfig}).then(function(t){var e=t&&t.url;e&&(n.myValue instanceof Array?n.myValue.push({url:e}):n.myValue=e,o(t))})})}}},C=e("VU/8")(v,null,!1,null,null,null);n.a=C.exports},S65G:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("F/C+"),i={name:"NupColorPicker",extends:e("yIPE").a},r={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.controlConfig?e("div",{staticClass:"nups_color-picker"},[e("el-color-picker",{staticClass:"nup_color",attrs:{"popper-class":t.controlConfig.popperClass,readonly:t.controlConfig.readonly,disabled:t.controlConfig.disabled},on:{change:function(n){t.extendClick(t.controlConfig)},"active-change":function(n){t.setParentIsBlur()}},model:{value:t.myValue,callback:function(n){t.myValue=n},expression:"myValue"}})],1):t._e()},staticRenderFns:[]};var l=e("VU/8")(i,r,!1,function(t){e("1p6n")},null,null).exports;n.default=Object(o.a)(l)},SpSB:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("F/C+"),i={name:"NupLink",extends:e("sAdx").a,props:{config:{type:Object}},computed:{isShowLink:function(){var t=!1,n=this.valueData,e=this.controlConfig.status;return void 0!==e?n instanceof Array?n.find(function(n){return t=o(n)}):t=o(n):t=!0,t;function o(t){return t instanceof Object&&t.select===e||t===e}}}},r={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.isShowLink?e("div",{staticClass:"nups_link",on:{click:function(n){t.extendClick(t.controlConfig)}}},[e("span",{staticClass:"nup_link-style",class:[t.controlConfig.className||""]},[t._v(t._s(t.controlConfig.nameText))])]):t._e()},staticRenderFns:[]};var l=e("VU/8")(i,r,!1,function(t){e("68qm")},null,null).exports;n.default=Object(o.a)(l)},"VU/8":function(t,n){t.exports=function(t,n,e,o,i,r){var l,a=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(l=t,a=t.default);var s,u="function"==typeof a?a.options:a;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns,u._compiled=!0),e&&(u.functional=!0),i&&(u._scopeId=i),r?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=s):o&&(s=o),s){var f=u.functional,d=f?u.render:u.beforeCreate;f?(u._injectStyles=s,u.render=function(t,n){return s.call(n),d(t,n)}):u.beforeCreate=d?[].concat(d,s):[s]}return{esModule:l,exports:a,options:u}}},"WGR+":function(t,n,e){"use strict";var o=e("0Zk/");n.a=o.a},Yx2F:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("F/C+"),i={extends:e("Q/c6").a},r={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("el-upload",{staticClass:"nups_upload",attrs:{action:"",accept:t.accept,readonly:t.controlConfig.readonly,disabled:t.controlConfig.disabled,"show-file-list":!1,"http-request":t.httpRequest,"before-upload":t.onBeforeUpload}},[e("el-button",{attrs:{readonly:t.controlConfig.readonly,disabled:t.controlConfig.disabled,size:"small",type:"primary"},on:{click:function(n){t.extendClick(t.controlConfig)}}},[t._v(t._s(t.controlConfig.nameText))])],1)},staticRenderFns:[]},l=e("VU/8")(i,r,!1,null,null,null).exports;n.default=Object(o.a)(l)},ZMJv:function(t,n,e){"use strict";var o=e("zagf"),i=e("E5mE");n.a=function(t,n,e,r){var l=t;return!n||n instanceof Array||(n=[n]),new Promise(function(a,c){(l=Object(o.a)(t||l,n,r||null))instanceof Promise||Object(i.a)(l,"Promise")||l&&l.then instanceof Function?l.then(a,c):a(e?{default:l}:l)})}},"eY/N":function(t,n,e){"use strict";n.a=function(t){if(!Object(o.a)(t,"Object"))return!1;var n=Object.getPrototypeOf(t);if(!n)return!0;var e=i.call(n,"constructor")&&n.constructor;return"function"==typeof e&&i.toString.call(e)===i.toString.call(Object)};var o=e("E5mE"),i=Object.prototype.hasOwnProperty},ekq3:function(t,n,e){"use strict";var o=e("zagf");n.a=o.a},jJRd:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("F/C+"),i=e("ekq3"),r=e("ZMJv"),l=e("83kI"),a={name:"NupSelectasync",extends:e("sAdx").a,components:{FormControlWrap:l.a},props:{filterItem:{type:Function},filterList:{type:Function}},data:function(){return{options:null,filterOptions:null,loading:!1,isListInit:!1}},created:function(){var t=this;(t.controlConfig||{}).isFocusData?t.isListInit=!0:t.getFilterOptions(),t._initMyValue(),t.$watch("controlConfig.list",function(){t.getFilterOptions()})},watch:{myValue:function(){this._initMyValue()},controlConfig:function(){this.getFilterOptions()}},methods:{_focus:function(t){(this.controlConfig||{}).isFocusData&&!this.isFocus&&this.getFilterOptions(),this.isFocus=!0,this.$emit("focus",t)},_visibleChange:function(t){var n=this.controlConfig||{};n.visibleChange&&Object(i.a)(n.visibleChange,[t])},_filterItem:function(t){var n=this.filterItem||this.controlConfig.filterItem||(this.$tSelect||{}).filterItem,e=Object(i.a)(n||t,[t,this.controlConfig]);return void 0!==e?e:t},_initMyValue:function(){var t=this.myValue;!(this.controlConfig||{}).multiple||null!==t&&void 0!==t||(this.myValue=[])},getFilterOptions:function(){var t=this,n=this.controlConfig||{};this.loading=!0,Object(r.a)(n.list,[n]).then(function(n){t.loading=!1,t.isListInit=!0,t.options=n,t.filterOptions=(t.options||[]).slice(0)})},_filterMethod:function(t){var n=this,e=this,o=e.controlConfig||{},i=e.filterList||o.filterList||(e.$tSelect||{}).filterList;if(i){var l=(e.options||[]).slice(0);e.loading=!0,Object(r.a)(i,[t,l,o]).then(function(t){n.loading=!1,!1!==t&&(e.filterOptions=t||[])},function(){n.loading=!1})}}}},c={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.controlConfig?e("form-control-wrap",{staticClass:"nups_select",attrs:{formModel:t.formModel,bypassedWrap:t.bypassedWrap,controlConfig:t.controlConfig,valueData:t.myValueData},on:{extendClick:t.extendClick,valueChange:t._valueChange}},[t.isListInit?e("el-select",{staticClass:"nup_select-cont",class:[t.hasBlur&&"isBlur"],attrs:{filterable:"",popperClass:t.controlConfig.popperClass,placeholder:t.controlConfig.placeholder,multiple:t.controlConfig.multiple,readonly:t.controlConfig.readonly,disabled:t.controlConfig.disabled,clearable:!t.controlConfig.readonly&&!t.controlConfig.disabled&&!t.controlConfig.unclearable,remote:!0,"eserve-keyword":!0,"remote-method":t._filterMethod,loading:t.loading},on:{"visible-change":t._visibleChange,blur:t.setIsBlur,enter:function(n){t.$emit("enter",n)},focus:t._focus},model:{value:t.myValue,callback:function(n){t.myValue=n},expression:"myValue"}},t._l(t.filterOptions,function(n){return e("el-option",{key:n.value,attrs:{label:t._filterItem(n).nameText,readonly:t.controlConfig.readonly,disabled:t.controlConfig.disabled,value:t._filterItem(n).value}})})):t._e()],1):t._e()},staticRenderFns:[]},s=e("VU/8")(a,c,!1,null,null,null).exports;n.default=Object(o.a)(s)},jeun:function(t,n,e){"use strict";e("B/FW");var o=e("VU/8")({},null,!1,null,null,null);n.a=o.exports},lXuC:function(t,n,e){"use strict";n.a=function(t,n){var e="("+(n||"_|-")+")";return t=(t=(t=(t+"").replace(new RegExp(e+"?(?:(?:[A-Z]{2,}[A-Z]"+e+"*$)|(?:[A-Z]{2,}(?=[A-Z])))","g"),function(t){return(((n||"")+"").split("|")[0]||"-")+(t=t.replace(new RegExp(e),"")).toLowerCase()})).replace(new RegExp("(?:^"+e+"?([a-z]))|(?:"+e+"$)","gi"),function(t,n,e){return(e||"").toLowerCase()})).replace(new RegExp(e+"([a-z])","gi"),function(t,n,e){return(e||"").toUpperCase()})}},qkpR:function(t,n){},sAdx:function(t,n,e){"use strict";var o=e("16/I"),i={extends:e("+b8q").a},r={extends:e("VU/8")(i,null,!1,null,null,null).exports,name:"NupControlExtend",props:{itemFliter:{type:Function},formModel:{type:Object},controlConfig:{type:[Object,Array]},bypassedWrap:{default:!1},valueData:{}},data:function(){return{isBlur:!1,isSyncMvalue:!0,myValueData:null}},mixins:[Object(o.a)({mValueChange:function(){return this.isSyncMvalue},myValueChange:function(t){this.myValueData=t}})],computed:{hasBlur:function(){var t=!1,n=this.controlConfig;if(n){var e=this.formModel,o=e&&e.get(n.controlName);o&&o.isBlur&&(t=o.isBlur)}return t},isRequired:function(){var t=this.controlConfig,n=!1,e=t&&t.valid;return e instanceof Array&&(e=e[0]),e instanceof Object&&(e.required||e.isChecked)&&(n=!0),n},requiredRight:function(){var t=!1,n=this.controlConfig;return n instanceof Object&&n.requiredRight&&(t=!0),t}},methods:{setIsBlur:function(t){var n=this,e=n.controlConfig,o=n.formModel;setTimeout(function(){if(o&&e){var i=o.get(e.controlName);i&&(i.isBlur=!0)}n.isBlur=!0,n.$emit("blur",t)},200)},extendClick:function(t){this.$emit("extendClick",t)}}},l=e("VU/8")(r,null,!1,null,null,null);n.a=l.exports},yIPE:function(t,n,e){"use strict";var o={extends:e("sAdx").a,props:{config:{type:Object}},methods:{setParentIsBlur:function(){var t=this.config,n=this.formModel;if(n&&t){var e=n.get(t.controlName);e&&(e.isBlur=!0)}}}},i=e("VU/8")(o,null,!1,null,null,null);n.a=i.exports},zagf:function(t,n,e){"use strict";n.a=function(t,n,e){var o=t;t instanceof Function&&(o=t.apply(e,n));return o}}});