nimble-ui-pc
Version:
基础vue ui库 配置化组件 后台管理系统组件
1 lines • 4.02 kB
JavaScript
module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var u=e[r]={i:r,l:!1,exports:{}};return t[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},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="UrIb")}({"+b8q":function(t,e,n){"use strict";var r={extends:n("jeun").a},u=n("VU/8")(r,null,!1,null,null,null);e.a=u.exports},"16/I":function(t,e,n){"use strict";var r=n("ekq3");var u=n("1JEl");e.a=Object(u.a)(function(t){return{model:{prop:"mValue",event:"valueChange"},props:{mValue:(t=t||{}).value||{}},data:function(){var e={myValue:Object(r.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(r.a)(t.mValueChange,[e,n],this)&&(this.myValue=e)},myValue:function(e,n){!1!==Object(r.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(r.a)(t,[n]))});return t};var r=n("ekq3")},"2HHg":function(t,e,n){"use strict";e.a=function(t){t&&!t.install&&(t.install=function(e){var n=t.name||"",r=e.component(n);r||e.component(n,t)});return t}},"B/FW":function(t,e){},"F/C+":function(t,e,n){"use strict";var r=n("2HHg");e.a=r.a},UrIb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("F/C+"),u=n("sAdx");e.default=Object(r.a)(u.a)},"VU/8":function(t,e){t.exports=function(t,e,n,r,u,i){var o,a=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(o=t,a=t.default);var s,c="function"==typeof a?a.options:a;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),u&&(c._scopeId=u),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__),r&&r.call(this,t),t&&t._registeredComponents&&t._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(t,e){return s.call(e),d(t,e)}):c.beforeCreate=d?[].concat(d,s):[s]}return{esModule:o,exports:a,options:c}}},ekq3:function(t,e,n){"use strict";var r=n("zagf");e.a=r.a},jeun:function(t,e,n){"use strict";n("B/FW");var r=n("VU/8")({},null,!1,null,null,null);e.a=r.exports},sAdx:function(t,e,n){"use strict";var r=n("16/I"),u={extends:n("+b8q").a},i={extends:n("VU/8")(u,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(t){this.myValueData=t}})],computed:{hasBlur:function(){var t=!1,e=this.controlConfig;if(e){var n=this.formModel,r=n&&n.get(e.controlName);r&&r.isBlur&&(t=r.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,r=e.formModel;setTimeout(function(){if(r&&n){var u=r.get(n.controlName);u&&(u.isBlur=!0)}e.isBlur=!0,e.$emit("blur",t)},200)},extendClick:function(t){this.$emit("extendClick",t)}}},o=n("VU/8")(i,null,!1,null,null,null);e.a=o.exports},zagf:function(t,e,n){"use strict";e.a=function(t,e,n){var r=t;t instanceof Function&&(r=t.apply(n,e));return r}}});