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 r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.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="srTC")}({"+b8q":function(t,n,e){"use strict";var o={extends:e("jeun").a},r=e("VU/8")(o,null,!1,null,null,null);n.a=r.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 r=e("1JEl");n.a=Object(r.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"),r=e("eY/N");n.a=function t(){for(var n=!0,e=void 0,i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];if(a instanceof Array&&(e=a.slice(0,1)[0]),"boolean"==typeof e&&(n=e,a.splice(0,1),n||(e=a.splice(0,1)[0])),a&&a.length<1)return"boolean"==typeof e?a[1]:e;n&&(e=null);for(var c=0;c<a.length;c++){var s=a[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(p(f)){var d=p(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 p(t){return t&&(Object(o.a)(t,"Array")||Object(r.a)(t))||!1}}},"68qm":function(t,n){},"83kI":function(t,n,e){"use strict";var o=e("yIPE"),r=e("Yx2F"),i=e("S65G"),a=e("SpSB"),l={extends:o.a,components:{UploadBtn:r.default,ColorPicker:i.default,NupLink:a.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")(l,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 p=e("VU/8")(f,d,!1,function(t){e("qkpR")},null,null).exports,m={extends:u.a,components:{FormExtendFilter:p},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})}}},g={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,g,!1,function(t){e("Cuff")},null,null);n.a=h.exports},"9PlH":function(t,n){},"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 r=!1;var i=n instanceof Object;var a=e instanceof Object;if(n===e)return!0;i&&i===a&&(i=Object.prototype.toString.call(n),a=Object.prototype.toString.call(e));if(!n&&e||n&&!e||i&&!a||!i&&a)return r;if(!i||!a)return n===e&&(r=!0),r;if(function(t,n){var e=!1;try{e=JSON.stringify(t)===JSON.stringify(n)}catch(t){e=!1}return e}(n,e))r=!0;else if(o&&o.length)r=s(o,n,e);else{var l=Object.keys(n),c=Object.keys(e);l.length===c.length&&(r=s(l,n,e))}return r;function s(n,e,o){for(var r=!0,i=0;i<n.length;i++){var a=n[i];if("__ob__"!==a&&!(r=t(e[a],o[a])))break}return r}}},"Q/c6":function(t,n,e){"use strict";var o=e("sAdx");var r=e("IrUm");function i(t,n){var e=-1;if(!t||!n||n.length<=0)return e;for(var o=0;o<n.length;o++)if(Object(r.a)(t,n[o])){e=o;break}return e}var a=e("5fCB");var l=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||i(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,r;t?(o=t,new Promise(function(t,n){if(o){var e="";e="string"==typeof o?o:"";var i=new Image,a=Object(l.a)(r,[i,o])||!1;if(e&&c[e])return i=null,void t(c[e]);i.onload=function(){i.onload=null,i.onerror=null;var n={naturalHeight:i.naturalHeight||i.height,naturalWidth:i.naturalWidth||i.width,src:i.src,image:i};e&&(c[e]=n),t(n),i=null},i.onerror=function(t){n(t),i=null},a||(i.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:"图片长宽比例不符合"},p={Image:["png","jpg","jpeg","gif"],Video:["mp4","ogg","flv","wmv","rmvb"],Ae:["zip"]};var m=function(t,n){var e=Object(a.a)(!0,d||{},n||{});return new Promise(function(n,a){var l=s(t&&t.name)||"",c=null,d=e.extension||"",m=void 0,g=(e.fileType||"")+"";!d||d instanceof Array||(m=[d]),!m&&d instanceof Array&&(m=d),!g||m&&m.length||(g=Object(f.a)(g),m=p[g]||void 0),m&&i(l,m)<0&&(c=e.typeErrorMsg),!c&&r("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 i=t.naturalWidth,a=t.naturalHeight;!c&&r("maxWidth",Math.max(i,o(e.maxWidth)),function(){c=e.maxWidthErrorMsg}),!c&&r("maxHeight",Math.max(a,o(e.maxHeight)),function(){c=e.maxHeightErrorMsg}),!c&&r("width",i,function(){c=e.widthErrorMsg}),!c&&r("height",a,function(){c=e.heightErrorMsg}),!c&&r("minWidth",Math.min(i,o(e.minWidth)),function(){c=e.minWidthErrorMsg}),!c&&r("minHeight",Math.min(a,o(e.minHeight)),function(){c=e.minHeightErrorMsg}),!c&&r("scale",i/a,function(){c=e.scaleErrorMsg})}n(c=c||null)})});function o(t){return parseInt((t||0)+"",10)||0}function r(t,n,r){o(e[t])>0&&e[t]+""!=n+""&&Object(l.a)(r)}},g=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(g.a)((t.type||"")+""),extension:null}},computed:{propsData:function(){var t=this.limit,n=this.myValue,e=this.controlConfig||{},o=e.showFileList||!1,r={showFileList:o};return o&&(r=Object.assign({class:[o&&(n&&n.length)>=t&&"nup_isDelAdd"],limit:t,fileList:n,showFileList:o},e.propsData||{})),r},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 r=Math.abs(n.controlConfig&&n.controlConfig.orientation||0),i=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,r);return new Promise(function(o,r){void 0!==e&&clearTimeout(e),i?m(t,i).then(function(t){n.$sLoading.close("file_loadingc"),t?(n.$sCommon.errorMsg(t,{type:"error"}),r(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,r){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+"),r={name:"NupColorPicker",extends:e("yIPE").a},i={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 a=e("VU/8")(r,i,!1,function(t){e("1p6n")},null,null).exports;n.default=Object(o.a)(a)},SpSB:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("F/C+"),r={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}}}},i={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 a=e("VU/8")(r,i,!1,function(t){e("68qm")},null,null).exports;n.default=Object(o.a)(a)},"VU/8":function(t,n){t.exports=function(t,n,e,o,r,i){var a,l=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,l=t.default);var s,u="function"==typeof l?l.options:l;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns,u._compiled=!0),e&&(u.functional=!0),r&&(u._scopeId=r),i?(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(i)},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:a,exports:l,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+"),r={extends:e("Q/c6").a},i={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:[]},a=e("VU/8")(r,i,!1,null,null,null).exports;n.default=Object(o.a)(a)},bkxR:function(t,n,e){"use strict";function o(t){return void 0===t?"":encodeURIComponent(t)||""}var r=function(t,n){t=t||{},n=(n||"")+"";var e=Object.keys(t).map(function(n){var e=t[n];return Array.isArray(e)?e.map(function(t){return o(n)+"="+o(t)}).join("&"):o(n)+"="+o(e)});return e.length?""+(n+e.join("&")):""};var i=e("lXuC").a,a=e("eY/N");var l=function t(n){if(n)if("string"==typeof n)n=n.replace(/^\s*|\s*$/g,"");else if(n instanceof Array)n.map(function(n){return t(n)});else if(Object(a.a)(n))for(var e in n)if(n.hasOwnProperty(e)){var o=n[e];n[e]=t(o)}return n};var c,s,u=(s="link",(c=function(t){return/\//.test(t=(t||"")+"")||(t="javascript: void(0);"),t})&&!c.install&&(s=l(s),c.install=function(t){s=i((s||"")+"","_|-"),/^filter/i.test(s)||(s="filter"+s),s=s.replace(/^(filter)_?(.)/i,function(t,n,e){return(n+"_"+(e||"")).toLowerCase()}),t.filter(s)||t.filter(s,c)}),c),f={name:"NuLink",props:{to:{}},data:function(){return{link:""}},computed:{myLinkFlag:function(){var t=0,n=!1,e=this.to;void 0!==e&&null!==e||(t=1);var o=this.constructor,i=!!(o.component("router-link")||o.component("routerLink")||o.component("RouterLink"))||!1;if(e instanceof Object){if((e.path||!e.path&&!e.name)&&(e.path=c(e.path),n=l(e.path)||!i)){var a=e.path&&r(e.query,/\?/.test(e.path)?"&":"?")||"";e=e.path+a}}else"string"==typeof e?n=l(e=c(e))||!i:(n=!0,e=e||"");return t||(t=n?3:2),this.link=e,t;function l(t){var n=!1;return t&&!/https?:\/\//.test(t)||(n=!0),n}function c(t){t=(t||"")+"";var n=new RegExp(location.origin.replace(/([/:.])/g,"\\$1"));return t=t.replace(n,t)}}},methods:{filter_link:function(){var t=this.constructor.filter("filter_link")||u;return this.filter_link=t,t.apply(void 0,arguments)}}},d={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return 3===t.myLinkFlag?e("a",{attrs:{href:t.filter_link(t.link)}},[t._t("default")],2):2===t.myLinkFlag?e("router-link",{attrs:{to:t.link}},[t._t("default")],2):e("div",[t._t("default")],2)},staticRenderFns:[]},p=e("VU/8")(f,d,!1,null,null,null).exports,m=e("2HHg");n.a=Object(m.a)(p)},"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=r.call(n,"constructor")&&n.constructor;return"function"==typeof e&&r.toString.call(e)===r.toString.call(Object)};var o=e("E5mE"),r=Object.prototype.hasOwnProperty},ekq3:function(t,n,e){"use strict";var o=e("zagf");n.a=o.a},j2dU:function(t,n,e){"use strict";var o=e("bkxR"),r=e("83kI"),i={name:"NupLinktext",extends:e("sAdx").a,components:{FormControlWrap:r.a,NuLink:o.a},computed:{nameText:function(){var t=this.formModel,n=(this.controlConfig||{}).controlName,e=(t&&n&&t.get(n)||{}).value;return"string"==typeof e?e:e instanceof Object||null==e?e&&e.Selected||"":e}}},a={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.controlConfig?e("form-control-wrap",{staticClass:"nups_linktext",attrs:{"form-model":t.formModel,bypassedWrap:t.bypassedWrap,"control-config":t.controlConfig,valueData:t.myValueData},on:{extendClick:t.extendClick,valueChange:t._valueChange},model:{value:t.myValue,callback:function(n){t.myValue=n},expression:"myValue"}},[e("div",{staticClass:"nup_linktext-wrap"},[e("nu-link",{staticClass:"nup_linktext-cont"},[e("span",{staticClass:"nup_linktext-text",domProps:{innerHTML:t._s(t.nameText)}})])],1)]):t._e()},staticRenderFns:[]};var l=e("VU/8")(i,a,!1,function(t){e("9PlH")},null,null);n.a=l.exports},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"),r={extends:e("+b8q").a},i={extends:e("VU/8")(r,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 r=o.get(e.controlName);r&&(r.isBlur=!0)}n.isBlur=!0,n.$emit("blur",t)},200)},extendClick:function(t){this.$emit("extendClick",t)}}},a=e("VU/8")(i,null,!1,null,null,null);n.a=a.exports},srTC:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("F/C+"),r=e("j2dU");n.default=Object(o.a)(r.a)},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)}}}},r=e("VU/8")(o,null,!1,null,null,null);n.a=r.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}}});