@cniot/mdd-editor 0.2.0-beta.48 → 0.2.0-beta.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.MD CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.2.0-beta.49
2
+ - fix: upload 没有读取 multiple 属性
3
+
1
4
  # 0.2.0-beta.47 ~ 0.2.0-beta.48
2
5
 
3
6
  - 可编辑表格操作按钮支持导入
@@ -1,4 +1,4 @@
1
- "use strict";var Fh=Object.defineProperty;var Sh=(t,e,r)=>e in t?Fh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var jn=(t,e,r)=>(Sh(t,typeof e!="symbol"?e+"":e,r),r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var R=require("react"),Dh=require("EventEmitter"),f=require("@cainiaofe/cn-ui"),Or=require("lodash"),Ah=require("axios"),yu=require("ahooks"),wh=require("cn-address-select-pro"),Ep=require("@cniot/mdd-render-engine");function Wa(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var i=Wa(R),Cp=Wa(Dh),dl=Wa(Ah),Th=Wa(wh),Ih=Wa(Ep),tt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function _h(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function $h(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var dn=$h,Oh=typeof tt=="object"&&tt&&tt.Object===Object&&tt,Fp=Oh,Rh=Fp,kh=typeof self=="object"&&self&&self.Object===Object&&self,Mh=Rh||kh||Function("return this")(),Jt=Mh,Bh=Jt,Ph=function(){return Bh.Date.now()},Nh=Ph,Lh=/\s/;function jh(t){for(var e=t.length;e--&&Lh.test(t.charAt(e)););return e}var Yh=jh,Hh=Yh,zh=/^\s+/;function Vh(t){return t&&t.slice(0,Hh(t)+1).replace(zh,"")}var Uh=Vh,qh=Jt,Wh=qh.Symbol,pl=Wh,Ac=pl,Sp=Object.prototype,Kh=Sp.hasOwnProperty,Jh=Sp.toString,Ia=Ac?Ac.toStringTag:void 0;function Gh(t){var e=Kh.call(t,Ia),r=t[Ia];try{t[Ia]=void 0;var o=!0}catch{}var u=Jh.call(t);return o&&(e?t[Ia]=r:delete t[Ia]),u}var Qh=Gh,Xh=Object.prototype,Zh=Xh.toString;function eg(t){return Zh.call(t)}var tg=eg,wc=pl,ng=Qh,rg=tg,ag="[object Null]",og="[object Undefined]",Tc=wc?wc.toStringTag:void 0;function lg(t){return t==null?t===void 0?og:ag:Tc&&Tc in Object(t)?ng(t):rg(t)}var Yr=lg;function ig(t){return t!=null&&typeof t=="object"}var qn=ig,ug=Yr,sg=qn,cg="[object Symbol]";function dg(t){return typeof t=="symbol"||sg(t)&&ug(t)==cg}var Dp=dg,pg=Uh,Ic=dn,mg=Dp,_c=0/0,fg=/^[-+]0x[0-9a-f]+$/i,hg=/^0b[01]+$/i,gg=/^0o[0-7]+$/i,vg=parseInt;function xg(t){if(typeof t=="number")return t;if(mg(t))return _c;if(Ic(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Ic(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=pg(t);var r=hg.test(t);return r||gg.test(t)?vg(t.slice(2),r?2:8):fg.test(t)?_c:+t}var yg=xg,bg=dn,Ii=Nh,$c=yg,Eg="Expected a function",Cg=Math.max,Fg=Math.min;function Sg(t,e,r){var o,u,s,m,p,h,v=0,x=!1,b=!1,I=!0;if(typeof t!="function")throw new TypeError(Eg);e=$c(e)||0,bg(r)&&(x=!!r.leading,b="maxWait"in r,s=b?Cg($c(r.maxWait)||0,e):s,I="trailing"in r?!!r.trailing:I);function E(H){var C=o,k=u;return o=u=void 0,v=H,m=t.apply(k,C),m}function _(H){return v=H,p=setTimeout(z,e),x?E(H):m}function B(H){var C=H-h,k=H-v,j=e-C;return b?Fg(j,s-k):j}function T(H){var C=H-h,k=H-v;return h===void 0||C>=e||C<0||b&&k>=s}function z(){var H=Ii();if(T(H))return q(H);p=setTimeout(z,B(H))}function q(H){return p=void 0,I&&o?E(H):(o=u=void 0,m)}function re(){p!==void 0&&clearTimeout(p),v=0,o=h=u=p=void 0}function J(){return p===void 0?m:q(Ii())}function W(){var H=Ii(),C=T(H);if(o=arguments,u=this,h=H,C){if(p===void 0)return _(h);if(b)return clearTimeout(p),p=setTimeout(z,e),E(h)}return p===void 0&&(p=setTimeout(z,e)),m}return W.cancel=re,W.flush=J,W}var Ma=Sg;function Dg(){this.__data__=[],this.size=0}var Ag=Dg;function wg(t,e){return t===e||t!==t&&e!==e}var ml=wg,Tg=ml;function Ig(t,e){for(var r=t.length;r--;)if(Tg(t[r][0],e))return r;return-1}var fl=Ig,_g=fl,$g=Array.prototype,Og=$g.splice;function Rg(t){var e=this.__data__,r=_g(e,t);if(r<0)return!1;var o=e.length-1;return r==o?e.pop():Og.call(e,r,1),--this.size,!0}var kg=Rg,Mg=fl;function Bg(t){var e=this.__data__,r=Mg(e,t);return r<0?void 0:e[r][1]}var Pg=Bg,Ng=fl;function Lg(t){return Ng(this.__data__,t)>-1}var jg=Lg,Yg=fl;function Hg(t,e){var r=this.__data__,o=Yg(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}var zg=Hg,Vg=Ag,Ug=kg,qg=Pg,Wg=jg,Kg=zg;function Hr(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}Hr.prototype.clear=Vg;Hr.prototype.delete=Ug;Hr.prototype.get=qg;Hr.prototype.has=Wg;Hr.prototype.set=Kg;var hl=Hr,Jg=hl;function Gg(){this.__data__=new Jg,this.size=0}var Qg=Gg;function Xg(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Zg=Xg;function ev(t){return this.__data__.get(t)}var tv=ev;function nv(t){return this.__data__.has(t)}var rv=nv,av=Yr,ov=dn,lv="[object AsyncFunction]",iv="[object Function]",uv="[object GeneratorFunction]",sv="[object Proxy]";function cv(t){if(!ov(t))return!1;var e=av(t);return e==iv||e==uv||e==lv||e==sv}var bu=cv,dv=Jt,pv=dv["__core-js_shared__"],mv=pv,_i=mv,Oc=function(){var t=/[^.]+$/.exec(_i&&_i.keys&&_i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function fv(t){return!!Oc&&Oc in t}var hv=fv,gv=Function.prototype,vv=gv.toString;function xv(t){if(t!=null){try{return vv.call(t)}catch{}try{return t+""}catch{}}return""}var Ap=xv,yv=bu,bv=hv,Ev=dn,Cv=Ap,Fv=/[\\^$.*+?()[\]{}|]/g,Sv=/^\[object .+?Constructor\]$/,Dv=Function.prototype,Av=Object.prototype,wv=Dv.toString,Tv=Av.hasOwnProperty,Iv=RegExp("^"+wv.call(Tv).replace(Fv,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _v(t){if(!Ev(t)||bv(t))return!1;var e=yv(t)?Iv:Sv;return e.test(Cv(t))}var $v=_v;function Ov(t,e){return t==null?void 0:t[e]}var Rv=Ov,kv=$v,Mv=Rv;function Bv(t,e){var r=Mv(t,e);return kv(r)?r:void 0}var gr=Bv,Pv=gr,Nv=Jt,Lv=Pv(Nv,"Map"),Eu=Lv,jv=gr,Yv=jv(Object,"create"),gl=Yv,Rc=gl;function Hv(){this.__data__=Rc?Rc(null):{},this.size=0}var zv=Hv;function Vv(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Uv=Vv,qv=gl,Wv="__lodash_hash_undefined__",Kv=Object.prototype,Jv=Kv.hasOwnProperty;function Gv(t){var e=this.__data__;if(qv){var r=e[t];return r===Wv?void 0:r}return Jv.call(e,t)?e[t]:void 0}var Qv=Gv,Xv=gl,Zv=Object.prototype,ex=Zv.hasOwnProperty;function tx(t){var e=this.__data__;return Xv?e[t]!==void 0:ex.call(e,t)}var nx=tx,rx=gl,ax="__lodash_hash_undefined__";function ox(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=rx&&e===void 0?ax:e,this}var lx=ox,ix=zv,ux=Uv,sx=Qv,cx=nx,dx=lx;function zr(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}zr.prototype.clear=ix;zr.prototype.delete=ux;zr.prototype.get=sx;zr.prototype.has=cx;zr.prototype.set=dx;var px=zr,kc=px,mx=hl,fx=Eu;function hx(){this.size=0,this.__data__={hash:new kc,map:new(fx||mx),string:new kc}}var gx=hx;function vx(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var xx=vx,yx=xx;function bx(t,e){var r=t.__data__;return yx(e)?r[typeof e=="string"?"string":"hash"]:r.map}var vl=bx,Ex=vl;function Cx(t){var e=Ex(this,t).delete(t);return this.size-=e?1:0,e}var Fx=Cx,Sx=vl;function Dx(t){return Sx(this,t).get(t)}var Ax=Dx,wx=vl;function Tx(t){return wx(this,t).has(t)}var Ix=Tx,_x=vl;function $x(t,e){var r=_x(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var Ox=$x,Rx=gx,kx=Fx,Mx=Ax,Bx=Ix,Px=Ox;function Vr(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}Vr.prototype.clear=Rx;Vr.prototype.delete=kx;Vr.prototype.get=Mx;Vr.prototype.has=Bx;Vr.prototype.set=Px;var Nx=Vr,Lx=hl,jx=Eu,Yx=Nx,Hx=200;function zx(t,e){var r=this.__data__;if(r instanceof Lx){var o=r.__data__;if(!jx||o.length<Hx-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new Yx(o)}return r.set(t,e),this.size=r.size,this}var Vx=zx,Ux=hl,qx=Qg,Wx=Zg,Kx=tv,Jx=rv,Gx=Vx;function Ur(t){var e=this.__data__=new Ux(t);this.size=e.size}Ur.prototype.clear=qx;Ur.prototype.delete=Wx;Ur.prototype.get=Kx;Ur.prototype.has=Jx;Ur.prototype.set=Gx;var wp=Ur;function Qx(t,e){for(var r=-1,o=t==null?0:t.length;++r<o&&e(t[r],r,t)!==!1;);return t}var Xx=Qx,Zx=gr,ey=function(){try{var t=Zx(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Tp=ey,Mc=Tp;function ty(t,e,r){e=="__proto__"&&Mc?Mc(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Cu=ty,ny=Cu,ry=ml,ay=Object.prototype,oy=ay.hasOwnProperty;function ly(t,e,r){var o=t[e];(!(oy.call(t,e)&&ry(o,r))||r===void 0&&!(e in t))&&ny(t,e,r)}var Ip=ly,iy=Ip,uy=Cu;function sy(t,e,r,o){var u=!r;r||(r={});for(var s=-1,m=e.length;++s<m;){var p=e[s],h=o?o(r[p],t[p],p,r,t):void 0;h===void 0&&(h=t[p]),u?uy(r,p,h):iy(r,p,h)}return r}var Ka=sy;function cy(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}var dy=cy,py=Yr,my=qn,fy="[object Arguments]";function hy(t){return my(t)&&py(t)==fy}var gy=hy,Bc=gy,vy=qn,_p=Object.prototype,xy=_p.hasOwnProperty,yy=_p.propertyIsEnumerable,by=Bc(function(){return arguments}())?Bc:function(t){return vy(t)&&xy.call(t,"callee")&&!yy.call(t,"callee")},$p=by,Ey=Array.isArray,Ja=Ey,La={exports:{}};function Cy(){return!1}var Fy=Cy;(function(t,e){var r=Jt,o=Fy,u=e&&!e.nodeType&&e,s=u&&!0&&t&&!t.nodeType&&t,m=s&&s.exports===u,p=m?r.Buffer:void 0,h=p?p.isBuffer:void 0,v=h||o;t.exports=v})(La,La.exports);var Sy=9007199254740991,Dy=/^(?:0|[1-9]\d*)$/;function Ay(t,e){var r=typeof t;return e=e==null?Sy:e,!!e&&(r=="number"||r!="symbol"&&Dy.test(t))&&t>-1&&t%1==0&&t<e}var Op=Ay,wy=9007199254740991;function Ty(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=wy}var Rp=Ty,Iy=Yr,_y=Rp,$y=qn,Oy="[object Arguments]",Ry="[object Array]",ky="[object Boolean]",My="[object Date]",By="[object Error]",Py="[object Function]",Ny="[object Map]",Ly="[object Number]",jy="[object Object]",Yy="[object RegExp]",Hy="[object Set]",zy="[object String]",Vy="[object WeakMap]",Uy="[object ArrayBuffer]",qy="[object DataView]",Wy="[object Float32Array]",Ky="[object Float64Array]",Jy="[object Int8Array]",Gy="[object Int16Array]",Qy="[object Int32Array]",Xy="[object Uint8Array]",Zy="[object Uint8ClampedArray]",eb="[object Uint16Array]",tb="[object Uint32Array]",Ne={};Ne[Wy]=Ne[Ky]=Ne[Jy]=Ne[Gy]=Ne[Qy]=Ne[Xy]=Ne[Zy]=Ne[eb]=Ne[tb]=!0;Ne[Oy]=Ne[Ry]=Ne[Uy]=Ne[ky]=Ne[qy]=Ne[My]=Ne[By]=Ne[Py]=Ne[Ny]=Ne[Ly]=Ne[jy]=Ne[Yy]=Ne[Hy]=Ne[zy]=Ne[Vy]=!1;function nb(t){return $y(t)&&_y(t.length)&&!!Ne[Iy(t)]}var rb=nb;function ab(t){return function(e){return t(e)}}var Fu=ab,ja={exports:{}};(function(t,e){var r=Fp,o=e&&!e.nodeType&&e,u=o&&!0&&t&&!t.nodeType&&t,s=u&&u.exports===o,m=s&&r.process,p=function(){try{var h=u&&u.require&&u.require("util").types;return h||m&&m.binding&&m.binding("util")}catch{}}();t.exports=p})(ja,ja.exports);var ob=rb,lb=Fu,Pc=ja.exports,Nc=Pc&&Pc.isTypedArray,ib=Nc?lb(Nc):ob,kp=ib,ub=dy,sb=$p,cb=Ja,db=La.exports,pb=Op,mb=kp,fb=Object.prototype,hb=fb.hasOwnProperty;function gb(t,e){var r=cb(t),o=!r&&sb(t),u=!r&&!o&&db(t),s=!r&&!o&&!u&&mb(t),m=r||o||u||s,p=m?ub(t.length,String):[],h=p.length;for(var v in t)(e||hb.call(t,v))&&!(m&&(v=="length"||u&&(v=="offset"||v=="parent")||s&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||pb(v,h)))&&p.push(v);return p}var Mp=gb,vb=Object.prototype;function xb(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||vb;return t===r}var Su=xb;function yb(t,e){return function(r){return t(e(r))}}var Bp=yb,bb=Bp,Eb=bb(Object.keys,Object),Cb=Eb,Fb=Su,Sb=Cb,Db=Object.prototype,Ab=Db.hasOwnProperty;function wb(t){if(!Fb(t))return Sb(t);var e=[];for(var r in Object(t))Ab.call(t,r)&&r!="constructor"&&e.push(r);return e}var Tb=wb,Ib=bu,_b=Rp;function $b(t){return t!=null&&_b(t.length)&&!Ib(t)}var xl=$b,Ob=Mp,Rb=Tb,kb=xl;function Mb(t){return kb(t)?Ob(t):Rb(t)}var Du=Mb,Bb=Ka,Pb=Du;function Nb(t,e){return t&&Bb(e,Pb(e),t)}var Lb=Nb;function jb(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Yb=jb,Hb=dn,zb=Su,Vb=Yb,Ub=Object.prototype,qb=Ub.hasOwnProperty;function Wb(t){if(!Hb(t))return Vb(t);var e=zb(t),r=[];for(var o in t)o=="constructor"&&(e||!qb.call(t,o))||r.push(o);return r}var Kb=Wb,Jb=Mp,Gb=Kb,Qb=xl;function Xb(t){return Qb(t)?Jb(t,!0):Gb(t)}var Ga=Xb,Zb=Ka,eE=Ga;function tE(t,e){return t&&Zb(e,eE(e),t)}var nE=tE,ll={exports:{}};(function(t,e){var r=Jt,o=e&&!e.nodeType&&e,u=o&&!0&&t&&!t.nodeType&&t,s=u&&u.exports===o,m=s?r.Buffer:void 0,p=m?m.allocUnsafe:void 0;function h(v,x){if(x)return v.slice();var b=v.length,I=p?p(b):new v.constructor(b);return v.copy(I),I}t.exports=h})(ll,ll.exports);function rE(t,e){var r=-1,o=t.length;for(e||(e=Array(o));++r<o;)e[r]=t[r];return e}var Pp=rE;function aE(t,e){for(var r=-1,o=t==null?0:t.length,u=0,s=[];++r<o;){var m=t[r];e(m,r,t)&&(s[u++]=m)}return s}var oE=aE;function lE(){return[]}var Np=lE,iE=oE,uE=Np,sE=Object.prototype,cE=sE.propertyIsEnumerable,Lc=Object.getOwnPropertySymbols,dE=Lc?function(t){return t==null?[]:(t=Object(t),iE(Lc(t),function(e){return cE.call(t,e)}))}:uE,Au=dE,pE=Ka,mE=Au;function fE(t,e){return pE(t,mE(t),e)}var hE=fE;function gE(t,e){for(var r=-1,o=e.length,u=t.length;++r<o;)t[u+r]=e[r];return t}var Lp=gE,vE=Bp,xE=vE(Object.getPrototypeOf,Object),wu=xE,yE=Lp,bE=wu,EE=Au,CE=Np,FE=Object.getOwnPropertySymbols,SE=FE?function(t){for(var e=[];t;)yE(e,EE(t)),t=bE(t);return e}:CE,jp=SE,DE=Ka,AE=jp;function wE(t,e){return DE(t,AE(t),e)}var TE=wE,IE=Lp,_E=Ja;function $E(t,e,r){var o=e(t);return _E(t)?o:IE(o,r(t))}var Yp=$E,OE=Yp,RE=Au,kE=Du;function ME(t){return OE(t,kE,RE)}var BE=ME,PE=Yp,NE=jp,LE=Ga;function jE(t){return PE(t,LE,NE)}var YE=jE,HE=gr,zE=Jt,VE=HE(zE,"DataView"),UE=VE,qE=gr,WE=Jt,KE=qE(WE,"Promise"),JE=KE,GE=gr,QE=Jt,XE=GE(QE,"Set"),ZE=XE,eC=gr,tC=Jt,nC=eC(tC,"WeakMap"),rC=nC,eu=UE,tu=Eu,nu=JE,ru=ZE,au=rC,Hp=Yr,qr=Ap,jc="[object Map]",aC="[object Object]",Yc="[object Promise]",Hc="[object Set]",zc="[object WeakMap]",Vc="[object DataView]",oC=qr(eu),lC=qr(tu),iC=qr(nu),uC=qr(ru),sC=qr(au),cr=Hp;(eu&&cr(new eu(new ArrayBuffer(1)))!=Vc||tu&&cr(new tu)!=jc||nu&&cr(nu.resolve())!=Yc||ru&&cr(new ru)!=Hc||au&&cr(new au)!=zc)&&(cr=function(t){var e=Hp(t),r=e==aC?t.constructor:void 0,o=r?qr(r):"";if(o)switch(o){case oC:return Vc;case lC:return jc;case iC:return Yc;case uC:return Hc;case sC:return zc}return e});var Tu=cr,cC=Object.prototype,dC=cC.hasOwnProperty;function pC(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&dC.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var mC=pC,fC=Jt,hC=fC.Uint8Array,gC=hC,Uc=gC;function vC(t){var e=new t.constructor(t.byteLength);return new Uc(e).set(new Uc(t)),e}var Iu=vC,xC=Iu;function yC(t,e){var r=e?xC(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var bC=yC,EC=/\w*$/;function CC(t){var e=new t.constructor(t.source,EC.exec(t));return e.lastIndex=t.lastIndex,e}var FC=CC,qc=pl,Wc=qc?qc.prototype:void 0,Kc=Wc?Wc.valueOf:void 0;function SC(t){return Kc?Object(Kc.call(t)):{}}var DC=SC,AC=Iu;function wC(t,e){var r=e?AC(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var zp=wC,TC=Iu,IC=bC,_C=FC,$C=DC,OC=zp,RC="[object Boolean]",kC="[object Date]",MC="[object Map]",BC="[object Number]",PC="[object RegExp]",NC="[object Set]",LC="[object String]",jC="[object Symbol]",YC="[object ArrayBuffer]",HC="[object DataView]",zC="[object Float32Array]",VC="[object Float64Array]",UC="[object Int8Array]",qC="[object Int16Array]",WC="[object Int32Array]",KC="[object Uint8Array]",JC="[object Uint8ClampedArray]",GC="[object Uint16Array]",QC="[object Uint32Array]";function XC(t,e,r){var o=t.constructor;switch(e){case YC:return TC(t);case RC:case kC:return new o(+t);case HC:return IC(t,r);case zC:case VC:case UC:case qC:case WC:case KC:case JC:case GC:case QC:return OC(t,r);case MC:return new o;case BC:case LC:return new o(t);case PC:return _C(t);case NC:return new o;case jC:return $C(t)}}var ZC=XC,e1=dn,Jc=Object.create,t1=function(){function t(){}return function(e){if(!e1(e))return{};if(Jc)return Jc(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),n1=t1,r1=n1,a1=wu,o1=Su;function l1(t){return typeof t.constructor=="function"&&!o1(t)?r1(a1(t)):{}}var Vp=l1,i1=Tu,u1=qn,s1="[object Map]";function c1(t){return u1(t)&&i1(t)==s1}var d1=c1,p1=d1,m1=Fu,Gc=ja.exports,Qc=Gc&&Gc.isMap,f1=Qc?m1(Qc):p1,h1=f1,g1=Tu,v1=qn,x1="[object Set]";function y1(t){return v1(t)&&g1(t)==x1}var b1=y1,E1=b1,C1=Fu,Xc=ja.exports,Zc=Xc&&Xc.isSet,F1=Zc?C1(Zc):E1,S1=F1,D1=wp,A1=Xx,w1=Ip,T1=Lb,I1=nE,_1=ll.exports,$1=Pp,O1=hE,R1=TE,k1=BE,M1=YE,B1=Tu,P1=mC,N1=ZC,L1=Vp,j1=Ja,Y1=La.exports,H1=h1,z1=dn,V1=S1,U1=Du,q1=Ga,W1=1,K1=2,J1=4,Up="[object Arguments]",G1="[object Array]",Q1="[object Boolean]",X1="[object Date]",Z1="[object Error]",qp="[object Function]",e0="[object GeneratorFunction]",t0="[object Map]",n0="[object Number]",Wp="[object Object]",r0="[object RegExp]",a0="[object Set]",o0="[object String]",l0="[object Symbol]",i0="[object WeakMap]",u0="[object ArrayBuffer]",s0="[object DataView]",c0="[object Float32Array]",d0="[object Float64Array]",p0="[object Int8Array]",m0="[object Int16Array]",f0="[object Int32Array]",h0="[object Uint8Array]",g0="[object Uint8ClampedArray]",v0="[object Uint16Array]",x0="[object Uint32Array]",Be={};Be[Up]=Be[G1]=Be[u0]=Be[s0]=Be[Q1]=Be[X1]=Be[c0]=Be[d0]=Be[p0]=Be[m0]=Be[f0]=Be[t0]=Be[n0]=Be[Wp]=Be[r0]=Be[a0]=Be[o0]=Be[l0]=Be[h0]=Be[g0]=Be[v0]=Be[x0]=!0;Be[Z1]=Be[qp]=Be[i0]=!1;function rl(t,e,r,o,u,s){var m,p=e&W1,h=e&K1,v=e&J1;if(r&&(m=u?r(t,o,u,s):r(t)),m!==void 0)return m;if(!z1(t))return t;var x=j1(t);if(x){if(m=P1(t),!p)return $1(t,m)}else{var b=B1(t),I=b==qp||b==e0;if(Y1(t))return _1(t,p);if(b==Wp||b==Up||I&&!u){if(m=h||I?{}:L1(t),!p)return h?R1(t,I1(m,t)):O1(t,T1(m,t))}else{if(!Be[b])return u?t:{};m=N1(t,b,p)}}s||(s=new D1);var E=s.get(t);if(E)return E;s.set(t,m),V1(t)?t.forEach(function(T){m.add(rl(T,e,r,T,t,s))}):H1(t)&&t.forEach(function(T,z){m.set(z,rl(T,e,r,z,t,s))});var _=v?h?M1:k1:h?q1:U1,B=x?void 0:_(t);return A1(B||t,function(T,z){B&&(z=T,T=t[z]),w1(m,z,rl(T,e,r,z,t,s))}),m}var y0=rl,b0=y0,E0=1,C0=4;function F0(t){return b0(t,E0|C0)}var yl=F0;class Ze extends Cp.default{constructor(e){super(),this.data=S0(e)}on(e,r){e.indexOf(",")>-1?e.split(",").forEach(o=>{super.on(o,r)}):super.on(e,r)}off(e,r){e.indexOf(",")>-1?e.split(",").forEach(o=>{super.off(o,r)}):super.off(e,r)}get(e){if(typeof e!="string")return console.warn("Not string:",e),"";if(e.indexOf(".")>-1){e=e.split(".");let r=this.data;for(let o=0;o<e.length;o++)if(r=r[e[o]],r===void 0)return;return r}return this.data[e]}set(e,r,o=!1){if(e.indexOf(".")>-1){const u=e.split(".");let s=this.data;for(let m=0;m<u.length-1;m++)s=s[u[m]];s[u[u.length-1]]=r}else this.data[e]=r;this.emit(e,r),r&&Object.keys(r).length&&Object.keys(r).forEach(u=>{this.emit(`${e}.${u}`,r[u])}),this.emit("$updated",[e,r],o)}getJSON(){return this.data}copy(){return new Ze(this.data)}}function S0(t){return Array.isArray(t)?[...JSON.parse(JSON.stringify(t))]:{...t,...JSON.parse(JSON.stringify(t)),propsTypes:t.propsTypes}}const dr={INTEGER:"integer",NUMBER:"number",BOOLEAN:"boolean",STRING:"string",ARRAY:"array",OBJECT:"object"},D0={INT32:"int32",INT64:"int64",FLOAT:"float",DOUBLE:"double",BYTE:"byte",BINARY:"binary",DATE:"date",DATE_TIME:"date-time",PASSWORD:"password"},Kp="CN_MDD_LS",_u="MDD_SCHEMA",Ye={SCHEMA_UPDATE:"schema:update",SCRIPT_UPDATE:"script:update",SCHEMA_UPDATE_FORCE:"schema:update:force"},ed="0.1.15";class Wr extends Cp.default{constructor(e){super();const{title:r="",host:o="https://mock.alibaba-inc.com",editorVersion:u=""}=e||{};this.title=r,this.host=o,this.type="page",this.editorVersion=u||ed,this.body={}}getTitle(){return this.title}compileEditorVersion(){return A0(ed,this.editorVersion)}getHost(){return this.host}setHost(e){this.host=e}init(e){const{title:r,host:o,editorVersion:u}=e||{};this.title=r,this.host=o,this.editorVersion=u}getAllJSON(){return{title:this.title,host:this.host,type:"page",editorVersion:this.editorVersion,body:this.toJSON()}}toJSON(){return{}}}function A0(t,e){if(!e)return 0;const r=t.split("."),o=e.split("."),u=r.length,s=o.length,m=Math.min(u,s);let p=0;for(p;p<m;p++){const h=parseInt(r[p]),v=parseInt(o[p]);if(h>v)return 1;if(h<v)return-1}if(u>s){for(let h=p;h<u;h++)if(parseInt(r[h])!==0)return 1;return 0}else if(u<s){for(let h=p;h<s;h++)if(parseInt(o[h])!==0)return-1;return 0}return 0}class Ct extends Ze{constructor(e={}){super({type:"json",host:"",method:null,url:null,watch:[],params:{},formatResponseData:{},content:{},...e})}isFlow(){return this.data.type==="ajax"&&this.data.url==="/flow/api/v1/process"}isAjax(){return this.data.type==="ajax"&&this.data.url!=="/flow/api/v1/process"}isStatic(){return this.data.type==="json"}isEmpty(){return this.data.type===""}changeType(e){e==="flow"&&(this.data.type="ajax",this.data.url="/flow/api/v1/process",this.data.method="POST",this.data.params.processDefKey=this.data.params.processDefKey||""),e==="ajax"&&(this.data.type="ajax",this.data.url="",delete this.data.params.processDefKey),e==="json"&&(this.data.type="json"),this.emit("$updated")}getViewType(){return this.isFlow()?"flow":this.data.type}updateKeyNoNotice(e,r){this.data[e]=r}setAjaxRequest(e,r){this.data.url=e,this.data.method=r,this.emit("$updated")}setParams(e={}){this.set("params",e)}setFormatResponseData(e={}){this.set("formatResponseData",e)}setWatch(e=[]){this.data.watch=e}toJSON(){return this.data.type===null?null:{...this.data,watch:Jp(this.data.params)}}getJSON(){return this.toJSON()}clone(){return new Ct(JSON.parse(JSON.stringify(this.data)))}extends(e){return this.data=JSON.parse(JSON.stringify(e.data)),this.emit("$updated"),this}update(e){this.extends(new Ct(e))}updateAll(e){this.extends(new Ct(e))}getApiUrl(){return this.get("url")}}function Jp(t){return Object.keys(t).map(e=>t[e]===void 0?null:Array.prototype.toString.call(t[e])==="[object Object]"?Jp(t[e]):/^\$.+/.test(t[e])?t[e]:null).flat(1/0).filter(e=>!!e)}function w0(t){return t==null?"":t}function $i(t){const e={};for(let r=0;r<t.length;r++){const{key:o,value:u}=t[r];e[o]=w0(u)}return e}function Gp(t,e=""){return Object.keys(t).map(r=>Object.prototype.toString.call(t[r])==="[object Object]"?Gp(t[r],`${e}${r}.`):{key:e+r,value:t[r]}).flat(1/0)}class td extends Ze{constructor(e){const{columns:r=[],rowDoubleClick:o=[],actionColumns:u=[],bulkActions:s=[],primaryKey:m="id",tree:p=!1,treeLinkageCheck:h=!1,showIndex:v=!1,hideCommonToolbar:x=!1,actionMaxCharNum:b,actionWidth:I,showSelect:E=!1,remoteSort:_=!1,rowDetailModule:B={path:"",params:{}},pagination:T={defaultPageSize:20,paging:!0,disableGlobalConfig:!1},loadChildrenDataApi:z={},useVirtual:q=!0,columnsAutoWidth:re=!0,...J}=e||{};super({columns:r,rowDoubleClick:o,actionColumns:u,bulkActions:s,primaryKey:m,pagination:T,tree:p,showIndex:v,hideCommonToolbar:x,actionMaxCharNum:b,actionWidth:I,showSelect:E,rowDetailModule:B,remoteSort:_,useVirtual:q,columnsAutoWidth:re,treeLinkageCheck:h,...J}),this.initAjaxSchemaData(z)}initAjaxSchemaData(e){this.loadChildrenDataApi=new Ct(e),this.loadChildrenDataApi.on("$updated",()=>{this.emit("$updated",null)})}getLoadChildrenDataApiPanel(){return this.loadChildrenDataApi}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columns","actionColumns","bulkActions","rowDoubleClick"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){const{loadChildrenDataApi:r,...o}=e||{};this.data=o,r&&this.initAjaxSchemaData(r),this.emit("$updated")}delete(){}getJSON(){const e=super.getJSON(),r=e.tree?{loadChildrenDataApi:this.loadChildrenDataApi.getJSON()}:{};return{...e,...r}}}class nd extends Ze{constructor(e=[]){super([...e])}add(e,r=!1){this.data.push(e),this.emit("$updated",null,r)}remove(e,r=!1){this.data.splice(e,1),this.emit("$updated",null,r)}update(e,r,o=!1){this.data.splice(e,1,r),this.emit("$updated",null,o)}updateAll(e,r=!1){this.data=e,this.emit("$updated",null,r)}delete(){this.data=[]}getData(){return this.data||[]}getJSON(){return this.data||[]}}/*! js-cookie v3.0.5 | MIT */function Jo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)t[o]=r[o]}return t}var T0={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function ou(t,e){function r(u,s,m){if(typeof document!="undefined"){m=Jo({},e,m),typeof m.expires=="number"&&(m.expires=new Date(Date.now()+m.expires*864e5)),m.expires&&(m.expires=m.expires.toUTCString()),u=encodeURIComponent(u).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var p="";for(var h in m)!m[h]||(p+="; "+h,m[h]!==!0&&(p+="="+m[h].split(";")[0]));return document.cookie=u+"="+t.write(s,u)+p}}function o(u){if(!(typeof document=="undefined"||arguments.length&&!u)){for(var s=document.cookie?document.cookie.split("; "):[],m={},p=0;p<s.length;p++){var h=s[p].split("="),v=h.slice(1).join("=");try{var x=decodeURIComponent(h[0]);if(m[x]=t.read(v,x),u===x)break}catch{}}return u?m[u]:m}}return Object.create({set:r,get:o,remove:function(u,s){r(u,"",Jo({},s,{expires:-1}))},withAttributes:function(u){return ou(this.converter,Jo({},this.attributes,u))},withConverter:function(u){return ou(Jo({},this.converter,u),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Oi=ou(T0,{path:"/"});const I0=t=>{if(!t||typeof t!="string")return 0;if(/\p{Unified_Ideograph}/u.test(t)){const r=t.length*50;return r<50?50:r}else{const r=t.length*12.5;return r<50?50:r}},_0=t=>{if(!t)return t;const e=t.slice(1);return t.slice(0,1).toUpperCase()+e},Qp=()=>Oi==null?void 0:Oi.get("CNUICOOKIESIZE"),Ya=()=>Qp()==="small"?"left":"top";var $0=Cu,O0=ml;function R0(t,e,r){(r!==void 0&&!O0(t[e],r)||r===void 0&&!(e in t))&&$0(t,e,r)}var Xp=R0;function k0(t){return function(e,r,o){for(var u=-1,s=Object(e),m=o(e),p=m.length;p--;){var h=m[t?p:++u];if(r(s[h],h,s)===!1)break}return e}}var M0=k0,B0=M0,P0=B0(),N0=P0,L0=xl,j0=qn;function Y0(t){return j0(t)&&L0(t)}var H0=Y0,z0=Yr,V0=wu,U0=qn,q0="[object Object]",W0=Function.prototype,K0=Object.prototype,Zp=W0.toString,J0=K0.hasOwnProperty,G0=Zp.call(Object);function Q0(t){if(!U0(t)||z0(t)!=q0)return!1;var e=V0(t);if(e===null)return!0;var r=J0.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Zp.call(r)==G0}var X0=Q0;function Z0(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var em=Z0,eF=Ka,tF=Ga;function nF(t){return eF(t,tF(t))}var rF=nF,rd=Xp,aF=ll.exports,oF=zp,lF=Pp,iF=Vp,ad=$p,od=Ja,uF=H0,sF=La.exports,cF=bu,dF=dn,pF=X0,mF=kp,ld=em,fF=rF;function hF(t,e,r,o,u,s,m){var p=ld(t,r),h=ld(e,r),v=m.get(h);if(v){rd(t,r,v);return}var x=s?s(p,h,r+"",t,e,m):void 0,b=x===void 0;if(b){var I=od(h),E=!I&&sF(h),_=!I&&!E&&mF(h);x=h,I||E||_?od(p)?x=p:uF(p)?x=lF(p):E?(b=!1,x=aF(h,!0)):_?(b=!1,x=oF(h,!0)):x=[]:pF(h)||ad(h)?(x=p,ad(p)?x=fF(p):(!dF(p)||cF(p))&&(x=iF(h))):b=!1}b&&(m.set(h,x),u(x,h,o,s,m),m.delete(h)),rd(t,r,x)}var gF=hF,vF=wp,xF=Xp,yF=N0,bF=gF,EF=dn,CF=Ga,FF=em;function tm(t,e,r,o,u){t!==e&&yF(e,function(s,m){if(u||(u=new vF),EF(s))bF(t,e,m,r,tm,o,u);else{var p=o?o(FF(t,m),s,m+"",t,e,u):void 0;p===void 0&&(p=s),xF(t,m,p)}},CF)}var SF=tm;function DF(t){return t}var nm=DF;function AF(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var wF=AF,TF=wF,id=Math.max;function IF(t,e,r){return e=id(e===void 0?t.length-1:e,0),function(){for(var o=arguments,u=-1,s=id(o.length-e,0),m=Array(s);++u<s;)m[u]=o[e+u];u=-1;for(var p=Array(e+1);++u<e;)p[u]=o[u];return p[e]=r(m),TF(t,this,p)}}var _F=IF;function $F(t){return function(){return t}}var OF=$F,RF=OF,ud=Tp,kF=nm,MF=ud?function(t,e){return ud(t,"toString",{configurable:!0,enumerable:!1,value:RF(e),writable:!0})}:kF,BF=MF,PF=800,NF=16,LF=Date.now;function jF(t){var e=0,r=0;return function(){var o=LF(),u=NF-(o-r);if(r=o,u>0){if(++e>=PF)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var YF=jF,HF=BF,zF=YF,VF=zF(HF),UF=VF,qF=nm,WF=_F,KF=UF;function JF(t,e){return KF(WF(t,e,qF),t+"")}var GF=JF,QF=ml,XF=xl,ZF=Op,eS=dn;function tS(t,e,r){if(!eS(r))return!1;var o=typeof e;return(o=="number"?XF(r)&&ZF(e,r.length):o=="string"&&e in r)?QF(r[e],t):!1}var nS=tS,rS=GF,aS=nS;function oS(t){return rS(function(e,r){var o=-1,u=r.length,s=u>1?r[u-1]:void 0,m=u>2?r[2]:void 0;for(s=t.length>3&&typeof s=="function"?(u--,s):void 0,m&&aS(r[0],r[1],m)&&(s=u<3?void 0:s,u=1),e=Object(e);++o<u;){var p=r[o];p&&t(e,p,o,s)}return e})}var lS=oS,iS=SF,uS=lS,sS=uS(function(t,e,r){iS(t,e,r)}),cS=sS;const sd=(t,e)=>{const r="#/definitions/",o="#/components/schemas/";if(!t.schema||!t.schema.$ref)return t;const u=t.schema.$ref.replace(r,"").replace(o,"");return e[u]?(t.schema=e[u],t):(console.error(`mdd-tool columns complier error: definitions has no model: ${u}`),null)},cd=(t="parameters",e,r)=>{const u=(Array.isArray(e)?e:[e]).map(s=>{if(t==="parameters")return sd(s,r);if(t==="responses"){const m=sd(s[200],r);return m.schema?m.schema:m}return null}).filter(Boolean);return t==="parameters"?u:u[0]},dS=t=>{const{parameters:e=[],requestBody:r,responses:o}=t;let u=e;r&&r.content&&r.content["application/json"]&&(u=r.content["application/json"]);let s=o;if(o&&(o[200]||o.default)){const m=o[200]||o.default||{};m.content&&m.content["*/*"]?s={200:m.content["*/*"]}:m.content&&m.content["application/json"]&&(s={200:m.content["application/json"]})}return{parameters:u,responses:s}};var Kt=(t,e)=>{if(!t||!e)throw Error("mdd-tool columns complier error: api or api meta is null");const{paths:r,definitions:o}=e||{};if(!r[t])throw Error(`mdd-tool columns complier error: api meta has not api: ${t}`);let u="",s=null;if(Object.prototype.hasOwnProperty.call(r[t],"post"))u="post",s=r[t].post;else if(Object.prototype.hasOwnProperty.call(r[t],"get"))u="get",s=r[t].get;else throw Error("mdd-tool columns complier error: api method not support");const{summary:m}=s,{parameters:p=[],responses:h}=dS(s);return{api:t,method:u,summary:m,parameters:cd("parameters",p,o),responses:cd("responses",h,o)}};const Te={cncard:["icon","transparent"],"cncard-sub":["icon","transparent"],batchInput:["defaultValue","placeholder","name","hasClear","inputProps","trim"],input:["defaultValue","placeholder","maxLength","name","hasClear","trim"],"input-textarea":["defaultValue","placeholder","maxLength","name","hasClear","rows"],"input-password":["defaultValue","placeholder","maxLength","name","hasClear"],"number-picker":["defaultValue","placeholder","max","min","name","hasClear","precision","step"],"number-range-picker":["defaultValue","placeholder","max","min","name","hasClear","precision","step"],select:["defaultValue","mode","name","hasClear","placeholder","useDetailValue"],"cascader-select":["defaultValue","multiple","name","hasClear","placeholder","canOnlySelectLeaf","canOnlyCheckLeaf","changeOnSelect","showSearch"],"time-picker2":["format","outputFormat","defaultValue","placeholder","name","hasClear"],"date-picker2":["format","mode","outputFormat","showTime","defaultValue","placeholder","name","hasClear"],switch:["defaultValue","checkedChildren","unCheckedChildren","name"],radio:["defaultValue","name"],"check-box":["defaultValue","name"],"cascad-select":["defaultValue","name","hasClear"],"date-range-picker":["format","mode","outputFormat","showTime","defaultValue","placeholder","name","hasClear"],"time-range-picker":["format","mode","showTime","outputFormat","defaultValue","placeholder","name","hasClear"],"address-select":["name","baseUrl","cdnUrl","mode","defaultValue","placeholder","multiple","maxLevel","changeOnSelect","showSearch","hasClear","showTopLevel","iso"],"global-phone-picker":["name","defaultValue","placeholder","hasClear","defaultCountryCode","hasFlag"],message:["name"],upload:["name","defaultValue","uploadProps","showUploadList","showPreview","showRemove","showDownload","multiple","accept","limit","shape","service"]},Nt={input:["minLength"],"number-picker":[],select:["dataSource"],"time-picker2":["disabledHours"],"date-picker2":["dateRange"],switch:[],radio:["dataSource"],"check-box":["dataSource"],"cascad-select":["defaultValue"],"date-range-picker":["dateRange"],"time-range-picker":["disabledHours"],"address-select":[]},pS={cncard:[...Te.cncard],"cncard-sub":[...Te["cncard-sub"]],input:[...Te.input,...Nt.input],"number-picker":[...Te["number-picker"],...Nt["number-picker"]],select:[...Te.select,...Nt.select],"time-picker2":[...Te["time-picker2"],...Nt["time-picker2"]],"date-picker2":[...Te["date-picker2"],...Nt["date-picker2"]],switch:[...Te.switch,...Nt.switch],radio:[...Te.radio,...Nt.radio],"check-box":[...Te["check-box"],...Nt["check-box"]],"cascad-select":[...Te["cascad-select"],...Nt["cascad-select"]],"date-range-picker":[...Te["date-range-picker"],...Nt["date-range-picker"]],"time-range-picker":[...Te["time-range-picker"],...Nt["time-range-picker"]],"address-select":[...Te["address-select"],...Nt["address-select"]],upload:[...Te.upload]},mS=["page","pageSize","pageNo","currentPage","userContext"],fS=["id"],dd=t=>t.map(e=>({label:e,value:e})),hS=t=>fS.includes(t)?"disabled":"",_a="text",gS="edit-input",$u=(t,e,r,o)=>{const{title:u,description:s,required:m,nullable:p,type:h,items:v,enum:x,format:b,properties:I,...E}=e;if(mS.includes(t))return null;const _=u||s||t,B=r==="parameters";let T=null;switch(B?T={type:"input",name:t,label:_,required:!!m||p===!1,hasClear:!0,f_pattern:hS(t),...E}:T={type:_a,name:t,label:_,readOnly:!0,sortable:!0,dataIndex:t,...E},h){case dr.ARRAY:{v&&v.type==="string"&&v.enum?(T.select=Te.select,T.type=B?"select":"single-enum",T.mode="multiple",T.hasSelectAll=!0,T.dataSource=dd(v.enum),T.placeholder="\u8BF7\u9009\u62E9"):v&&v.type==="string"?(T.select=Te.select,T.type=B?"select":"single-enum",T.mode="multiple",T.hasSelectAll=!0,T.placeholder="\u8BF7\u9009\u62E9"):T=null;break}case dr.OBJECT:{T=null;break}case dr.BOOLEAN:{B&&(T.switch=Te.switch),T.type=B?"switch":_a,T.autoWidth=!0,T.defaultChecked=!1;break}case dr.INTEGER:{B&&(T["number-picker"]=Te["number-picker"]),T.type=B?"number-picker":_a,T.placeholder="\u8BF7\u8F93\u5165";break}case dr.NUMBER:{b==="float"?(T.type="number-picker",T.precision=2):b==="double"?(T.type="number-picker",T.precision=5):T.type="number-picker",B?T["number-picker"]=Te["number-picker"]:T.type=_a,T.placeholder="\u8BF7\u8F93\u5165";break}case dr.STRING:{x?(T.select=Te.select,T.type=B?"select":"single-enum",T.dataSource=dd(x),T.placeholder="\u8BF7\u9009\u62E9"):b==="date-time"?(B&&(T["date-picker2"]=Te["date-picker2"],T.outputFormat="YYYY/MM/DD HH:mm:ss"),T.type=B?"date-picker2":"date",T.showTime=!0,T.format="YYYY-MM-DD HH:mm:ss",T.placeholder="\u8BF7\u9009\u62E9"):b==="date"?(B&&(T["date-picker2"]=Te["date-picker2"],T.outputFormat="YYYY/MM/DD HH:mm:ss"),T.type=B?"date-picker2":"date",T.format="YYYY-MM-DD",T.placeholder="\u8BF7\u9009\u62E9"):(B&&(T.input=Te.input),T.type=B?"input":_a,T.placeholder="\u8BF7\u8F93\u5165");break}default:T=null;break}return o==="edit-table"&&T&&(T.type=gS),T},Hn=t=>Object.keys(t).map(e=>({name:e,...t[e]})),Ou=(t,e,r,o,u)=>{Object.keys(t).forEach(s=>{const m=[...o,s].join(".");t[s]&&t[s].type==="object"&&t[s].properties?Ou(t[s].properties,e,r,[...o,s],u):e.push($u(m,t[s],r,u))})},rm=(t,e)=>{var m;if(!e)return null;const r="$RET.";let o=e;e.startsWith(r)&&(o=o.replace(r,""));const s=o.split(".").reduce((p,h)=>p==null?void 0:p.properties[h],t);return(s==null?void 0:s.type)==="array"?Hn(((m=s==null?void 0:s.items)==null?void 0:m.properties)||{}):(s==null?void 0:s.type)==="object"?Hn((s==null?void 0:s.properties)||{}):(console.warn("\u4ECEresponseDataFormat\u8DEF\u5F84\u4E2D\u6CA1\u6709\u627E\u5230\u63A5\u53E3\u63CF\u8FF0\u4FE1\u606F\u3002",s),null)},vS=(t,e="parameters",r,o)=>{var m,p,h,v,x,b,I,E,_,B,T,z,q,re,J,W,H,C,k,j,Y,L,te,se,G,D,w,U,S;if(!t)throw Error("mdd-tool core complier error: swaggerParams is null");let u=t;if(r){const $=rm(t,r);$!==null&&(u=$)}else if(!Array.isArray(t)&&e==="responses"){let $=((m=t==null?void 0:t.properties)==null?void 0:m.data)||((p=t==null?void 0:t.properties)==null?void 0:p.module);if((h=t==null?void 0:t.properties)!=null&&h.success||($=t),($==null?void 0:$.type)==="array")u=Hn(((v=$==null?void 0:$.items)==null?void 0:v.properties)||{});else if(($==null?void 0:$.type)==="object"&&((x=$==null?void 0:$.properties)==null?void 0:x.tableData)&&((I=(b=$==null?void 0:$.properties)==null?void 0:b.tableData)==null?void 0:I.type)==="array")u=Hn(((_=(E=$.properties.tableData)==null?void 0:E.items)==null?void 0:_.properties)||{});else if(($==null?void 0:$.type)==="object"&&((B=$==null?void 0:$.properties)==null?void 0:B.list)&&((z=(T=$==null?void 0:$.properties)==null?void 0:T.list)==null?void 0:z.type)==="array")u=Hn(((re=(q=$.properties.list)==null?void 0:q.items)==null?void 0:re.properties)||{});else if(($==null?void 0:$.type)==="object"&&((J=$==null?void 0:$.properties)==null?void 0:J.data)&&((H=(W=$==null?void 0:$.properties)==null?void 0:W.data)==null?void 0:H.type)==="array")u=Hn(((k=(C=$.properties.data)==null?void 0:C.items)==null?void 0:k.properties)||{});else if(($==null?void 0:$.type)==="object"&&((Y=(j=$==null?void 0:$.properties)==null?void 0:j.list)==null?void 0:Y.type)==="object"&&((G=(se=(te=(L=$==null?void 0:$.properties)==null?void 0:L.list)==null?void 0:te.properties)==null?void 0:se.tableData)==null?void 0:G.type)==="array")u=Hn(((S=(U=(w=(D=$.properties.list)==null?void 0:D.properties)==null?void 0:w.tableData)==null?void 0:U.items)==null?void 0:S.properties)||{});else throw Error("\u8F93\u51FA\u683C\u5F0F\u4E0D\u662F\u6807\u51C6\u683C\u5F0F...: ",$)}const s=[];return u.forEach($=>{const{name:ee,schema:O}=$;if(O){const V=O.properties||O;Ou(V,s,e,[],o)}else s.push($u(ee,$,e,o))}),s.filter(Boolean)},xS=(t,e,r,o)=>{var m,p;if(!t)throw Error("mdd-tool core complier error: responses is null");let u=t||[];if(r){const h=rm(t,r);h!==null&&(u=h)}else if(!Array.isArray(t)){const h=((m=t==null?void 0:t.properties)==null?void 0:m.data)||((p=t==null?void 0:t.properties)==null?void 0:p.module)||t;if(h.type==="object")u=Hn((h==null?void 0:h.properties)||{});else throw Error("\u8F93\u51FA\u683C\u5F0F\u4E0D\u662F\u8BE6\u60C5\u6807\u51C6\u683C\u5F0F...: ",h)}const s=[];return u.forEach(h=>{const{name:v,schema:x}=h;if(x){const b=x.properties||x;Ou(b,s,e,[],o)}else s.push($u(v,h,e,o))}),s.filter(Boolean)};var ft=(t,e="parameters",r,o)=>r==="detail"?xS(t,e,o,r):vS(t,e,o,r);const Ri=[Number,String,Boolean],sr="$ref",yS=14,am="#/components/schemas/",bS=am.length;var Ru=t=>{const e=t.definitions;return t.definitions=al(e,e,1),t};function al(t,e,r){if(r++,!t)return t;let o;for(let u=0;u<Ri.length;u++)if(t instanceof Ri[u])return o=Ri[u](t),o;if(Or.isArray(t))return o=[],t.forEach((u,s)=>{o[s]=al(u,e,r)}),o;if(Or.isObject(t)){o={};let u=Or.keys(t);if(u.includes(sr)){if(Or.isString(t[sr])){const s=t[sr].indexOf(am)>=0?t[sr].substr(bS):t[sr].substr(yS);if(e[s]){if(r>11)return o[sr]=s;o=al(e[s],e,r),o&&Object.keys(o).forEach(m=>{u=Or.remove(u,p=>p!==m)})}}u=Or.remove(u,s=>s!==sr)}for(let s=0;s<u.length;s++){const m=u[s];o[m]=al(t[m],e,r)}return o}return t}function om(t){return Ru(um(t))}function lm(t,e){const r=Ru(um(e));return Kt(t,r)}function im(t,e,r,o={}){const{parameters:u=[],responses:s=[],method:m=""}=r||{},p=m.toUpperCase(),h={title:"",host:"",type:"page",body:{}};return e==="ftp"?h.body={type:"ftp",api:{type:"ajax",host:"",method:p,watch:[],params:{},formatResponseData:{tableData:"$RET.data.tableData",tableColumns:"$RET.data.tableColumns",totalCount:"$RET.data.paging.totalCount"},value:t,url:t},filter:{maxVisibleRow:2,col:6,labelSpan:4,labelAlign:Ya()||"top",storageKey:new Date().getTime(),enableSaveSelected:!1,fields:ft(u)},headerToolbar:[],table:{columns:ft(s,"responses","ftp"),actionColumns:[],bulkActions:[],primaryKey:"id",pagination:{defaultPageSize:20,paging:!0,disableGlobalConfig:!1,pageSizeList:""},tree:!1,showIndex:!1,hideCommonToolbar:!1,showSelect:!1,rowDetailModule:{path:"",params:{}},remoteSort:!1},middleModules:[]}:e==="formily-form-v2"?h.body={type:"formily-form-v2",api:{type:"ajax",host:"",method:p,watch:[],params:{},formatResponseData:{},value:t,url:t},initApi:[],effectApi:[],baseInfo:{size:"medium",col:2,labelCol:6,labelAlign:Ya()||"top",wrapperCol:12,hasAnchor:!1,hasSubmit:!0,submitText:"\u63D0\u4EA4",hasReset:!1,resetText:"\u91CD\u7F6E",actionsAlign:"right",hasCancel:!0,cancelText:"\u53D6\u6D88",secondConfirm:!1,secondConfirmTitle:"\u786E\u8BA4",secondConfirmContent:"\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"},fields:ft(u)}:e==="detail"?h.body={type:"detail",hasBackBtn:!0,backText:"\u8FD4\u56DE",hasAnchor:!1,children:[{columns:ft(s,"responses","detail"),groupId:"",col:3,type:"detail-card",label:"\u57FA\u7840\u4FE1\u606F",source:[{url:t,method:p,type:"ajax",formatResponseData:{detailData:"$RET.data"}}],itemWidth:100,itemHeight:100,actions:[],current:1}]}:e==="edit-table"?h.body={type:"edit-table",saveBtnText:"\u4FDD\u5B58",addBtnText:"\u65B0\u589E\u884C",deleteBtnText:"\u5220\u9664\u884C",hasSaveBtn:!0,hasAddRow:!0,hasDeleteRow:!0,initApi:{type:"ajax",host:"",method:p,watch:[],params:{},formatResponseData:{tableData:"$RET.data.tableData"},value:t,url:t},submitApi:{type:"ajax",host:"",method:null,url:null,watch:[],params:{data:"$EDIT_TABLE.$ALL"},formatResponseData:{},content:{}},table:{columns:ft(s,"responses","edit-table"),bulkActions:[],primaryKey:"id",pagination:{defaultPageSize:20,paging:!1,disableGlobalConfig:!1},tree:!1,showIndex:!1,hideCommonToolbar:!0},headerToolbar:[]}:e!=null&&e.startsWith("blocks-")&&(h.type="blocks",h.body={type:e,blocks:[]}),cS(h,o)}function ES(t,e,r,o={}){const u=lm(t,r);return im(t,e,u,o)}function um(t){return t&&t.components&&t.components.schemas?{...t,definitions:t.components.schemas}:t}const CS="http://127.0.0.1:23629/sp",FS="http://127.0.0.1:23629/swagger?project=",SS=()=>new Promise(t=>{dl.default({url:CS,method:"GET"}).then(e=>{var r,o,u;if(((r=e==null?void 0:e.data)==null?void 0:r.success)===!0&&Array.isArray((o=e==null?void 0:e.data)==null?void 0:o.data)){const s=(u=e==null?void 0:e.data)==null?void 0:u.data.map(m=>{const p=FS+m;return{value:p,label:`\u672C\u5730Idea\u9879\u76EE: ${p}`}});t(s)}else t([])}).catch(e=>{t([])})});class pd extends Ze{constructor(e){const{fields:r=[],...o}=e||{};super({maxVisibleRow:2,col:0,labelColFixedSpan:5,labelSpan:4,labelAlign:Ya()||"top",storageKey:Date.now(),enableSaveSelected:!1,fields:r,...o})}setFieldsAll(e,r=!1){this.set("fields",e,r)}add(e,r=!1){this.data.fields.push(e),this.emit("$updated",null,r)}remove(e,r=!1){this.data.fields.splice(e,1),this.emit("$updated",null,r)}update(e,r,o=!1){this.data.fields.splice(e,1,r),this.emit("$updated",null,o)}updateAll(e){this.data=e,this.emit("$updated")}getJSON(){return super.getJSON()}delete(){}}const DS={type:"json",content:[{label:"\u5168\u90E8",value:"all",count:10},{label:"\u5DF2\u5B8C\u6210",value:"done",active:!0,count:1}]};class ki extends Ze{constructor(e){const{dataIndex:r="",defaultTabValue:o="",source:u,value:s,params:m}=e||{};super({dataIndex:r,defaultTabValue:o,value:s,params:m}),this.initAjaxSchemaData(u)}initAjaxSchemaData(e){this.source=new Ct(e||DS),this.source.on("$updated",()=>{this.emit("$updated",null)})}getSourcePanel(){return this.source}updateAll(e){const{source:r,...o}=e||{};this.data=o,r&&this.initAjaxSchemaData(r),this.emit("$updated")}getJSON(){return{...super.getJSON(),source:this.source.getJSON()}}delete(){}}class Mr extends Wr{constructor(e,r=!1){const{api:o,filter:u,headerToolbar:s,table:m,tabs:p,middleModules:h,...v}=r?e.body:e;super(v),this.type="ftp",this.api=new Ct(o),this.filter=new pd(u),this.headerToolbar=new nd(s),this.table=new td(m),this.initChildren(h,p),this.willDetach=this.initChangeListener()}initChildren(e,r){Array.isArray(e)?this.middleModules=e.map(o=>o?new ki(o):null).filter(Boolean):r&&r.dataIndex?this.middleModules=[new ki({value:"ftp-tabs",params:[],dataIndex:r.dataIndex,source:r.source})]:this.middleModules=[]}refreshListener(){this.willDetach&&this.willDetach(),this.willDetach=this.initChangeListener()}initChangeListener(){var r;const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return this.api.on("$updated",e),this.filter.on("$updated",e),this.headerToolbar.on("$updated",e),this.table.on("$updated",e),(r=this.middleModules)==null||r.forEach(o=>{o.on("$updated",e)}),()=>{var o;this.api.off("$updated",e),this.filter.off("$updated",e),this.headerToolbar.off("$updated",e),this.table.off("$updated",e),(o=this.middleModules)==null||o.forEach(u=>{u.off("$updated",e)})}}initFromSwagger(e){try{const r=this.api.getApiUrl();if(!r)return;const o=Kt(r,e),{parameters:u,responses:s}=o||{},m=ft(u);this.filter.setFieldsAll(m);const p=ft(s,"responses");this.table.setFieldsAll(p)}catch(r){console.warn(r),f.Message.error("\u8F93\u51FA\u683C\u5F0F\u4E0D\u7B26\u5408FTP\u89C4\u8303")}}initFromCache(e){const{body:r,...o}=e,{api:u,filter:s,headerToolbar:m,table:p,tabs:h,middleModules:v}=r;this.willDetach&&this.willDetach(),this.init(o),this.api.updateAll(u),this.filter.updateAll(s),this.headerToolbar.updateAll(m),this.table.updateAll(this.compatTableHandle(p)),this.initChildren(v,h),this.willDetach=this.initChangeListener()}compatTableHandle(e){if(!e||!e.pagination)return e;const{defaultPageSize:r,paging:o}=e.pagination;return!r&&(o===void 0||o===!0)?{...e,pagination:{defaultPageSize:r,paging:!1}}:e}getSchemaType(){return"ftp"}getFilterPanel(){return this.filter}getMiddlePanel(){return this.middleModules}getHeaderToolbarPanel(){return this.headerToolbar}getDataSourcePanel(){return this.api}getTablePanel(){return this.table}toJSON(){return{type:this.type,api:this.api.getJSON(),filter:this.filter.getJSON(),headerToolbar:this.headerToolbar.getJSON(),table:this.table.getJSON(),middleModules:this.middleModules.map(e=>e.getJSON())}}toJSONString(){return JSON.stringify(this.toJSON())}setFilter(e){this.filter=e}setHeaderToolbar(e){this.headerToolbar=e}setTable(e){this.table=e}addMiddle(){this.middleModules.push(new ki({value:"",params:""})),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this}),this.refreshListener()}removeMiddle(e){this.middleModules.splice(e,1),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this}),this.refreshListener()}updateMiddle(e,r){this.middleModules.splice(e,1,r),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}sortMiddle(e,r){const o=this.middleModules[e];this.middleModules[e]=this.middleModules[r],this.middleModules[r]=o,super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}}jn(Mr,"Filter",pd),jn(Mr,"HeaderToolbar",nd),jn(Mr,"Table",td);class AS extends Ze{constructor(e){super({columns:e})}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columns","actionColumns","bulkActions"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}getJSON(){return super.getJSON()}}class wS extends Ze{constructor(e){super({fields:e})}setFieldsAll(e,r=!1){this.set("fields",e,r)}setItemAll(e,r="fields",o=!1){this.set(r,e,o)}add(e,r="fields",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="fields",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="fields",u=!1){["fields"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}getJSON(){return super.getJSON()}}class TS extends Ze{constructor(e){super({fields:e})}setFieldsAll(e,r=!1){this.set("fields",e,r)}setItemAll(e,r="fields",o=!1){this.set(r,e,o)}add(e,r="fields",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="fields",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="fields",u=!1){["fields"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}getJSON(){return super.getJSON()}}class IS extends Ze{constructor(e){super({columns:e})}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columns","actionColumns","bulkActions"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}getJSON(){return super.getJSON()}}const cl=class extends Wr{constructor(e,r=!1){const{type:o,blocks:u=[],...s}=r?e.body:e;super(s),this.type=o;const m=cl.BlocksInfoMap[o].schema;this.blocks=new m(u),this.willDetach=this.initChangeListener()}initChangeListener(){const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return this.blocks.on("$updated",e),()=>{this.blocks.off("$updated",e)}}initFromCache(e){const{body:r,...o}=e,{blocks:u}=r;this.willDetach&&this.willDetach(),this.init(o),this.blocks.updateAll(u),this.willDetach=this.initChangeListener()}getSchemaType(){return this.type}getPanel(){return this.blocks}getAllJSON(){return{...super.getAllJSON(),type:"blocks"}}toJSON(){const e=cl.BlocksInfoMap[this.type].toJSONKey;return{type:this.type,blocks:this.blocks.getJSON()[e]}}setBlocks(e){this.blocks=e}};let fr=cl;jn(fr,"BlocksInfoMap",{"blocks-table":{schema:AS,toJSONKey:"columns"},"blocks-edit-table":{schema:IS,toJSONKey:"columns"},"blocks-filter":{schema:wS,toJSONKey:"fields"},"blocks-form":{schema:TS,toJSONKey:"fields"}});class md extends Ze{constructor(e){const{size:r="medium",labelAlign:o=Ya()||"top",col:u=0,labelColFixedSpan:s=5,labelCol:m=6,wrapperCol:p=12,hasSubmit:h=!0,hasAnchor:v=!1,submitText:x="\u63D0\u4EA4",hasReset:b=!1,resetText:I="\u91CD\u7F6E",hasCancel:E=!0,cancelText:_="\u53D6\u6D88",actionsAlign:B="right",secondConfirm:T=!1,secondConfirmTitle:z="\u786E\u8BA4",secondConfirmContent:q="\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F",firstRenderWithoutEffects:re=!1}=e||{};super({size:r,col:u,labelColFixedSpan:s,labelCol:m,labelAlign:o,wrapperCol:p,hasAnchor:v,hasSubmit:h,submitText:x,hasReset:b,resetText:I,actionsAlign:B,hasCancel:E,cancelText:_,secondConfirm:T,secondConfirmTitle:z,secondConfirmContent:q,firstRenderWithoutEffects:re})}update(e,r){this.set(e,r)}updateAll(e){this.data=e,this.emit("$updated")}}class fd extends Ze{constructor(e){const{fields:r=[]}=e||{};super({fields:r})}setFieldsAll(e,r=!1){this.set("fields",e,r)}add(e,r=!1){this.data.fields.push(e),this.emit("$updated",null,r)}remove(e,r=!1){this.data.fields.splice(e,1),this.emit("$updated",null,r)}update(e,r,o=!1){this.data.fields.splice(e,1,r),this.emit("$updated",null,o)}getJSON(){return this.data.fields}updateAll(e){this.data={fields:e},this.emit("$updated")}}class Go extends Ze{constructor(e=[]){super(e)}updateKeyNoNotice(e,r){this.data[e]=r}setAjaxRequest(e,r){this.data.url=e,this.data.method=r,this.emit("$updated")}setParams(e={}){this.set("params",e)}setFormatResponseData(e={}){this.set("formatResponseData",e)}setWatch(e=[]){this.data.watch=e}toJSON(){return this.data.type===null?null:{...this.data,watch:sm(this.data.params)}}clone(){return new Ct(JSON.parse(JSON.stringify(this.data)))}extends(e){return this.data=JSON.parse(JSON.stringify(e.data)),this.emit("$updated"),this}update(e,r){return this.data.splice(e,1,r),this.emit("$updated"),this}delete(e){return this.data.splice(e,1),this.emit("$updated"),this}add(e){return this.data.push(e),this.emit("$updated"),this}getApiItemPanel(e){return this.data[e]}updateAll(e){return this.data=e,this.emit("$updated"),this}getApiUrl(){return this.get("url")}}function sm(t){return Object.keys(t).map(e=>t[e]===void 0?null:Array.prototype.toString.call(t[e])==="[object Object]"?sm(t[e]):/^\$.+/.test(t[e])?t[e]:null).flat(1/0).filter(e=>!!e)}class Br extends Wr{constructor(e,r=!1){const{api:o,initApi:u,effectApi:s,baseInfo:m,fields:p,...h}=r?e.body:e;super(h),this.type="formily-form-v2",this.baseInfo=new md(m),this.api=new Ct(o),u?this.initApi=new Go(Array.isArray(u)?u:[u]):this.initApi=new Go([]),s?this.effectApi=new Go(Array.isArray(s)?s:[s]):this.effectApi=new Go([]),this.fields=new fd({fields:p}),this.willDetach=this.initChangeListener()}initChangeListener(){const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return this.api.on("$updated",e),this.baseInfo.on("$updated",e),this.initApi.on("$updated",e),this.effectApi.on("$updated",e),this.fields.on("$updated",e),()=>{this.api.off("$updated",e),this.baseInfo.off("$updated",e),this.initApi.off("$updated",e),this.effectApi.off("$updated",e),this.fields.off("$updated",e)}}initFromSwagger(e){const r=this.api.getApiUrl();if(!r)return;const o=Kt(r,e),{parameters:u}=o||{},s=ft(u);this.fields.setFieldsAll(s)}initFromCache(e){const{body:r,...o}=e,{api:u,initApi:s=[],effectApi:m=[],baseInfo:p,fields:h}=r;this.willDetach&&this.willDetach(),this.init(o),this.api.updateAll(u),s?this.initApi.updateAll(Array.isArray(s)?s:[s]):this.initApi.updateAll([]),m?this.effectApi.updateAll(Array.isArray(m)?m:[m]):this.effectApi.updateAll([]),this.baseInfo.updateAll(p),this.fields.updateAll(h),this.willDetach=this.initChangeListener()}getSchemaType(){return"formily-form-v2"}getBaseInfoPanel(){return this.baseInfo}getApiPanel(){return this.api}getInitApiPanel(){return this.initApi}getEffectApiPanel(){return this.effectApi}getFieldsPanel(){return this.fields}toJSON(){return{type:this.type,api:this.api.getJSON(),initApi:this.initApi.getJSON(),effectApi:this.effectApi.getJSON(),baseInfo:this.baseInfo.getJSON(),fields:this.fields.getJSON()}}toJSONString(){return JSON.stringify(this.toJSON())}}jn(Br,"FormInfo",md),jn(Br,"AjaxSchema",Ct),jn(Br,"FormItems",fd);class Mi extends Ze{constructor(e){const{groupId:r="",col:o=3,size:u="normal",type:s="detail-card",label:m="\u57FA\u7840\u4FE1\u606F",columns:p=[],source:h,unCipherSource:v,path:x,params:b,itemWidth:I=100,itemHeight:E=100,pagination:_,actions:B=[],current:T=1,columnsDirection:z="row",columnsBoxes:q=[],height:re=100,...J}=e||{};super({columns:p,groupId:r,col:o,size:u,type:s,label:m,source:h,unCipherSource:v,path:x,params:b,itemWidth:I,itemHeight:E,pagination:_,actions:B,current:T,columnsDirection:z,columnsBoxes:q,height:re,...J})}initStepSource(){(!Array.isArray(this.data.source)||this.data.source.length===0)&&(this.data.source=[{type:"json",content:[{title:"\u7B2C\u4E00\u6B65",content:"\u7B2C\u4E00\u6B65\u63CF\u8FF0",isActive:!1},{title:"\u7B2C\u4E8C\u6B65",content:"\u7B2C\u4E8C\u6B65\u63CF\u8FF0",isActive:!0},{title:"\u7B2C\u4E09\u6B65",content:"\u7B2C\u4E09\u6B65\u63CF\u8FF0",isActive:!1},{title:"\u7B2C\u56DB\u6B65",content:"\u7B2C\u56DB\u6B65\u63CF\u8FF0",isActive:!1}]}]),this.emit("$updated")}getFirstSourceApiUrl(){if(Array.isArray(this.data.source)&&this.data.source.length>0){const e=this.data.source[0];if(e.type==="ajax")return e.url}return""}addActions(e,r=!1){this.data.actions.push(e),this.emit("$updated",null,r)}removeActions(e,r=!1){this.data.actions.splice(e,1),this.emit("$updated",null,r)}updateActions(e,r,o=!1){this.data.actions.splice(e,1,r),this.emit("$updated",null,o)}updateAllActions(e,r=!1){this.data.actions=e,this.emit("$updated",null,r)}getActionsData(){return this.data.actions}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columnsBoxes","columns","actionColumns","bulkActions"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updatePagination(e){this.data.pagination=e,this.emit("$updated")}addSource(e){this.data.source.push(e),this.emit("$updated")}updateSource(e,r){this.data.source.splice(e,1,r),this.emit("$updated")}removeSource(e){this.data.source.splice(e,1),this.emit("$updated")}addUnCipherSource(e){this.data.unCipherSource||(this.data.unCipherSource=[]),this.data.unCipherSource.push(e),this.emit("$updated")}updateUnCipherSource(e,r){this.data.unCipherSource.splice(e,1,r),this.emit("$updated")}removeUnCipherSource(e){this.data.unCipherSource.splice(e,1),this.emit("$updated")}updateAll(e){this.data=e,this.emit("$updated")}delete(){}}class il extends Wr{constructor(e,r=!1){const{hasBackBtn:o=!0,backText:u="\u8FD4\u56DE",hasAnchor:s=!1,children:m,initDataSource:p,fullHeight:h,whiteBackground:v,...x}=r?e.body:e;super(x),this.type="detail",this.hasBackBtn=o,this.backText=u,this.hasAnchor=s,this.fullHeight=h,this.whiteBackground=v,this.initChildren(m,p),this.initDataSource=p?new Ct(p):{},this.willDetach=this.initChangeListener()}initChildren(e,r){this.children=e?e.map(o=>o?new Mi(o):null).filter(Boolean):[new Mi({groupId:"",type:"detail-card",label:"\u57FA\u7840\u4FE1\u606F",col:3,columns:[],source:[r]})]}baseInfoChange(e,r){this[e]=r,super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}refreshChildrenListener(){this.willDetach&&this.willDetach(),this.willDetach=this.initChangeListener()}initChangeListener(){var r;const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return(r=this.children)==null||r.forEach(o=>{o.on("$updated",e)}),()=>{var o;(o=this.children)==null||o.forEach(u=>{u.off("$updated",e)})}}get(e){return this[e]}set(e,r){this.baseInfoChange(e,r)}initFromSwagger(e){try{const r=this.initDataSource.getApiUrl();if(!r)return;const o=Kt(r,e),{responses:u}=o||{},s=ft(u,"responses","detail");this.setInitColumns(s)}catch(r){console.warn("\u8F93\u51FA\u683C\u5F0F\u4E0D\u7B26\u5408\u8BE6\u60C5\u89C4\u8303: ",r),f.Message.error("\u8F93\u51FA\u683C\u5F0F\u4E0D\u7B26\u5408\u8BE6\u60C5\u89C4\u8303")}}setInitColumns(e){var r;!this.children||this.children.length===0||(r=this.children[0])==null||r.setFieldsAll(e)}initFromCache(e){const{body:r,...o}=e,{hasBackBtn:u,backText:s,hasAnchor:m,fullHeight:p,whiteBackground:h,children:v}=r;this.init(o),this.baseInfoChange("hasBackBtn",u),this.baseInfoChange("backText",s),this.baseInfoChange("hasAnchor",m),this.baseInfoChange("fullHeight,",p),this.baseInfoChange("whiteBackground,",h),this.initChildren(v),this.refreshChildrenListener()}addChildren(){this.children.push(new Mi({groupId:"",type:"detail-card",label:"\u57FA\u7840\u4FE1\u606F",col:3,columns:[],source:[]})),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this}),this.refreshChildrenListener()}removeChildren(e){this.children.splice(e,1),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this}),this.refreshChildrenListener()}updateChildren(e,r){this.children.splice(e,1,r),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}sortChildren(e,r){const o=this.children[e];this.children[e]=this.children[r],this.children[r]=o,super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}getSchemaType(){return"detail"}getChildrenPanel(){return this.children}toJSON(){return{type:this.type,hasBackBtn:this.hasBackBtn,backText:this.backText,hasAnchor:this.hasAnchor,fullHeight:this.fullHeight,whiteBackground:this.whiteBackground,children:this.children.map(e=>e.getJSON())}}toJSONString(){return JSON.stringify(this.toJSON())}}class _S extends Ze{constructor(e){const{columns:r=[],bulkActions:o=[],primaryKey:u="id",tree:s=!1,showIndex:m=!1,hideCommonToolbar:p=!0,useVirtual:h=!0,columnsAutoWidth:v=!0,pagination:x={defaultPageSize:20,paging:!0,disableGlobalConfig:!1},maxHeight:b,storageKey:I=Date.now()}=e||{};super({columns:r,bulkActions:o,primaryKey:u,pagination:x,tree:s,showIndex:m,hideCommonToolbar:p,useVirtual:h,columnsAutoWidth:v,maxHeight:b,storageKey:I})}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columns","actionColumns","bulkActions"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}}class $S extends Ze{constructor(e=[]){super(e||[])}add(e,r=!1){this.data.push(e),this.emit("$updated",null,r)}remove(e,r=!1){this.data.splice(e,1),this.emit("$updated",null,r)}update(e,r,o=!1){this.data.splice(e,1,r),this.emit("$updated",null,o)}updateAll(e,r=!1){this.data=e||[],this.emit("$updated",null,r)}delete(){this.data=[]}getData(){return this.data||[]}getJSON(){return this.data||[]}}class ku extends Wr{constructor(e,r=!1){const{initApi:o,submitApi:u,table:s,saveBtnText:m="\u4FDD\u5B58",addBtnText:p="\u65B0\u589E\u884C",deleteBtnText:h="\u5220\u9664\u884C",hasSaveBtn:v=!0,hasAddRow:x=!0,hasDeleteRow:b=!0,headerToolbar:I=[],...E}=r?e.body:e;super(E),this.type="edit-table",this.saveBtnText=m,this.addBtnText=p,this.deleteBtnText=h,this.hasSaveBtn=v,this.hasAddRow=x,this.hasDeleteRow=b,this.initApi=new Ct(o),this.submitApi=new Ct(u),this.table=new _S(s),this.headerToolbar=new $S(I),this.willDetach=this.initChangeListener()}initChangeListener(){const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return this.initApi.on("$updated",e),this.submitApi.on("$updated",e),this.table.on("$updated",e),this.headerToolbar.on("$updated",e),()=>{this.initApi.off("$updated",e),this.submitApi.off("$updated",e),this.table.off("$updated",e),this.headerToolbar.off("$updated",e)}}initFromSwagger(e){try{const r=this.initApi.getApiUrl();if(!r)return;const o=Kt(r,e),{responses:u}=o||{},s=ft(u,"responses","edit-table");this.table.setFieldsAll(s)}catch(r){console.error("buildFieldsToCompJsone:",r),f.Message.error("\u521D\u59CB\u5316\u63A5\u53E3\u8F93\u51FA\u683C\u5F0F\u4E0D\u7B26\u5408Table\u89C4\u8303")}}initFromCache(e){const{body:r,...o}=e,{initApi:u,submitApi:s,table:m,saveBtnText:p,addBtnText:h,deleteBtnText:v,hasSaveBtn:x,hasAddRow:b,hasDeleteRow:I,headerToolbar:E}=r;this.willDetach&&this.willDetach(),this.init(o),this.initApi.updateAll(u),this.submitApi.updateAll(s),this.table.updateAll(this.compatTableHandle(m)),this.headerToolbar.updateAll(E),this.addBtnText=h,this.deleteBtnText=v,this.saveBtnText=p,this.hasSaveBtn=x,this.hasAddRow=b,this.hasDeleteRow=I,this.willDetach=this.initChangeListener()}compatTableHandle(e){if(!e||!e.pagination)return e;const{defaultPageSize:r,paging:o}=e.pagination;return!r&&(o===void 0||o===!0)?{...e,pagination:{defaultPageSize:r,paging:!1}}:e}getSchemaType(){return"edit-table"}getInitApiPanel(){return this.initApi}getSubmitApiPanel(){return this.submitApi}getTablePanel(){return this.table}baseInfoChange(e,r,o){this[e]=r,this.emit("$updated",null,o),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}get(e){return this[e]}set(e,r,o){this.baseInfoChange(e,r,o)}getHeaderToolbarPanel(){return this.headerToolbar}toJSON(){return{type:this.type,saveBtnText:this.saveBtnText,addBtnText:this.addBtnText,deleteBtnText:this.deleteBtnText,hasSaveBtn:this.hasSaveBtn,hasAddRow:this.hasAddRow,hasDeleteRow:this.hasDeleteRow,initApi:this.initApi.getJSON(),submitApi:this.submitApi.getJSON(),table:this.table.getJSON(),headerToolbar:this.headerToolbar.getJSON()}}toJSONString(){return JSON.stringify(this.toJSON())}setInitApiPanel(e){this.initApi=e}setSubmitApiPanel(e){this.submitApi=e}setTable(e){this.table=e}}var cm={exports:{}};/*!
1
+ "use strict";var Fh=Object.defineProperty;var Sh=(t,e,r)=>e in t?Fh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var jn=(t,e,r)=>(Sh(t,typeof e!="symbol"?e+"":e,r),r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var R=require("react"),Dh=require("EventEmitter"),f=require("@cainiaofe/cn-ui"),Or=require("lodash"),Ah=require("axios"),yu=require("ahooks"),wh=require("cn-address-select-pro"),Ep=require("@cniot/mdd-render-engine");function Wa(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var i=Wa(R),Cp=Wa(Dh),dl=Wa(Ah),Th=Wa(wh),Ih=Wa(Ep),tt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function _h(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function $h(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var dn=$h,Oh=typeof tt=="object"&&tt&&tt.Object===Object&&tt,Fp=Oh,Rh=Fp,kh=typeof self=="object"&&self&&self.Object===Object&&self,Mh=Rh||kh||Function("return this")(),Jt=Mh,Bh=Jt,Ph=function(){return Bh.Date.now()},Nh=Ph,Lh=/\s/;function jh(t){for(var e=t.length;e--&&Lh.test(t.charAt(e)););return e}var Yh=jh,Hh=Yh,zh=/^\s+/;function Vh(t){return t&&t.slice(0,Hh(t)+1).replace(zh,"")}var Uh=Vh,qh=Jt,Wh=qh.Symbol,pl=Wh,Ac=pl,Sp=Object.prototype,Kh=Sp.hasOwnProperty,Jh=Sp.toString,Ia=Ac?Ac.toStringTag:void 0;function Gh(t){var e=Kh.call(t,Ia),r=t[Ia];try{t[Ia]=void 0;var o=!0}catch{}var u=Jh.call(t);return o&&(e?t[Ia]=r:delete t[Ia]),u}var Qh=Gh,Xh=Object.prototype,Zh=Xh.toString;function eg(t){return Zh.call(t)}var tg=eg,wc=pl,ng=Qh,rg=tg,ag="[object Null]",og="[object Undefined]",Tc=wc?wc.toStringTag:void 0;function lg(t){return t==null?t===void 0?og:ag:Tc&&Tc in Object(t)?ng(t):rg(t)}var Yr=lg;function ig(t){return t!=null&&typeof t=="object"}var qn=ig,ug=Yr,sg=qn,cg="[object Symbol]";function dg(t){return typeof t=="symbol"||sg(t)&&ug(t)==cg}var Dp=dg,pg=Uh,Ic=dn,mg=Dp,_c=0/0,fg=/^[-+]0x[0-9a-f]+$/i,hg=/^0b[01]+$/i,gg=/^0o[0-7]+$/i,vg=parseInt;function xg(t){if(typeof t=="number")return t;if(mg(t))return _c;if(Ic(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Ic(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=pg(t);var r=hg.test(t);return r||gg.test(t)?vg(t.slice(2),r?2:8):fg.test(t)?_c:+t}var yg=xg,bg=dn,Ii=Nh,$c=yg,Eg="Expected a function",Cg=Math.max,Fg=Math.min;function Sg(t,e,r){var o,u,s,m,p,h,v=0,x=!1,b=!1,I=!0;if(typeof t!="function")throw new TypeError(Eg);e=$c(e)||0,bg(r)&&(x=!!r.leading,b="maxWait"in r,s=b?Cg($c(r.maxWait)||0,e):s,I="trailing"in r?!!r.trailing:I);function E(H){var C=o,k=u;return o=u=void 0,v=H,m=t.apply(k,C),m}function _(H){return v=H,p=setTimeout(z,e),x?E(H):m}function B(H){var C=H-h,k=H-v,j=e-C;return b?Fg(j,s-k):j}function T(H){var C=H-h,k=H-v;return h===void 0||C>=e||C<0||b&&k>=s}function z(){var H=Ii();if(T(H))return q(H);p=setTimeout(z,B(H))}function q(H){return p=void 0,I&&o?E(H):(o=u=void 0,m)}function re(){p!==void 0&&clearTimeout(p),v=0,o=h=u=p=void 0}function J(){return p===void 0?m:q(Ii())}function W(){var H=Ii(),C=T(H);if(o=arguments,u=this,h=H,C){if(p===void 0)return _(h);if(b)return clearTimeout(p),p=setTimeout(z,e),E(h)}return p===void 0&&(p=setTimeout(z,e)),m}return W.cancel=re,W.flush=J,W}var Ma=Sg;function Dg(){this.__data__=[],this.size=0}var Ag=Dg;function wg(t,e){return t===e||t!==t&&e!==e}var ml=wg,Tg=ml;function Ig(t,e){for(var r=t.length;r--;)if(Tg(t[r][0],e))return r;return-1}var fl=Ig,_g=fl,$g=Array.prototype,Og=$g.splice;function Rg(t){var e=this.__data__,r=_g(e,t);if(r<0)return!1;var o=e.length-1;return r==o?e.pop():Og.call(e,r,1),--this.size,!0}var kg=Rg,Mg=fl;function Bg(t){var e=this.__data__,r=Mg(e,t);return r<0?void 0:e[r][1]}var Pg=Bg,Ng=fl;function Lg(t){return Ng(this.__data__,t)>-1}var jg=Lg,Yg=fl;function Hg(t,e){var r=this.__data__,o=Yg(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}var zg=Hg,Vg=Ag,Ug=kg,qg=Pg,Wg=jg,Kg=zg;function Hr(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}Hr.prototype.clear=Vg;Hr.prototype.delete=Ug;Hr.prototype.get=qg;Hr.prototype.has=Wg;Hr.prototype.set=Kg;var hl=Hr,Jg=hl;function Gg(){this.__data__=new Jg,this.size=0}var Qg=Gg;function Xg(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Zg=Xg;function ev(t){return this.__data__.get(t)}var tv=ev;function nv(t){return this.__data__.has(t)}var rv=nv,av=Yr,ov=dn,lv="[object AsyncFunction]",iv="[object Function]",uv="[object GeneratorFunction]",sv="[object Proxy]";function cv(t){if(!ov(t))return!1;var e=av(t);return e==iv||e==uv||e==lv||e==sv}var bu=cv,dv=Jt,pv=dv["__core-js_shared__"],mv=pv,_i=mv,Oc=function(){var t=/[^.]+$/.exec(_i&&_i.keys&&_i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function fv(t){return!!Oc&&Oc in t}var hv=fv,gv=Function.prototype,vv=gv.toString;function xv(t){if(t!=null){try{return vv.call(t)}catch{}try{return t+""}catch{}}return""}var Ap=xv,yv=bu,bv=hv,Ev=dn,Cv=Ap,Fv=/[\\^$.*+?()[\]{}|]/g,Sv=/^\[object .+?Constructor\]$/,Dv=Function.prototype,Av=Object.prototype,wv=Dv.toString,Tv=Av.hasOwnProperty,Iv=RegExp("^"+wv.call(Tv).replace(Fv,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _v(t){if(!Ev(t)||bv(t))return!1;var e=yv(t)?Iv:Sv;return e.test(Cv(t))}var $v=_v;function Ov(t,e){return t==null?void 0:t[e]}var Rv=Ov,kv=$v,Mv=Rv;function Bv(t,e){var r=Mv(t,e);return kv(r)?r:void 0}var gr=Bv,Pv=gr,Nv=Jt,Lv=Pv(Nv,"Map"),Eu=Lv,jv=gr,Yv=jv(Object,"create"),gl=Yv,Rc=gl;function Hv(){this.__data__=Rc?Rc(null):{},this.size=0}var zv=Hv;function Vv(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Uv=Vv,qv=gl,Wv="__lodash_hash_undefined__",Kv=Object.prototype,Jv=Kv.hasOwnProperty;function Gv(t){var e=this.__data__;if(qv){var r=e[t];return r===Wv?void 0:r}return Jv.call(e,t)?e[t]:void 0}var Qv=Gv,Xv=gl,Zv=Object.prototype,ex=Zv.hasOwnProperty;function tx(t){var e=this.__data__;return Xv?e[t]!==void 0:ex.call(e,t)}var nx=tx,rx=gl,ax="__lodash_hash_undefined__";function ox(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=rx&&e===void 0?ax:e,this}var lx=ox,ix=zv,ux=Uv,sx=Qv,cx=nx,dx=lx;function zr(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}zr.prototype.clear=ix;zr.prototype.delete=ux;zr.prototype.get=sx;zr.prototype.has=cx;zr.prototype.set=dx;var px=zr,kc=px,mx=hl,fx=Eu;function hx(){this.size=0,this.__data__={hash:new kc,map:new(fx||mx),string:new kc}}var gx=hx;function vx(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var xx=vx,yx=xx;function bx(t,e){var r=t.__data__;return yx(e)?r[typeof e=="string"?"string":"hash"]:r.map}var vl=bx,Ex=vl;function Cx(t){var e=Ex(this,t).delete(t);return this.size-=e?1:0,e}var Fx=Cx,Sx=vl;function Dx(t){return Sx(this,t).get(t)}var Ax=Dx,wx=vl;function Tx(t){return wx(this,t).has(t)}var Ix=Tx,_x=vl;function $x(t,e){var r=_x(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var Ox=$x,Rx=gx,kx=Fx,Mx=Ax,Bx=Ix,Px=Ox;function Vr(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}Vr.prototype.clear=Rx;Vr.prototype.delete=kx;Vr.prototype.get=Mx;Vr.prototype.has=Bx;Vr.prototype.set=Px;var Nx=Vr,Lx=hl,jx=Eu,Yx=Nx,Hx=200;function zx(t,e){var r=this.__data__;if(r instanceof Lx){var o=r.__data__;if(!jx||o.length<Hx-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new Yx(o)}return r.set(t,e),this.size=r.size,this}var Vx=zx,Ux=hl,qx=Qg,Wx=Zg,Kx=tv,Jx=rv,Gx=Vx;function Ur(t){var e=this.__data__=new Ux(t);this.size=e.size}Ur.prototype.clear=qx;Ur.prototype.delete=Wx;Ur.prototype.get=Kx;Ur.prototype.has=Jx;Ur.prototype.set=Gx;var wp=Ur;function Qx(t,e){for(var r=-1,o=t==null?0:t.length;++r<o&&e(t[r],r,t)!==!1;);return t}var Xx=Qx,Zx=gr,ey=function(){try{var t=Zx(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Tp=ey,Mc=Tp;function ty(t,e,r){e=="__proto__"&&Mc?Mc(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Cu=ty,ny=Cu,ry=ml,ay=Object.prototype,oy=ay.hasOwnProperty;function ly(t,e,r){var o=t[e];(!(oy.call(t,e)&&ry(o,r))||r===void 0&&!(e in t))&&ny(t,e,r)}var Ip=ly,iy=Ip,uy=Cu;function sy(t,e,r,o){var u=!r;r||(r={});for(var s=-1,m=e.length;++s<m;){var p=e[s],h=o?o(r[p],t[p],p,r,t):void 0;h===void 0&&(h=t[p]),u?uy(r,p,h):iy(r,p,h)}return r}var Ka=sy;function cy(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}var dy=cy,py=Yr,my=qn,fy="[object Arguments]";function hy(t){return my(t)&&py(t)==fy}var gy=hy,Bc=gy,vy=qn,_p=Object.prototype,xy=_p.hasOwnProperty,yy=_p.propertyIsEnumerable,by=Bc(function(){return arguments}())?Bc:function(t){return vy(t)&&xy.call(t,"callee")&&!yy.call(t,"callee")},$p=by,Ey=Array.isArray,Ja=Ey,La={exports:{}};function Cy(){return!1}var Fy=Cy;(function(t,e){var r=Jt,o=Fy,u=e&&!e.nodeType&&e,s=u&&!0&&t&&!t.nodeType&&t,m=s&&s.exports===u,p=m?r.Buffer:void 0,h=p?p.isBuffer:void 0,v=h||o;t.exports=v})(La,La.exports);var Sy=9007199254740991,Dy=/^(?:0|[1-9]\d*)$/;function Ay(t,e){var r=typeof t;return e=e==null?Sy:e,!!e&&(r=="number"||r!="symbol"&&Dy.test(t))&&t>-1&&t%1==0&&t<e}var Op=Ay,wy=9007199254740991;function Ty(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=wy}var Rp=Ty,Iy=Yr,_y=Rp,$y=qn,Oy="[object Arguments]",Ry="[object Array]",ky="[object Boolean]",My="[object Date]",By="[object Error]",Py="[object Function]",Ny="[object Map]",Ly="[object Number]",jy="[object Object]",Yy="[object RegExp]",Hy="[object Set]",zy="[object String]",Vy="[object WeakMap]",Uy="[object ArrayBuffer]",qy="[object DataView]",Wy="[object Float32Array]",Ky="[object Float64Array]",Jy="[object Int8Array]",Gy="[object Int16Array]",Qy="[object Int32Array]",Xy="[object Uint8Array]",Zy="[object Uint8ClampedArray]",eb="[object Uint16Array]",tb="[object Uint32Array]",Ne={};Ne[Wy]=Ne[Ky]=Ne[Jy]=Ne[Gy]=Ne[Qy]=Ne[Xy]=Ne[Zy]=Ne[eb]=Ne[tb]=!0;Ne[Oy]=Ne[Ry]=Ne[Uy]=Ne[ky]=Ne[qy]=Ne[My]=Ne[By]=Ne[Py]=Ne[Ny]=Ne[Ly]=Ne[jy]=Ne[Yy]=Ne[Hy]=Ne[zy]=Ne[Vy]=!1;function nb(t){return $y(t)&&_y(t.length)&&!!Ne[Iy(t)]}var rb=nb;function ab(t){return function(e){return t(e)}}var Fu=ab,ja={exports:{}};(function(t,e){var r=Fp,o=e&&!e.nodeType&&e,u=o&&!0&&t&&!t.nodeType&&t,s=u&&u.exports===o,m=s&&r.process,p=function(){try{var h=u&&u.require&&u.require("util").types;return h||m&&m.binding&&m.binding("util")}catch{}}();t.exports=p})(ja,ja.exports);var ob=rb,lb=Fu,Pc=ja.exports,Nc=Pc&&Pc.isTypedArray,ib=Nc?lb(Nc):ob,kp=ib,ub=dy,sb=$p,cb=Ja,db=La.exports,pb=Op,mb=kp,fb=Object.prototype,hb=fb.hasOwnProperty;function gb(t,e){var r=cb(t),o=!r&&sb(t),u=!r&&!o&&db(t),s=!r&&!o&&!u&&mb(t),m=r||o||u||s,p=m?ub(t.length,String):[],h=p.length;for(var v in t)(e||hb.call(t,v))&&!(m&&(v=="length"||u&&(v=="offset"||v=="parent")||s&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||pb(v,h)))&&p.push(v);return p}var Mp=gb,vb=Object.prototype;function xb(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||vb;return t===r}var Su=xb;function yb(t,e){return function(r){return t(e(r))}}var Bp=yb,bb=Bp,Eb=bb(Object.keys,Object),Cb=Eb,Fb=Su,Sb=Cb,Db=Object.prototype,Ab=Db.hasOwnProperty;function wb(t){if(!Fb(t))return Sb(t);var e=[];for(var r in Object(t))Ab.call(t,r)&&r!="constructor"&&e.push(r);return e}var Tb=wb,Ib=bu,_b=Rp;function $b(t){return t!=null&&_b(t.length)&&!Ib(t)}var xl=$b,Ob=Mp,Rb=Tb,kb=xl;function Mb(t){return kb(t)?Ob(t):Rb(t)}var Du=Mb,Bb=Ka,Pb=Du;function Nb(t,e){return t&&Bb(e,Pb(e),t)}var Lb=Nb;function jb(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Yb=jb,Hb=dn,zb=Su,Vb=Yb,Ub=Object.prototype,qb=Ub.hasOwnProperty;function Wb(t){if(!Hb(t))return Vb(t);var e=zb(t),r=[];for(var o in t)o=="constructor"&&(e||!qb.call(t,o))||r.push(o);return r}var Kb=Wb,Jb=Mp,Gb=Kb,Qb=xl;function Xb(t){return Qb(t)?Jb(t,!0):Gb(t)}var Ga=Xb,Zb=Ka,eE=Ga;function tE(t,e){return t&&Zb(e,eE(e),t)}var nE=tE,ll={exports:{}};(function(t,e){var r=Jt,o=e&&!e.nodeType&&e,u=o&&!0&&t&&!t.nodeType&&t,s=u&&u.exports===o,m=s?r.Buffer:void 0,p=m?m.allocUnsafe:void 0;function h(v,x){if(x)return v.slice();var b=v.length,I=p?p(b):new v.constructor(b);return v.copy(I),I}t.exports=h})(ll,ll.exports);function rE(t,e){var r=-1,o=t.length;for(e||(e=Array(o));++r<o;)e[r]=t[r];return e}var Pp=rE;function aE(t,e){for(var r=-1,o=t==null?0:t.length,u=0,s=[];++r<o;){var m=t[r];e(m,r,t)&&(s[u++]=m)}return s}var oE=aE;function lE(){return[]}var Np=lE,iE=oE,uE=Np,sE=Object.prototype,cE=sE.propertyIsEnumerable,Lc=Object.getOwnPropertySymbols,dE=Lc?function(t){return t==null?[]:(t=Object(t),iE(Lc(t),function(e){return cE.call(t,e)}))}:uE,Au=dE,pE=Ka,mE=Au;function fE(t,e){return pE(t,mE(t),e)}var hE=fE;function gE(t,e){for(var r=-1,o=e.length,u=t.length;++r<o;)t[u+r]=e[r];return t}var Lp=gE,vE=Bp,xE=vE(Object.getPrototypeOf,Object),wu=xE,yE=Lp,bE=wu,EE=Au,CE=Np,FE=Object.getOwnPropertySymbols,SE=FE?function(t){for(var e=[];t;)yE(e,EE(t)),t=bE(t);return e}:CE,jp=SE,DE=Ka,AE=jp;function wE(t,e){return DE(t,AE(t),e)}var TE=wE,IE=Lp,_E=Ja;function $E(t,e,r){var o=e(t);return _E(t)?o:IE(o,r(t))}var Yp=$E,OE=Yp,RE=Au,kE=Du;function ME(t){return OE(t,kE,RE)}var BE=ME,PE=Yp,NE=jp,LE=Ga;function jE(t){return PE(t,LE,NE)}var YE=jE,HE=gr,zE=Jt,VE=HE(zE,"DataView"),UE=VE,qE=gr,WE=Jt,KE=qE(WE,"Promise"),JE=KE,GE=gr,QE=Jt,XE=GE(QE,"Set"),ZE=XE,eC=gr,tC=Jt,nC=eC(tC,"WeakMap"),rC=nC,eu=UE,tu=Eu,nu=JE,ru=ZE,au=rC,Hp=Yr,qr=Ap,jc="[object Map]",aC="[object Object]",Yc="[object Promise]",Hc="[object Set]",zc="[object WeakMap]",Vc="[object DataView]",oC=qr(eu),lC=qr(tu),iC=qr(nu),uC=qr(ru),sC=qr(au),cr=Hp;(eu&&cr(new eu(new ArrayBuffer(1)))!=Vc||tu&&cr(new tu)!=jc||nu&&cr(nu.resolve())!=Yc||ru&&cr(new ru)!=Hc||au&&cr(new au)!=zc)&&(cr=function(t){var e=Hp(t),r=e==aC?t.constructor:void 0,o=r?qr(r):"";if(o)switch(o){case oC:return Vc;case lC:return jc;case iC:return Yc;case uC:return Hc;case sC:return zc}return e});var Tu=cr,cC=Object.prototype,dC=cC.hasOwnProperty;function pC(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&dC.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var mC=pC,fC=Jt,hC=fC.Uint8Array,gC=hC,Uc=gC;function vC(t){var e=new t.constructor(t.byteLength);return new Uc(e).set(new Uc(t)),e}var Iu=vC,xC=Iu;function yC(t,e){var r=e?xC(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var bC=yC,EC=/\w*$/;function CC(t){var e=new t.constructor(t.source,EC.exec(t));return e.lastIndex=t.lastIndex,e}var FC=CC,qc=pl,Wc=qc?qc.prototype:void 0,Kc=Wc?Wc.valueOf:void 0;function SC(t){return Kc?Object(Kc.call(t)):{}}var DC=SC,AC=Iu;function wC(t,e){var r=e?AC(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var zp=wC,TC=Iu,IC=bC,_C=FC,$C=DC,OC=zp,RC="[object Boolean]",kC="[object Date]",MC="[object Map]",BC="[object Number]",PC="[object RegExp]",NC="[object Set]",LC="[object String]",jC="[object Symbol]",YC="[object ArrayBuffer]",HC="[object DataView]",zC="[object Float32Array]",VC="[object Float64Array]",UC="[object Int8Array]",qC="[object Int16Array]",WC="[object Int32Array]",KC="[object Uint8Array]",JC="[object Uint8ClampedArray]",GC="[object Uint16Array]",QC="[object Uint32Array]";function XC(t,e,r){var o=t.constructor;switch(e){case YC:return TC(t);case RC:case kC:return new o(+t);case HC:return IC(t,r);case zC:case VC:case UC:case qC:case WC:case KC:case JC:case GC:case QC:return OC(t,r);case MC:return new o;case BC:case LC:return new o(t);case PC:return _C(t);case NC:return new o;case jC:return $C(t)}}var ZC=XC,e1=dn,Jc=Object.create,t1=function(){function t(){}return function(e){if(!e1(e))return{};if(Jc)return Jc(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),n1=t1,r1=n1,a1=wu,o1=Su;function l1(t){return typeof t.constructor=="function"&&!o1(t)?r1(a1(t)):{}}var Vp=l1,i1=Tu,u1=qn,s1="[object Map]";function c1(t){return u1(t)&&i1(t)==s1}var d1=c1,p1=d1,m1=Fu,Gc=ja.exports,Qc=Gc&&Gc.isMap,f1=Qc?m1(Qc):p1,h1=f1,g1=Tu,v1=qn,x1="[object Set]";function y1(t){return v1(t)&&g1(t)==x1}var b1=y1,E1=b1,C1=Fu,Xc=ja.exports,Zc=Xc&&Xc.isSet,F1=Zc?C1(Zc):E1,S1=F1,D1=wp,A1=Xx,w1=Ip,T1=Lb,I1=nE,_1=ll.exports,$1=Pp,O1=hE,R1=TE,k1=BE,M1=YE,B1=Tu,P1=mC,N1=ZC,L1=Vp,j1=Ja,Y1=La.exports,H1=h1,z1=dn,V1=S1,U1=Du,q1=Ga,W1=1,K1=2,J1=4,Up="[object Arguments]",G1="[object Array]",Q1="[object Boolean]",X1="[object Date]",Z1="[object Error]",qp="[object Function]",e0="[object GeneratorFunction]",t0="[object Map]",n0="[object Number]",Wp="[object Object]",r0="[object RegExp]",a0="[object Set]",o0="[object String]",l0="[object Symbol]",i0="[object WeakMap]",u0="[object ArrayBuffer]",s0="[object DataView]",c0="[object Float32Array]",d0="[object Float64Array]",p0="[object Int8Array]",m0="[object Int16Array]",f0="[object Int32Array]",h0="[object Uint8Array]",g0="[object Uint8ClampedArray]",v0="[object Uint16Array]",x0="[object Uint32Array]",Be={};Be[Up]=Be[G1]=Be[u0]=Be[s0]=Be[Q1]=Be[X1]=Be[c0]=Be[d0]=Be[p0]=Be[m0]=Be[f0]=Be[t0]=Be[n0]=Be[Wp]=Be[r0]=Be[a0]=Be[o0]=Be[l0]=Be[h0]=Be[g0]=Be[v0]=Be[x0]=!0;Be[Z1]=Be[qp]=Be[i0]=!1;function rl(t,e,r,o,u,s){var m,p=e&W1,h=e&K1,v=e&J1;if(r&&(m=u?r(t,o,u,s):r(t)),m!==void 0)return m;if(!z1(t))return t;var x=j1(t);if(x){if(m=P1(t),!p)return $1(t,m)}else{var b=B1(t),I=b==qp||b==e0;if(Y1(t))return _1(t,p);if(b==Wp||b==Up||I&&!u){if(m=h||I?{}:L1(t),!p)return h?R1(t,I1(m,t)):O1(t,T1(m,t))}else{if(!Be[b])return u?t:{};m=N1(t,b,p)}}s||(s=new D1);var E=s.get(t);if(E)return E;s.set(t,m),V1(t)?t.forEach(function(T){m.add(rl(T,e,r,T,t,s))}):H1(t)&&t.forEach(function(T,z){m.set(z,rl(T,e,r,z,t,s))});var _=v?h?M1:k1:h?q1:U1,B=x?void 0:_(t);return A1(B||t,function(T,z){B&&(z=T,T=t[z]),w1(m,z,rl(T,e,r,z,t,s))}),m}var y0=rl,b0=y0,E0=1,C0=4;function F0(t){return b0(t,E0|C0)}var yl=F0;class Ze extends Cp.default{constructor(e){super(),this.data=S0(e)}on(e,r){e.indexOf(",")>-1?e.split(",").forEach(o=>{super.on(o,r)}):super.on(e,r)}off(e,r){e.indexOf(",")>-1?e.split(",").forEach(o=>{super.off(o,r)}):super.off(e,r)}get(e){if(typeof e!="string")return console.warn("Not string:",e),"";if(e.indexOf(".")>-1){e=e.split(".");let r=this.data;for(let o=0;o<e.length;o++)if(r=r[e[o]],r===void 0)return;return r}return this.data[e]}set(e,r,o=!1){if(e.indexOf(".")>-1){const u=e.split(".");let s=this.data;for(let m=0;m<u.length-1;m++)s=s[u[m]];s[u[u.length-1]]=r}else this.data[e]=r;this.emit(e,r),r&&Object.keys(r).length&&Object.keys(r).forEach(u=>{this.emit(`${e}.${u}`,r[u])}),this.emit("$updated",[e,r],o)}getJSON(){return this.data}copy(){return new Ze(this.data)}}function S0(t){return Array.isArray(t)?[...JSON.parse(JSON.stringify(t))]:{...t,...JSON.parse(JSON.stringify(t)),propsTypes:t.propsTypes}}const dr={INTEGER:"integer",NUMBER:"number",BOOLEAN:"boolean",STRING:"string",ARRAY:"array",OBJECT:"object"},D0={INT32:"int32",INT64:"int64",FLOAT:"float",DOUBLE:"double",BYTE:"byte",BINARY:"binary",DATE:"date",DATE_TIME:"date-time",PASSWORD:"password"},Kp="CN_MDD_LS",_u="MDD_SCHEMA",Ye={SCHEMA_UPDATE:"schema:update",SCRIPT_UPDATE:"script:update",SCHEMA_UPDATE_FORCE:"schema:update:force"},ed="0.1.15";class Wr extends Cp.default{constructor(e){super();const{title:r="",host:o="https://mock.alibaba-inc.com",editorVersion:u=""}=e||{};this.title=r,this.host=o,this.type="page",this.editorVersion=u||ed,this.body={}}getTitle(){return this.title}compileEditorVersion(){return A0(ed,this.editorVersion)}getHost(){return this.host}setHost(e){this.host=e}init(e){const{title:r,host:o,editorVersion:u}=e||{};this.title=r,this.host=o,this.editorVersion=u}getAllJSON(){return{title:this.title,host:this.host,type:"page",editorVersion:this.editorVersion,body:this.toJSON()}}toJSON(){return{}}}function A0(t,e){if(!e)return 0;const r=t.split("."),o=e.split("."),u=r.length,s=o.length,m=Math.min(u,s);let p=0;for(p;p<m;p++){const h=parseInt(r[p]),v=parseInt(o[p]);if(h>v)return 1;if(h<v)return-1}if(u>s){for(let h=p;h<u;h++)if(parseInt(r[h])!==0)return 1;return 0}else if(u<s){for(let h=p;h<s;h++)if(parseInt(o[h])!==0)return-1;return 0}return 0}class Ct extends Ze{constructor(e={}){super({type:"json",host:"",method:null,url:null,watch:[],params:{},formatResponseData:{},content:{},...e})}isFlow(){return this.data.type==="ajax"&&this.data.url==="/flow/api/v1/process"}isAjax(){return this.data.type==="ajax"&&this.data.url!=="/flow/api/v1/process"}isStatic(){return this.data.type==="json"}isEmpty(){return this.data.type===""}changeType(e){e==="flow"&&(this.data.type="ajax",this.data.url="/flow/api/v1/process",this.data.method="POST",this.data.params.processDefKey=this.data.params.processDefKey||""),e==="ajax"&&(this.data.type="ajax",this.data.url="",delete this.data.params.processDefKey),e==="json"&&(this.data.type="json"),this.emit("$updated")}getViewType(){return this.isFlow()?"flow":this.data.type}updateKeyNoNotice(e,r){this.data[e]=r}setAjaxRequest(e,r){this.data.url=e,this.data.method=r,this.emit("$updated")}setParams(e={}){this.set("params",e)}setFormatResponseData(e={}){this.set("formatResponseData",e)}setWatch(e=[]){this.data.watch=e}toJSON(){return this.data.type===null?null:{...this.data,watch:Jp(this.data.params)}}getJSON(){return this.toJSON()}clone(){return new Ct(JSON.parse(JSON.stringify(this.data)))}extends(e){return this.data=JSON.parse(JSON.stringify(e.data)),this.emit("$updated"),this}update(e){this.extends(new Ct(e))}updateAll(e){this.extends(new Ct(e))}getApiUrl(){return this.get("url")}}function Jp(t){return Object.keys(t).map(e=>t[e]===void 0?null:Array.prototype.toString.call(t[e])==="[object Object]"?Jp(t[e]):/^\$.+/.test(t[e])?t[e]:null).flat(1/0).filter(e=>!!e)}function w0(t){return t==null?"":t}function $i(t){const e={};for(let r=0;r<t.length;r++){const{key:o,value:u}=t[r];e[o]=w0(u)}return e}function Gp(t,e=""){return Object.keys(t).map(r=>Object.prototype.toString.call(t[r])==="[object Object]"?Gp(t[r],`${e}${r}.`):{key:e+r,value:t[r]}).flat(1/0)}class td extends Ze{constructor(e){const{columns:r=[],rowDoubleClick:o=[],actionColumns:u=[],bulkActions:s=[],primaryKey:m="id",tree:p=!1,treeLinkageCheck:h=!1,showIndex:v=!1,hideCommonToolbar:x=!1,actionMaxCharNum:b,actionWidth:I,showSelect:E=!1,remoteSort:_=!1,rowDetailModule:B={path:"",params:{}},pagination:T={defaultPageSize:20,paging:!0,disableGlobalConfig:!1},loadChildrenDataApi:z={},useVirtual:q=!0,columnsAutoWidth:re=!0,...J}=e||{};super({columns:r,rowDoubleClick:o,actionColumns:u,bulkActions:s,primaryKey:m,pagination:T,tree:p,showIndex:v,hideCommonToolbar:x,actionMaxCharNum:b,actionWidth:I,showSelect:E,rowDetailModule:B,remoteSort:_,useVirtual:q,columnsAutoWidth:re,treeLinkageCheck:h,...J}),this.initAjaxSchemaData(z)}initAjaxSchemaData(e){this.loadChildrenDataApi=new Ct(e),this.loadChildrenDataApi.on("$updated",()=>{this.emit("$updated",null)})}getLoadChildrenDataApiPanel(){return this.loadChildrenDataApi}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columns","actionColumns","bulkActions","rowDoubleClick"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){const{loadChildrenDataApi:r,...o}=e||{};this.data=o,r&&this.initAjaxSchemaData(r),this.emit("$updated")}delete(){}getJSON(){const e=super.getJSON(),r=e.tree?{loadChildrenDataApi:this.loadChildrenDataApi.getJSON()}:{};return{...e,...r}}}class nd extends Ze{constructor(e=[]){super([...e])}add(e,r=!1){this.data.push(e),this.emit("$updated",null,r)}remove(e,r=!1){this.data.splice(e,1),this.emit("$updated",null,r)}update(e,r,o=!1){this.data.splice(e,1,r),this.emit("$updated",null,o)}updateAll(e,r=!1){this.data=e,this.emit("$updated",null,r)}delete(){this.data=[]}getData(){return this.data||[]}getJSON(){return this.data||[]}}/*! js-cookie v3.0.5 | MIT */function Jo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)t[o]=r[o]}return t}var T0={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function ou(t,e){function r(u,s,m){if(typeof document!="undefined"){m=Jo({},e,m),typeof m.expires=="number"&&(m.expires=new Date(Date.now()+m.expires*864e5)),m.expires&&(m.expires=m.expires.toUTCString()),u=encodeURIComponent(u).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var p="";for(var h in m)!m[h]||(p+="; "+h,m[h]!==!0&&(p+="="+m[h].split(";")[0]));return document.cookie=u+"="+t.write(s,u)+p}}function o(u){if(!(typeof document=="undefined"||arguments.length&&!u)){for(var s=document.cookie?document.cookie.split("; "):[],m={},p=0;p<s.length;p++){var h=s[p].split("="),v=h.slice(1).join("=");try{var x=decodeURIComponent(h[0]);if(m[x]=t.read(v,x),u===x)break}catch{}}return u?m[u]:m}}return Object.create({set:r,get:o,remove:function(u,s){r(u,"",Jo({},s,{expires:-1}))},withAttributes:function(u){return ou(this.converter,Jo({},this.attributes,u))},withConverter:function(u){return ou(Jo({},this.converter,u),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Oi=ou(T0,{path:"/"});const I0=t=>{if(!t||typeof t!="string")return 0;if(/\p{Unified_Ideograph}/u.test(t)){const r=t.length*50;return r<50?50:r}else{const r=t.length*12.5;return r<50?50:r}},_0=t=>{if(!t)return t;const e=t.slice(1);return t.slice(0,1).toUpperCase()+e},Qp=()=>Oi==null?void 0:Oi.get("CNUICOOKIESIZE"),Ya=()=>Qp()==="small"?"left":"top";var $0=Cu,O0=ml;function R0(t,e,r){(r!==void 0&&!O0(t[e],r)||r===void 0&&!(e in t))&&$0(t,e,r)}var Xp=R0;function k0(t){return function(e,r,o){for(var u=-1,s=Object(e),m=o(e),p=m.length;p--;){var h=m[t?p:++u];if(r(s[h],h,s)===!1)break}return e}}var M0=k0,B0=M0,P0=B0(),N0=P0,L0=xl,j0=qn;function Y0(t){return j0(t)&&L0(t)}var H0=Y0,z0=Yr,V0=wu,U0=qn,q0="[object Object]",W0=Function.prototype,K0=Object.prototype,Zp=W0.toString,J0=K0.hasOwnProperty,G0=Zp.call(Object);function Q0(t){if(!U0(t)||z0(t)!=q0)return!1;var e=V0(t);if(e===null)return!0;var r=J0.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Zp.call(r)==G0}var X0=Q0;function Z0(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var em=Z0,eF=Ka,tF=Ga;function nF(t){return eF(t,tF(t))}var rF=nF,rd=Xp,aF=ll.exports,oF=zp,lF=Pp,iF=Vp,ad=$p,od=Ja,uF=H0,sF=La.exports,cF=bu,dF=dn,pF=X0,mF=kp,ld=em,fF=rF;function hF(t,e,r,o,u,s,m){var p=ld(t,r),h=ld(e,r),v=m.get(h);if(v){rd(t,r,v);return}var x=s?s(p,h,r+"",t,e,m):void 0,b=x===void 0;if(b){var I=od(h),E=!I&&sF(h),_=!I&&!E&&mF(h);x=h,I||E||_?od(p)?x=p:uF(p)?x=lF(p):E?(b=!1,x=aF(h,!0)):_?(b=!1,x=oF(h,!0)):x=[]:pF(h)||ad(h)?(x=p,ad(p)?x=fF(p):(!dF(p)||cF(p))&&(x=iF(h))):b=!1}b&&(m.set(h,x),u(x,h,o,s,m),m.delete(h)),rd(t,r,x)}var gF=hF,vF=wp,xF=Xp,yF=N0,bF=gF,EF=dn,CF=Ga,FF=em;function tm(t,e,r,o,u){t!==e&&yF(e,function(s,m){if(u||(u=new vF),EF(s))bF(t,e,m,r,tm,o,u);else{var p=o?o(FF(t,m),s,m+"",t,e,u):void 0;p===void 0&&(p=s),xF(t,m,p)}},CF)}var SF=tm;function DF(t){return t}var nm=DF;function AF(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var wF=AF,TF=wF,id=Math.max;function IF(t,e,r){return e=id(e===void 0?t.length-1:e,0),function(){for(var o=arguments,u=-1,s=id(o.length-e,0),m=Array(s);++u<s;)m[u]=o[e+u];u=-1;for(var p=Array(e+1);++u<e;)p[u]=o[u];return p[e]=r(m),TF(t,this,p)}}var _F=IF;function $F(t){return function(){return t}}var OF=$F,RF=OF,ud=Tp,kF=nm,MF=ud?function(t,e){return ud(t,"toString",{configurable:!0,enumerable:!1,value:RF(e),writable:!0})}:kF,BF=MF,PF=800,NF=16,LF=Date.now;function jF(t){var e=0,r=0;return function(){var o=LF(),u=NF-(o-r);if(r=o,u>0){if(++e>=PF)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var YF=jF,HF=BF,zF=YF,VF=zF(HF),UF=VF,qF=nm,WF=_F,KF=UF;function JF(t,e){return KF(WF(t,e,qF),t+"")}var GF=JF,QF=ml,XF=xl,ZF=Op,eS=dn;function tS(t,e,r){if(!eS(r))return!1;var o=typeof e;return(o=="number"?XF(r)&&ZF(e,r.length):o=="string"&&e in r)?QF(r[e],t):!1}var nS=tS,rS=GF,aS=nS;function oS(t){return rS(function(e,r){var o=-1,u=r.length,s=u>1?r[u-1]:void 0,m=u>2?r[2]:void 0;for(s=t.length>3&&typeof s=="function"?(u--,s):void 0,m&&aS(r[0],r[1],m)&&(s=u<3?void 0:s,u=1),e=Object(e);++o<u;){var p=r[o];p&&t(e,p,o,s)}return e})}var lS=oS,iS=SF,uS=lS,sS=uS(function(t,e,r){iS(t,e,r)}),cS=sS;const sd=(t,e)=>{const r="#/definitions/",o="#/components/schemas/";if(!t.schema||!t.schema.$ref)return t;const u=t.schema.$ref.replace(r,"").replace(o,"");return e[u]?(t.schema=e[u],t):(console.error(`mdd-tool columns complier error: definitions has no model: ${u}`),null)},cd=(t="parameters",e,r)=>{const u=(Array.isArray(e)?e:[e]).map(s=>{if(t==="parameters")return sd(s,r);if(t==="responses"){const m=sd(s[200],r);return m.schema?m.schema:m}return null}).filter(Boolean);return t==="parameters"?u:u[0]},dS=t=>{const{parameters:e=[],requestBody:r,responses:o}=t;let u=e;r&&r.content&&r.content["application/json"]&&(u=r.content["application/json"]);let s=o;if(o&&(o[200]||o.default)){const m=o[200]||o.default||{};m.content&&m.content["*/*"]?s={200:m.content["*/*"]}:m.content&&m.content["application/json"]&&(s={200:m.content["application/json"]})}return{parameters:u,responses:s}};var Kt=(t,e)=>{if(!t||!e)throw Error("mdd-tool columns complier error: api or api meta is null");const{paths:r,definitions:o}=e||{};if(!r[t])throw Error(`mdd-tool columns complier error: api meta has not api: ${t}`);let u="",s=null;if(Object.prototype.hasOwnProperty.call(r[t],"post"))u="post",s=r[t].post;else if(Object.prototype.hasOwnProperty.call(r[t],"get"))u="get",s=r[t].get;else throw Error("mdd-tool columns complier error: api method not support");const{summary:m}=s,{parameters:p=[],responses:h}=dS(s);return{api:t,method:u,summary:m,parameters:cd("parameters",p,o),responses:cd("responses",h,o)}};const Te={cncard:["icon","transparent"],"cncard-sub":["icon","transparent"],batchInput:["defaultValue","placeholder","name","hasClear","inputProps","trim"],input:["defaultValue","placeholder","maxLength","name","hasClear","trim"],"input-textarea":["defaultValue","placeholder","maxLength","name","hasClear","rows"],"input-password":["defaultValue","placeholder","maxLength","name","hasClear"],"number-picker":["defaultValue","placeholder","max","min","name","hasClear","precision","step"],"number-range-picker":["defaultValue","placeholder","max","min","name","hasClear","precision","step"],select:["defaultValue","mode","name","hasClear","placeholder","useDetailValue"],"cascader-select":["defaultValue","multiple","name","hasClear","placeholder","canOnlySelectLeaf","canOnlyCheckLeaf","changeOnSelect","showSearch"],"time-picker2":["format","outputFormat","defaultValue","placeholder","name","hasClear"],"date-picker2":["format","mode","outputFormat","showTime","defaultValue","placeholder","name","hasClear"],switch:["defaultValue","checkedChildren","unCheckedChildren","name"],radio:["defaultValue","name"],"check-box":["defaultValue","name"],"cascad-select":["defaultValue","name","hasClear"],"date-range-picker":["format","mode","outputFormat","showTime","defaultValue","placeholder","name","hasClear"],"time-range-picker":["format","mode","showTime","outputFormat","defaultValue","placeholder","name","hasClear"],"address-select":["name","baseUrl","cdnUrl","mode","defaultValue","placeholder","multiple","maxLevel","changeOnSelect","showSearch","hasClear","showTopLevel","iso"],"global-phone-picker":["name","defaultValue","placeholder","hasClear","defaultCountryCode","hasFlag"],message:["name"],upload:["name","defaultValue","uploadProps","showUploadList","showPreview","showRemove","showDownload","multiple","accept","limit","shape","service","multiple"]},Nt={input:["minLength"],"number-picker":[],select:["dataSource"],"time-picker2":["disabledHours"],"date-picker2":["dateRange"],switch:[],radio:["dataSource"],"check-box":["dataSource"],"cascad-select":["defaultValue"],"date-range-picker":["dateRange"],"time-range-picker":["disabledHours"],"address-select":[]},pS={cncard:[...Te.cncard],"cncard-sub":[...Te["cncard-sub"]],input:[...Te.input,...Nt.input],"number-picker":[...Te["number-picker"],...Nt["number-picker"]],select:[...Te.select,...Nt.select],"time-picker2":[...Te["time-picker2"],...Nt["time-picker2"]],"date-picker2":[...Te["date-picker2"],...Nt["date-picker2"]],switch:[...Te.switch,...Nt.switch],radio:[...Te.radio,...Nt.radio],"check-box":[...Te["check-box"],...Nt["check-box"]],"cascad-select":[...Te["cascad-select"],...Nt["cascad-select"]],"date-range-picker":[...Te["date-range-picker"],...Nt["date-range-picker"]],"time-range-picker":[...Te["time-range-picker"],...Nt["time-range-picker"]],"address-select":[...Te["address-select"],...Nt["address-select"]],upload:[...Te.upload]},mS=["page","pageSize","pageNo","currentPage","userContext"],fS=["id"],dd=t=>t.map(e=>({label:e,value:e})),hS=t=>fS.includes(t)?"disabled":"",_a="text",gS="edit-input",$u=(t,e,r,o)=>{const{title:u,description:s,required:m,nullable:p,type:h,items:v,enum:x,format:b,properties:I,...E}=e;if(mS.includes(t))return null;const _=u||s||t,B=r==="parameters";let T=null;switch(B?T={type:"input",name:t,label:_,required:!!m||p===!1,hasClear:!0,f_pattern:hS(t),...E}:T={type:_a,name:t,label:_,readOnly:!0,sortable:!0,dataIndex:t,...E},h){case dr.ARRAY:{v&&v.type==="string"&&v.enum?(T.select=Te.select,T.type=B?"select":"single-enum",T.mode="multiple",T.hasSelectAll=!0,T.dataSource=dd(v.enum),T.placeholder="\u8BF7\u9009\u62E9"):v&&v.type==="string"?(T.select=Te.select,T.type=B?"select":"single-enum",T.mode="multiple",T.hasSelectAll=!0,T.placeholder="\u8BF7\u9009\u62E9"):T=null;break}case dr.OBJECT:{T=null;break}case dr.BOOLEAN:{B&&(T.switch=Te.switch),T.type=B?"switch":_a,T.autoWidth=!0,T.defaultChecked=!1;break}case dr.INTEGER:{B&&(T["number-picker"]=Te["number-picker"]),T.type=B?"number-picker":_a,T.placeholder="\u8BF7\u8F93\u5165";break}case dr.NUMBER:{b==="float"?(T.type="number-picker",T.precision=2):b==="double"?(T.type="number-picker",T.precision=5):T.type="number-picker",B?T["number-picker"]=Te["number-picker"]:T.type=_a,T.placeholder="\u8BF7\u8F93\u5165";break}case dr.STRING:{x?(T.select=Te.select,T.type=B?"select":"single-enum",T.dataSource=dd(x),T.placeholder="\u8BF7\u9009\u62E9"):b==="date-time"?(B&&(T["date-picker2"]=Te["date-picker2"],T.outputFormat="YYYY/MM/DD HH:mm:ss"),T.type=B?"date-picker2":"date",T.showTime=!0,T.format="YYYY-MM-DD HH:mm:ss",T.placeholder="\u8BF7\u9009\u62E9"):b==="date"?(B&&(T["date-picker2"]=Te["date-picker2"],T.outputFormat="YYYY/MM/DD HH:mm:ss"),T.type=B?"date-picker2":"date",T.format="YYYY-MM-DD",T.placeholder="\u8BF7\u9009\u62E9"):(B&&(T.input=Te.input),T.type=B?"input":_a,T.placeholder="\u8BF7\u8F93\u5165");break}default:T=null;break}return o==="edit-table"&&T&&(T.type=gS),T},Hn=t=>Object.keys(t).map(e=>({name:e,...t[e]})),Ou=(t,e,r,o,u)=>{Object.keys(t).forEach(s=>{const m=[...o,s].join(".");t[s]&&t[s].type==="object"&&t[s].properties?Ou(t[s].properties,e,r,[...o,s],u):e.push($u(m,t[s],r,u))})},rm=(t,e)=>{var m;if(!e)return null;const r="$RET.";let o=e;e.startsWith(r)&&(o=o.replace(r,""));const s=o.split(".").reduce((p,h)=>p==null?void 0:p.properties[h],t);return(s==null?void 0:s.type)==="array"?Hn(((m=s==null?void 0:s.items)==null?void 0:m.properties)||{}):(s==null?void 0:s.type)==="object"?Hn((s==null?void 0:s.properties)||{}):(console.warn("\u4ECEresponseDataFormat\u8DEF\u5F84\u4E2D\u6CA1\u6709\u627E\u5230\u63A5\u53E3\u63CF\u8FF0\u4FE1\u606F\u3002",s),null)},vS=(t,e="parameters",r,o)=>{var m,p,h,v,x,b,I,E,_,B,T,z,q,re,J,W,H,C,k,j,Y,L,te,se,G,D,w,U,S;if(!t)throw Error("mdd-tool core complier error: swaggerParams is null");let u=t;if(r){const $=rm(t,r);$!==null&&(u=$)}else if(!Array.isArray(t)&&e==="responses"){let $=((m=t==null?void 0:t.properties)==null?void 0:m.data)||((p=t==null?void 0:t.properties)==null?void 0:p.module);if((h=t==null?void 0:t.properties)!=null&&h.success||($=t),($==null?void 0:$.type)==="array")u=Hn(((v=$==null?void 0:$.items)==null?void 0:v.properties)||{});else if(($==null?void 0:$.type)==="object"&&((x=$==null?void 0:$.properties)==null?void 0:x.tableData)&&((I=(b=$==null?void 0:$.properties)==null?void 0:b.tableData)==null?void 0:I.type)==="array")u=Hn(((_=(E=$.properties.tableData)==null?void 0:E.items)==null?void 0:_.properties)||{});else if(($==null?void 0:$.type)==="object"&&((B=$==null?void 0:$.properties)==null?void 0:B.list)&&((z=(T=$==null?void 0:$.properties)==null?void 0:T.list)==null?void 0:z.type)==="array")u=Hn(((re=(q=$.properties.list)==null?void 0:q.items)==null?void 0:re.properties)||{});else if(($==null?void 0:$.type)==="object"&&((J=$==null?void 0:$.properties)==null?void 0:J.data)&&((H=(W=$==null?void 0:$.properties)==null?void 0:W.data)==null?void 0:H.type)==="array")u=Hn(((k=(C=$.properties.data)==null?void 0:C.items)==null?void 0:k.properties)||{});else if(($==null?void 0:$.type)==="object"&&((Y=(j=$==null?void 0:$.properties)==null?void 0:j.list)==null?void 0:Y.type)==="object"&&((G=(se=(te=(L=$==null?void 0:$.properties)==null?void 0:L.list)==null?void 0:te.properties)==null?void 0:se.tableData)==null?void 0:G.type)==="array")u=Hn(((S=(U=(w=(D=$.properties.list)==null?void 0:D.properties)==null?void 0:w.tableData)==null?void 0:U.items)==null?void 0:S.properties)||{});else throw Error("\u8F93\u51FA\u683C\u5F0F\u4E0D\u662F\u6807\u51C6\u683C\u5F0F...: ",$)}const s=[];return u.forEach($=>{const{name:ee,schema:O}=$;if(O){const V=O.properties||O;Ou(V,s,e,[],o)}else s.push($u(ee,$,e,o))}),s.filter(Boolean)},xS=(t,e,r,o)=>{var m,p;if(!t)throw Error("mdd-tool core complier error: responses is null");let u=t||[];if(r){const h=rm(t,r);h!==null&&(u=h)}else if(!Array.isArray(t)){const h=((m=t==null?void 0:t.properties)==null?void 0:m.data)||((p=t==null?void 0:t.properties)==null?void 0:p.module)||t;if(h.type==="object")u=Hn((h==null?void 0:h.properties)||{});else throw Error("\u8F93\u51FA\u683C\u5F0F\u4E0D\u662F\u8BE6\u60C5\u6807\u51C6\u683C\u5F0F...: ",h)}const s=[];return u.forEach(h=>{const{name:v,schema:x}=h;if(x){const b=x.properties||x;Ou(b,s,e,[],o)}else s.push($u(v,h,e,o))}),s.filter(Boolean)};var ft=(t,e="parameters",r,o)=>r==="detail"?xS(t,e,o,r):vS(t,e,o,r);const Ri=[Number,String,Boolean],sr="$ref",yS=14,am="#/components/schemas/",bS=am.length;var Ru=t=>{const e=t.definitions;return t.definitions=al(e,e,1),t};function al(t,e,r){if(r++,!t)return t;let o;for(let u=0;u<Ri.length;u++)if(t instanceof Ri[u])return o=Ri[u](t),o;if(Or.isArray(t))return o=[],t.forEach((u,s)=>{o[s]=al(u,e,r)}),o;if(Or.isObject(t)){o={};let u=Or.keys(t);if(u.includes(sr)){if(Or.isString(t[sr])){const s=t[sr].indexOf(am)>=0?t[sr].substr(bS):t[sr].substr(yS);if(e[s]){if(r>11)return o[sr]=s;o=al(e[s],e,r),o&&Object.keys(o).forEach(m=>{u=Or.remove(u,p=>p!==m)})}}u=Or.remove(u,s=>s!==sr)}for(let s=0;s<u.length;s++){const m=u[s];o[m]=al(t[m],e,r)}return o}return t}function om(t){return Ru(um(t))}function lm(t,e){const r=Ru(um(e));return Kt(t,r)}function im(t,e,r,o={}){const{parameters:u=[],responses:s=[],method:m=""}=r||{},p=m.toUpperCase(),h={title:"",host:"",type:"page",body:{}};return e==="ftp"?h.body={type:"ftp",api:{type:"ajax",host:"",method:p,watch:[],params:{},formatResponseData:{tableData:"$RET.data.tableData",tableColumns:"$RET.data.tableColumns",totalCount:"$RET.data.paging.totalCount"},value:t,url:t},filter:{maxVisibleRow:2,col:6,labelSpan:4,labelAlign:Ya()||"top",storageKey:new Date().getTime(),enableSaveSelected:!1,fields:ft(u)},headerToolbar:[],table:{columns:ft(s,"responses","ftp"),actionColumns:[],bulkActions:[],primaryKey:"id",pagination:{defaultPageSize:20,paging:!0,disableGlobalConfig:!1,pageSizeList:""},tree:!1,showIndex:!1,hideCommonToolbar:!1,showSelect:!1,rowDetailModule:{path:"",params:{}},remoteSort:!1},middleModules:[]}:e==="formily-form-v2"?h.body={type:"formily-form-v2",api:{type:"ajax",host:"",method:p,watch:[],params:{},formatResponseData:{},value:t,url:t},initApi:[],effectApi:[],baseInfo:{size:"medium",col:2,labelCol:6,labelAlign:Ya()||"top",wrapperCol:12,hasAnchor:!1,hasSubmit:!0,submitText:"\u63D0\u4EA4",hasReset:!1,resetText:"\u91CD\u7F6E",actionsAlign:"right",hasCancel:!0,cancelText:"\u53D6\u6D88",secondConfirm:!1,secondConfirmTitle:"\u786E\u8BA4",secondConfirmContent:"\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"},fields:ft(u)}:e==="detail"?h.body={type:"detail",hasBackBtn:!0,backText:"\u8FD4\u56DE",hasAnchor:!1,children:[{columns:ft(s,"responses","detail"),groupId:"",col:3,type:"detail-card",label:"\u57FA\u7840\u4FE1\u606F",source:[{url:t,method:p,type:"ajax",formatResponseData:{detailData:"$RET.data"}}],itemWidth:100,itemHeight:100,actions:[],current:1}]}:e==="edit-table"?h.body={type:"edit-table",saveBtnText:"\u4FDD\u5B58",addBtnText:"\u65B0\u589E\u884C",deleteBtnText:"\u5220\u9664\u884C",hasSaveBtn:!0,hasAddRow:!0,hasDeleteRow:!0,initApi:{type:"ajax",host:"",method:p,watch:[],params:{},formatResponseData:{tableData:"$RET.data.tableData"},value:t,url:t},submitApi:{type:"ajax",host:"",method:null,url:null,watch:[],params:{data:"$EDIT_TABLE.$ALL"},formatResponseData:{},content:{}},table:{columns:ft(s,"responses","edit-table"),bulkActions:[],primaryKey:"id",pagination:{defaultPageSize:20,paging:!1,disableGlobalConfig:!1},tree:!1,showIndex:!1,hideCommonToolbar:!0},headerToolbar:[]}:e!=null&&e.startsWith("blocks-")&&(h.type="blocks",h.body={type:e,blocks:[]}),cS(h,o)}function ES(t,e,r,o={}){const u=lm(t,r);return im(t,e,u,o)}function um(t){return t&&t.components&&t.components.schemas?{...t,definitions:t.components.schemas}:t}const CS="http://127.0.0.1:23629/sp",FS="http://127.0.0.1:23629/swagger?project=",SS=()=>new Promise(t=>{dl.default({url:CS,method:"GET"}).then(e=>{var r,o,u;if(((r=e==null?void 0:e.data)==null?void 0:r.success)===!0&&Array.isArray((o=e==null?void 0:e.data)==null?void 0:o.data)){const s=(u=e==null?void 0:e.data)==null?void 0:u.data.map(m=>{const p=FS+m;return{value:p,label:`\u672C\u5730Idea\u9879\u76EE: ${p}`}});t(s)}else t([])}).catch(e=>{t([])})});class pd extends Ze{constructor(e){const{fields:r=[],...o}=e||{};super({maxVisibleRow:2,col:0,labelColFixedSpan:5,labelSpan:4,labelAlign:Ya()||"top",storageKey:Date.now(),enableSaveSelected:!1,fields:r,...o})}setFieldsAll(e,r=!1){this.set("fields",e,r)}add(e,r=!1){this.data.fields.push(e),this.emit("$updated",null,r)}remove(e,r=!1){this.data.fields.splice(e,1),this.emit("$updated",null,r)}update(e,r,o=!1){this.data.fields.splice(e,1,r),this.emit("$updated",null,o)}updateAll(e){this.data=e,this.emit("$updated")}getJSON(){return super.getJSON()}delete(){}}const DS={type:"json",content:[{label:"\u5168\u90E8",value:"all",count:10},{label:"\u5DF2\u5B8C\u6210",value:"done",active:!0,count:1}]};class ki extends Ze{constructor(e){const{dataIndex:r="",defaultTabValue:o="",source:u,value:s,params:m}=e||{};super({dataIndex:r,defaultTabValue:o,value:s,params:m}),this.initAjaxSchemaData(u)}initAjaxSchemaData(e){this.source=new Ct(e||DS),this.source.on("$updated",()=>{this.emit("$updated",null)})}getSourcePanel(){return this.source}updateAll(e){const{source:r,...o}=e||{};this.data=o,r&&this.initAjaxSchemaData(r),this.emit("$updated")}getJSON(){return{...super.getJSON(),source:this.source.getJSON()}}delete(){}}class Mr extends Wr{constructor(e,r=!1){const{api:o,filter:u,headerToolbar:s,table:m,tabs:p,middleModules:h,...v}=r?e.body:e;super(v),this.type="ftp",this.api=new Ct(o),this.filter=new pd(u),this.headerToolbar=new nd(s),this.table=new td(m),this.initChildren(h,p),this.willDetach=this.initChangeListener()}initChildren(e,r){Array.isArray(e)?this.middleModules=e.map(o=>o?new ki(o):null).filter(Boolean):r&&r.dataIndex?this.middleModules=[new ki({value:"ftp-tabs",params:[],dataIndex:r.dataIndex,source:r.source})]:this.middleModules=[]}refreshListener(){this.willDetach&&this.willDetach(),this.willDetach=this.initChangeListener()}initChangeListener(){var r;const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return this.api.on("$updated",e),this.filter.on("$updated",e),this.headerToolbar.on("$updated",e),this.table.on("$updated",e),(r=this.middleModules)==null||r.forEach(o=>{o.on("$updated",e)}),()=>{var o;this.api.off("$updated",e),this.filter.off("$updated",e),this.headerToolbar.off("$updated",e),this.table.off("$updated",e),(o=this.middleModules)==null||o.forEach(u=>{u.off("$updated",e)})}}initFromSwagger(e){try{const r=this.api.getApiUrl();if(!r)return;const o=Kt(r,e),{parameters:u,responses:s}=o||{},m=ft(u);this.filter.setFieldsAll(m);const p=ft(s,"responses");this.table.setFieldsAll(p)}catch(r){console.warn(r),f.Message.error("\u8F93\u51FA\u683C\u5F0F\u4E0D\u7B26\u5408FTP\u89C4\u8303")}}initFromCache(e){const{body:r,...o}=e,{api:u,filter:s,headerToolbar:m,table:p,tabs:h,middleModules:v}=r;this.willDetach&&this.willDetach(),this.init(o),this.api.updateAll(u),this.filter.updateAll(s),this.headerToolbar.updateAll(m),this.table.updateAll(this.compatTableHandle(p)),this.initChildren(v,h),this.willDetach=this.initChangeListener()}compatTableHandle(e){if(!e||!e.pagination)return e;const{defaultPageSize:r,paging:o}=e.pagination;return!r&&(o===void 0||o===!0)?{...e,pagination:{defaultPageSize:r,paging:!1}}:e}getSchemaType(){return"ftp"}getFilterPanel(){return this.filter}getMiddlePanel(){return this.middleModules}getHeaderToolbarPanel(){return this.headerToolbar}getDataSourcePanel(){return this.api}getTablePanel(){return this.table}toJSON(){return{type:this.type,api:this.api.getJSON(),filter:this.filter.getJSON(),headerToolbar:this.headerToolbar.getJSON(),table:this.table.getJSON(),middleModules:this.middleModules.map(e=>e.getJSON())}}toJSONString(){return JSON.stringify(this.toJSON())}setFilter(e){this.filter=e}setHeaderToolbar(e){this.headerToolbar=e}setTable(e){this.table=e}addMiddle(){this.middleModules.push(new ki({value:"",params:""})),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this}),this.refreshListener()}removeMiddle(e){this.middleModules.splice(e,1),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this}),this.refreshListener()}updateMiddle(e,r){this.middleModules.splice(e,1,r),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}sortMiddle(e,r){const o=this.middleModules[e];this.middleModules[e]=this.middleModules[r],this.middleModules[r]=o,super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}}jn(Mr,"Filter",pd),jn(Mr,"HeaderToolbar",nd),jn(Mr,"Table",td);class AS extends Ze{constructor(e){super({columns:e})}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columns","actionColumns","bulkActions"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}getJSON(){return super.getJSON()}}class wS extends Ze{constructor(e){super({fields:e})}setFieldsAll(e,r=!1){this.set("fields",e,r)}setItemAll(e,r="fields",o=!1){this.set(r,e,o)}add(e,r="fields",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="fields",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="fields",u=!1){["fields"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}getJSON(){return super.getJSON()}}class TS extends Ze{constructor(e){super({fields:e})}setFieldsAll(e,r=!1){this.set("fields",e,r)}setItemAll(e,r="fields",o=!1){this.set(r,e,o)}add(e,r="fields",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="fields",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="fields",u=!1){["fields"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}getJSON(){return super.getJSON()}}class IS extends Ze{constructor(e){super({columns:e})}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columns","actionColumns","bulkActions"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}getJSON(){return super.getJSON()}}const cl=class extends Wr{constructor(e,r=!1){const{type:o,blocks:u=[],...s}=r?e.body:e;super(s),this.type=o;const m=cl.BlocksInfoMap[o].schema;this.blocks=new m(u),this.willDetach=this.initChangeListener()}initChangeListener(){const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return this.blocks.on("$updated",e),()=>{this.blocks.off("$updated",e)}}initFromCache(e){const{body:r,...o}=e,{blocks:u}=r;this.willDetach&&this.willDetach(),this.init(o),this.blocks.updateAll(u),this.willDetach=this.initChangeListener()}getSchemaType(){return this.type}getPanel(){return this.blocks}getAllJSON(){return{...super.getAllJSON(),type:"blocks"}}toJSON(){const e=cl.BlocksInfoMap[this.type].toJSONKey;return{type:this.type,blocks:this.blocks.getJSON()[e]}}setBlocks(e){this.blocks=e}};let fr=cl;jn(fr,"BlocksInfoMap",{"blocks-table":{schema:AS,toJSONKey:"columns"},"blocks-edit-table":{schema:IS,toJSONKey:"columns"},"blocks-filter":{schema:wS,toJSONKey:"fields"},"blocks-form":{schema:TS,toJSONKey:"fields"}});class md extends Ze{constructor(e){const{size:r="medium",labelAlign:o=Ya()||"top",col:u=0,labelColFixedSpan:s=5,labelCol:m=6,wrapperCol:p=12,hasSubmit:h=!0,hasAnchor:v=!1,submitText:x="\u63D0\u4EA4",hasReset:b=!1,resetText:I="\u91CD\u7F6E",hasCancel:E=!0,cancelText:_="\u53D6\u6D88",actionsAlign:B="right",secondConfirm:T=!1,secondConfirmTitle:z="\u786E\u8BA4",secondConfirmContent:q="\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F",firstRenderWithoutEffects:re=!1}=e||{};super({size:r,col:u,labelColFixedSpan:s,labelCol:m,labelAlign:o,wrapperCol:p,hasAnchor:v,hasSubmit:h,submitText:x,hasReset:b,resetText:I,actionsAlign:B,hasCancel:E,cancelText:_,secondConfirm:T,secondConfirmTitle:z,secondConfirmContent:q,firstRenderWithoutEffects:re})}update(e,r){this.set(e,r)}updateAll(e){this.data=e,this.emit("$updated")}}class fd extends Ze{constructor(e){const{fields:r=[]}=e||{};super({fields:r})}setFieldsAll(e,r=!1){this.set("fields",e,r)}add(e,r=!1){this.data.fields.push(e),this.emit("$updated",null,r)}remove(e,r=!1){this.data.fields.splice(e,1),this.emit("$updated",null,r)}update(e,r,o=!1){this.data.fields.splice(e,1,r),this.emit("$updated",null,o)}getJSON(){return this.data.fields}updateAll(e){this.data={fields:e},this.emit("$updated")}}class Go extends Ze{constructor(e=[]){super(e)}updateKeyNoNotice(e,r){this.data[e]=r}setAjaxRequest(e,r){this.data.url=e,this.data.method=r,this.emit("$updated")}setParams(e={}){this.set("params",e)}setFormatResponseData(e={}){this.set("formatResponseData",e)}setWatch(e=[]){this.data.watch=e}toJSON(){return this.data.type===null?null:{...this.data,watch:sm(this.data.params)}}clone(){return new Ct(JSON.parse(JSON.stringify(this.data)))}extends(e){return this.data=JSON.parse(JSON.stringify(e.data)),this.emit("$updated"),this}update(e,r){return this.data.splice(e,1,r),this.emit("$updated"),this}delete(e){return this.data.splice(e,1),this.emit("$updated"),this}add(e){return this.data.push(e),this.emit("$updated"),this}getApiItemPanel(e){return this.data[e]}updateAll(e){return this.data=e,this.emit("$updated"),this}getApiUrl(){return this.get("url")}}function sm(t){return Object.keys(t).map(e=>t[e]===void 0?null:Array.prototype.toString.call(t[e])==="[object Object]"?sm(t[e]):/^\$.+/.test(t[e])?t[e]:null).flat(1/0).filter(e=>!!e)}class Br extends Wr{constructor(e,r=!1){const{api:o,initApi:u,effectApi:s,baseInfo:m,fields:p,...h}=r?e.body:e;super(h),this.type="formily-form-v2",this.baseInfo=new md(m),this.api=new Ct(o),u?this.initApi=new Go(Array.isArray(u)?u:[u]):this.initApi=new Go([]),s?this.effectApi=new Go(Array.isArray(s)?s:[s]):this.effectApi=new Go([]),this.fields=new fd({fields:p}),this.willDetach=this.initChangeListener()}initChangeListener(){const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return this.api.on("$updated",e),this.baseInfo.on("$updated",e),this.initApi.on("$updated",e),this.effectApi.on("$updated",e),this.fields.on("$updated",e),()=>{this.api.off("$updated",e),this.baseInfo.off("$updated",e),this.initApi.off("$updated",e),this.effectApi.off("$updated",e),this.fields.off("$updated",e)}}initFromSwagger(e){const r=this.api.getApiUrl();if(!r)return;const o=Kt(r,e),{parameters:u}=o||{},s=ft(u);this.fields.setFieldsAll(s)}initFromCache(e){const{body:r,...o}=e,{api:u,initApi:s=[],effectApi:m=[],baseInfo:p,fields:h}=r;this.willDetach&&this.willDetach(),this.init(o),this.api.updateAll(u),s?this.initApi.updateAll(Array.isArray(s)?s:[s]):this.initApi.updateAll([]),m?this.effectApi.updateAll(Array.isArray(m)?m:[m]):this.effectApi.updateAll([]),this.baseInfo.updateAll(p),this.fields.updateAll(h),this.willDetach=this.initChangeListener()}getSchemaType(){return"formily-form-v2"}getBaseInfoPanel(){return this.baseInfo}getApiPanel(){return this.api}getInitApiPanel(){return this.initApi}getEffectApiPanel(){return this.effectApi}getFieldsPanel(){return this.fields}toJSON(){return{type:this.type,api:this.api.getJSON(),initApi:this.initApi.getJSON(),effectApi:this.effectApi.getJSON(),baseInfo:this.baseInfo.getJSON(),fields:this.fields.getJSON()}}toJSONString(){return JSON.stringify(this.toJSON())}}jn(Br,"FormInfo",md),jn(Br,"AjaxSchema",Ct),jn(Br,"FormItems",fd);class Mi extends Ze{constructor(e){const{groupId:r="",col:o=3,size:u="normal",type:s="detail-card",label:m="\u57FA\u7840\u4FE1\u606F",columns:p=[],source:h,unCipherSource:v,path:x,params:b,itemWidth:I=100,itemHeight:E=100,pagination:_,actions:B=[],current:T=1,columnsDirection:z="row",columnsBoxes:q=[],height:re=100,...J}=e||{};super({columns:p,groupId:r,col:o,size:u,type:s,label:m,source:h,unCipherSource:v,path:x,params:b,itemWidth:I,itemHeight:E,pagination:_,actions:B,current:T,columnsDirection:z,columnsBoxes:q,height:re,...J})}initStepSource(){(!Array.isArray(this.data.source)||this.data.source.length===0)&&(this.data.source=[{type:"json",content:[{title:"\u7B2C\u4E00\u6B65",content:"\u7B2C\u4E00\u6B65\u63CF\u8FF0",isActive:!1},{title:"\u7B2C\u4E8C\u6B65",content:"\u7B2C\u4E8C\u6B65\u63CF\u8FF0",isActive:!0},{title:"\u7B2C\u4E09\u6B65",content:"\u7B2C\u4E09\u6B65\u63CF\u8FF0",isActive:!1},{title:"\u7B2C\u56DB\u6B65",content:"\u7B2C\u56DB\u6B65\u63CF\u8FF0",isActive:!1}]}]),this.emit("$updated")}getFirstSourceApiUrl(){if(Array.isArray(this.data.source)&&this.data.source.length>0){const e=this.data.source[0];if(e.type==="ajax")return e.url}return""}addActions(e,r=!1){this.data.actions.push(e),this.emit("$updated",null,r)}removeActions(e,r=!1){this.data.actions.splice(e,1),this.emit("$updated",null,r)}updateActions(e,r,o=!1){this.data.actions.splice(e,1,r),this.emit("$updated",null,o)}updateAllActions(e,r=!1){this.data.actions=e,this.emit("$updated",null,r)}getActionsData(){return this.data.actions}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columnsBoxes","columns","actionColumns","bulkActions"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updatePagination(e){this.data.pagination=e,this.emit("$updated")}addSource(e){this.data.source.push(e),this.emit("$updated")}updateSource(e,r){this.data.source.splice(e,1,r),this.emit("$updated")}removeSource(e){this.data.source.splice(e,1),this.emit("$updated")}addUnCipherSource(e){this.data.unCipherSource||(this.data.unCipherSource=[]),this.data.unCipherSource.push(e),this.emit("$updated")}updateUnCipherSource(e,r){this.data.unCipherSource.splice(e,1,r),this.emit("$updated")}removeUnCipherSource(e){this.data.unCipherSource.splice(e,1),this.emit("$updated")}updateAll(e){this.data=e,this.emit("$updated")}delete(){}}class il extends Wr{constructor(e,r=!1){const{hasBackBtn:o=!0,backText:u="\u8FD4\u56DE",hasAnchor:s=!1,children:m,initDataSource:p,fullHeight:h,whiteBackground:v,...x}=r?e.body:e;super(x),this.type="detail",this.hasBackBtn=o,this.backText=u,this.hasAnchor=s,this.fullHeight=h,this.whiteBackground=v,this.initChildren(m,p),this.initDataSource=p?new Ct(p):{},this.willDetach=this.initChangeListener()}initChildren(e,r){this.children=e?e.map(o=>o?new Mi(o):null).filter(Boolean):[new Mi({groupId:"",type:"detail-card",label:"\u57FA\u7840\u4FE1\u606F",col:3,columns:[],source:[r]})]}baseInfoChange(e,r){this[e]=r,super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}refreshChildrenListener(){this.willDetach&&this.willDetach(),this.willDetach=this.initChangeListener()}initChangeListener(){var r;const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return(r=this.children)==null||r.forEach(o=>{o.on("$updated",e)}),()=>{var o;(o=this.children)==null||o.forEach(u=>{u.off("$updated",e)})}}get(e){return this[e]}set(e,r){this.baseInfoChange(e,r)}initFromSwagger(e){try{const r=this.initDataSource.getApiUrl();if(!r)return;const o=Kt(r,e),{responses:u}=o||{},s=ft(u,"responses","detail");this.setInitColumns(s)}catch(r){console.warn("\u8F93\u51FA\u683C\u5F0F\u4E0D\u7B26\u5408\u8BE6\u60C5\u89C4\u8303: ",r),f.Message.error("\u8F93\u51FA\u683C\u5F0F\u4E0D\u7B26\u5408\u8BE6\u60C5\u89C4\u8303")}}setInitColumns(e){var r;!this.children||this.children.length===0||(r=this.children[0])==null||r.setFieldsAll(e)}initFromCache(e){const{body:r,...o}=e,{hasBackBtn:u,backText:s,hasAnchor:m,fullHeight:p,whiteBackground:h,children:v}=r;this.init(o),this.baseInfoChange("hasBackBtn",u),this.baseInfoChange("backText",s),this.baseInfoChange("hasAnchor",m),this.baseInfoChange("fullHeight,",p),this.baseInfoChange("whiteBackground,",h),this.initChildren(v),this.refreshChildrenListener()}addChildren(){this.children.push(new Mi({groupId:"",type:"detail-card",label:"\u57FA\u7840\u4FE1\u606F",col:3,columns:[],source:[]})),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this}),this.refreshChildrenListener()}removeChildren(e){this.children.splice(e,1),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this}),this.refreshChildrenListener()}updateChildren(e,r){this.children.splice(e,1,r),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}sortChildren(e,r){const o=this.children[e];this.children[e]=this.children[r],this.children[r]=o,super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}getSchemaType(){return"detail"}getChildrenPanel(){return this.children}toJSON(){return{type:this.type,hasBackBtn:this.hasBackBtn,backText:this.backText,hasAnchor:this.hasAnchor,fullHeight:this.fullHeight,whiteBackground:this.whiteBackground,children:this.children.map(e=>e.getJSON())}}toJSONString(){return JSON.stringify(this.toJSON())}}class _S extends Ze{constructor(e){const{columns:r=[],bulkActions:o=[],primaryKey:u="id",tree:s=!1,showIndex:m=!1,hideCommonToolbar:p=!0,useVirtual:h=!0,columnsAutoWidth:v=!0,pagination:x={defaultPageSize:20,paging:!0,disableGlobalConfig:!1},maxHeight:b,storageKey:I=Date.now()}=e||{};super({columns:r,bulkActions:o,primaryKey:u,pagination:x,tree:s,showIndex:m,hideCommonToolbar:p,useVirtual:h,columnsAutoWidth:v,maxHeight:b,storageKey:I})}setFieldsAll(e,r=!1){this.set("columns",e,r)}setItemAll(e,r="columns",o=!1){this.set(r,e,o)}add(e,r="columns",o=!1){this.data[r].push(e),this.emit("$updated",null,o)}remove(e,r="columns",o=!1){this.data[r].splice(e,1),this.emit("$updated",null,o)}update(e,r,o="columns",u=!1){["columns","actionColumns","bulkActions"].includes(o)?this.data[o].splice(e,1,r):this.data[o]=r,this.emit("$updated",null,u)}updateAll(e){this.data=e,this.emit("$updated")}delete(){}}class $S extends Ze{constructor(e=[]){super(e||[])}add(e,r=!1){this.data.push(e),this.emit("$updated",null,r)}remove(e,r=!1){this.data.splice(e,1),this.emit("$updated",null,r)}update(e,r,o=!1){this.data.splice(e,1,r),this.emit("$updated",null,o)}updateAll(e,r=!1){this.data=e||[],this.emit("$updated",null,r)}delete(){this.data=[]}getData(){return this.data||[]}getJSON(){return this.data||[]}}class ku extends Wr{constructor(e,r=!1){const{initApi:o,submitApi:u,table:s,saveBtnText:m="\u4FDD\u5B58",addBtnText:p="\u65B0\u589E\u884C",deleteBtnText:h="\u5220\u9664\u884C",hasSaveBtn:v=!0,hasAddRow:x=!0,hasDeleteRow:b=!0,headerToolbar:I=[],...E}=r?e.body:e;super(E),this.type="edit-table",this.saveBtnText=m,this.addBtnText=p,this.deleteBtnText=h,this.hasSaveBtn=v,this.hasAddRow=x,this.hasDeleteRow=b,this.initApi=new Ct(o),this.submitApi=new Ct(u),this.table=new _S(s),this.headerToolbar=new $S(I),this.willDetach=this.initChangeListener()}initChangeListener(){const e=()=>{super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})};return this.initApi.on("$updated",e),this.submitApi.on("$updated",e),this.table.on("$updated",e),this.headerToolbar.on("$updated",e),()=>{this.initApi.off("$updated",e),this.submitApi.off("$updated",e),this.table.off("$updated",e),this.headerToolbar.off("$updated",e)}}initFromSwagger(e){try{const r=this.initApi.getApiUrl();if(!r)return;const o=Kt(r,e),{responses:u}=o||{},s=ft(u,"responses","edit-table");this.table.setFieldsAll(s)}catch(r){console.error("buildFieldsToCompJsone:",r),f.Message.error("\u521D\u59CB\u5316\u63A5\u53E3\u8F93\u51FA\u683C\u5F0F\u4E0D\u7B26\u5408Table\u89C4\u8303")}}initFromCache(e){const{body:r,...o}=e,{initApi:u,submitApi:s,table:m,saveBtnText:p,addBtnText:h,deleteBtnText:v,hasSaveBtn:x,hasAddRow:b,hasDeleteRow:I,headerToolbar:E}=r;this.willDetach&&this.willDetach(),this.init(o),this.initApi.updateAll(u),this.submitApi.updateAll(s),this.table.updateAll(this.compatTableHandle(m)),this.headerToolbar.updateAll(E),this.addBtnText=h,this.deleteBtnText=v,this.saveBtnText=p,this.hasSaveBtn=x,this.hasAddRow=b,this.hasDeleteRow=I,this.willDetach=this.initChangeListener()}compatTableHandle(e){if(!e||!e.pagination)return e;const{defaultPageSize:r,paging:o}=e.pagination;return!r&&(o===void 0||o===!0)?{...e,pagination:{defaultPageSize:r,paging:!1}}:e}getSchemaType(){return"edit-table"}getInitApiPanel(){return this.initApi}getSubmitApiPanel(){return this.submitApi}getTablePanel(){return this.table}baseInfoChange(e,r,o){this[e]=r,this.emit("$updated",null,o),super.emit(Ye.SCHEMA_UPDATE,{schemaJson:this.getAllJSON(),schema:this})}get(e){return this[e]}set(e,r,o){this.baseInfoChange(e,r,o)}getHeaderToolbarPanel(){return this.headerToolbar}toJSON(){return{type:this.type,saveBtnText:this.saveBtnText,addBtnText:this.addBtnText,deleteBtnText:this.deleteBtnText,hasSaveBtn:this.hasSaveBtn,hasAddRow:this.hasAddRow,hasDeleteRow:this.hasDeleteRow,initApi:this.initApi.getJSON(),submitApi:this.submitApi.getJSON(),table:this.table.getJSON(),headerToolbar:this.headerToolbar.getJSON()}}toJSONString(){return JSON.stringify(this.toJSON())}setInitApiPanel(e){this.initApi=e}setSubmitApiPanel(e){this.submitApi=e}setTable(e){this.table=e}}var cm={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
@@ -124,4 +124,4 @@ No matching component was found for:
124
124
  // display: flex;
125
125
  // flex: 1;
126
126
  // }
127
- `}const c3="@cniot/mdd-editor",d3="0.2.0-beta.48",p3="\u6A21\u578B\u9A71\u52A8\u7F16\u8F91\u5668",m3={build:"vite build"},f3="./build/index.es.js",h3="",g3="ISC",v3={"@cainiaofe/cn-ui":"0.12.34","@cniot/mdd-render-engine":"^0.1.1-beta.12","@monaco-editor/react":"^4.5.1",EventEmitter:"^1.0.0",ahooks:"^3.2.0",classnames:"^2.3.1","cn-address-select-pro":"^0.1.5",hox:"^1.1.6","immutability-helper":"^3.1.1","js-cookie":"^3.0.5",lodash:"^4.17.21",react:"^17.0.2","react-dnd":"^16.0.0","react-dnd-html5-backend":"^16.0.0","react-dom":"^17.0.2"},x3={vite:"^2.9.0"},y3={react:">=16.0.0","react-dom":">=16.0.0","@cainiaofe/cn-ui":"*",ahooks:"*",classnames:"*","cn-address-select-pro":"*",lodash:"*","@monaco-editor/react":"*"},b3="git@gitlab.alibaba-inc.com:one-code/mdd.git";var E3={name:c3,version:d3,description:p3,scripts:m3,main:f3,author:h3,license:g3,dependencies:v3,devDependencies:x3,peerDependencies:y3,repository:b3};console.log(`%cmdd-editor %c@${E3.version} %c=====`,"color:#000;font-weight:bold;","color:green;font-weight:bold;","color:#000;font-weight:bold;");exports.DetailBuild=$f;exports.DetailSchema=il;exports.EVENT_KEY=Ye;exports.EditTableBuild=Rf;exports.EditTableSchema=ku;exports.FormBuild=Of;exports.FormilyFormV2Schema=Br;exports.FtpBuild=If;exports.FtpSchema=Mr;exports.MDD_SCHEMA_LS_KEY=_u;exports.PERSISTENT_STORE_LS_KEY=Kp;exports.SWAGGER_DT=dr;exports.SWAGGER_FT=D0;exports.SimpleFtp=i3;exports.api2SchemaFromSwagger=ES;exports.api2SchemaFromSwaggerApiInfo=im;exports.buildFieldsToCompJson=ft;exports.buildSwaggerApiJson=Kt;exports.calcWordWidth=I0;exports.default=e3;exports.getApiInfo=lm;exports.getDefaultFomrLabelAlign=Ya;exports.getDefaultIndexScript=u3;exports.getDefaultIndexStyle=s3;exports.getGlobalSizeFromCookie=Qp;exports.getLocalProjectSwaggerOpts=SS;exports.getSwaggerInfoFromJson=om;exports.upperFirst=_0;exports.useModule=to;exports.useSchema=za;exports.useSwagger=pn;
127
+ `}const c3="@cniot/mdd-editor",d3="0.2.0-beta.49",p3="\u6A21\u578B\u9A71\u52A8\u7F16\u8F91\u5668",m3={build:"vite build"},f3="./build/index.es.js",h3="",g3="ISC",v3={"@cainiaofe/cn-ui":"0.12.34","@cniot/mdd-render-engine":"^0.1.1-beta.12","@monaco-editor/react":"^4.5.1",EventEmitter:"^1.0.0",ahooks:"^3.2.0",classnames:"^2.3.1","cn-address-select-pro":"^0.1.5",hox:"^1.1.6","immutability-helper":"^3.1.1","js-cookie":"^3.0.5",lodash:"^4.17.21",react:"^17.0.2","react-dnd":"^16.0.0","react-dnd-html5-backend":"^16.0.0","react-dom":"^17.0.2"},x3={vite:"^2.9.0"},y3={react:">=16.0.0","react-dom":">=16.0.0","@cainiaofe/cn-ui":"*",ahooks:"*",classnames:"*","cn-address-select-pro":"*",lodash:"*","@monaco-editor/react":"*"},b3="git@gitlab.alibaba-inc.com:one-code/mdd.git";var E3={name:c3,version:d3,description:p3,scripts:m3,main:f3,author:h3,license:g3,dependencies:v3,devDependencies:x3,peerDependencies:y3,repository:b3};console.log(`%cmdd-editor %c@${E3.version} %c=====`,"color:#000;font-weight:bold;","color:green;font-weight:bold;","color:#000;font-weight:bold;");exports.DetailBuild=$f;exports.DetailSchema=il;exports.EVENT_KEY=Ye;exports.EditTableBuild=Rf;exports.EditTableSchema=ku;exports.FormBuild=Of;exports.FormilyFormV2Schema=Br;exports.FtpBuild=If;exports.FtpSchema=Mr;exports.MDD_SCHEMA_LS_KEY=_u;exports.PERSISTENT_STORE_LS_KEY=Kp;exports.SWAGGER_DT=dr;exports.SWAGGER_FT=D0;exports.SimpleFtp=i3;exports.api2SchemaFromSwagger=ES;exports.api2SchemaFromSwaggerApiInfo=im;exports.buildFieldsToCompJson=ft;exports.buildSwaggerApiJson=Kt;exports.calcWordWidth=I0;exports.default=e3;exports.getApiInfo=lm;exports.getDefaultFomrLabelAlign=Ya;exports.getDefaultIndexScript=u3;exports.getDefaultIndexStyle=s3;exports.getGlobalSizeFromCookie=Qp;exports.getLocalProjectSwaggerOpts=SS;exports.getSwaggerInfoFromJson=om;exports.upperFirst=_0;exports.useModule=to;exports.useSchema=za;exports.useSwagger=pn;
package/build/index.es.js CHANGED
@@ -2082,7 +2082,8 @@ const propFields = {
2082
2082
  "accept",
2083
2083
  "limit",
2084
2084
  "shape",
2085
- "service"
2085
+ "service",
2086
+ "multiple"
2086
2087
  ]
2087
2088
  };
2088
2089
  const customPropFields = {
@@ -4095,7 +4096,7 @@ function shouldUseNative() {
4095
4096
  return false;
4096
4097
  }
4097
4098
  }
4098
- var objectAssign = shouldUseNative() ? Object.assign : function(target, source) {
4099
+ var _objectAssign_4_1_1_objectAssign = shouldUseNative() ? Object.assign : function(target, source) {
4099
4100
  var from;
4100
4101
  var to = toObject(target);
4101
4102
  var symbols;
@@ -5487,7 +5488,7 @@ function createSingletonDndContext(backend, context = getGlobalContext(), option
5487
5488
  function getGlobalContext() {
5488
5489
  return typeof global !== "undefined" ? global : window;
5489
5490
  }
5490
- var fastDeepEqual = function equal(a, b) {
5491
+ var _fastDeepEqual_3_1_3_fastDeepEqual = function equal(a, b) {
5491
5492
  if (a === b)
5492
5493
  return true;
5493
5494
  if (a && b && typeof a == "object" && typeof b == "object") {
@@ -5532,7 +5533,7 @@ function useCollector(monitor, collect, onUpdate) {
5532
5533
  );
5533
5534
  const updateCollected = useCallback(() => {
5534
5535
  const nextValue = collect(monitor);
5535
- if (!fastDeepEqual(collected, nextValue)) {
5536
+ if (!_fastDeepEqual_3_1_3_fastDeepEqual(collected, nextValue)) {
5536
5537
  setCollected(nextValue);
5537
5538
  if (onUpdate) {
5538
5539
  onUpdate();
@@ -7991,7 +7992,7 @@ const schemaScenarioList = async (params) => {
7991
7992
  return null;
7992
7993
  return res;
7993
7994
  };
7994
- var hox = {};
7995
+ var _hox_1_1_6_hox = {};
7995
7996
  var createModel$2 = {};
7996
7997
  var container$1 = {};
7997
7998
  var __values$1 = commonjsGlobal && commonjsGlobal.__values || function(o) {
@@ -8056,9 +8057,9 @@ function Executor(props) {
8056
8057
  }
8057
8058
  executor.Executor = Executor;
8058
8059
  var renderer = {};
8059
- var reactReconciler = { exports: {} };
8060
+ var _reactReconciler_0_26_2_reactReconciler = { exports: {} };
8060
8061
  var reactReconciler_production_min = { exports: {} };
8061
- var scheduler = { exports: {} };
8062
+ var _scheduler_0_20_2_scheduler = { exports: {} };
8062
8063
  var scheduler_production_min = {};
8063
8064
  /** @license React v0.20.2
8064
8065
  * scheduler.production.min.js
@@ -8342,7 +8343,7 @@ var scheduler_production_min = {};
8342
8343
  };
8343
8344
  })(scheduler_production_min);
8344
8345
  {
8345
- scheduler.exports = scheduler_production_min;
8346
+ _scheduler_0_20_2_scheduler.exports = scheduler_production_min;
8346
8347
  }
8347
8348
  /** @license React v0.26.2
8348
8349
  * react-reconciler.production.min.js
@@ -8355,7 +8356,7 @@ var scheduler_production_min = {};
8355
8356
  (function(module) {
8356
8357
  module.exports = function $$$reconciler($$$hostConfig) {
8357
8358
  var exports = {};
8358
- var aa = objectAssign, ba = React$1, m2 = scheduler.exports;
8359
+ var aa = _objectAssign_4_1_1_objectAssign, ba = React$1, m2 = _scheduler_0_20_2_scheduler.exports;
8359
8360
  function q2(a) {
8360
8361
  for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)
8361
8362
  b += "&args[]=" + encodeURIComponent(arguments[c]);
@@ -12998,13 +12999,13 @@ var scheduler_production_min = {};
12998
12999
  };
12999
13000
  })(reactReconciler_production_min);
13000
13001
  {
13001
- reactReconciler.exports = reactReconciler_production_min.exports;
13002
+ _reactReconciler_0_26_2_reactReconciler.exports = reactReconciler_production_min.exports;
13002
13003
  }
13003
13004
  var __importDefault$1 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
13004
13005
  return mod && mod.__esModule ? mod : { "default": mod };
13005
13006
  };
13006
13007
  Object.defineProperty(renderer, "__esModule", { value: true });
13007
- var react_reconciler_1 = __importDefault$1(reactReconciler.exports);
13008
+ var react_reconciler_1 = __importDefault$1(_reactReconciler_0_26_2_reactReconciler.exports);
13008
13009
  var reconciler = react_reconciler_1.default({
13009
13010
  now: Date.now,
13010
13011
  getRootHostContext: function() {
@@ -13249,12 +13250,12 @@ function withModel(useModelOrUseModels, mapModelToProps) {
13249
13250
  };
13250
13251
  }
13251
13252
  withModel$1.withModel = withModel;
13252
- Object.defineProperty(hox, "__esModule", { value: true });
13253
+ Object.defineProperty(_hox_1_1_6_hox, "__esModule", { value: true });
13253
13254
  var create_model_1 = createModel$2;
13254
- var createModel = hox.createModel = create_model_1.createModel;
13255
- hox.createLazyModel = create_model_1.createLazyModel;
13255
+ var createModel = _hox_1_1_6_hox.createModel = create_model_1.createModel;
13256
+ _hox_1_1_6_hox.createLazyModel = create_model_1.createLazyModel;
13256
13257
  var with_model_1 = withModel$1;
13257
- hox.withModel = with_model_1.withModel;
13258
+ _hox_1_1_6_hox.withModel = with_model_1.withModel;
13258
13259
  function useSwagger() {
13259
13260
  const [apiList, setApiList] = useState([]);
13260
13261
  const [swaggerInfo, setSwaggerInfo] = useState(null);
@@ -27152,7 +27153,7 @@ function hackRowDetail$1(schema) {
27152
27153
  schema.set("rowDetail", void 0);
27153
27154
  }
27154
27155
  }
27155
- var immutabilityHelper = { exports: {} };
27156
+ var _immutabilityHelper_3_1_1_immutabilityHelper = { exports: {} };
27156
27157
  (function(module, exports) {
27157
27158
  Object.defineProperty(exports, "__esModule", { value: true });
27158
27159
  function stringifiable(obj) {
@@ -27398,8 +27399,8 @@ var immutabilityHelper = { exports: {} };
27398
27399
  return "update(): " + stringifiable(command) + " expects a target of type Set or Map; got " + stringifiable(typeOfTarget);
27399
27400
  });
27400
27401
  }
27401
- })(immutabilityHelper, immutabilityHelper.exports);
27402
- var update = /* @__PURE__ */ getDefaultExportFromCjs(immutabilityHelper.exports);
27402
+ })(_immutabilityHelper_3_1_1_immutabilityHelper, _immutabilityHelper_3_1_1_immutabilityHelper.exports);
27403
+ var update = /* @__PURE__ */ getDefaultExportFromCjs(_immutabilityHelper_3_1_1_immutabilityHelper.exports);
27403
27404
  const mddTableArray$1 = "_mddTableArray_16ght_1";
27404
27405
  const tableArrayTitle$1 = "_tableArrayTitle_16ght_14";
27405
27406
  const tableArrayContent$1 = "_tableArrayContent_16ght_18";
@@ -30253,7 +30254,7 @@ function getDefaultIndexStyle() {
30253
30254
  `;
30254
30255
  }
30255
30256
  const name = "@cniot/mdd-editor";
30256
- const version = "0.2.0-beta.48";
30257
+ const version = "0.2.0-beta.49";
30257
30258
  const description = "\u6A21\u578B\u9A71\u52A8\u7F16\u8F91\u5668";
30258
30259
  const scripts = {
30259
30260
  build: "vite build"
package/build/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.monaco-clone-btn{position:absolute;right:10px;top:10px;z-index:101;display:none}.monaco-container{min-height:400px}.form-item-exart-abs{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;position:absolute;top:0;right:0;font-size:12px}.help-link{margin-left:20px}.handle-by-source-code{color:#00f;margin-left:5px}.handle-by-source-code-tip{color:#aaa;margin-left:5px}.ajax-schema-form-container{display:flex}.data-source-item{margin:0 0 15px;padding:3px;border:1px solid #000;border-radius:4px;border-color:#49cc90;background-color:#49cc9033;display:flex;align-items:center;cursor:pointer}.data-source-item:hover{box-shadow:0 0 5px #49cc90}.data-source-item .method{font-size:14px;font-weight:700;padding:3px 5px;text-align:center;border-radius:3px;background:#000;font-family:sans-serif;color:#fff;background:#1cce75}.data-source-item .host{font-weight:700;margin-left:5px}.data-source-item .url{font-weight:700;margin-left:10px;overflow:hidden;text-overflow:ellipsis}.data-source-item .description{margin-left:10px}.kv-table .table-operation-row{font-size:12px;margin-top:5px;display:flex;justify-content:space-between}.kv-table .table-operation-row .fast-select{width:200px}._dsType_mxilv_1{margin-bottom:10px}._dsJSONContent_mxilv_5{margin-top:10px}._dsJSONContent_mxilv_5 ._dsJSONContentTip_mxilv_8{margin-top:6px;font-weight:700}._dsAjaxContent_mxilv_13{margin-top:10px}._dsTitle_mxilv_17{font-weight:700;margin-top:10px}._actionButton_mxilv_22{margin-bottom:8px}._watchContainer_mxilv_26{display:flex;align-items:center;margin-top:10px}._dsTitleWatch_mxilv_32{margin-right:8px;font-weight:700}._staticValueOkBtn_mxilv_37{margin-left:4px}._tableDeleteBtn_mxilv_41{margin-left:8px}._secondConfirm_mxilv_45{margin-top:10px}._dsType_1islj_1{margin-bottom:10px}._dsJSONContent_1islj_5{margin-top:10px}._dsJSONContent_1islj_5 ._dsJSONContentTip_1islj_8{margin-top:6px;font-weight:700}._dsTitle_1islj_13{font-weight:700;margin-top:10px}._actionButton_1islj_18{margin-bottom:8px}._watchContainer_1islj_22{display:flex;align-items:center;margin-top:10px}._dsTitleWatch_1islj_28{margin-right:8px;font-weight:700}._staticValueOkBtn_1islj_33{margin-left:4px}._tableDeleteBtn_1islj_37{margin-left:8px}._secondConfirm_1islj_41{margin-top:10px}.next-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;top:0;margin:-1px}.next-select{box-sizing:border-box;display:inline-block;position:relative;font-size:0;vertical-align:middle}.next-select *,.next-select *:before,.next-select *:after{box-sizing:border-box}.next-select-trigger{min-width:100px;outline:0;transition:all .1s linear}.next-select-trigger .next-input-label{flex:0 0 auto;width:auto}.next-select-trigger .next-select-values{display:block;width:100%;flex:1 1 0;overflow:hidden}.next-select-trigger .next-select-values>em{font-style:inherit}.next-select-trigger .next-select-values input{padding-left:0;padding-right:0}.next-select-trigger .next-input-control{flex:0 0 auto;width:auto}.next-select-trigger .next-input-control>*{display:inline-block;width:auto}.next-select-trigger .next-input-control>.next-select-arrow{padding-right:0}.next-select-trigger .next-input.next-disabled em{color:#ccc}.next-select-trigger .next-input.next-disabled .next-select-arrow{cursor:not-allowed}.next-select-trigger .next-select-clear{display:none}.next-select-trigger.next-has-clear:hover .next-select-clear{display:inline-block}.next-select-trigger.next-has-clear:hover .next-select-arrow{display:none}.next-select .next-select-inner{display:inline-flex;align-items:center;width:100%;min-width:100px;outline:0;color:#333}.next-select .next-select-inner .next-tag{line-height:1;margin-right:4px;margin-bottom:3px;padding-left:0;padding-right:0}.next-select .next-select-inner .next-input-inner{width:auto}.next-select-trigger-search{position:relative;display:inline-block;vertical-align:top;overflow:hidden;width:100%;max-width:100%}.next-select-trigger-search>input,.next-select-trigger-search>span{display:block;font-size:inherit;font-family:inherit;letter-spacing:inherit;white-space:nowrap;overflow:hidden}.next-select-trigger-search input{position:absolute;background-color:transparent;width:100%;height:100%!important;z-index:1;left:0;border:0;outline:0;margin:0;padding:0;cursor:inherit}.next-select-trigger-search>span{position:relative;visibility:hidden;white-space:pre;max-width:100%;z-index:-1}.next-select-single.next-no-search{cursor:pointer}.next-select-single.next-has-search.next-active .next-select-values>em{display:none}.next-select-single.next-no-search .next-select-values>em+.next-select-trigger-search,.next-select-single.next-inactive .next-select-values>em+.next-select-trigger-search{width:1px;opacity:0;filter:alpha(opacity=0)}.next-select-single .next-select-values{display:inline-flex;align-items:center}.next-select-single .next-select-values>em{vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.next-select-multiple .next-select-compact{position:relative;white-space:nowrap}.next-select-multiple .next-select-compact .next-select-trigger-search{width:auto}.next-select-multiple .next-select-compact .next-select-tag-compact{position:absolute;top:0;right:0;z-index:1;padding:0 4px 0 16px;color:#333;background:linear-gradient(90deg,transparent,#FFFFFF 10px)}.next-select-multiple .next-disabled .next-select-tag-compact{background:linear-gradient(90deg,transparent,#F7F8FA 10px)}.next-select-multiple .next-select-values,.next-select-tag .next-select-values{margin-bottom:-3px;height:auto!important}.next-select-multiple .next-select-trigger-search,.next-select-tag .next-select-trigger-search{margin-bottom:3px}.next-select-multiple .next-tag+.next-select-trigger-search,.next-select-tag .next-tag+.next-select-trigger-search{width:auto;min-width:1px}.next-select-multiple .next-input,.next-select-tag .next-input{height:auto;align-items:start}.next-select-multiple.next-small .next-select-values,.next-select-tag.next-small .next-select-values{min-height:18px;padding-top:2px;padding-bottom:2px;line-height:14px}.next-select-multiple.next-small .next-select-values-compact,.next-select-tag.next-small .next-select-values-compact{height:20px!important}.next-select-multiple.next-small .next-tag,.next-select-tag.next-small .next-tag{border:0;padding-top:0;padding-bottom:0;height:14px}.next-select-multiple.next-small .next-tag .next-tag-body,.next-select-multiple.next-small .next-tag .next-tag-close-btn,.next-select-tag.next-small .next-tag .next-tag-body,.next-select-tag.next-small .next-tag .next-tag-close-btn,.next-select-multiple.next-small .next-tag-body,.next-select-tag.next-small .next-tag-body{line-height:14px}.next-select-multiple.next-small .next-input-label,.next-select-multiple.next-small .next-input-inner,.next-select-multiple.next-small .next-input-control,.next-select-multiple.next-small .next-select-tag-compact,.next-select-tag.next-small .next-input-label,.next-select-tag.next-small .next-input-inner,.next-select-tag.next-small .next-input-control,.next-select-tag.next-small .next-select-tag-compact{line-height:18px}.next-select-multiple.next-medium .next-select-values,.next-select-tag.next-medium .next-select-values{min-height:26px;padding-top:3px;padding-bottom:3px;line-height:20px}.next-select-multiple.next-medium .next-select-values-compact,.next-select-tag.next-medium .next-select-values-compact{height:28px!important}.next-select-multiple.next-medium .next-tag,.next-select-tag.next-medium .next-tag{padding-top:1px;padding-bottom:1px;height:20px}.next-select-multiple.next-medium .next-tag .next-tag-body,.next-select-multiple.next-medium .next-tag .next-tag-close-btn,.next-select-tag.next-medium .next-tag .next-tag-body,.next-select-tag.next-medium .next-tag .next-tag-close-btn{line-height:18px}.next-select-multiple.next-medium .next-input-label,.next-select-multiple.next-medium .next-input-inner,.next-select-multiple.next-medium .next-input-control,.next-select-multiple.next-medium .next-select-tag-compact,.next-select-tag.next-medium .next-input-label,.next-select-tag.next-medium .next-input-inner,.next-select-tag.next-medium .next-input-control,.next-select-tag.next-medium .next-select-tag-compact{line-height:26px}.next-select-multiple.next-large .next-select-values,.next-select-tag.next-large .next-select-values{min-height:38px;padding-top:7px;padding-bottom:7px;line-height:24px}.next-select-multiple.next-large .next-select-values-compact,.next-select-tag.next-large .next-select-values-compact{height:40px!important}.next-select-multiple.next-large .next-tag,.next-select-tag.next-large .next-tag{padding-top:3px;padding-bottom:3px;height:24px}.next-select-multiple.next-large .next-tag .next-tag-body,.next-select-multiple.next-large .next-tag .next-tag-close-btn,.next-select-tag.next-large .next-tag .next-tag-body,.next-select-tag.next-large .next-tag .next-tag-close-btn{line-height:18px}.next-select-multiple.next-large .next-input-label,.next-select-multiple.next-large .next-input-inner,.next-select-multiple.next-large .next-input-control,.next-select-multiple.next-large .next-select-tag-compact,.next-select-tag.next-large .next-input-label,.next-select-tag.next-large .next-input-inner,.next-select-tag.next-large .next-input-control,.next-select-tag.next-large .next-select-tag-compact{line-height:38px}.next-select-auto-complete{width:160px}.next-select-auto-complete .next-input{width:100%}.next-select-auto-complete .next-input .next-input-hint-wrap{padding-right:1px}.next-select-auto-complete .next-input .next-select-arrow{padding-left:0}.next-select.next-active .next-select-arrow .next-icon-arrow-down{transform:rotate(180deg)}.next-select .next-select-unfold-icon:before{content:""}.next-select-symbol-fold:before{content:"\e63d"}.next-select-arrow{cursor:pointer;width:auto!important;text-align:center;transition:all .1s linear}.next-select-popup-wrap{animation-duration:.3s;animation-timing-function:ease;padding:0}.next-select-spacing-tb{padding:0}.next-select-menu-wrapper{max-height:260px;overflow:auto;border:1px solid #DCDEE3;border-radius:3px;box-shadow:none}.next-select-menu-wrapper .next-select-menu{max-height:none;border:none}.next-select-menu{max-height:260px;overflow:auto}.next-select-menu .next-select-menu-empty-content{padding-left:8px;padding-right:8px;color:#999}.next-select-menu.next-select-auto-complete-menu.next-select-menu-empty{display:none}.next-select-menu .next-menu-item-text .next-icon{vertical-align:middle}.next-select-all{display:block;cursor:pointer;padding:0 8px;margin:0 12px 8px;border-bottom:1px solid #DCDEE3}.next-select-all:hover{color:#3e71f7}.next-select-all .next-menu-icon-selected.next-icon{display:inline-block!important;top:initial;color:#5584ff}.next-select-highlight{color:#5584ff;font-size:12px}.next-select-in-ie.next-select-trigger .next-select-values{overflow:visible}.next-select-in-ie.next-select-trigger .next-input-control,.next-select-in-ie.next-select-trigger .next-input-label{width:1px}.next-select-in-ie.next-select-trigger .next-input-control>*{display:table-cell;width:1%}.next-select-in-ie.next-select-trigger .next-select-arrow{display:table-cell}.next-select-in-ie.next-select-trigger .next-select-clear{display:none}.next-select-in-ie.next-select-trigger.next-select-multiple .next-select-inner,.next-select-in-ie.next-select-trigger.next-select-tag .next-select-inner{vertical-align:top}.next-select-in-ie.next-select-trigger .next-select-inner,.next-select-in-ie.next-select-trigger.next-select-single .next-select-values{display:inline-table}.next-select-in-ie.next-select-trigger.next-select-single .next-input.next-small .next-select-values{line-height:20px}.next-select-in-ie.next-select-trigger.next-select-single .next-input.next-medium .next-select-values{line-height:28px}.next-select-in-ie.next-select-trigger.next-select-single .next-input.next-large .next-select-values{line-height:40px}.next-select-in-ie.next-select-trigger .next-select-trigger-search>span{max-width:100px}.next-select-in-ie.next-select-trigger.next-select-single.next-select-in-ie-fixwidth .next-select-values{position:relative}.next-select-in-ie.next-select-trigger.next-select-single.next-select-in-ie-fixwidth .next-select-values>em{position:absolute;display:inline-block;height:100%;line-height:1;vertical-align:middle;overflow:hidden;left:4px;right:0;top:30%}.next-select-in-ie.next-select-trigger.next-select-single.next-no-search .next-select-values>em+.next-select-trigger-search,.next-select-in-ie.next-select-trigger.next-select-single.next-inactive .next-select-values>em+.next-select-trigger-search{filter:alpha(opacity=0);font-size:0}.next-select-in-ie.next-select-trigger.next-no-search .next-select-trigger-search input{color:inherit}@media screen and (-webkit-min-device-pixel-ratio: 0){.next-select-multiple .next-select-compact .next-select-tag-compact{background:linear-gradient(90deg,rgba(255,255,255,0),#FFFFFF 10px)}.next-select-multiple .next-disabled .next-select-tag-compact{background:linear-gradient(90deg,rgba(255,255,255,0),#F7F8FA 10px)}}.next-select.next-select-multiple[dir=rtl] .next-select-compact .next-select-tag-compact{left:0;right:auto;padding:0 16px 0 4px;background:linear-gradient(270deg,rgba(255,255,255,0),#FFFFFF 10px)}.next-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;top:0;margin:-1px}.next-menu[dir=rtl] .next-menu-item-helper{float:left}.next-menu[dir=rtl] .next-menu-item .next-checkbox,.next-menu[dir=rtl] .next-menu-item .next-radio{margin-left:4px;margin-right:0}.next-menu[dir=rtl] .next-menu-hoz-right{float:left}.next-menu[dir=rtl] .next-menu-hoz-icon-arrow.next-icon{left:6px;right:auto}.next-menu[dir=rtl] .next-menu-icon-selected.next-icon{margin-left:0;margin-right:-16px}.next-menu[dir=rtl] .next-menu-icon-selected.next-icon:before,.next-menu[dir=rtl] .next-menu-icon-selected.next-icon .next-icon-remote{width:12px;font-size:12px;line-height:inherit}.next-menu[dir=rtl] .next-menu-icon-selected.next-icon.next-menu-icon-right{right:auto;left:4px}.next-menu[dir=rtl] .next-menu-icon-arrow.next-icon{left:10px;right:auto}.next-menu{box-sizing:border-box;position:relative;min-width:100px;margin:0;list-style:none;border:1px solid #DCDEE3;border-radius:3px;box-shadow:none;background:#FFFFFF;line-height:32px;font-size:12px;animation-duration:.3s;animation-timing-function:ease}.next-menu *,.next-menu *:before,.next-menu *:after{box-sizing:border-box}.next-menu:focus,.next-menu *:focus{outline:0}.next-menu-spacing-lr{padding:0}.next-menu-spacing-lr.next-menu-outside>.next-menu{height:100%;overflow-y:auto}.next-menu-spacing-tb{padding:0}.next-menu.next-ver{padding:8px 0}.next-menu.next-ver .next-menu-item{padding:0 20px}.next-menu.next-hoz{padding:8px 0}.next-menu.next-hoz .next-menu-item{padding:0 20px}.next-menu-embeddable,.next-menu-embeddable .next-menu-item.next-disabled,.next-menu-embeddable .next-menu-item.next-disabled .next-menu-item-text>a{background:transparent;border:none}.next-menu-embeddable{box-shadow:none}.next-menu-embeddable .next-menu-item-inner{height:100%}.next-menu-content{position:relative;padding:0;margin:0;list-style:none}.next-menu-sub-menu{padding:0;margin:0;list-style:none}.next-menu-sub-menu.next-expand-enter{overflow:hidden}.next-menu-sub-menu.next-expand-enter-active{transition:height .3s ease}.next-menu-sub-menu.next-expand-leave{overflow:hidden}.next-menu-sub-menu.next-expand-leave-active{transition:height .3s ease}.next-menu-item{position:relative;transition:background .1s linear;color:#333;cursor:pointer}.next-menu-item-helper{float:right;color:#999;font-style:normal;font-size:12px}.next-menu-item .next-checkbox,.next-menu-item .next-radio{margin-right:4px}.next-menu-item.next-selected{color:#333;background-color:#fff}.next-menu-item.next-selected .next-menu-icon-arrow{color:#666}.next-menu-item.next-selected .next-menu-icon-selected{color:#5584ff}.next-menu-item.next-disabled,.next-menu-item.next-disabled .next-menu-item-text>a{color:#ccc;background-color:#fff;cursor:not-allowed}.next-menu-item.next-disabled .next-menu-icon-arrow,.next-menu-item.next-disabled .next-menu-item-text>a .next-menu-icon-arrow{color:#ccc}.next-menu-item.next-disabled .next-menu-icon-selected,.next-menu-item.next-disabled .next-menu-item-text>a .next-menu-icon-selected{color:#ccc}.next-menu-item:not(.next-disabled):hover,.next-menu-item:not(.next-disabled).next-selected:hover,.next-menu-item:not(.next-disabled).next-selected.next-focused:hover,.next-menu-item:not(.next-disabled).next-selected:focus:hover,.next-menu-item:not(.next-disabled).next-focused,.next-menu-item:not(.next-disabled).next-selected.next-focused,.next-menu-item:not(.next-disabled).next-selected:focus{color:#333;background-color:#f2f3f7}.next-menu-item:not(.next-disabled):hover .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected:hover .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected.next-focused:hover .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected:focus:hover .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-focused .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected.next-focused .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected:focus .next-menu-icon-arrow{color:#333}.next-menu-item:not(.next-disabled):hover .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected:hover .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected.next-focused:hover .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected:focus:hover .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-focused .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected.next-focused .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected:focus .next-menu-icon-selected{color:#5584ff}.next-menu-item-inner{height:32px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.next-menu-item .next-menu-item-text{vertical-align:middle}.next-menu-item .next-menu-item-text>a{display:inline-block;text-decoration:none;color:#333}.next-menu-item .next-menu-item-text>a:before{position:absolute;background-color:transparent;top:0;left:0;bottom:0;right:0;content:""}.next-menu.next-hoz{padding:0}.next-menu.next-hoz.next-menu-nowrap{overflow:hidden;white-space:nowrap}.next-menu.next-hoz.next-menu-nowrap .next-menu-more{text-align:center}.next-menu.next-hoz>.next-menu-item,.next-menu.next-hoz>.next-menu-sub-menu-wrapper,.next-menu.next-hoz .next-menu-content>.next-menu-item{display:inline-block;vertical-align:top}.next-menu.next-hoz .next-menu-header,.next-menu.next-hoz .next-menu-content,.next-menu.next-hoz .next-menu-footer{display:inline-block}.next-menu-hoz-right{float:right}.next-menu-group-label{padding:0 12px;color:#999}.next-menu-divider{margin:8px 12px;border-bottom:1px solid #E6E7EB}.next-menu .next-menu-icon-selected.next-icon{position:absolute;top:0;margin-left:-16px}.next-menu .next-menu-icon-selected.next-icon:before,.next-menu .next-menu-icon-selected.next-icon .next-icon-remote{width:12px;font-size:12px;line-height:inherit}.next-menu .next-menu-icon-selected.next-icon.next-menu-icon-right{right:4px}.next-menu .next-menu-symbol-icon-selected.next-menu-icon-selected:before{content:"\e632"}.next-menu .next-menu-icon-arrow.next-icon{position:absolute;top:0;right:10px;color:#666;transition:all .1s linear}.next-menu .next-menu-icon-arrow.next-icon:before,.next-menu .next-menu-icon-arrow.next-icon .next-icon-remote{width:8px;font-size:8px;line-height:inherit}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.next-menu .next-menu-icon-arrow.next-icon{transform:scale(.5);margin-left:-4px;margin-right:-4px}.next-menu .next-menu-icon-arrow.next-icon:before{width:16px;font-size:16px}}.next-menu .next-menu-icon-arrow-down:before{content:"\e63d"}.next-menu .next-menu-icon-arrow-down.next-open{transform:rotate(180deg)}.next-menu .next-menu-icon-arrow-down.next-open:before,.next-menu .next-menu-icon-arrow-down.next-open .next-icon-remote{width:8px;font-size:8px;line-height:inherit}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.next-menu .next-menu-icon-arrow-down.next-open{transform:scale(.5) rotate(180deg);margin-left:-4px;margin-right:-4px}.next-menu .next-menu-icon-arrow-down.next-open:before{width:16px;font-size:16px}}.next-menu .next-menu-symbol-popupfold:before{content:"\e619"}.next-menu .next-menu-icon-arrow-right.next-open{transform:rotate(-90deg)}.next-menu .next-menu-icon-arrow-right.next-open:before,.next-menu .next-menu-icon-arrow-right.next-open .next-icon-remote{width:8px;font-size:8px;line-height:inherit}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.next-menu .next-menu-icon-arrow-right.next-open{transform:scale(.5) rotate(-90deg);margin-left:-4px;margin-right:-4px}.next-menu .next-menu-icon-arrow-right.next-open:before{width:16px;font-size:16px}}.next-menu .next-menu-hoz-icon-arrow.next-icon{position:absolute;top:0;right:6px;color:#666;transition:all .1s linear}.next-menu .next-menu-hoz-icon-arrow.next-icon:before,.next-menu .next-menu-hoz-icon-arrow.next-icon .next-icon-remote{width:12px;font-size:12px;line-height:inherit}.next-menu .next-menu-hoz-icon-arrow.next-icon:before{content:"\e63d"}.next-menu-unfold-icon:before{content:""}.next-menu .next-menu-hoz-icon-arrow.next-open{transform:rotate(180deg)}.next-menu .next-menu-hoz-icon-arrow.next-open:before,.next-menu .next-menu-hoz-icon-arrow.next-open .next-icon-remote{width:12px;font-size:12px;line-height:inherit}.next-menu.next-context{line-height:24px}.next-menu.next-context .next-menu-item-inner{height:24px}.cn-address{min-width:160px}.cn-address-popup .cn-address-list,.cn-address-popup .cn-address-item{width:184px}.cn-address-popup .cn-address-footer{display:flex;border-top:1px solid #dcdee3;background-color:#fff}.cn-address-popup .cn-address-footer .cn-address-footer-item{display:flex;flex:1}.cn-address-popup .cn-address-footer .cn-address-footer-item .cn-address-footer-btn{display:flex;flex:1;justify-content:center;align-items:center;font-size:12px;color:#333;margin:0;border-radius:0;border:0;border-right:1px solid #dcdee3}.cn-address-popup .cn-address--mark-deletion{text-decoration:line-through;font-style:oblique}.cn-address-header-search{width:100%;padding:10px 0;background-color:#fff}.cn-address-header-search .cn-address-header-search-inner{width:164px;margin:0 10px}.cn-address--search-loading-container{padding:16px 40px;font-size:12px}.cn-address-search-text{background-color:#fff;color:#999;text-align:center}.cn-address-suffix-icon{margin-top:2px;margin-right:4px;color:#999}.next-cascader-select{box-sizing:border-box}.next-cascader-select *,.next-cascader-select *:before,.next-cascader-select *:after{box-sizing:border-box}.next-cascader-select-dropdown{box-sizing:border-box;border:1px solid #DCDEE3;border-radius:3px;box-shadow:none}.next-cascader-select-dropdown *,.next-cascader-select-dropdown *:before,.next-cascader-select-dropdown *:after{box-sizing:border-box}.next-cascader-select-dropdown .next-cascader{display:block;border:none;box-shadow:none}.next-cascader-select-not-found{padding:0;border:none;box-shadow:none;overflow:auto;color:#999}.next-cascader-select-not-found .next-menu-item:hover{color:#999;background:#FFFFFF;cursor:default}.mdd-formily-select .next-select-values{width:0!important}._container_t9q14_1 .next-formily-item-feedback-layout-loose{margin-bottom:10px}._container_t9q14_1 .next-formily-item-label,._container_t9q14_1 .cn-ui-form-item .cn-ui-form-item-label{line-height:24px}._container_t9q14_1 ._footer_t9q14_8{display:flex;justify-content:flex-end}._mddTableForm_tl8oe_1{display:flex;flex-direction:column;padding:0 12px 12px}._mddTableForm_tl8oe_1 .cn-next-collapse .cn-next-collapse-panel-icon{line-height:38px}._mddTableForm_tl8oe_1 .cn-next-radio-group .cn-next-radio-label{font-size:12px}._tableFormTitle_tl8oe_14{padding-bottom:8px;display:flex;justify-content:space-between}._tableFormContent_tl8oe_20 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title{padding:0 0 0 36px}._tableFormContent_tl8oe_20 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon{height:100%;line-height:1;display:flex;align-items:center}._tableFormContent_tl8oe_20 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon.cn-next-icon-close{padding:0 6px;cursor:pointer}._tableFormBottom_tl8oe_34{padding-top:12px;display:flex;justify-content:center;align-items:center}._itemTitle_tl8oe_41{display:flex;align-items:center;padding:4px}._itemTitle_tl8oe_41 .cn-next-input.cn-next-medium{height:24px}._itemTitle_tl8oe_41 .cn-next-input.cn-next-medium input{height:24px;line-height:24px;font-size:12px}._itemTitle_tl8oe_41 .cn-next-input.cn-next-medium .cn-next-select-values{height:24px;font-size:12px}._itemTitle_tl8oe_41 .cn-next-input.cn-next-medium .cn-next-input-inner i{margin:0 4px!important}._drop-over-downward_tl8oe_62{border-bottom:2px dashed #3080fe!important}._drop-over-upward_tl8oe_66{border-top:2px dashed #3080fe!important}._itemComponent_tl8oe_70{display:flex;align-items:center;padding:0 12px}._itemLabel_tl8oe_76{padding-right:12px;font-size:12px}._collapseContent_tl8oe_81{padding:0 12px}._itemClose_tl8oe_85{position:absolute;right:12px;top:0;height:48px;line-height:48px}._mddForm_1e2nn_1{display:flex;flex-direction:column;padding:12px}._mddForm_1e2nn_1 .cn-next-collapse .cn-next-collapse-panel-icon{line-height:38px}._mddForm_1e2nn_1 .cn-next-number-picker .cn-next-input.cn-next-small{height:24px;display:flex}._mddForm_1e2nn_1 .cn-next-number-picker-normal .cn-next-input .cn-next-input-control{width:22px}._mddForm_1e2nn_1 .cn-next-form-item-label{color:#000000d9}._FormTitle_1e2nn_20{padding-bottom:8px}._FormTitleHelp_1e2nn_24{font-size:12px;color:#999;padding-bottom:8px}._FormContent_1e2nn_30{padding:28px;background:#f9f9f9}._content_1e2nn_35{padding:12px}._mddTableArray_16ght_1{display:flex;flex-direction:column;padding:0 12px 12px}._mddTableArray_16ght_1 .cn-next-collapse .cn-next-collapse-panel-icon{line-height:38px}._mddTableArray_16ght_1 .cn-next-radio-group .cn-next-radio-label{font-size:12px}._tableArrayTitle_16ght_14{padding-bottom:8px}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title{padding:0 0 0 36px}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon{height:100%;line-height:1;display:flex;align-items:center}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon.cn-next-icon-close{padding:0 6px;cursor:pointer}._tableArrayBottom_16ght_32{padding-top:12px;display:flex;justify-content:center;align-items:center}._itemTitle_16ght_39{display:flex;align-items:center;padding:4px;position:relative}._itemTitle_16ght_39 .cn-next-input.cn-next-medium{height:24px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium input{height:24px;line-height:24px;font-size:12px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium .cn-next-select-values{height:24px;font-size:12px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium .cn-next-input-inner i{margin:0 4px!important}._drop-over-downward_16ght_61{border-bottom:2px dashed #3080fe!important}._drop-over-upward_16ght_65{border-top:2px dashed #3080fe!important}._collapseContent_16ght_69{padding:0 12px}._itemClose_16ght_73{position:absolute;right:12px;top:0;height:48px;line-height:48px}._middleBox_119xt_20{margin-left:"10px";margin-bottom:8px;display:flex}._middleBoxLeft_119xt_26{width:100px;text-align:right}._middleBoxRight_119xt_31{flex:1}._customTabItem_119xt_1{padding:8px}._tabTitle_119xt_5{font-size:14px}._tabLabel_119xt_9{display:inline-block;padding:0 2px}._middleBox_119xt_20{margin-left:"10px";margin-bottom:8px;display:flex}._middleBoxLeft_119xt_26{width:100px;text-align:right}._middleBoxRight_119xt_31{flex:1}._mddTableArray_16ght_1{display:flex;flex-direction:column;padding:0 12px 12px}._mddTableArray_16ght_1 .cn-next-collapse .cn-next-collapse-panel-icon{line-height:38px}._mddTableArray_16ght_1 .cn-next-radio-group .cn-next-radio-label{font-size:12px}._tableArrayTitle_16ght_14{padding-bottom:8px}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title{padding:0 0 0 36px}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon{height:100%;line-height:1;display:flex;align-items:center}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon.cn-next-icon-close{padding:0 6px;cursor:pointer}._tableArrayBottom_16ght_32{padding-top:12px;display:flex;justify-content:center;align-items:center}._itemTitle_16ght_39{display:flex;align-items:center;padding:4px;position:relative}._itemTitle_16ght_39 .cn-next-input.cn-next-medium{height:24px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium input{height:24px;line-height:24px;font-size:12px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium .cn-next-select-values{height:24px;font-size:12px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium .cn-next-input-inner i{margin:0 4px!important}._drop-over-downward_16ght_61{border-bottom:2px dashed #3080fe!important}._drop-over-upward_16ght_65{border-top:2px dashed #3080fe!important}._collapseContent_16ght_69{padding:0 12px}._itemClose_16ght_73{position:absolute;right:12px;top:0;height:48px;line-height:48px}._title_10adh_1{width:100%;display:flex;gap:12px}._titleItem_10adh_7{display:flex;align-items:center}._titleItemLabel_10adh_12{padding-right:12px}._titleItemLabel_10adh_12:first-of-type{padding-left:0}._customTabItem_1lh1l_1{padding:8px}._tabTitle_1lh1l_5{font-size:14px}._tabLabel_1lh1l_9{display:inline-block;padding:0 2px}._mddDetailItems_1lh1l_14 ._itemComponent_1lh1l_14{display:flex;align-items:center;padding:0 12px}._mddDetailItems_1lh1l_14 ._itemLabel_1lh1l_19{padding-right:12px;font-size:12px}.build-page-tab-detail-help{font-size:13px;color:#999;padding:0 12px 12px}._customTabItem_ac2i9_1{padding:8px}._tabTitle_ac2i9_5{font-size:14px}._tabLabel_ac2i9_9{display:inline-block;padding:0 2px}.formily-form-v2-kv{padding:0 12px;display:flex;flex-direction:column;margin-bottom:12px}.formily-form-v2-kv .formily-form-v2-title-wrapper{margin-bottom:8px;line-height:1}.formily-form-v2-kv .formily-form-v2-title-wrapper .title{margin-right:8px}.formily-form-v2-kv .formily-form-v2-title-wrapper .subTitle{color:#585d66;font-size:12px}._kvContainer_rfbib_1{padding:0 12px;display:flex;flex-direction:column;margin-bottom:12px}._kvContainer_rfbib_1 ._kvWrapper_rfbib_7{margin-bottom:8px;line-height:1}._kvContainer_rfbib_1 ._kvWrapper_rfbib_7 ._kvTitle_rfbib_11{margin-right:8px}._kvContainer_rfbib_1 ._kvWrapper_rfbib_7 ._kvSubTitle_rfbib_14{color:#585d66;font-size:12px}.mdd-editor-build-content{flex:1;position:relative}.mdd-editor-build-content .mdd-editor-toolbar{cursor:zoom-in;position:absolute;z-index:100;text-align:right;top:0;right:0;padding:4px 18px;display:flex;align-items:center;gap:8px}.mdd-editor-build-content .preview-tool-full>i{cursor:pointer}.mdd-editor-build-content .preview-tool-full .icon-box{position:absolute;right:12px;top:4px;padding:4px;width:1.5em;height:1.5em;display:flex;justify-content:center;align-items:center;background-color:#00000052;border-radius:2px;cursor:pointer;z-index:19}.mdd-editor-build-content .preview-tool-full .icon-box img{display:inline-block;width:14px;height:14px}.mdd-script-card{position:relative}.mdd-script-card .mdd-script-top-buttons{position:absolute;right:22px;top:12px;display:flex;gap:12px;z-index:10}._customTabItem_1y6va_1{padding:8px}._tabTitle_1y6va_5{font-size:14px}._tabLabel_1y6va_9{display:inline-block;padding:0 2px}.mdd-tip{color:#999;display:inline;padding-left:20px}
1
+ .monaco-clone-btn{position:absolute;right:10px;top:10px;z-index:101;display:none}.monaco-container{min-height:400px}.form-item-exart-abs{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;position:absolute;top:0;right:0;font-size:12px}.help-link{margin-left:20px}.handle-by-source-code{color:#00f;margin-left:5px}.handle-by-source-code-tip{color:#aaa;margin-left:5px}.ajax-schema-form-container{display:flex}.data-source-item{margin:0 0 15px;padding:3px;border:1px solid #000;border-radius:4px;border-color:#49cc90;background-color:#49cc9033;display:flex;align-items:center;cursor:pointer}.data-source-item:hover{box-shadow:0 0 5px #49cc90}.data-source-item .method{font-size:14px;font-weight:700;padding:3px 5px;text-align:center;border-radius:3px;background:#000;font-family:sans-serif;color:#fff;background:#1cce75}.data-source-item .host{font-weight:700;margin-left:5px}.data-source-item .url{font-weight:700;margin-left:10px;overflow:hidden;text-overflow:ellipsis}.data-source-item .description{margin-left:10px}.kv-table .table-operation-row{font-size:12px;margin-top:5px;display:flex;justify-content:space-between}.kv-table .table-operation-row .fast-select{width:200px}._dsType_mxilv_1{margin-bottom:10px}._dsJSONContent_mxilv_5{margin-top:10px}._dsJSONContent_mxilv_5 ._dsJSONContentTip_mxilv_8{margin-top:6px;font-weight:700}._dsAjaxContent_mxilv_13{margin-top:10px}._dsTitle_mxilv_17{font-weight:700;margin-top:10px}._actionButton_mxilv_22{margin-bottom:8px}._watchContainer_mxilv_26{display:flex;align-items:center;margin-top:10px}._dsTitleWatch_mxilv_32{margin-right:8px;font-weight:700}._staticValueOkBtn_mxilv_37{margin-left:4px}._tableDeleteBtn_mxilv_41{margin-left:8px}._secondConfirm_mxilv_45{margin-top:10px}._dsType_1islj_1{margin-bottom:10px}._dsJSONContent_1islj_5{margin-top:10px}._dsJSONContent_1islj_5 ._dsJSONContentTip_1islj_8{margin-top:6px;font-weight:700}._dsTitle_1islj_13{font-weight:700;margin-top:10px}._actionButton_1islj_18{margin-bottom:8px}._watchContainer_1islj_22{display:flex;align-items:center;margin-top:10px}._dsTitleWatch_1islj_28{margin-right:8px;font-weight:700}._staticValueOkBtn_1islj_33{margin-left:4px}._tableDeleteBtn_1islj_37{margin-left:8px}._secondConfirm_1islj_41{margin-top:10px}@charset "UTF-8";.next-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;top:0;margin:-1px}.next-select{box-sizing:border-box;display:inline-block;position:relative;font-size:0;vertical-align:middle}.next-select *,.next-select *:before,.next-select *:after{box-sizing:border-box}.next-select-trigger{min-width:100px;outline:0;transition:all .1s linear}.next-select-trigger .next-input-label{flex:0 0 auto;width:auto}.next-select-trigger .next-select-values{display:block;width:100%;flex:1 1 0;overflow:hidden}.next-select-trigger .next-select-values>em{font-style:inherit}.next-select-trigger .next-select-values input{padding-left:0;padding-right:0}.next-select-trigger .next-input-control{flex:0 0 auto;width:auto}.next-select-trigger .next-input-control>*{display:inline-block;width:auto}.next-select-trigger .next-input-control>.next-select-arrow{padding-right:0}.next-select-trigger .next-input.next-disabled em{color:#ccc}.next-select-trigger .next-input.next-disabled .next-select-arrow{cursor:not-allowed}.next-select-trigger .next-select-clear{display:none}.next-select-trigger.next-has-clear:hover .next-select-clear{display:inline-block}.next-select-trigger.next-has-clear:hover .next-select-arrow{display:none}.next-select .next-select-inner{display:inline-flex;align-items:center;width:100%;min-width:100px;outline:0;color:#333}.next-select .next-select-inner .next-tag{line-height:1;margin-right:4px;margin-bottom:3px;padding-left:0;padding-right:0}.next-select .next-select-inner .next-input-inner{width:auto}.next-select-trigger-search{position:relative;display:inline-block;vertical-align:top;overflow:hidden;width:100%;max-width:100%}.next-select-trigger-search>input,.next-select-trigger-search>span{display:block;font-size:inherit;font-family:inherit;letter-spacing:inherit;white-space:nowrap;overflow:hidden}.next-select-trigger-search input{position:absolute;background-color:transparent;width:100%;height:100%!important;z-index:1;left:0;border:0;outline:0;margin:0;padding:0;cursor:inherit}.next-select-trigger-search>span{position:relative;visibility:hidden;white-space:pre;max-width:100%;z-index:-1}.next-select-single.next-no-search{cursor:pointer}.next-select-single.next-has-search.next-active .next-select-values>em{display:none}.next-select-single.next-no-search .next-select-values>em+.next-select-trigger-search,.next-select-single.next-inactive .next-select-values>em+.next-select-trigger-search{width:1px;opacity:0;filter:alpha(opacity=0)}.next-select-single .next-select-values{display:inline-flex;align-items:center}.next-select-single .next-select-values>em{vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.next-select-multiple .next-select-compact{position:relative;white-space:nowrap}.next-select-multiple .next-select-compact .next-select-trigger-search{width:auto}.next-select-multiple .next-select-compact .next-select-tag-compact{position:absolute;top:0;right:0;z-index:1;padding:0 4px 0 16px;color:#333;background:linear-gradient(90deg,transparent,#FFFFFF 10px)}.next-select-multiple .next-disabled .next-select-tag-compact{background:linear-gradient(90deg,transparent,#F7F8FA 10px)}.next-select-multiple .next-select-values,.next-select-tag .next-select-values{margin-bottom:-3px;height:auto!important}.next-select-multiple .next-select-trigger-search,.next-select-tag .next-select-trigger-search{margin-bottom:3px}.next-select-multiple .next-tag+.next-select-trigger-search,.next-select-tag .next-tag+.next-select-trigger-search{width:auto;min-width:1px}.next-select-multiple .next-input,.next-select-tag .next-input{height:auto;align-items:start}.next-select-multiple.next-small .next-select-values,.next-select-tag.next-small .next-select-values{min-height:18px;padding-top:2px;padding-bottom:2px;line-height:14px}.next-select-multiple.next-small .next-select-values-compact,.next-select-tag.next-small .next-select-values-compact{height:20px!important}.next-select-multiple.next-small .next-tag,.next-select-tag.next-small .next-tag{border:0;padding-top:0;padding-bottom:0;height:14px}.next-select-multiple.next-small .next-tag .next-tag-body,.next-select-multiple.next-small .next-tag .next-tag-close-btn,.next-select-tag.next-small .next-tag .next-tag-body,.next-select-tag.next-small .next-tag .next-tag-close-btn,.next-select-multiple.next-small .next-tag-body,.next-select-tag.next-small .next-tag-body{line-height:14px}.next-select-multiple.next-small .next-input-label,.next-select-multiple.next-small .next-input-inner,.next-select-multiple.next-small .next-input-control,.next-select-multiple.next-small .next-select-tag-compact,.next-select-tag.next-small .next-input-label,.next-select-tag.next-small .next-input-inner,.next-select-tag.next-small .next-input-control,.next-select-tag.next-small .next-select-tag-compact{line-height:18px}.next-select-multiple.next-medium .next-select-values,.next-select-tag.next-medium .next-select-values{min-height:26px;padding-top:3px;padding-bottom:3px;line-height:20px}.next-select-multiple.next-medium .next-select-values-compact,.next-select-tag.next-medium .next-select-values-compact{height:28px!important}.next-select-multiple.next-medium .next-tag,.next-select-tag.next-medium .next-tag{padding-top:1px;padding-bottom:1px;height:20px}.next-select-multiple.next-medium .next-tag .next-tag-body,.next-select-multiple.next-medium .next-tag .next-tag-close-btn,.next-select-tag.next-medium .next-tag .next-tag-body,.next-select-tag.next-medium .next-tag .next-tag-close-btn{line-height:18px}.next-select-multiple.next-medium .next-input-label,.next-select-multiple.next-medium .next-input-inner,.next-select-multiple.next-medium .next-input-control,.next-select-multiple.next-medium .next-select-tag-compact,.next-select-tag.next-medium .next-input-label,.next-select-tag.next-medium .next-input-inner,.next-select-tag.next-medium .next-input-control,.next-select-tag.next-medium .next-select-tag-compact{line-height:26px}.next-select-multiple.next-large .next-select-values,.next-select-tag.next-large .next-select-values{min-height:38px;padding-top:7px;padding-bottom:7px;line-height:24px}.next-select-multiple.next-large .next-select-values-compact,.next-select-tag.next-large .next-select-values-compact{height:40px!important}.next-select-multiple.next-large .next-tag,.next-select-tag.next-large .next-tag{padding-top:3px;padding-bottom:3px;height:24px}.next-select-multiple.next-large .next-tag .next-tag-body,.next-select-multiple.next-large .next-tag .next-tag-close-btn,.next-select-tag.next-large .next-tag .next-tag-body,.next-select-tag.next-large .next-tag .next-tag-close-btn{line-height:18px}.next-select-multiple.next-large .next-input-label,.next-select-multiple.next-large .next-input-inner,.next-select-multiple.next-large .next-input-control,.next-select-multiple.next-large .next-select-tag-compact,.next-select-tag.next-large .next-input-label,.next-select-tag.next-large .next-input-inner,.next-select-tag.next-large .next-input-control,.next-select-tag.next-large .next-select-tag-compact{line-height:38px}.next-select-auto-complete{width:160px}.next-select-auto-complete .next-input{width:100%}.next-select-auto-complete .next-input .next-input-hint-wrap{padding-right:1px}.next-select-auto-complete .next-input .next-select-arrow{padding-left:0}.next-select.next-active .next-select-arrow .next-icon-arrow-down{transform:rotate(180deg)}.next-select .next-select-unfold-icon:before{content:""}.next-select-symbol-fold:before{content:"\e63d"}.next-select-arrow{cursor:pointer;width:auto!important;text-align:center;transition:all .1s linear}.next-select-popup-wrap{animation-duration:.3s;animation-timing-function:ease;padding:0}.next-select-spacing-tb{padding:0}.next-select-menu-wrapper{max-height:260px;overflow:auto;border:1px solid #DCDEE3;border-radius:3px;box-shadow:none}.next-select-menu-wrapper .next-select-menu{max-height:none;border:none}.next-select-menu{max-height:260px;overflow:auto}.next-select-menu .next-select-menu-empty-content{padding-left:8px;padding-right:8px;color:#999}.next-select-menu.next-select-auto-complete-menu.next-select-menu-empty{display:none}.next-select-menu .next-menu-item-text .next-icon{vertical-align:middle}.next-select-all{display:block;cursor:pointer;padding:0 8px;margin:0 12px 8px;border-bottom:1px solid #DCDEE3}.next-select-all:hover{color:#3e71f7}.next-select-all .next-menu-icon-selected.next-icon{display:inline-block!important;top:initial;color:#5584ff}.next-select-highlight{color:#5584ff;font-size:12px}.next-select-in-ie.next-select-trigger .next-select-values{overflow:visible}.next-select-in-ie.next-select-trigger .next-input-control,.next-select-in-ie.next-select-trigger .next-input-label{width:1px}.next-select-in-ie.next-select-trigger .next-input-control>*{display:table-cell;width:1%}.next-select-in-ie.next-select-trigger .next-select-arrow{display:table-cell}.next-select-in-ie.next-select-trigger .next-select-clear{display:none}.next-select-in-ie.next-select-trigger.next-select-multiple .next-select-inner,.next-select-in-ie.next-select-trigger.next-select-tag .next-select-inner{vertical-align:top}.next-select-in-ie.next-select-trigger .next-select-inner,.next-select-in-ie.next-select-trigger.next-select-single .next-select-values{display:inline-table}.next-select-in-ie.next-select-trigger.next-select-single .next-input.next-small .next-select-values{line-height:20px}.next-select-in-ie.next-select-trigger.next-select-single .next-input.next-medium .next-select-values{line-height:28px}.next-select-in-ie.next-select-trigger.next-select-single .next-input.next-large .next-select-values{line-height:40px}.next-select-in-ie.next-select-trigger .next-select-trigger-search>span{max-width:100px}.next-select-in-ie.next-select-trigger.next-select-single.next-select-in-ie-fixwidth .next-select-values{position:relative}.next-select-in-ie.next-select-trigger.next-select-single.next-select-in-ie-fixwidth .next-select-values>em{position:absolute;display:inline-block;height:100%;line-height:1;vertical-align:middle;overflow:hidden;left:4px;right:0;top:30%}.next-select-in-ie.next-select-trigger.next-select-single.next-no-search .next-select-values>em+.next-select-trigger-search,.next-select-in-ie.next-select-trigger.next-select-single.next-inactive .next-select-values>em+.next-select-trigger-search{filter:alpha(opacity=0);font-size:0}.next-select-in-ie.next-select-trigger.next-no-search .next-select-trigger-search input{color:inherit}@media screen and (-webkit-min-device-pixel-ratio: 0){.next-select-multiple .next-select-compact .next-select-tag-compact{background:linear-gradient(90deg,rgba(255,255,255,0),#FFFFFF 10px)}.next-select-multiple .next-disabled .next-select-tag-compact{background:linear-gradient(90deg,rgba(255,255,255,0),#F7F8FA 10px)}}.next-select.next-select-multiple[dir=rtl] .next-select-compact .next-select-tag-compact{left:0;right:auto;padding:0 16px 0 4px;background:linear-gradient(270deg,rgba(255,255,255,0),#FFFFFF 10px)}.next-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;top:0;margin:-1px}.next-menu[dir=rtl] .next-menu-item-helper{float:left}.next-menu[dir=rtl] .next-menu-item .next-checkbox,.next-menu[dir=rtl] .next-menu-item .next-radio{margin-left:4px;margin-right:0}.next-menu[dir=rtl] .next-menu-hoz-right{float:left}.next-menu[dir=rtl] .next-menu-hoz-icon-arrow.next-icon{left:6px;right:auto}.next-menu[dir=rtl] .next-menu-icon-selected.next-icon{margin-left:0;margin-right:-16px}.next-menu[dir=rtl] .next-menu-icon-selected.next-icon:before,.next-menu[dir=rtl] .next-menu-icon-selected.next-icon .next-icon-remote{width:12px;font-size:12px;line-height:inherit}.next-menu[dir=rtl] .next-menu-icon-selected.next-icon.next-menu-icon-right{right:auto;left:4px}.next-menu[dir=rtl] .next-menu-icon-arrow.next-icon{left:10px;right:auto}.next-menu{box-sizing:border-box;position:relative;min-width:100px;margin:0;list-style:none;border:1px solid #DCDEE3;border-radius:3px;box-shadow:none;background:#FFFFFF;line-height:32px;font-size:12px;animation-duration:.3s;animation-timing-function:ease}.next-menu *,.next-menu *:before,.next-menu *:after{box-sizing:border-box}.next-menu:focus,.next-menu *:focus{outline:0}.next-menu-spacing-lr{padding:0}.next-menu-spacing-lr.next-menu-outside>.next-menu{height:100%;overflow-y:auto}.next-menu-spacing-tb{padding:0}.next-menu.next-ver{padding:8px 0}.next-menu.next-ver .next-menu-item{padding:0 20px}.next-menu.next-hoz{padding:8px 0}.next-menu.next-hoz .next-menu-item{padding:0 20px}.next-menu-embeddable,.next-menu-embeddable .next-menu-item.next-disabled,.next-menu-embeddable .next-menu-item.next-disabled .next-menu-item-text>a{background:transparent;border:none}.next-menu-embeddable{box-shadow:none}.next-menu-embeddable .next-menu-item-inner{height:100%}.next-menu-content{position:relative;padding:0;margin:0;list-style:none}.next-menu-sub-menu{padding:0;margin:0;list-style:none}.next-menu-sub-menu.next-expand-enter{overflow:hidden}.next-menu-sub-menu.next-expand-enter-active{transition:height .3s ease}.next-menu-sub-menu.next-expand-leave{overflow:hidden}.next-menu-sub-menu.next-expand-leave-active{transition:height .3s ease}.next-menu-item{position:relative;transition:background .1s linear;color:#333;cursor:pointer}.next-menu-item-helper{float:right;color:#999;font-style:normal;font-size:12px}.next-menu-item .next-checkbox,.next-menu-item .next-radio{margin-right:4px}.next-menu-item.next-selected{color:#333;background-color:#fff}.next-menu-item.next-selected .next-menu-icon-arrow{color:#666}.next-menu-item.next-selected .next-menu-icon-selected{color:#5584ff}.next-menu-item.next-disabled,.next-menu-item.next-disabled .next-menu-item-text>a{color:#ccc;background-color:#fff;cursor:not-allowed}.next-menu-item.next-disabled .next-menu-icon-arrow,.next-menu-item.next-disabled .next-menu-item-text>a .next-menu-icon-arrow{color:#ccc}.next-menu-item.next-disabled .next-menu-icon-selected,.next-menu-item.next-disabled .next-menu-item-text>a .next-menu-icon-selected{color:#ccc}.next-menu-item:not(.next-disabled):hover,.next-menu-item:not(.next-disabled).next-selected:hover,.next-menu-item:not(.next-disabled).next-selected.next-focused:hover,.next-menu-item:not(.next-disabled).next-selected:focus:hover,.next-menu-item:not(.next-disabled).next-focused,.next-menu-item:not(.next-disabled).next-selected.next-focused,.next-menu-item:not(.next-disabled).next-selected:focus{color:#333;background-color:#f2f3f7}.next-menu-item:not(.next-disabled):hover .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected:hover .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected.next-focused:hover .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected:focus:hover .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-focused .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected.next-focused .next-menu-icon-arrow,.next-menu-item:not(.next-disabled).next-selected:focus .next-menu-icon-arrow{color:#333}.next-menu-item:not(.next-disabled):hover .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected:hover .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected.next-focused:hover .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected:focus:hover .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-focused .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected.next-focused .next-menu-icon-selected,.next-menu-item:not(.next-disabled).next-selected:focus .next-menu-icon-selected{color:#5584ff}.next-menu-item-inner{height:32px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.next-menu-item .next-menu-item-text{vertical-align:middle}.next-menu-item .next-menu-item-text>a{display:inline-block;text-decoration:none;color:#333}.next-menu-item .next-menu-item-text>a:before{position:absolute;background-color:transparent;top:0;left:0;bottom:0;right:0;content:""}.next-menu.next-hoz{padding:0}.next-menu.next-hoz.next-menu-nowrap{overflow:hidden;white-space:nowrap}.next-menu.next-hoz.next-menu-nowrap .next-menu-more{text-align:center}.next-menu.next-hoz>.next-menu-item,.next-menu.next-hoz>.next-menu-sub-menu-wrapper,.next-menu.next-hoz .next-menu-content>.next-menu-item{display:inline-block;vertical-align:top}.next-menu.next-hoz .next-menu-header,.next-menu.next-hoz .next-menu-content,.next-menu.next-hoz .next-menu-footer{display:inline-block}.next-menu-hoz-right{float:right}.next-menu-group-label{padding:0 12px;color:#999}.next-menu-divider{margin:8px 12px;border-bottom:1px solid #E6E7EB}.next-menu .next-menu-icon-selected.next-icon{position:absolute;top:0;margin-left:-16px}.next-menu .next-menu-icon-selected.next-icon:before,.next-menu .next-menu-icon-selected.next-icon .next-icon-remote{width:12px;font-size:12px;line-height:inherit}.next-menu .next-menu-icon-selected.next-icon.next-menu-icon-right{right:4px}.next-menu .next-menu-symbol-icon-selected.next-menu-icon-selected:before{content:"\e632"}.next-menu .next-menu-icon-arrow.next-icon{position:absolute;top:0;right:10px;color:#666;transition:all .1s linear}.next-menu .next-menu-icon-arrow.next-icon:before,.next-menu .next-menu-icon-arrow.next-icon .next-icon-remote{width:8px;font-size:8px;line-height:inherit}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.next-menu .next-menu-icon-arrow.next-icon{transform:scale(.5);margin-left:-4px;margin-right:-4px}.next-menu .next-menu-icon-arrow.next-icon:before{width:16px;font-size:16px}}.next-menu .next-menu-icon-arrow-down:before{content:"\e63d"}.next-menu .next-menu-icon-arrow-down.next-open{transform:rotate(180deg)}.next-menu .next-menu-icon-arrow-down.next-open:before,.next-menu .next-menu-icon-arrow-down.next-open .next-icon-remote{width:8px;font-size:8px;line-height:inherit}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.next-menu .next-menu-icon-arrow-down.next-open{transform:scale(.5) rotate(180deg);margin-left:-4px;margin-right:-4px}.next-menu .next-menu-icon-arrow-down.next-open:before{width:16px;font-size:16px}}.next-menu .next-menu-symbol-popupfold:before{content:"\e619"}.next-menu .next-menu-icon-arrow-right.next-open{transform:rotate(-90deg)}.next-menu .next-menu-icon-arrow-right.next-open:before,.next-menu .next-menu-icon-arrow-right.next-open .next-icon-remote{width:8px;font-size:8px;line-height:inherit}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.next-menu .next-menu-icon-arrow-right.next-open{transform:scale(.5) rotate(-90deg);margin-left:-4px;margin-right:-4px}.next-menu .next-menu-icon-arrow-right.next-open:before{width:16px;font-size:16px}}.next-menu .next-menu-hoz-icon-arrow.next-icon{position:absolute;top:0;right:6px;color:#666;transition:all .1s linear}.next-menu .next-menu-hoz-icon-arrow.next-icon:before,.next-menu .next-menu-hoz-icon-arrow.next-icon .next-icon-remote{width:12px;font-size:12px;line-height:inherit}.next-menu .next-menu-hoz-icon-arrow.next-icon:before{content:"\e63d"}.next-menu-unfold-icon:before{content:""}.next-menu .next-menu-hoz-icon-arrow.next-open{transform:rotate(180deg)}.next-menu .next-menu-hoz-icon-arrow.next-open:before,.next-menu .next-menu-hoz-icon-arrow.next-open .next-icon-remote{width:12px;font-size:12px;line-height:inherit}.next-menu.next-context{line-height:24px}.next-menu.next-context .next-menu-item-inner{height:24px}.cn-address{min-width:160px}.cn-address-popup .cn-address-list,.cn-address-popup .cn-address-item{width:184px}.cn-address-popup .cn-address-footer{display:flex;border-top:1px solid #dcdee3;background-color:#fff}.cn-address-popup .cn-address-footer .cn-address-footer-item{display:flex;flex:1}.cn-address-popup .cn-address-footer .cn-address-footer-item .cn-address-footer-btn{display:flex;flex:1;justify-content:center;align-items:center;font-size:12px;color:#333;margin:0;border-radius:0;border:0;border-right:1px solid #dcdee3}.cn-address-popup .cn-address--mark-deletion{text-decoration:line-through;font-style:oblique}.cn-address-header-search{width:100%;padding:10px 0;background-color:#fff}.cn-address-header-search .cn-address-header-search-inner{width:164px;margin:0 10px}.cn-address--search-loading-container{padding:16px 40px;font-size:12px}.cn-address-search-text{background-color:#fff;color:#999;text-align:center}.cn-address-suffix-icon{margin-top:2px;margin-right:4px;color:#999}.next-cascader-select{box-sizing:border-box}.next-cascader-select *,.next-cascader-select *:before,.next-cascader-select *:after{box-sizing:border-box}.next-cascader-select-dropdown{box-sizing:border-box;border:1px solid #DCDEE3;border-radius:3px;box-shadow:none}.next-cascader-select-dropdown *,.next-cascader-select-dropdown *:before,.next-cascader-select-dropdown *:after{box-sizing:border-box}.next-cascader-select-dropdown .next-cascader{display:block;border:none;box-shadow:none}.next-cascader-select-not-found{padding:0;border:none;box-shadow:none;overflow:auto;color:#999}.next-cascader-select-not-found .next-menu-item:hover{color:#999;background:#FFFFFF;cursor:default}.mdd-formily-select .next-select-values{width:0!important}._container_t9q14_1 .next-formily-item-feedback-layout-loose{margin-bottom:10px}._container_t9q14_1 .next-formily-item-label,._container_t9q14_1 .cn-ui-form-item .cn-ui-form-item-label{line-height:24px}._container_t9q14_1 ._footer_t9q14_8{display:flex;justify-content:flex-end}._mddTableForm_tl8oe_1{display:flex;flex-direction:column;padding:0 12px 12px}._mddTableForm_tl8oe_1 .cn-next-collapse .cn-next-collapse-panel-icon{line-height:38px}._mddTableForm_tl8oe_1 .cn-next-radio-group .cn-next-radio-label{font-size:12px}._tableFormTitle_tl8oe_14{padding-bottom:8px;display:flex;justify-content:space-between}._tableFormContent_tl8oe_20 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title{padding:0 0 0 36px}._tableFormContent_tl8oe_20 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon{height:100%;line-height:1;display:flex;align-items:center}._tableFormContent_tl8oe_20 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon.cn-next-icon-close{padding:0 6px;cursor:pointer}._tableFormBottom_tl8oe_34{padding-top:12px;display:flex;justify-content:center;align-items:center}._itemTitle_tl8oe_41{display:flex;align-items:center;padding:4px}._itemTitle_tl8oe_41 .cn-next-input.cn-next-medium{height:24px}._itemTitle_tl8oe_41 .cn-next-input.cn-next-medium input{height:24px;line-height:24px;font-size:12px}._itemTitle_tl8oe_41 .cn-next-input.cn-next-medium .cn-next-select-values{height:24px;font-size:12px}._itemTitle_tl8oe_41 .cn-next-input.cn-next-medium .cn-next-input-inner i{margin:0 4px!important}._drop-over-downward_tl8oe_62{border-bottom:2px dashed #3080fe!important}._drop-over-upward_tl8oe_66{border-top:2px dashed #3080fe!important}._itemComponent_tl8oe_70{display:flex;align-items:center;padding:0 12px}._itemLabel_tl8oe_76{padding-right:12px;font-size:12px}._collapseContent_tl8oe_81{padding:0 12px}._itemClose_tl8oe_85{position:absolute;right:12px;top:0;height:48px;line-height:48px}._mddForm_1e2nn_1{display:flex;flex-direction:column;padding:12px}._mddForm_1e2nn_1 .cn-next-collapse .cn-next-collapse-panel-icon{line-height:38px}._mddForm_1e2nn_1 .cn-next-number-picker .cn-next-input.cn-next-small{height:24px;display:flex}._mddForm_1e2nn_1 .cn-next-number-picker-normal .cn-next-input .cn-next-input-control{width:22px}._mddForm_1e2nn_1 .cn-next-form-item-label{color:#000000d9}._FormTitle_1e2nn_20{padding-bottom:8px}._FormTitleHelp_1e2nn_24{font-size:12px;color:#999;padding-bottom:8px}._FormContent_1e2nn_30{padding:28px;background:#f9f9f9}._content_1e2nn_35{padding:12px}._mddTableArray_16ght_1{display:flex;flex-direction:column;padding:0 12px 12px}._mddTableArray_16ght_1 .cn-next-collapse .cn-next-collapse-panel-icon{line-height:38px}._mddTableArray_16ght_1 .cn-next-radio-group .cn-next-radio-label{font-size:12px}._tableArrayTitle_16ght_14{padding-bottom:8px}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title{padding:0 0 0 36px}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon{height:100%;line-height:1;display:flex;align-items:center}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon.cn-next-icon-close{padding:0 6px;cursor:pointer}._tableArrayBottom_16ght_32{padding-top:12px;display:flex;justify-content:center;align-items:center}._itemTitle_16ght_39{display:flex;align-items:center;padding:4px;position:relative}._itemTitle_16ght_39 .cn-next-input.cn-next-medium{height:24px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium input{height:24px;line-height:24px;font-size:12px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium .cn-next-select-values{height:24px;font-size:12px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium .cn-next-input-inner i{margin:0 4px!important}._drop-over-downward_16ght_61{border-bottom:2px dashed #3080fe!important}._drop-over-upward_16ght_65{border-top:2px dashed #3080fe!important}._collapseContent_16ght_69{padding:0 12px}._itemClose_16ght_73{position:absolute;right:12px;top:0;height:48px;line-height:48px}._middleBox_119xt_20{margin-left:"10px";margin-bottom:8px;display:flex}._middleBoxLeft_119xt_26{width:100px;text-align:right}._middleBoxRight_119xt_31{flex:1}._customTabItem_119xt_1{padding:8px}._tabTitle_119xt_5{font-size:14px}._tabLabel_119xt_9{display:inline-block;padding:0 2px}._middleBox_119xt_20{margin-left:"10px";margin-bottom:8px;display:flex}._middleBoxLeft_119xt_26{width:100px;text-align:right}._middleBoxRight_119xt_31{flex:1}._mddTableArray_16ght_1{display:flex;flex-direction:column;padding:0 12px 12px}._mddTableArray_16ght_1 .cn-next-collapse .cn-next-collapse-panel-icon{line-height:38px}._mddTableArray_16ght_1 .cn-next-radio-group .cn-next-radio-label{font-size:12px}._tableArrayTitle_16ght_14{padding-bottom:8px}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title{padding:0 0 0 36px}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon{height:100%;line-height:1;display:flex;align-items:center}._tableArrayContent_16ght_18 .cn-next-collapse>.cn-next-collapse-panel .cn-next-collapse-panel-title .cn-next-icon.cn-next-icon-close{padding:0 6px;cursor:pointer}._tableArrayBottom_16ght_32{padding-top:12px;display:flex;justify-content:center;align-items:center}._itemTitle_16ght_39{display:flex;align-items:center;padding:4px;position:relative}._itemTitle_16ght_39 .cn-next-input.cn-next-medium{height:24px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium input{height:24px;line-height:24px;font-size:12px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium .cn-next-select-values{height:24px;font-size:12px}._itemTitle_16ght_39 .cn-next-input.cn-next-medium .cn-next-input-inner i{margin:0 4px!important}._drop-over-downward_16ght_61{border-bottom:2px dashed #3080fe!important}._drop-over-upward_16ght_65{border-top:2px dashed #3080fe!important}._collapseContent_16ght_69{padding:0 12px}._itemClose_16ght_73{position:absolute;right:12px;top:0;height:48px;line-height:48px}._title_10adh_1{width:100%;display:flex;gap:12px}._titleItem_10adh_7{display:flex;align-items:center}._titleItemLabel_10adh_12{padding-right:12px}._titleItemLabel_10adh_12:first-of-type{padding-left:0}._customTabItem_1lh1l_1{padding:8px}._tabTitle_1lh1l_5{font-size:14px}._tabLabel_1lh1l_9{display:inline-block;padding:0 2px}._mddDetailItems_1lh1l_14 ._itemComponent_1lh1l_14{display:flex;align-items:center;padding:0 12px}._mddDetailItems_1lh1l_14 ._itemLabel_1lh1l_19{padding-right:12px;font-size:12px}.build-page-tab-detail-help{font-size:13px;color:#999;padding:0 12px 12px}._customTabItem_ac2i9_1{padding:8px}._tabTitle_ac2i9_5{font-size:14px}._tabLabel_ac2i9_9{display:inline-block;padding:0 2px}.formily-form-v2-kv{padding:0 12px;display:flex;flex-direction:column;margin-bottom:12px}.formily-form-v2-kv .formily-form-v2-title-wrapper{margin-bottom:8px;line-height:1}.formily-form-v2-kv .formily-form-v2-title-wrapper .title{margin-right:8px}.formily-form-v2-kv .formily-form-v2-title-wrapper .subTitle{color:#585d66;font-size:12px}._kvContainer_rfbib_1{padding:0 12px;display:flex;flex-direction:column;margin-bottom:12px}._kvContainer_rfbib_1 ._kvWrapper_rfbib_7{margin-bottom:8px;line-height:1}._kvContainer_rfbib_1 ._kvWrapper_rfbib_7 ._kvTitle_rfbib_11{margin-right:8px}._kvContainer_rfbib_1 ._kvWrapper_rfbib_7 ._kvSubTitle_rfbib_14{color:#585d66;font-size:12px}.mdd-editor-build-content{flex:1;position:relative}.mdd-editor-build-content .mdd-editor-toolbar{cursor:zoom-in;position:absolute;z-index:100;text-align:right;top:0;right:0;padding:4px 18px;display:flex;align-items:center;gap:8px}.mdd-editor-build-content .preview-tool-full>i{cursor:pointer}.mdd-editor-build-content .preview-tool-full .icon-box{position:absolute;right:12px;top:4px;padding:4px;width:1.5em;height:1.5em;display:flex;justify-content:center;align-items:center;background-color:#00000052;border-radius:2px;cursor:pointer;z-index:19}.mdd-editor-build-content .preview-tool-full .icon-box img{display:inline-block;width:14px;height:14px}.mdd-script-card{position:relative}.mdd-script-card .mdd-script-top-buttons{position:absolute;right:22px;top:12px;display:flex;gap:12px;z-index:10}._customTabItem_1y6va_1{padding:8px}._tabTitle_1y6va_5{font-size:14px}._tabLabel_1y6va_9{display:inline-block;padding:0 2px}.mdd-tip{color:#999;display:inline;padding-left:20px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cniot/mdd-editor",
3
- "version": "0.2.0-beta.48",
3
+ "version": "0.2.0-beta.49",
4
4
  "description": "模型驱动编辑器",
5
5
  "scripts": {
6
6
  "build": "vite build"