UNPKG

nimble-ui-pc

Version:

基础vue ui库 配置化组件 后台管理系统组件

1 lines 21.4 kB
module.exports=function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s="mv0e")}({"+b8q":function(t,e,n){"use strict";var o={extends:n("jeun").a},i=n("VU/8")(o,null,!1,null,null,null);e.a=i.exports},"0Zk/":function(t,e,n){"use strict";e.a=function(t,e){return Object(o.a)(t,e).replace(/^[a-z]/,function(t){return t.toUpperCase()})};var o=n("lXuC")},"16/I":function(t,e,n){"use strict";var o=n("ekq3");var i=n("1JEl");e.a=Object(i.a)(function(t){return{model:{prop:"mValue",event:"valueChange"},props:{mValue:(t=t||{}).value||{}},data:function(){var e={myValue:Object(o.a)(t.myValueInit||this.mValue,[this.mValue],this)};return void 0===this.$options.propsData.mValue&&void 0!==e.myValue&&this._valueChange(),e},watch:{mValue:function(e,n){!1!==Object(o.a)(t.mValueChange,[e,n],this)&&(this.myValue=e)},myValue:function(e,n){!1!==Object(o.a)(t.myValueChange,[e,n],this)&&this._valueChange()}},methods:{_valueChange:function(t){void 0===t&&(t=this.myValue),this.$emit("valueChange",t)}}}})},"1JEl":function(t,e,n){"use strict";e.a=function(t){t&&!t.install&&(t.install=function(e,n){e.mixin(Object(o.a)(t,[n]))});return t};var o=n("ekq3")},"1p6n":function(t,e){},"2HHg":function(t,e,n){"use strict";e.a=function(t){t&&!t.install&&(t.install=function(e){var n=t.name||"",o=e.component(n);o||e.component(n,t)});return t}},"3dvQ":function(t,e){},"5fCB":function(t,e,n){"use strict";var o=n("E5mE"),i=n("eY/N");e.a=function t(){for(var e=!0,n=void 0,r=arguments.length,l=Array(r),a=0;a<r;a++)l[a]=arguments[a];if(l instanceof Array&&(n=l.slice(0,1)[0]),"boolean"==typeof n&&(e=n,l.splice(0,1),e||(n=l.splice(0,1)[0])),l&&l.length<1)return"boolean"==typeof n?l[1]:n;e&&(n=null);for(var s=0;s<l.length;s++){var c=l[s];if(c instanceof Object)if(e){for(var u in n&&n instanceof Object||(n=c instanceof Array?[]:{}),c)if(c.hasOwnProperty(u)){var f=c[u];if(m(f)){var d=m(n[u])&&n[u]||(f instanceof Array?[]:{});n[u]=t(d,f)}else void 0!==f?n[u]=f:void 0!==n[u]&&(n[u]=f)}}else n=n&&n instanceof Object?Object.assign(n,c):c}return n;function m(t){return t&&(Object(o.a)(t,"Array")||Object(i.a)(t))||!1}}},"68qm":function(t,e){},"83kI":function(t,e,n){"use strict";var o=n("yIPE"),i=n("Yx2F"),r=n("S65G"),l=n("SpSB"),a={extends:o.a,components:{UploadBtn:i.default,ColorPicker:r.default,NupLink:l.default}},s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.controlConfig?n("div",{staticClass:"nups_extend-items"},["button"===t.controlConfig.type?[n("el-button",{staticClass:"nups_extend-btn",attrs:{type:t.controlConfig.styleType||"",size:t.controlConfig.size},on:{click:function(e){t.extendClick(t.controlConfig)}}},[t._v("\n "+t._s(t.controlConfig.nameText)+"\n ")])]:"fileButton"===t.controlConfig.type?[n("upload-btn",{attrs:{"form-model":t.formModel,config:t.config,"control-config":t.controlConfig},on:{extendClick:t.extendClick},model:{value:t.myValue,callback:function(e){t.myValue=e},expression:"myValue"}})]:"img"===t.controlConfig.type?[n("div",{staticClass:"nup_img-container",on:{click:function(e){t.extendClick(t.controlConfig)}}},[t.controlConfig.src||t.formModel&&t.formModel.get(t.config.controlName)&&t.formModel.get(t.config.controlName).value?[n("img",{attrs:{src:t.controlConfig.src||t.formModel.get(t.config.controlName).value,width:"100%",height:"100%"}})]:t._e()],2)]:"color"===t.controlConfig.type?[n("color-picker",{attrs:{"control-config":t.controlConfig,"form-model":t.formModel,config:t.config},on:{extendClick:t.extendClick},model:{value:t.myValue,callback:function(e){t.myValue=e},expression:"myValue"}})]:"link"===t.controlConfig.type?[n("nup-link",{attrs:{"control-config":t.controlConfig,"form-model":t.formModel,config:t.config,valueData:t.valueData},on:{extendClick:t.extendClick}})]:[n("span",{domProps:{innerHTML:t._s(t.controlConfig.nameText)},on:{click:function(e){t.extendClick(t.controlConfig)}}})]],2):t._e()},staticRenderFns:[]};var c=n("VU/8")(a,s,!1,function(t){n("DQfN")},null,null).exports,u=n("sAdx"),f={extends:u.a,props:{config:{type:Object}},components:{ExtendItem:c},methods:{myItemFliter:function(t){var e=t;if(this.itemFliter instanceof Function){var n=this.itemFliter(t);void 0!==n&&(e=n)}return e}}},d={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.controlConfig&&t.controlConfig.length?n("div",{staticClass:"nups_control-extend"},t._l(t.controlConfig,function(e,o){return n("extend-item",{key:o,staticClass:"nup_control-leftPadding",class:e.className||"",attrs:{"form-model":t.formModel,itemFliter:t.itemFliter,"control-config":t.myItemFliter(e),config:t.config,valueData:t.valueData},on:{extendClick:t.extendClick},model:{value:t.myValue,callback:function(e){t.myValue=e},expression:"myValue"}})})):t._e()},staticRenderFns:[]};var m=n("VU/8")(f,d,!1,function(t){n("qkpR")},null,null).exports,g={extends:u.a,components:{FormExtendFilter:m},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})}}},h={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.bypassedWrap&&t.controlConfig?n("div",{staticClass:"nup_control-wraps"},[t.controlConfig.showNameText?n("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(" "),n("form-extend-filter",t._b({attrs:{controlConfig:t.controlConfig.prefixList},on:{extendClick:t.updataExtendClick},model:{value:t.myValue,callback:function(e){t.myValue=e},expression:"myValue"}},"form-extend-filter",t.extProps,!1)),t._v(" "),n("div",{staticClass:"nup_control-cont",class:[!t.controlConfig.showNameText&&"nup_control-leftPadding",t.controlConfig.className||""]},[t._t("default")],2),t._v(" "),n("form-extend-filter",t._b({attrs:{controlConfig:t.controlConfig.descList},on:{extendClick:t.updataExtendClick},model:{value:t.myValue,callback:function(e){t.myValue=e},expression:"myValue"}},"form-extend-filter",t.extProps,!1)),t._v(" "),t.controlConfig.showNameText&&t.requiredRight?n("div",{staticClass:"nup_ext-fix",class:[t.requiredRight&&t.isRequired?"nup_is-required-ext":""]}):t._e()],1):t.bypassedWrap?n("div",{staticClass:"form-control-container"},[t._t("default")],2):t._e()},staticRenderFns:[]};var p=n("VU/8")(g,h,!1,function(t){n("Cuff")},null,null);e.a=p.exports},"B/FW":function(t,e){},Cuff:function(t,e){},DQfN:function(t,e){},E5mE:function(t,e,n){"use strict";e.a=function(t,e){var n=!1;try{n=Object.prototype.toString.call(t)==="[object "+e+"]"}catch(t){}return n}},"F/C+":function(t,e,n){"use strict";var o=n("2HHg");e.a=o.a},IrUm:function(t,e,n){"use strict";e.a=function t(e,n,o){var i=!1;var r=e instanceof Object;var l=n instanceof Object;if(e===n)return!0;r&&r===l&&(r=Object.prototype.toString.call(e),l=Object.prototype.toString.call(n));if(!e&&n||e&&!n||r&&!l||!r&&l)return i;if(!r||!l)return e===n&&(i=!0),i;if(function(t,e){var n=!1;try{n=JSON.stringify(t)===JSON.stringify(e)}catch(t){n=!1}return n}(e,n))i=!0;else if(o&&o.length)i=c(o,e,n);else{var a=Object.keys(e),s=Object.keys(n);a.length===s.length&&(i=c(a,e,n))}return i;function c(e,n,o){for(var i=!0,r=0;r<e.length;r++){var l=e[r];if("__ob__"!==l&&!(i=t(n[l],o[l])))break}return i}}},"Q/c6":function(t,e,n){"use strict";var o=n("sAdx");var i=n("IrUm");function r(t,e){var n=-1;if(!t||!e||e.length<=0)return n;for(var o=0;o<e.length;o++)if(Object(i.a)(t,e[o])){n=o;break}return n}var l=n("5fCB");var a=n("zagf"),s={};function c(t){var e=((t||"")+"").match(/\.([a-z0-9]+)[^.]*$/i);return((e&&e[1]||"")+"").toLowerCase()}function u(t){return new Promise(function(e,n){if(!t)return e(null),null;var o=c(t&&t.name||"");if(!o||r(o,["jpg","jpeg","png","gif","bmp","jpe"])<0)return e(null),null;(function(t){return new Promise(function(e,n){var o=new FileReader;o.onload=function(){e(this.result)},o.onerror=function(t){n(t)},o.readAsDataURL(t)})})(t).then(function(t){var o,i;t?(o=t,new Promise(function(t,e){if(o){var n="";n="string"==typeof o?o:"";var r=new Image,l=Object(a.a)(i,[r,o])||!1;if(n&&s[n])return r=null,void t(s[n]);r.onload=function(){r.onload=null,r.onerror=null;var e={naturalHeight:r.naturalHeight||r.height,naturalWidth:r.naturalWidth||r.width,src:r.src,image:r};n&&(s[n]=e),t(e),r=null},r.onerror=function(t){e(t),r=null},l||(r.src=o)}else e(new Error("src不能为:"+o))})).then(e,n):e(null)},n)})}var f=n("0Zk/"),d={typeErrorMsg:"请上传正确文件格式",sizeErrorMsg:"文件大小过大",maxWidthErrorMsg:"图片宽度过大",maxHeightErrorMsg:"图片高度过大",widthErrorMsg:"图片宽度不符合",heightErrorMsg:"图片高度不符合",minWidthErrorMsg:"图片宽度不够",minHeightErrorMsg:"图片高度不够",scaleErrorMsg:"图片长宽比例不符合"},m={Image:["png","jpg","jpeg","gif"],Video:["mp4","ogg","flv","wmv","rmvb"],Ae:["zip"]};var g=function(t,e){var n=Object(l.a)(!0,d||{},e||{});return new Promise(function(e,l){var a=c(t&&t.name)||"",s=null,d=n.extension||"",g=void 0,h=(n.fileType||"")+"";!d||d instanceof Array||(g=[d]),!g&&d instanceof Array&&(g=d),!h||g&&g.length||(h=Object(f.a)(h),g=m[h]||void 0),g&&r(a,g)<0&&(s=n.typeErrorMsg),!s&&i("size",Math.max(parseInt((n.size||0)+"",10),t.size/1024),function(){s=n.sizeErrorMsg}),s||void 0===n.maxWidth&&void 0===n.maxHeight&&void 0===n.width&&void 0===n.height&&void 0===n.minWidth&&void 0===n.minHeight&&void 0===n.scale?e(s):u(t).then(function(t){if(t){var r=t.naturalWidth,l=t.naturalHeight;!s&&i("maxWidth",Math.max(r,o(n.maxWidth)),function(){s=n.maxWidthErrorMsg}),!s&&i("maxHeight",Math.max(l,o(n.maxHeight)),function(){s=n.maxHeightErrorMsg}),!s&&i("width",r,function(){s=n.widthErrorMsg}),!s&&i("height",l,function(){s=n.heightErrorMsg}),!s&&i("minWidth",Math.min(r,o(n.minWidth)),function(){s=n.minWidthErrorMsg}),!s&&i("minHeight",Math.min(l,o(n.minHeight)),function(){s=n.minHeightErrorMsg}),!s&&i("scale",r/l,function(){s=n.scaleErrorMsg})}e(s=s||null)})});function o(t){return parseInt((t||0)+"",10)||0}function i(t,e,i){o(n[t])>0&&n[t]+""!=e+""&&Object(a.a)(i)}},h=n("WGR+"),p={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(h.a)((t.type||"")+""),extension:null}},computed:{propsData:function(){var t=this.limit,e=this.myValue,n=this.controlConfig||{},o=n.showFileList||!1,i={showFileList:o};return o&&(i=Object.assign({class:[o&&(e&&e.length)>=t&&"nup_isDelAdd"],limit:t,fileList:e,showFileList:o},n.propsData||{})),i},limit:function(){var t=this.controlConfig||{},e=t.limit||1;return(t.showFileList||!1||e>1)&&(this.myValue&&this.myValue instanceof Array||(this.myValue?this.myValue=[{url:this.myValue}]:this.myValue=[])),e},accept:function(){var t=this.fileType,e=p[t]&&t;return"Ae"===e?"application/zip":(e||"*")+"/*"}},methods:{handleRemove:function(t,e){this.myValue=e},onBeforeUpload:function(t){var e=this,n=setTimeout(function(){e.$sLoading.loadingc({nameText:"文件读取中,请稍候。。。"},{key:"file_loadingc"})},200),o=t&&t.name.split(".").pop();this.extension=o;var i=Math.abs(e.controlConfig&&e.controlConfig.orientation||0),r=function(t,e){var n=t;if(t)switch(e+""){case"90":n={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 n}(e.controlConfig&&e.controlConfig.validFile,i);return new Promise(function(o,i){void 0!==n&&clearTimeout(n),r?g(t,r).then(function(t){e.$sLoading.close("file_loadingc"),t?(e.$sCommon.errorMsg(t,{type:"error"}),i(t)):o(!0)}):(e.$sLoading.close("file_loadingc"),o(!0))})},httpRequest:function(t){var e=this,n=e.fileType||"Image";return n="Ae"===n?"Image":n,new Promise(function(o,i){e.$sCommon.upload(t,{extension:e.extension,type:n,config:e.controlConfig}).then(function(t){var n=t&&t.url;n&&(e.myValue instanceof Array?e.myValue.push({url:n}):e.myValue=n,o(t))})})}}},C=n("VU/8")(v,null,!1,null,null,null);e.a=C.exports},S65G:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("F/C+"),i={name:"NupColorPicker",extends:n("yIPE").a},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.controlConfig?n("div",{staticClass:"nups_color-picker"},[n("el-color-picker",{staticClass:"nup_color",attrs:{"popper-class":t.controlConfig.popperClass,readonly:t.controlConfig.readonly,disabled:t.controlConfig.disabled},on:{change:function(e){t.extendClick(t.controlConfig)},"active-change":function(e){t.setParentIsBlur()}},model:{value:t.myValue,callback:function(e){t.myValue=e},expression:"myValue"}})],1):t._e()},staticRenderFns:[]};var l=n("VU/8")(i,r,!1,function(t){n("1p6n")},null,null).exports;e.default=Object(o.a)(l)},SpSB:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("F/C+"),i={name:"NupLink",extends:n("sAdx").a,props:{config:{type:Object}},computed:{isShowLink:function(){var t=!1,e=this.valueData,n=this.controlConfig.status;return void 0!==n?e instanceof Array?e.find(function(e){return t=o(e)}):t=o(e):t=!0,t;function o(t){return t instanceof Object&&t.select===n||t===n}}}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isShowLink?n("div",{staticClass:"nups_link",on:{click:function(e){t.extendClick(t.controlConfig)}}},[n("span",{staticClass:"nup_link-style",class:[t.controlConfig.className||""]},[t._v(t._s(t.controlConfig.nameText))])]):t._e()},staticRenderFns:[]};var l=n("VU/8")(i,r,!1,function(t){n("68qm")},null,null).exports;e.default=Object(o.a)(l)},"VU/8":function(t,e){t.exports=function(t,e,n,o,i,r){var l,a=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(l=t,a=t.default);var c,u="function"==typeof a?a.options:a;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),r?(c=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=c):o&&(c=o),c){var f=u.functional,d=f?u.render:u.beforeCreate;f?(u._injectStyles=c,u.render=function(t,e){return c.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:l,exports:a,options:u}}},"WGR+":function(t,e,n){"use strict";var o=n("0Zk/");e.a=o.a},Yx2F:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("F/C+"),i={extends:n("Q/c6").a},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("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}},[n("el-button",{attrs:{readonly:t.controlConfig.readonly,disabled:t.controlConfig.disabled,size:"small",type:"primary"},on:{click:function(e){t.extendClick(t.controlConfig)}}},[t._v(t._s(t.controlConfig.nameText))])],1)},staticRenderFns:[]},l=n("VU/8")(i,r,!1,null,null,null).exports;e.default=Object(o.a)(l)},"eY/N":function(t,e,n){"use strict";e.a=function(t){if(!Object(o.a)(t,"Object"))return!1;var e=Object.getPrototypeOf(t);if(!e)return!0;var n=i.call(e,"constructor")&&e.constructor;return"function"==typeof n&&i.toString.call(n)===i.toString.call(Object)};var o=n("E5mE"),i=Object.prototype.hasOwnProperty},ekq3:function(t,e,n){"use strict";var o=n("zagf");e.a=o.a},jeun:function(t,e,n){"use strict";n("B/FW");var o=n("VU/8")({},null,!1,null,null,null);e.a=o.exports},kadd:function(t,e,n){"use strict";var o=n("83kI"),i={name:"NupCheckBoxTextControl",extends:n("o7uN").a,components:{FormControlWrap:o.a}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.controlConfig?n("form-control-wrap",{staticClass:"check-box-text-control",attrs:{"form-model":t.formModel,bypassedWrap:t.bypassedWrap,"control-config":t.controlConfig,valueData:t.myValueData},on:{extendClick:t.extendClick}},[n("el-checkbox",{attrs:{disabled:t.controlConfig.disabled,readonly:t.controlConfig.readonly,label:t.controlConfig.value},model:{value:t.isCheckValue,callback:function(e){t.isCheckValue=e},expression:"isCheckValue"}},[t._v("\n "+t._s(t.controlConfig.nameText)+"\n ")]),t._v(" "),n("el-input",{staticClass:"nup_control-leftPadding",attrs:{readonly:t.controlConfig.readonly,placeholder:t.controlConfig.placeholder},model:{value:t.textValue,callback:function(e){t.textValue=e},expression:"textValue"}})],1):t._e()},staticRenderFns:[]};var l=n("VU/8")(i,r,!1,function(t){n("3dvQ")},null,null);e.a=l.exports},lXuC:function(t,e,n){"use strict";e.a=function(t,e){var n="("+(e||"_|-")+")";return t=(t=(t=(t+"").replace(new RegExp(n+"?(?:(?:[A-Z]{2,}[A-Z]"+n+"*$)|(?:[A-Z]{2,}(?=[A-Z])))","g"),function(t){return(((e||"")+"").split("|")[0]||"-")+(t=t.replace(new RegExp(n),"")).toLowerCase()})).replace(new RegExp("(?:^"+n+"?([a-z]))|(?:"+n+"$)","gi"),function(t,e,n){return(n||"").toLowerCase()})).replace(new RegExp(n+"([a-z])","gi"),function(t,e,n){return(n||"").toUpperCase()})}},mv0e:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("F/C+"),i=n("kadd");e.default=Object(o.a)(i.a)},o7uN:function(t,e,n){"use strict";var o={extends:n("sAdx").a,data:function(){return{isCheckValue:!1,textValue:null,isVmArray:!1}},watch:{mValue:function(){this.setDefaultValue()},isCheckValue:function(t){var e=this.controlConfig&&this.controlConfig.value,n=this.getMyValue(),o=this.getMValue();o&&o.select!==e&&this.resetTextValue(""),this.setMyValue(),!t&&n&&n.select===e&&(this.setItemValue(null),this.resetTextValue(null))},textValue:function(){this.setMyValue()}},created:function(){this.isSyncMvalue=!1,this.setDefaultValue()},methods:{setDefaultValue:function(){this.mValue instanceof Array&&(this.isVmArray=!0);var t=this.getMValue(),e=t&&t.select,n=this.controlConfig&&this.controlConfig.value;t&&e===n?(this.textValue!==t.value&&(this.textValue=t.value),this.isCheckValue||(this.isCheckValue=!0)):this.isCheckValue=!1,void 0!==this.textValue&&null!==this.textValue||this.resetTextValue(this.textValue)},resetTextValue:function(t){this.textValue=this.controlConfig&&this.controlConfig.defaultValue||t},setMyValue:function(){var t=this.getMyValue(),e=this.controlConfig&&this.controlConfig.value;this.isCheckValue?t={select:this.controlConfig.value,value:this.textValue}:(t=null,this.resetTextValue(null)),t&&t.select===e&&this.setItemValue(t)},getMValue:function(){var t=this.mValue;return this.isVmArray?this.getItem(t):t},getMyValue:function(){return this.isVmArray?this.getItem(this.myValue):this.myValue},setItemValue:function(t){var e=this.myValue,n=this.controlConfig&&this.controlConfig.value;if(this.isVmArray){if((e=e||[]).length>0)e.every(function(e,o,i){return(e&&e.select)!==n||(t instanceof Object?i[o]=t:i.splice(o,1),!1)})&&e.push(t);else e.push(t);this.myValue=e}else this.myValue=t},getItem:function(t){var e=this.controlConfig&&this.controlConfig.value;return t.find(function(t){if(t&&t.select===e)return!0})}}},i=n("VU/8")(o,null,!1,null,null,null);e.a=i.exports},qkpR:function(t,e){},sAdx:function(t,e,n){"use strict";var o=n("16/I"),i={extends:n("+b8q").a},r={extends:n("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,e=this.controlConfig;if(e){var n=this.formModel,o=n&&n.get(e.controlName);o&&o.isBlur&&(t=o.isBlur)}return t},isRequired:function(){var t=this.controlConfig,e=!1,n=t&&t.valid;return n instanceof Array&&(n=n[0]),n instanceof Object&&(n.required||n.isChecked)&&(e=!0),e},requiredRight:function(){var t=!1,e=this.controlConfig;return e instanceof Object&&e.requiredRight&&(t=!0),t}},methods:{setIsBlur:function(t){var e=this,n=e.controlConfig,o=e.formModel;setTimeout(function(){if(o&&n){var i=o.get(n.controlName);i&&(i.isBlur=!0)}e.isBlur=!0,e.$emit("blur",t)},200)},extendClick:function(t){this.$emit("extendClick",t)}}},l=n("VU/8")(r,null,!1,null,null,null);e.a=l.exports},yIPE:function(t,e,n){"use strict";var o={extends:n("sAdx").a,props:{config:{type:Object}},methods:{setParentIsBlur:function(){var t=this.config,e=this.formModel;if(e&&t){var n=e.get(t.controlName);n&&(n.isBlur=!0)}}}},i=n("VU/8")(o,null,!1,null,null,null);e.a=i.exports},zagf:function(t,e,n){"use strict";e.a=function(t,e,n){var o=t;t instanceof Function&&(o=t.apply(n,e));return o}}});