nimble-ui-pc
Version:
基础vue ui库 配置化组件 后台管理系统组件
1 lines • 4.93 kB
JavaScript
module.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s="S65G")}({"+b8q":function(e,n,t){"use strict";var r={extends:t("jeun").a},o=t("VU/8")(r,null,!1,null,null,null);n.a=o.exports},"16/I":function(e,n,t){"use strict";var r=t("ekq3");var o=t("1JEl");n.a=Object(o.a)(function(e){return{model:{prop:"mValue",event:"valueChange"},props:{mValue:(e=e||{}).value||{}},data:function(){var n={myValue:Object(r.a)(e.myValueInit||this.mValue,[this.mValue],this)};return void 0===this.$options.propsData.mValue&&void 0!==n.myValue&&this._valueChange(),n},watch:{mValue:function(n,t){!1!==Object(r.a)(e.mValueChange,[n,t],this)&&(this.myValue=n)},myValue:function(n,t){!1!==Object(r.a)(e.myValueChange,[n,t],this)&&this._valueChange()}},methods:{_valueChange:function(e){void 0===e&&(e=this.myValue),this.$emit("valueChange",e)}}}})},"1JEl":function(e,n,t){"use strict";n.a=function(e){e&&!e.install&&(e.install=function(n,t){n.mixin(Object(r.a)(e,[t]))});return e};var r=t("ekq3")},"1p6n":function(e,n){},"2HHg":function(e,n,t){"use strict";n.a=function(e){e&&!e.install&&(e.install=function(n){var t=e.name||"",r=n.component(t);r||n.component(t,e)});return e}},"B/FW":function(e,n){},"F/C+":function(e,n,t){"use strict";var r=t("2HHg");n.a=r.a},S65G:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("F/C+"),o={name:"NupColorPicker",extends:t("yIPE").a},i={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.controlConfig?t("div",{staticClass:"nups_color-picker"},[t("el-color-picker",{staticClass:"nup_color",attrs:{"popper-class":e.controlConfig.popperClass,readonly:e.controlConfig.readonly,disabled:e.controlConfig.disabled},on:{change:function(n){e.extendClick(e.controlConfig)},"active-change":function(n){e.setParentIsBlur()}},model:{value:e.myValue,callback:function(n){e.myValue=n},expression:"myValue"}})],1):e._e()},staticRenderFns:[]};var u=t("VU/8")(o,i,!1,function(e){t("1p6n")},null,null).exports;n.default=Object(r.a)(u)},"VU/8":function(e,n){e.exports=function(e,n,t,r,o,i){var u,a=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(u=e,a=e.default);var s,c="function"==typeof a?a.options:a;if(n&&(c.render=n.render,c.staticRenderFns=n.staticRenderFns,c._compiled=!0),t&&(c.functional=!0),o&&(c._scopeId=o),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=s):r&&(s=r),s){var f=c.functional,d=f?c.render:c.beforeCreate;f?(c._injectStyles=s,c.render=function(e,n){return s.call(n),d(e,n)}):c.beforeCreate=d?[].concat(d,s):[s]}return{esModule:u,exports:a,options:c}}},ekq3:function(e,n,t){"use strict";var r=t("zagf");n.a=r.a},jeun:function(e,n,t){"use strict";t("B/FW");var r=t("VU/8")({},null,!1,null,null,null);n.a=r.exports},sAdx:function(e,n,t){"use strict";var r=t("16/I"),o={extends:t("+b8q").a},i={extends:t("VU/8")(o,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(r.a)({mValueChange:function(){return this.isSyncMvalue},myValueChange:function(e){this.myValueData=e}})],computed:{hasBlur:function(){var e=!1,n=this.controlConfig;if(n){var t=this.formModel,r=t&&t.get(n.controlName);r&&r.isBlur&&(e=r.isBlur)}return e},isRequired:function(){var e=this.controlConfig,n=!1,t=e&&e.valid;return t instanceof Array&&(t=t[0]),t instanceof Object&&(t.required||t.isChecked)&&(n=!0),n},requiredRight:function(){var e=!1,n=this.controlConfig;return n instanceof Object&&n.requiredRight&&(e=!0),e}},methods:{setIsBlur:function(e){var n=this,t=n.controlConfig,r=n.formModel;setTimeout(function(){if(r&&t){var o=r.get(t.controlName);o&&(o.isBlur=!0)}n.isBlur=!0,n.$emit("blur",e)},200)},extendClick:function(e){this.$emit("extendClick",e)}}},u=t("VU/8")(i,null,!1,null,null,null);n.a=u.exports},yIPE:function(e,n,t){"use strict";var r={extends:t("sAdx").a,props:{config:{type:Object}},methods:{setParentIsBlur:function(){var e=this.config,n=this.formModel;if(n&&e){var t=n.get(e.controlName);t&&(t.isBlur=!0)}}}},o=t("VU/8")(r,null,!1,null,null,null);n.a=o.exports},zagf:function(e,n,t){"use strict";n.a=function(e,n,t){var r=e;e instanceof Function&&(r=e.apply(t,n));return r}}});