vue3-easy-form
Version:
<p align="left"> <a href="https://github.com/vuejs/vue"><img src="https://img.shields.io/badge/vue-2.6.10-brightgreen.svg" alt="vue"></a> <a href="https://www.npmjs.com/package/vue3-easy-form"><img src="https://img.shields.io/npm/v/vue3-easy-form.svg"
1 lines • 265 kB
JavaScript
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define(["vue"],t):"object"===typeof exports?exports["esForm"]=t(require("vue")):e["esForm"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"003d":function(e,t,r){var a=r("24fb");t=a(!1),t.push([e.i,'.es-form-array-box{display:flex}.es-form-array-box:after,.es-form-array-box:before{content:".";display:block;overflow:hidden;visibility:hidden;font-size:0;line-height:0;width:0;height:0}.es-form-array-box:after{clear:both}.es-form-array-box .es-form-array-wrap{flex:1;flex-basis:auto}.es-form-array-box .es-order-list-box{margin:0 0 0 0;padding:0;list-style:none}.es-form-array-box .list-item{display:flex;flex-direction:row;margin:20px 0 0 0;padding:0}.es-form-array-box .es-order-box{width:40px}.es-form-array-box .es-order-box,.es-form-array-box .es-order-box-required{text-align:center;display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;flex-basis:auto}.es-form-array-box .es-order-box-required{width:14px}.es-form-array-box .es-order-box-required .es-required{margin-right:0}.es-form-array-box .es-array-row-body{flex:1;flex-basis:auto}.es-form-array-box .es-btn-box{display:flex;align-items:center;justify-content:center;margin-left:5px}.es-form-array-box .es-btn-footer{text-align:center;margin-top:20px}',""]),e.exports=t},"00ee":function(e,t,r){var a=r("b622"),n=a("toStringTag"),o={};o[n]="z",e.exports="[object z]"===String(o)},"0366":function(e,t,r){var a=r("1c0b");e.exports=function(e,t,r){if(a(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,a){return e.call(t,r,a)};case 3:return function(r,a,n){return e.call(t,r,a,n)}}return function(){return e.apply(t,arguments)}}},"057f":function(e,t,r){var a=r("fc6a"),n=r("241c").f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return n(e)}catch(t){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?s(e):n(a(e))}},"06cf":function(e,t,r){var a=r("83ab"),n=r("d1e7"),o=r("5c6c"),i=r("fc6a"),s=r("c04e"),c=r("5135"),l=r("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=a?d:function(e,t){if(e=i(e),t=s(t,!0),l)try{return d(e,t)}catch(r){}if(c(e,t))return o(!n.f.call(e,t),e[t])}},"0a7b":function(e,t,r){"use strict";r("bc2a")},"0baa":function(e,t,r){"use strict";r("996f")},"0cfb":function(e,t,r){var a=r("83ab"),n=r("d039"),o=r("cc12");e.exports=!a&&!n((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d0a":function(e,t,r){var a=r("24fb");t=a(!1),t.push([e.i,'.es-console-box{position:absolute;left:0;top:0;overflow:visible}.es-console-box .console-btn{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:rgba(0,0,0,.5);border:1px solid #dcdfe6;color:#fff;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;margin:0;transition:.1s;font-weight:500;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:4px 10px;font-size:12px;border-radius:12px}.es-console-box .console-btn:hover{background:rgba(102,177,255,.4);color:#666;border-color:#79bbff}.es-console-panel{position:fixed;right:20px;top:20px;border:1px solid #b3d8ff;border-radius:5px;background:#fff;text-align:left;overflow:hidden;width:400px}.es-console-panel .console-header{background:#ecf5ff;cursor:move}.es-console-panel .console-header .panel-title{cursor:move;margin:0;padding:0 0 0 10px;line-height:40px;font-size:16px;font-weight:700}.es-console-panel .console-header *{cursor:"move"}.es-console-panel .console-close{position:absolute;top:12px;right:10px;color:#409eff;cursor:pointer;line-height:18px;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.es-console-panel .console-close:hover{color:#66b1ff;text-decoration:underline}.es-console-panel .panel-body{margin:0;padding:0 10px 10px 10px}.es-console-panel .panel-body .subtitle{margin:6px 0 0 5px;padding:0;line-height:20px;font-size:14px;font-weight:600}.es-console-panel .panel-body .question-box{margin-top:10px}.es-console-panel .panel-body .question{margin:0 5px;text-decoration:none;color:#409eff;outline:none;padding:0;line-height:15px;font-size:13px;font-weight:500}.es-console-panel .panel-body .question:hover{border-bottom:1px solid #409eff}.es-console-panel .panel-body .value-box{border:1px solid #dcdfe6;height:150px;border-radius:3px;padding:5px;overflow:auto;width:100%;min-width:100%;max-width:100%;outline:none;box-sizing:border-box;font-size:13px;line-height:20px}',""]),e.exports=t},"0f28":function(e,t,r){var a=r("8867");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("499e").default;n("7f554914",a,!0,{sourceMap:!1,shadowMode:!1})},1163:function(e,t,r){var a=r("9009");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("499e").default;n("106cc1a7",a,!0,{sourceMap:!1,shadowMode:!1})},"123b":function(e,t,r){"use strict";r("0f28")},1276:function(e,t,r){"use strict";var a=r("d784"),n=r("44e7"),o=r("825a"),i=r("1d80"),s=r("4840"),c=r("8aa5"),l=r("50c4"),d=r("14c3"),p=r("9263"),f=r("d039"),u=[].push,h=Math.min,b=4294967295,m=!f((function(){return!RegExp(b,"y")}));a("split",2,(function(e,t,r){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var a=String(i(this)),o=void 0===r?b:r>>>0;if(0===o)return[];if(void 0===e)return[a];if(!n(e))return t.call(a,e,o);var s,c,l,d=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,f+"g");while(s=p.call(m,a)){if(c=m.lastIndex,c>h&&(d.push(a.slice(h,s.index)),s.length>1&&s.index<a.length&&u.apply(d,s.slice(1)),l=s[0].length,h=c,d.length>=o))break;m.lastIndex===s.index&&m.lastIndex++}return h===a.length?!l&&m.test("")||d.push(""):d.push(a.slice(h)),d.length>o?d.slice(0,o):d}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var n=i(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,n,r):a.call(String(n),t,r)},function(e,n){var i=r(a,e,this,n,a!==t);if(i.done)return i.value;var p=o(e),f=String(this),u=s(p,RegExp),g=p.unicode,_=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(m?"y":"g"),y=new u(m?p:"^(?:"+p.source+")",_),x=void 0===n?b:n>>>0;if(0===x)return[];if(0===f.length)return null===d(y,f)?[f]:[];var v=0,O=0,w=[];while(O<f.length){y.lastIndex=m?O:0;var j,k=d(y,m?f:f.slice(O));if(null===k||(j=h(l(y.lastIndex+(m?0:O)),f.length))===v)O=c(f,O,g);else{if(w.push(f.slice(v,O)),w.length===x)return w;for(var S=1;S<=k.length-1;S++)if(w.push(k[S]),w.length===x)return w;O=v=j}}return w.push(f.slice(v)),w}]}),!m)},"14c3":function(e,t,r){var a=r("c6b6"),n=r("9263");e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var o=r.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==a(e))throw TypeError("RegExp#exec called on incompatible receiver");return n.call(e,t)}},"155e":function(e,t,r){var a=r("24fb");t=a(!1),t.push([e.i,'.es-form-array-card{display:flex;overflow:hidden}.es-form-array-card:after,.es-form-array-card:before{content:".";display:block;overflow:hidden;visibility:hidden;font-size:0;line-height:0;width:0;height:0}.es-form-array-card:after{clear:both}.es-form-array-card .es-order-list-box{margin:0 0 0 0;padding:0;list-style:none;display:flex;flex:1;flex-basis:auto;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:flex-start}.es-form-array-card .list-item{margin:0 0 0 0;padding:0;display:flex;flex-direction:column}.es-form-array-card .es-array-row-head{margin:0 5px 2px 5px;line-height:1.6;text-align:left;display:flex;align-items:center;justify-content:center}.es-form-array-card .es-array-row-head,.es-form-array-card .es-array-row-head .order-txt{flex-grow:0;flex-shrink:0;flex-basis:auto}.es-form-array-card .es-array-row-head .order-full{flex:1;flex-basis:auto}.es-form-array-card .es-array-row-head .head-edit-wrap{display:flex;align-items:center;justify-content:center}.es-form-array-card .es-array-row-body{flex:1;flex-basis:auto}.es-form-array-card .es-card-add-box{margin:0 0 0 10px;display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;flex-basis:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.es-form-array-card .es-addr-btns-box{margin-left:5px}',""]),e.exports=t},"159b":function(e,t,r){var a=r("da84"),n=r("fdbc"),o=r("17c2"),i=r("9112");for(var s in n){var c=a[s],l=c&&c.prototype;if(l&&l.forEach!==o)try{i(l,"forEach",o)}catch(d){l.forEach=o}}},"169a":function(e,t,r){var a=r("24fb");t=a(!1),t.push([e.i,".es-form-edit-btns .btn-list-box{display:flex;align-items:center;justify-content:center}",""]),e.exports=t},"17c2":function(e,t,r){"use strict";var a=r("b727").forEach,n=r("a640"),o=r("ae40"),i=n("forEach"),s=o("forEach");e.exports=i&&s?[].forEach:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}},"1be4":function(e,t,r){var a=r("d066");e.exports=a("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,r){var a=r("b622"),n=a("iterator"),o=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){o=!0}};s[n]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},e(a)}catch(c){}return r}},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,r){var a=r("d039"),n=r("b622"),o=r("2d00"),i=n("species");e.exports=function(e){return o>=51||!a((function(){var t=[],r=t.constructor={};return r[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"23cb":function(e,t,r){var a=r("a691"),n=Math.max,o=Math.min;e.exports=function(e,t){var r=a(e);return r<0?n(r+t,0):o(r,t)}},"23e7":function(e,t,r){var a=r("da84"),n=r("06cf").f,o=r("9112"),i=r("6eeb"),s=r("ce4e"),c=r("e893"),l=r("94ca");e.exports=function(e,t){var r,d,p,f,u,h,b=e.target,m=e.global,g=e.stat;if(d=m?a:g?a[b]||s(b,{}):(a[b]||{}).prototype,d)for(p in t){if(u=t[p],e.noTargetGet?(h=n(d,p),f=h&&h.value):f=d[p],r=l(m?p:b+(g?".":"#")+p,e.forced),!r&&void 0!==f){if(typeof u===typeof f)continue;c(u,f)}(e.sham||f&&f.sham)&&o(u,"sham",!0),i(d,p,u,e)}}},"241c":function(e,t,r){var a=r("ca84"),n=r("7839"),o=n.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,o)}},"24fb":function(e,t,r){"use strict";function a(e,t){var r=e[1]||"",a=e[3];if(!a)return r;if(t&&"function"===typeof btoa){var o=n(a),i=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[r].concat(i).concat([o]).join("\n")}return[r].join("\n")}function n(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(r," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=a(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,a){"string"===typeof e&&(e=[[null,e,""]]);var n={};if(a)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(n[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);a&&n[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},2532:function(e,t,r){"use strict";var a=r("23e7"),n=r("5a34"),o=r("1d80"),i=r("ab13");a({target:"String",proto:!0,forced:!i("includes")},{includes:function(e){return!!~String(o(this)).indexOf(n(e),arguments.length>1?arguments[1]:void 0)}})},"25f0":function(e,t,r){"use strict";var a=r("6eeb"),n=r("825a"),o=r("d039"),i=r("ad6d"),s="toString",c=RegExp.prototype,l=c[s],d=o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),p=l.name!=s;(d||p)&&a(RegExp.prototype,s,(function(){var e=n(this),t=String(e.source),r=e.flags,a=String(void 0===r&&e instanceof RegExp&&!("flags"in c)?i.call(e):r);return"/"+t+"/"+a}),{unsafe:!0})},2626:function(e,t,r){"use strict";var a=r("d066"),n=r("9bf2"),o=r("b622"),i=r("83ab"),s=o("species");e.exports=function(e){var t=a(e),r=n.f;i&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},"29db":function(e,t,r){var a=r("3abe");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("499e").default;n("328e547e",a,!0,{sourceMap:!1,shadowMode:!1})},"2a62":function(e,t,r){var a=r("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return a(t.call(e)).value}},"2b5b":function(e,t,r){"use strict";r("bbd0")},"2d00":function(e,t,r){var a,n,o=r("da84"),i=r("342f"),s=o.process,c=s&&s.versions,l=c&&c.v8;l?(a=l.split("."),n=a[0]+a[1]):i&&(a=i.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/),a&&(n=a[1]))),e.exports=n&&+n},"342f":function(e,t,r){var a=r("d066");e.exports=a("navigator","userAgent")||""},3458:function(e,t,r){var a=r("155e");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("499e").default;n("7d6c82f4",a,!0,{sourceMap:!1,shadowMode:!1})},"34bc":function(e,t,r){"use strict";r("99af"),r("4160"),r("caad"),r("c975"),r("a15b"),r("d81d"),r("b0c0"),r("a9e3"),r("cca6"),r("b64b"),r("ac1f"),r("2532"),r("466d"),r("1276"),r("498a"),r("c7cd"),r("159b");function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function n(e){if(Array.isArray(e))return a(e)}r("a4d3"),r("e01a"),r("d28b"),r("a630"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function o(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r("fb6a"),r("25f0");function i(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e){return n(e)||o(e)||i(e)||s()}var l=r("5f60"),d=r("394e"),p=r("890a"),f=r("4513"),u={isFunc:function(e){return f["a"].isFunc(e)},isEs:function(e){return l["a"].isEsScript(e)},isStr:function(e){return f["a"].isStr(e)},isInt:function(e,t,r){var a=t,n=r;return f["a"].isNum(t)&&f["a"].isNum(t)&&t>r&&(a=r,n=t),!(!f["a"].isNum(e)||!/^\d+$/.test(e+""))&&(!(f["a"].isNum(a)&&e<a)&&!(f["a"].isNum(n)&&e>n))}},h=u,b=r("3be1"),m=r("8bbf"),g={class:"es-help-box"};function _(e,t,r,a,n,o){return Object(m["openBlock"])(),Object(m["createBlock"])("div",g,[r.href?(Object(m["openBlock"])(),Object(m["createBlock"])("a",{key:0,href:r.href,target:"_blank",class:"help-btn"},[Object(m["createVNode"])("i",{ref:"icon",class:"es-help-icon",onMouseenter:t[1]||(t[1]=function(){return o.enter&&o.enter.apply(o,arguments)}),onMouseleave:t[2]||(t[2]=function(){return o.leave&&o.leave.apply(o,arguments)})},"i",544)],8,["href"])):(Object(m["openBlock"])(),Object(m["createBlock"])("i",{key:1,ref:"icon",class:"es-help-icon",onMouseenter:t[3]||(t[3]=function(){return o.enter&&o.enter.apply(o,arguments)}),onMouseleave:t[4]||(t[4]=function(){return o.leave&&o.leave.apply(o,arguments)})},"i",544)),Object(m["createVNode"])(m["Transition"],{name:"es-help-fade",mode:"out-in",appear:"",onAfterLeave:o.popAnimateLeave},{default:Object(m["withCtx"])((function(){return[Object(m["withDirectives"])(Object(m["createVNode"])("div",{ref:"pop",onMouseenter:t[5]||(t[5]=function(){return o.popEnter&&o.popEnter.apply(o,arguments)}),onMouseleave:t[6]||(t[6]=function(){return o.popLeave&&o.popLeave.apply(o,arguments)}),class:"es-help-tip-box",style:{left:n.popPosition.left+"px",top:n.popPosition.top+"px",maxWidth:r.maxWidth+"px",zIndex:n.popPosition.zindex+""}},[Object(m["createVNode"])("div",{class:"es-content-box",innerHTML:r.content},null,8,["innerHTML"]),n.popArrow.direction?(Object(m["openBlock"])(),Object(m["createBlock"])("div",{key:0,class:"help-arrow-"+n.popArrow.direction,style:{left:n.popArrow.left+"px",top:n.popArrow.top+"px"}},null,6)):Object(m["createCommentVNode"])("",!0)],36),[[m["vShow"],n.showPop&&r.content]])]})),_:1},8,["onAfterLeave"])])}var y=r("dedd"),x={created:function(){var e=this;this.$data.scrollWinHandler=function(){e.adjustPop()}},data:function(){return{showPop:!1,scrollWinHandler:null,popDom:null,popLeaveDelay:200,popTimerId:null,popPosition:{left:0,top:0,zindex:1},popArrow:{direction:"",left:0,top:0},popInfo:{popBorderRadius:4,viewSpace:2,popArrowWH:6,betweenSpace:3}}},props:{maxWidth:{type:Number,required:!1,default:300},content:{type:String,required:!1,default:""},href:{type:String,required:!1,default:""},placement:{type:String,required:!1,default:""}},watch:{},methods:{enter:function(){var e=this;this.content&&(this.$data.showPop?this.cancelPopTimer():(this.$data.showPop=!0,this.addPopDom(),this.setScrollListen(),this.$data.popPosition.zindex=y["a"].getMaxZIndex()+1,this.$nextTick((function(){e.adjustPop()}))))},leave:function(){this.content&&this.setCloseTimer()},popEnter:function(){this.cancelPopTimer()},popLeave:function(){this.setCloseTimer()},popAnimateLeave:function(){this.cancelScrollListen(),this.$data.popPosition={left:0,top:0}},addPopDom:function(){this.$data.popDom||(this.$data.popDom=this.$refs.pop,document.body.appendChild(this.$data.popDom))},removePopDom:function(){this.$data.popDom&&(document.body.removeChild(this.$data.popDom),this.$data.popDom=null)},setScrollListen:function(){window.addEventListener("scroll",this.$data.scrollWinHandler,!0)},cancelScrollListen:function(){window.removeEventListener("scroll",this.$data.scrollWinHandler,!0)},closePop:function(){this.cancelPopTimer(),this.$data.showPop=!1},setCloseTimer:function(){var e=this;this.$data.popTimerId=setTimeout((function(){e.$data.popTimerId=null,e.closePop()}),this.$data.popLeaveDelay)},cancelPopTimer:function(){null!==this.$data.popTimerId&&(clearTimeout(this.$data.popTimerId),this.$data.popTimerId=null)},adjustPop:function(){var e=this.$refs["pop"],t=this.$refs["icon"],r=e.getBoundingClientRect(),a=t.getBoundingClientRect(),n=y["a"].getPopUiInfo(r,a,this.$data.popInfo,this.placement);n?(this.$data.popPosition={left:n.popLeft,top:n.popTop},this.$data.popArrow={direction:n.arrowDirection,left:n.arrowLeft,top:n.arrowTop}):this.closePop()}},unmounted:function(){this.$data.scrollWinHandler&&this.cancelScrollListen(),this.$data.scrollWinHandler=null,this.removePopDom()}};r("ab2e");x.render=_;var v=x,O=r("45ac"),w=void 0,j={check:function(e){try{this.completeSchema(e)}catch(t){return t}return!0},completeSchema:function(e,t){var r;if(w=t,f["a"].isObj(e)){var a,n=f["a"].deepCopy(e),o=n;return f["a"].isObj(n.properties)?(r=!0===o.autoMatch,a=Object(O["e"])(o.actions,p["a"].MODEL_VALUE_EVENT,"根")):(o={},o.title=!1,o.layout=!1,o.properties=n,r=!1,a=null),o.array=!1,o.hidden=!1,o.isTmp=!1,o.col=p["a"].UI_MAX_COL,o.label={text:!1,__rawText:!1},o=this.__parseProp(o,1,"根",this.__getGlobalInheritObj(),""),o.autoMatch=r,o.actions=a,this.__checkForTile(o),w=void 0,o}throw w=void 0,"根schema是一个Object类型"},__parseProp:function(e,t,r,a,n){if(f["a"].isStr(e))e={label:e};else if(!f["a"].isObj(e))throw"第"+t+"层的属性值("+r+")必须是一个字符串或Object类型";var o,i,s,c;if(this.__isSpaceItem(e))i=this.__getPropKeys("none"),o=this.__filterKeys(e,i,a,n),o.__info={pathKey:n,idxChain:"",index:-1};else if(this.__isPropItem(e)){if(!this.__existEntityItem(e))throw"属性"+r+"没有具体的子节点(properties全为空)";s=this.__isArray(e.array),i=this.__getPropKeys("properties"),o=this.__filterKeys(e,i,a,n);var d=o.nextInherit;o.nextInherit=null,delete o.nextInherit,s&&f["a"].isUndef(o.array.rowSpace)&&(o.array.rowSpace=o.rowSpace);var u=o.ui?o.ui:{showBody:!0};u.rowSpace=d.rowSpace,u.rowHeight=d.rowHeight,o.ui=u,c=o.layout&&o.layout.name===p["a"].LAYOUT_TABS,s&&o.array.name==p["a"].ARRAY_TABLE&&c&&(o.layout=!1,c=!1,console.warn("第"+t+"层("+r+")为table数组且子节点为tabs, 子节点为tabs将失效")),e.component&&(r=r||"根",r+="节点",console.warn("第"+t+"层("+r+")中同时存在properties和component, component将失效")),o.title&&(o.title.__level=t),o.__info={pathKey:n,idxChain:"",index:-1},c&&(o.__tabsIndex=!1);var h={},m=!1;for(var g in e.properties){this.__isRightKey(g)||console.warn("属性"+g+"存在危险字符,会导致程序出错");var _=e.properties[g];if(this.__isIngnoreItem(_))console.log("属性"+g+"为null/undefined/false时,将不设置");else{var y=this.__isSpaceItem(_);if(y&&o.array&&o.array.name==p["a"].ARRAY_TABLE){console.warn("属性"+g+"不符合"+p["a"].ARRAY_TABLE+"布局的要求(properties存在占位空间), 将失效");continue}if(y&&c){console.warn("属性"+g+"不符合"+p["a"].LAYOUT_TABS+"布局的要求(properties存在占位空间), 将失效");continue}var x=this.__parseProp(_,t+1,g,d,n?n+"."+g:g);c&&(x.__hasError=!1),(c||o.array&&o.array.name==p["a"].ARRAY_TABLE)&&(x.label||console.warn("当属性("+r+")为"+p["a"].LAYOUT_TABS+"或"+p["a"].ARRAY_TABLE+"时,下一级的label必须存在, 否则用各自的key代表头部")),(c||o.array&&o.array.name==p["a"].ARRAY_TABS)&&(o.__tabsIndex=!1,o.__hasError=!1),h[g]=x,x.__hasRef&&(m=!0)}}if(Object.keys(h).length<=0)throw"properties不能为空,或其属性全部为空(null/undefined/false)";if(o.properties=h,m&&(o.__hasRef=m),o.array&&o.array.name==p["a"].ARRAY_TABLE&&this.__updateTableCol(o),this.__uniqueRef(o),c||o.array&&o.array.name==p["a"].ARRAY_TABLE||this.__reinitGroup(o),o.array){if(o.array.value){if(!f["a"].isArr(o.array.value))throw"array的值必须是数组或不写"}else o.array.value=[];o.__propSchemaList=[],b["a"].setValue(o,o.array.value),delete o.array.value}}else{i=this.__getPropKeys("component"),o=this.__filterKeys(e,i,a,n);var v="rules";if(o[v]=this.__parsePropRules(e[v],Object(O["b"])(o.component)),o.__invalidMsg=!1,this.__isTabsItem(e)?(o.layout=!1,console.warn("当属性("+r+")为叶子节点时,"+p["a"].LAYOUT_TABS+"将不起作用")):o.layout=!1,o.format&&(o.component.value=b["a"].getFormatValue(o.format,o.component.value,!0)),o.component.__emitEvents=this.__fetchFormEvent(o),o.__info={pathKey:n,idxChain:"",index:-1},s=this.__isArray(e.array),s){if(o.array.value){if(!f["a"].isArr(o.array.value))throw"array.value的值必须是数组或不写"}else o.array.value=[];f["a"].isUndef(o.array.rowSpace)&&(o.array.rowSpace=o.rowSpace),o.array.name==p["a"].ARRAY_TABS&&(o.__tabsIndex=!1,o.__hasError=!1),o.__propSchemaList=[],b["a"].setValue(o,o.array.value),delete o.array.value}}return o.__rawHidden=l["a"].newEsFuncion(o.hidden),o.__creatable=!1,o},__updateTableCol:function(e){if(e.properties){var t,r,a,n=e.properties,o=0;for(r in n)t=n[r],o+=t.col;var i=0;if(o!==p["a"].UI_MAX_COL)for(r in n)t=n[r],a=Math.round(t.col*p["a"].UI_MAX_COL/o),t.col=a,i+=a;i<p["a"].UI_MAX_COL&&(n[r].col=n[r].col+(p["a"].UI_MAX_COL-i))}},__uniqueRef:function(e){if(e.properties){var t=e.properties,r={};for(var a in t){var n=t[a];if(n.component&&n.component.ref){var o=n.component.ref;if(r[o]&&n.component.ref===r[o].component.ref){var i=r[o].component;delete i.ref}r[o]=n}}r=null}},__isRightKey:function(e){var t=/^[+-]?\d+$/;if(""===e.trim())throw"表单项的属性名不能为空值";if(t.test(e))throw"表单项的属性名不能是数字(如-1, 1, +1)";for(var r=["[","]",".","{","}","(",")"],a=0;a<r.length;a++)if(e.indexOf(r[a])>=0)throw"表单项的属性名不能出现以下的危险字符:"+r.join(" ");return!0},__fetchFormEvent:function(e){var t,r,a=[],n=[];if(e.rules){var o=e.rules,i=o.checks;i&&i.forEach((function(e){t=e.trigger,t.forEach((function(e){r=Object(O["c"])(e),r?n.push(r):a.push(e)}))}))}if(e.isTrim||f["a"].isUndef(e.isTrim)&&d["a"].trimDoms.includes(e.component.name)){e.isTrim=!0;var s=d["a"].trimEvent;r=Object(O["c"])(s),r?n.push(r):a.push(s)}if(e.component&&e.component.actions){var c=Object(O["a"])(e.component.actions);c&&(a=a.concat(c))}return n.length>0&&console.error("表单:由于vue3事件是不区分native事件,此事件将失效:",n.map((function(e){return e+"."+p["a"].ADJ_NATIVE}))),a.length?f["a"].unique(a):null},__getPropKeys:function(e){var t=[];switch(e){case"component":t=["label","rowHeight","rowSpace","labelWidth","offsetLeft","offsetRight","hidden","format","hdValue","colon","group","isTrim","help","desc","unit","direction","col","component","array","layout","isTmp"];break;case"properties":t=["ui","title","label","rowHeight","rowSpace","labelWidth","nextInherit","offsetLeft","offsetRight","hidden","hdValue","colon","help","desc","direction","col","array","layout","isTmp"];break;default:t=["col","group","hidden","layout"];break}return t},__getNormalInfo:function(e){for(var t=[{key:"hidden",enums:[!0,!1],isOr:!0,filters:["isEs","isFunc"],defaultValue:!1},{key:"hdValue",enums:[],defaultValue:void 0},{key:"colon",enums:[!0,!1],defaultValue:d["a"].colon},{key:"group",enums:[],filters:["isStr"],defaultValue:!1},{key:"col",enums:[],filters:[{name:"isInt",params:[1,p["a"].UI_MAX_COL]}],defaultValue:p["a"].UI_MAX_COL},{key:"direction",enums:["h","v"],defaultValue:d["a"].direction},{key:"isTrim",enums:[!0,!1],defaultValue:void 0},{key:"rowHeight",enums:[],filters:[{name:"isInt",params:[0]}],defaultValue:d["a"].boxRowHeight},{key:"rowSpace",enums:[],filters:[{name:"isInt",params:[0]}],defaultValue:d["a"].boxRowSpace},{key:"labelWidth",enums:[],filters:[{name:"isInt",params:[0]}],defaultValue:d["a"].boxLabelWidth},{key:"offsetLeft",enums:[],filters:[{name:"isInt",params:[0]}],defaultValue:0},{key:"offsetRight",enums:[],filters:[{name:"isInt",params:[0]}],defaultValue:0},{key:"isTmp",enums:[!0,!1],defaultValue:!1}],r=0;r<t.length;r++)if(t[r].key===e)return t[r];return!1},__parseNormalKey:function(e,t,r){var a=e[t.key],n=f["a"].isUndef(r[t.key])?t.defaultValue:r[t.key];if(f["a"].isUndef(a))return n;if(t.enums&&t.enums.length>0&&t.enums.includes(a))return a;var o=!!t.isOr;if(t.filters&&t.filters.length>0){for(var i,s,l,d=!0,p=0;p<t.filters.length;p++){var u=t.filters[p];if(f["a"].isStr(u)?(i=u,s=[]):(i=u.name,s=f["a"].isArr(u.params)?u.params:[]),l=h[i],l){var b=[a].concat(c(s)),m=l.apply(null,b);if(o){if(!0===m){d=!0;break}d=!1}else{if(!0!==m){d=!1;break}d=!0}}else console.warn(i+"不存在,请检查")}return d?a:n}return a},__parseFormat:function(e){var t;return f["a"].isArr(e)?(t=[],e.forEach((function(e){f["a"].isUndef(e.outer)||f["a"].isUndef(e.inner)?console.warn("format属性:outer和inner必须成对定义"):t.push(e)})),t.length>0&&t):!!f["a"].isObj(e)&&(t={},f["a"].isFunc(e.outer)?t.outer=e.outer:t.outer=!1,f["a"].isFunc(e.inner)?t.inner=e.inner:t.inner=!1,!(!t.outer&&!t.inner)&&t)},__parseLabel:function(e,t){var r,a=!1;return r=Object(O["k"])(e,w,t,!0),r&&(r.flex=Object(O["i"])(e.flex,e.size),r.align=Object(O["f"])(e.align,a),r.help=this.__parsePropHelp(e.help,t)),r},__parseTitle:function(e,t){var r=Object(O["k"])(e,w,t);return r&&(r.help=this.__parsePropHelp(e.help,t)),r},__parseBoxUi:function(e){var t,r,a=["bg","block","bg-block"];return f["a"].isObj(e)&&Object.keys(e).length>0?(t={},f["a"].isBool(e.showBody)?(t.__hasToggle=!0,t.showBody=e.showBody,t.toggleTexts=this.__parseMulTexts(e.toggleTexts,["打开","隐藏"])):(t.__hasToggle=!1,t.showBody=!0),r=f["a"].isStr(e.type)?e.type.trim():"",t.type=a.includes(r)?r:"",t.hasBorder=!!f["a"].isBool(e.hasBorder)&&e.hasBorder,t.padding=this.__parsePadding(e.padding)):f["a"].isStr(e)?(r=e||"",r=f["a"].isStr(r)?r.trim():"",t=a.includes(r)?{showBody:!0,type:r}:{showBody:!0,type:""}):t={showBody:!0,type:""},t},__parseMulTexts:function(e,t){if(f["a"].isArr(t)&&t.length>0){var r=[];return f["a"].isArr(e)&&e.length==t.length&&e.forEach((function(e){e=f["a"].isStr(e)?e.trim():"",e&&r.push(e)})),r.length<t.length&&(r=t),r}throw new Error("__parseMulTexts参数不对:默认文本一定要是数组")},__parseInherit:function(e,t){var r=this,a=f["a"].isObj(e.ui)?e.ui:{},n=["offsetLeft","offsetRight","direction","colon",["rowSpace","boxRowSpace"],["labelWidth","boxLabelWidth"],["rowHeight","boxRowHeight"]],o={},i={};return n.forEach((function(n){var s,c;f["a"].isStr(n)?(s=n,c=!1):(s=n[0],c=n[1]);var l=r.__getNormalInfo(s);if(!l)throw"BoxUi: 程序的key("+n+")不对应,请修改";var d=a[s];o[s]=d,f["a"].isUndef(d)&&c&&(f["a"].isUndef(e[c])||(o[s]=e[c],console.warn("属性"+c+"已舍弃,请使用ui."+s))),i[s]=r.__parseNormalKey(o,l,t)})),i},__parsePadding:function(e,t){var r,a,n=4;if(f["a"].isNum(e))return r=t||e>=0?[e,e,e,e]:[0,0,0,0],r.join("px ")+"px";if(f["a"].isStr(e))e=e.trim(),e?(a=e.split(/\s+/),a.length<=n||(a=!1)):a=!1;else{if(!(f["a"].isArr(e)&&e.length<=n))return!1;a=e}if(a){r=[];for(var o,i=/^(-?\d+(\.\d+)?)(px)?$/,s=/^(-?\.\d+)(px)?$/,c=0;c<a.length;c++){var l=a[c];if(f["a"].isNum(l))o=l,t||o>=0?r.push(o):r.push(0);else{var d=l.match(i)||l.match(s);if(!d)break;o=Number(d[1]),t||o>=0?r.push(o):r.push(0)}}r.length===a.length?1===r.length?r.push(r[0],r[0],r[0]):2===r.length?r.push(r[0],r[1]):3===r.length&&r.push(r[1]):r=!1}else r=!1;return!!r&&r.join("px ")+"px"},__parsePropHelp:function(e,t){var r=!1;return f["a"].isObj(e)&&Object.keys(e).length>0?(r={},Object.assign(r,e),r.name||(r.name=v),r=Object(O["k"])(r,w,t)):f["a"].isStr(e)?(r={name:v,props:{content:e}},r=Object(O["k"])(r,w,t)):r=!1,r},__parsePropRules:function(e,t,r){var a,n=this,o=!1,i=[];if(f["a"].isObj(e))e.check&&console.warn("rules.check已经舍弃了,请使用rules.checks"),e.checks?a=e.checks:e.check&&(console.warn("rules.check已经舍弃了,请使用rules.checks"),a=e.check),a?f["a"].isArr(a)||(a=[a]):a=[],a.forEach((function(e){var a=n.__perfectCheckItem(e,t,r);a&&i.push(a)})),o=l["a"].isEsOrFunc(e.required)?l["a"].newEsFuncion(e.required):!!f["a"].isBool(e.required)&&e.required;else if(f["a"].isBool(e))o=e,e={};else{if(!l["a"].isEsOrFunc(e))return!1;o=l["a"].newEsFuncion(e),e={}}if(o||i.length>0){var s,c,d={};return o&&(f["a"].isStr(e.emptyMsg)&&(s=e.emptyMsg.trim()),d.emptyMsg=s||"不能为空",f["a"].isFunc(e.emptyMethod)&&(d.emptyMethod=e.emptyMethod),d.showRequired=!f["a"].isBool(e.showRequired)||e.showRequired),f["a"].isFunc(o)?(d.required=!1,d.__rawRequired=o):d.required=o,i.length>0&&(d.checks=i,f["a"].isStr(e.errMsg)&&(c=e.errMsg.trim()),d.errMsg=c||"格式不对"),Object.assign(d,Object(O["g"])(e)),d}return!1},__isArray:function(e){return!!e},__isPropItem:function(e){return!this.__isSpaceItem(e)&&f["a"].isObj(e.properties)},__existEntityItem:function(e){if(this.__isPropItem(e))for(var t in e.properties){var r=e.properties[t];if(!this.__isIngnoreItem(r)&&!this.__isSpaceItem(r))return!0}return!1},__isIngnoreItem:function(e){return!(!f["a"].isNull(e)&&!f["a"].isUndef(e)&&!1!==e)},__isSpaceItem:function(e){return!(!f["a"].isObj(e)||!(e.layout===p["a"].LAYOUT_SPACE||e.layout&&e.layout.name===p["a"].LAYOUT_SPACE))},__isTabsItem:function(e){return!!(e.layout===p["a"].LAYOUT_TABS||e.layout&&e.layout.name===p["a"].LAYOUT_TABS)},__parsePropLayout:function(e){var t={name:!1},r=[p["a"].LAYOUT_SPACE,p["a"].LAYOUT_TABS];return f["a"].isStr(e)?r.includes(e)&&(t.name=e,e={}):f["a"].isObj(e)&&r.includes(e.name)&&(t.name=e.name),!1!==t.name&&(t.name===p["a"].LAYOUT_TABS&&(t.type=e.type,t.hasBorder=!f["a"].isBool(e.hasBorder)||e.hasBorder,t.padding=this.__parsePadding(e.padding)),t)},__parsePropArray:function(e,t,r){if(this.__isArray(e)){var a,n,o,i={},s=!1,c=!0,l=!0,d=!1,u=0,h=0,b=0,m=!0,g=!1,_=!0,y=!1,x=!1,v=!1,j=[],k=void 0,S=null,B=!0,C=void 0,A=!1,I=!1;if(f["a"].isStr(e))i.name=e;else if(f["a"].isObj(e)){i.name=f["a"].isStr(e.name)?e.name:p["a"].ARRAY_ROW,s=!!e.hasSort,c=!(!f["a"].isUndef(e.hasDelete)&&!e.hasDelete),l=!(!f["a"].isUndef(e.hasAdd)&&!e.hasAdd),d=!!e.hasCopy,h=f["a"].isNum(e.min)&&e.min>0?e.min:0,u=f["a"].isNum(e.max)&&e.max>0?e.max:0,b=f["a"].isNum(e.fixed)&&e.fixed>0?e.fixed:0,m=!(!f["a"].isUndef(e.hasOrder)&&!e.hasOrder),g=!(e.name!=p["a"].ARRAY_TABLE||!e.headRequired),y=Object(O["k"])(e.subLabel,w,r),y||(y={hidden:!1,text:!1}),_=!(!f["a"].isUndef(e.hasDelWarn)&&!e.hasDelWarn),a=f["a"].hasOwn("delMsg",e)?e.delMsg:"确定删除吗?",a=Object(O["k"])(a,w,r+"(数组)"),a||(a={hidden:!1,text:!1}),n=f["a"].hasOwn("delAllMsg",e)?e.delAllMsg:"确定删除所有吗?",n=Object(O["k"])(n,w,r+"(数组)"),n||(n={hidden:!1,text:!1}),o=this.__parseMulTexts(e.delWarnBtns,["确定","取消"]),A=!!f["a"].isFunc(e.before)&&e.before,j=f["a"].isArr(e.value)?e.value:[],x=this.__parsePropRules(e.rules,p["a"].MODEL_VALUE_EVENT,!0),v=Object(O["e"])(e.actions,p["a"].MODEL_VALUE_EVENT,r,!0),k=f["a"].isNum(e.rowSpace)?e.rowSpace:void 0,S=!!f["a"].isStr(e.type)&&e.type;var N=["icon"];I=!!N.includes(e.btnType)&&e.btnType,B=!f["a"].isBool(e.hasBorder)||e.hasBorder,C=f["a"].isUndef(e.insertValue)?void 0:e.insertValue}else i.name=p["a"].ARRAY_ROW;if(this.__isPropItem(t)||i.name!=p["a"].ARRAY_TABLE?this.__isPropItem(t)&&i.name==p["a"].ARRAY_CARD&&(i.name=p["a"].ARRAY_ROW,console.warn(r+"为非叶子节点(非组件),不支持为"+p["a"].ARRAY_CARD+"数组, "+p["a"].ARRAY_CARD+"将失效, 强制转化为"+p["a"].ARRAY_ROW)):(i.name=p["a"].ARRAY_ROW,console.warn(r+"叶子节点(组件)不支持为"+p["a"].ARRAY_TABLE+"数组, "+p["a"].ARRAY_TABLE+"将失效, 强制转化为"+p["a"].ARRAY_ROW)),i.name!=p["a"].ARRAY_ROW&&i.name!=p["a"].ARRAY_TABLE&&i.name!=p["a"].ARRAY_TABS&&i.name!=p["a"].ARRAY_CARD&&i.name!=p["a"].ARRAY_LEGEND)throw"this.__parsePropArray: array.name不合法";if(i.hasSort=s,i.hasDelete=c,i.hasDelWarn=_,i.delMsg=a,i.delAllMsg=n,i.delWarnBtns=o,i.hasAdd=l,i.hasCopy=d,i.btnType=I,i.min=h,i.max=u>=h?u:0,i.fixed=b,i.hasOrder=m,i.headRequired=g,i.value=j,i.rules=x,i.before=A,i.actions=v,i.rowSpace=k,i.name==p["a"].ARRAY_TABS?(i.subLabel=y,i.type=S,i.hasBorder=B):i.name==p["a"].ARRAY_LEGEND&&(i.subLabel=y),f["a"].isUndef(C)||(i.insertValue=C),i.min>0){var E=f["a"].isStr(e.minMsg)?e.minMsg.trim():"";E||(E="长度不能小于"+i.min),i.minMsg=E}if(i.max>0){var T=f["a"].isStr(e.maxMsg)?e.maxMsg.trim():"";T||(T="长度不能大于"+i.max),i.maxMsg=T}return i}return!1},__perfectCheckItem:function(e,t,r){if(f["a"].isFunc(e))return{handler:e,trigger:[t]};if(l["a"].isEsScript(e))return{handler:l["a"].newEsFuncion(e),trigger:[t]};if(f["a"].isObj(e)&&(l["a"].isEsOrFunc(e.handler)||l["a"].isEsOrFunc(e.name))){var a;if(f["a"].isFunc(e.handler))a=e.handler;else{if(!f["a"].isFunc(e.name))throw l["a"].isEsScript(e.handler)?"rules.check.handler已经舍弃了且规则不再支持es写法,请使用函数赋值rules.checks.handler":"rules.check.name已经舍弃了且规则不再支持es写法,请使用函数赋值rules.checks.handler";console.warn("rules.checks.name已经舍弃了,请使用rules.checks.handler"),a=e.name}var n=Object(O["l"])(e.trigger,t,r);n=n&&n.length?f["a"].unique(n):[t];var o={handler:a,trigger:n};return o}return console.warn("rules.checks设置不正确: 正确的格式如:[{trigger, handler}], 错误的item为",e),!1},__filterKeys:function(e,t,r,a){var n=this,o={};return t.forEach((function(t){if("label"==t)return o[t]=n.__parseLabel(e[t],a),!0;if("title"==t)return o[t]=n.__parseTitle(e[t],a),!0;if("ui"==t)return o[t]=n.__parseBoxUi(e.ui),!0;if("nextInherit"==t)return o[t]=n.__parseInherit(e,r),!0;if("format"==t)return o[t]=n.__parseFormat(e[t]),!0;if("help"==t)return o[t]=n.__parsePropHelp(e[t],a),!0;if("desc"==t)return o[t]=Object(O["k"])(e[t],w,a),!0;if("unit"==t)return o[t]=Object(O["k"])(e[t],w,a),!0;if("array"==t){var i=n.__parsePropArray(e[t],e,a);return o[t]=i,i&&(o.__invalidMsg=!1),!0}if("layout"==t)return o[t]=n.__parsePropLayout(e[t]),!0;if("component"==t){var s=Object(O["j"])(e,w,a);return o[t]=s,s.ref&&(o.__hasRef=!0),!0}var c=n.__getNormalInfo(t);if(!c)throw"程序的key("+t+")不对应,请修改";o[t]=n.__parseNormalKey(e,c,r)})),f["a"].isUndef(o.rowSpace)||(o.__rawRowSpace=o.rowSpace),o},__getGlobalInheritObj:function(){var e=["offsetLeft","offsetRight","direction","colon","rowSpace","labelWidth","rowHeight"],t={};return e.forEach((function(e){t[e]=d["a"][e]})),t},__reinitGroup:function(e){var t,r,a=!1,n=0;for(var o in e.properties){var i=e.properties[o],s=i["group"];s?(a&&a===s?(t.push(o),n+=i.col,r.__groupCol=n>p["a"].UI_MAX_COL?p["a"].UI_MAX_COL:n):(a=s,r=i,t=[o],i.__groups=t,i.__hiddenGroup=!1,n=i.col,r.__groupCol=n>p["a"].UI_MAX_COL?p["a"].UI_MAX_COL:n),i.__inGroups=!0):(a=!1,t=null,n=0,r=null)}},__checkForTile:function(e){if(e.autoMatch){var t={},r=e.properties;for(var a in r){t[a]?t[a]=t[a]+1:t[a]=1;var n=r[a];if(n.properties&&!n.array){var o=n.properties;for(var i in o)t[i]?t[i]=t[i]+1:t[i]=1}}var s=[];for(var c in t)t[c]>1&&s.push(c+"(共"+t[c]+"次)");if(s.length>0)throw"属性"+s.join("、")+"出错重复,无法做到自动匹配";return!0}return!0}};t["a"]=j},"35a1":function(e,t,r){var a=r("f5df"),n=r("3f8c"),o=r("b622"),i=o("iterator");e.exports=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||n[a(e)]}},"37e8":function(e,t,r){var a=r("83ab"),n=r("9bf2"),o=r("825a"),i=r("df75");e.exports=a?Object.defineProperties:function(e,t){o(e);var r,a=i(t),s=a.length,c=0;while(s>c)n.f(e,r=a[c++],t[r]);return e}},"394e":function(e,t,r){"use strict";var a={boxRowHeight:40,boxRowSpace:20,boxLabelWidth:100,rowHeight:40,rowSpace:20,labelWidth:100,colon:!1,direction:"h",offsetLeft:0,offsetRight:0,defaultCom:"input",defaultVal:"",trimDoms:["input","textarea","el-input"],hasConsole:!1,defaultModel:"modelValue",customModels:{},trimEvent:"blur"};t["a"]=a},"3abe":function(e,t,r){var a=r("24fb");t=a(!1),t.push([e.i,'.es-help-box{padding:0}.es-help-box,.es-help-box .es-help-icon{display:block;margin:0 auto;width:16px;height:16px}.es-help-box .es-help-icon{line-height:16px;border-radius:50%;background:#303133;color:#fff;text-align:center;font-size:12px;font-family:Times New Roman,Times,Georgia,Serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.es-help-box .es-help-icon:hover{background:#409eff}.es-help-box .help-btn{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;text-decoration:none}.es-help-tip-box{display:block;min-height:16px;position:absolute;top:0;left:0;margin:auto auto;color:#fff;font-size:12px;line-height:16px;z-index:10001}.es-help-tip-box .es-content-box{background:#303133;border-radius:4px;border:1px solid #d6d7da;box-sizing:border-box;padding:9px;text-align:left}.es-help-tip-box .help-arrow-top{border-color:transparent transparent #d6d7da transparent;position:relative;position:absolute}.es-help-tip-box .help-arrow-top,.es-help-tip-box .help-arrow-top:before{margin:0;padding:0;width:0;height:0;font-size:0;border-style:solid;border-width:0 6px 6px 6px}.es-help-tip-box .help-arrow-top:before{content:"";display:block;border-color:transparent transparent #303133 transparent;position:absolute;top:1px;left:-6px}.es-help-tip-box .help-arrow-right{border-color:transparent transparent transparent #d6d7da;position:relative;position:absolute;left:auto}.es-help-tip-box .help-arrow-right,.es-help-tip-box .help-arrow-right:before{margin:0;padding:0;width:0;height:0;font-size:0;border-style:solid;border-width:6px 0 6px 6px}.es-help-tip-box .help-arrow-right:before{content:"";display:block;border-color:transparent transparent transparent #303133;position:absolute;top:-6px;left:-7px}.es-help-tip-box .help-arrow-bottom{border-color:#d6d7da transparent transparent transparent;position:relative;position:absolute}.es-help-tip-box .help-arrow-bottom,.es-help-tip-box .help-arrow-bottom:before{margin:0;padding:0;width:0;height:0;font-size:0;border-style:solid;border-width:6px 6px 0 6px}.es-help-tip-box .help-arrow-bottom:before{content:"";display:block;border-color:#303133 transparent transparent transparent;position:absolute;top:-7px;left:-6px}.es-help-tip-box .help-arrow-left{border-color:transparent #d6d7da transparent transparent;position:relative;position:absolute}.es-help-tip-box .help-arrow-left,.es-help-tip-box .help-arrow-left:before{margin:0;padding:0;width:0;height:0;font-size:0;border-style:solid;border-width:6px 6px 6px 0}.es-help-tip-box .help-arrow-left:before{content:"";display:block;border-color:transparent #303133 transparent transparent;position:absolute;top:-6px;left:1px}.es-help-fade-enter-active,.es-help-fade-leave-active{transition:opacity .4s ease}.es-help-fade-enter,.es-help-fade-leave-to{opacity:0}',""]),e.exports=t},"3bbe":function(e,t,r){var a=r("861d");e.exports=function(e){if(!a(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3be1":function(e,t,r){"use strict";r("4160"),r("caad"),r("c975"),r("a15b"),r("a434"),r("b0c0"),r("cca6"),r("b64b"),r("ac1f"),r("2532"),r("466d"),r("1276"),r("159b");var a=r("5f60"),n=r("890a"),o=r("4513"),i={isEmpty:function(e){return!!(o["a"].isUndef(e)||o["a"].isNull(e)||o["a"].isStr(e)&&!e||o["a"].isObj(e)&&Object.keys(e).length<=0||o["a"].isArr(e)&&e.length<=0)},setValue:function(e,t){this.__setValue(e,t)},__setValue:function(e,t){var r,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e.array){if(!o["a"].isArr(t))return!0;var n=!1,i=e.__propSchemaList;if(i.length>t.length)i=i.splice(0,t.length),e.__propSchemaList=i;else{for(var s=i.length;s<t.length;s++)this.addArrayItem(e);n=!0}for(var c=!(!n&&!a),l=0;l<t.length;l++)this.__setValue(i[l],t[l],c);return n&&!a&&this.resetIndexArr(e,e.__info.idxChain,e.__info.pathKey),!0}if(e.component)r=e.format?this.getFormatValue(e.format,t,!0):t,e.component.value=r;else if(e.properties&&o["a"].isObj(t))for(var d in e.properties)o["a"].hasOwn(d,t)&&this.__setValue(e.properties[d],t[d],a)},addArrayItem:function(e,t){var r={},a=["array","__propSchemaList","desc","help","hidden","__rawHidden","__creatable","label","title","isTmp"];for(var i in e)a.includes(i)||(r[i]=o["a"].deepCopy(e[i],!0));o["a"].hasOwn("__invalidMsg",r)&&(r.__invalidMsg=!1),o["a"].isUndef(e.array.subLabel)||(r.subLabel=o["a"].deepCopy(e.array.subLabel,!0)),e.layout&&e.layout.name==n["a"].LAYOUT_TABS&&(r.__tabsIndex=!1),r.array&&(r.array=!1),r.delMsg=o["a"].deepCopy(e.array.delMsg),r.delWarnBtns=o["a"].deepCopy(e.array.delWarnBtns),t?(this.__setValue(r,t.value),e.__propSchemaList.length<=t.position?e.__propSchemaList.push(r):e.__propSchemaList.splice(t.position,0,r)):e.__propSchemaList.push(r)},resetIndexArr:function(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,n=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(e.array){e.__info.idxChain!=t&&(e.__info.idxChain=t),e.__info.pathKey!=r&&(e.__info.pathKey=r);for(var o=e.__propSchemaList,i=0;i<o.length;i++){var s=t?t+","+i:""+i,c=r+"["+i+"]";this.resetIndexArr(o[i],s,c,i,!0)}return!0}if(e.component)e.__info.idxChain!=t&&(e.__info.idxChain=t),e.__info.pathKey!=r&&(e.__info.pathKey=r),e.__info.index!=a&&(e.__info.index=a);else if(e.properties)for(var l in e.__info.idxChain!=t&&(e.__info.idxChain=t),e.__info.pathKey!=r&&(e.__info.pathKey=r),e.__info.index!=a&&(e.__info.index=a),e.properties)this.resetIndexArr(e.properties[l],t,r+"."+l,n?a:-1,!1);else e.__info.idxChain!=t&&(e.__info.idxChain=t),e.__info.pathKey!=r&&(e.__info.pathKey=r),e.__info.index!=a&&(e.__info.index=a)},getTabsIndex:function(e,t){var r=this.__getSchemaByKey(e,t);return!!r&&((r.layout&&r.layout.name===n["a"].LAYOUT_TABS||!(!r.array||r.array.name!==n["a"].ARRAY_TABS))&&r.__tabsIndex)},togglePropBody:function(e,t){var r=this.__getSchemaByKey(e,t);r&&r.ui&&(r.ui.showBody=!r.ui.showBody)},setTabsIndex:function(e,t,r){var a=this.__getSchemaByKey(e,t);a&&this.__isRightTabsIndex(a,r)&&(a.__tabsIndex=r,a.array&&a.array.name===n["a"].ARRAY_TABS?o["a"].isNum(r)&&a.__propSchemaList[r].__hasError&&(a.__propSchemaList[r].__hasError=!1):a.layout&&a.layout.name===n["a"].LAYOUT_TABS&&a.properties[r].__hasError&&(a.properties[r].__hasError=!1))},__isRightTabsIndex:function(e,t){var r,a;if(e.array&&e.array.name===n["a"].ARRAY_TABS){if(o["a"].isNum(t)){var i=Math.floor(t);if(i===t&&i>=0&&i<e.__propSchemaList.length)return!0}}else if(e.layout&&e.layout.name===n["a"].LAYOUT_TABS)for(a in e.properties)if(r=e.properties[a],a==t&&!r.hidden)return!0;return!1},getSchemaByKey:function(e,t){return this.__getSchemaByKey(e,t)},__getSchemaByKey:function(e,t){if(!o["a"].isStr(t))return!1;if(!t)return e;for(var r,a,n=".",i=t.split(n),s=e,c=/([\s\S]+?)\[(\d+)\]$/,l=0;l<i.length;l++){if(!s)return!1;if(r=s.properties,!r||s.array)return!1;var d=i[l],p=d.match(c),f=l==i.length-1,u=d;if(p){u=p[1];var h=parseInt(p[2]);if(s=r[u],!s)return!1;if(f)return!!s.array&&(!!(s.__propSchemaList&&s.__propSchemaList.length>h)&&(a=s.__propSchemaList[h],a));if(!s.array)return!1;if(!(s.__propSchemaList&&s.__propSchemaList.length>h))return!1;s=s.__propSchemaList[h]}else{if(s=r[u],!s)return!1;if(f)return s;if(s.array)return!1}}},setValueByKey:function(e,t,r){var a,n=this.__getSchemaByKey(e,t);n&&(n.component?n.array?(o["a"].isArr(r)||o["a"].isNull(r))&&this.setValue(n,r||[]):(a=n.format?this.getFormatValue(n.format,r,!0):r,n.component.value=a):n.properties&&(n.array?(o["a"].isArr(r)||o["a"].isNull(r))&&this.setValue(n,r||[]):o["a"].isObj(r)&&this.setValue(n,r)))},clearErrMsgByKey:function(e,t,r){var a=this.__getSchemaByKey(e,t);a&&(r?this.clearErrMsg(a):(a.__invalidMsg&&(a.__invalidMsg=!1),a.__hasError&&(a.__hasError=!1)))},clearErrMsg:function(e){var t=this;if(e.__invalidMsg&&(e.__invalidMsg=!1),e.__hasError&&(e.__hasError=!1),e.array){var r=e.__propSchemaList||[];r.forEach((function(e){t.clearErrMsg(e)}))}if(e.component);else if(e.properties)for(var a in e.properties)this.clearErrMsg(e.properties[a])},getValue:function(e){return this.__getValue(e)},getFormValue:function(e,t){if(o["a"].isObj(t.rootData)){var r=this.__getValue(e,t);return this.__tileResultValue(e,r)}throw"getFormValue: formData 必须是一个对象"},__getValue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=Object.assign({},t);a.index=e.__info.index,a.idxChain=e.__info.idxChain,a.pathKey=e.__info.pathKey;var i,s,c,l,d,p=t.rootData,f=!(!p||!r&&!e.hidden);if(e.component){if(e.array){for(c=[],d=e.__propSchemaList,l=0;l<d.length;l++)i=this.__getValue(d[l],t,f),c.push(i);return c}return p&&e.format?this.getFormatValue(e.format,e.component.value,!1):e.component.value}if(e.properties){if(e.array){for(c=[],d=e.__propSchemaList,l=0;l<d.length;l++)i=this.__getValue(d[l],t,f),c.push(i);return c}for(var u in i={},e.properties){var h=e.properties[u];if((!h.layout||h.layout.name!==n["a"].LAYOUT_SPACE)&&(!p||!h.isTmp)){var b=!(!p||!f&&!h.hidden);b?o["a"].isUndef(h.hdValue)||(o["a"].isNull(h.hdValue)?(s=this.__getValue(h,t,f),i[u]=s):h.format?i[u]=this.getFormatValue(h.format,h.hdValue,!1):i[u]=h.hdValue):(s=this.__getValue(h,t,f),i[u]=s)}}return i}},getFormatValue:function(e,t){var r,a,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e)if(n){if(o["a"].isArr(e)){for(a=0;a<e.length;a++)if(r=e[a],r.outer==t)return r.inner}else if(o["a"].isFunc(e.outer))return e.outer(t)}else if(o["a"].isArr(e)){for(a=0;a<e.length;a++)if(r=e[a],r.inner==t)return r.outer}else if(o["a"].isFunc(e.inner))return e.inner(t);return t},clearErrorMsg:function(e){if(o["a"].isUndef(e.__invalidMsg)||(e.__invalidMsg=!1),e.component);else if(e.properties)if(e.array)for(var t=e.__propSchemaList,r=0;r<t.length;r++)this.clearErrorMsg(t[r]);else for(var a in e.properties)this.clearErrorMsg(e.properties[a])},analyzeUiProps:function(e,t){var r,i,s,c,l=0,d=Object.assign({},t);if(d.index=e.__info.index,d.idxChain=e.__info.idxChain,d.pathKey=e.__info.pathKey,e.component)if(e.__rawHidden&&(r=a["a"].smartEsValue(e.__rawHidden,d),e.hidden!=r&&(e.hidden=r)),!o["a"].hasOwn("__creatable",e)||e.hidden||e.__creatable||(e.__creatable=!0),e.label&&(this.__esParseComponent(e.label,d),e.label.help&&this.__esParseComponent(e.label.help,d)),e.desc&&this.__esParseComponent(e.desc,d),e.unit&&this.__esParseComponent(e.unit,d),e.help&&this.__esParseComponent(e.help,d),e.subLabel&&this.__esParseComponent(e.subLabel,d),e.delMsg&&this.__esParseComponent(e.delMsg,d),e.array){for(s=e.__propSchemaList,c=0;c<s.length;c++)this.analyzeUiProps(s[c],t);e.array.name==n["a"].ARRAY_TABS&&(i=e.__propSchemaList.length,i>0?!1===e.__tabsIndex?e.__tabsIndex=0:(e.__tabsIndex<0||e.__tabsIndex>=i-1)&&(e.__tabsIndex=i-1):!1!==e.__tabsIndex&&(e.__tabsIndex=!1)),e.array.rules&&this.__esParseRules(e.array.rules,d),e.array.delAllMsg&&this.__esParseComponent(e.array.delAllMsg,d)}else e.rules&&this.__esParseRules(e.rules,d),this.__esParseComponent(e.component,d);else if(e.properties)if(e.__rawHidden&&(r=a["a"].smartEsValue(e.__rawHidden,d),e.hidden!=r&&(e.hidden=r)),!o["a"].hasOwn("__creatable",e)||e.hidden||e.__creatable||(e.__creatable=!0),e.title&&(this.__esParseComponent(e.title,d),e.title.help&&this.__esParseComponent(e.title.help,d)),e.label&&(this.__esParseComponent(e.label,d),e.label.help&&this.__esParseComponent(e.label.help,d)),e.desc&&this.__esParseComponent(e.desc,d),e.unit&&this.__esParseComponent(e.unit,d),e.help&&this.__esParseComponent(e.help,d),e.subLabel&&this.__esParseComponent(e.subLabel,d),e.delMsg&&this.__esParseComponent(e.delMsg,d),e.array){for(s=e.__propSchemaList,c=0;c<s.length;c++)this.analyzeUiProps(s[c],t);e.array.name==n["a"].ARRAY_TABS&&(i=e.__propSchemaList.length,i>0?!1===e.__tabsIndex?e.__tabsIndex=0:(e.__tabsIndex<0||e.__tabsIndex>=i-1)&&(e.__tabsIndex=i-1):!1!==e.__tabsIndex&&(e.__tabsIndex=!1)),e.array.rules&&this.__esParseRules(e.array.rules,d),e.array.delAllMsg&&this.__esParseComponent(e.array.delAllMsg,d)}else{var p,f;if(e.layout&&e.layout.name==n["a"].LAYOUT_TABS){for(f in e.properties)p=e.properties[f],this.analyzeUiProps(p,t);if(!1===e.__tabsIndex){for(f in e.pr