@byteluck-fe/model-driven-engine 3.0.0-beta.2 → 3.0.0-beta.5

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/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- var rE=Object.defineProperty,uE=Object.defineProperties;var iE=Object.getOwnPropertyDescriptors;var Wo=Object.getOwnPropertySymbols,oE=Object.getPrototypeOf,aE=Object.prototype.hasOwnProperty,sE=Object.prototype.propertyIsEnumerable,cE=Reflect.get;var Tn=Math.pow,Zo=(G,oe,fe)=>oe in G?rE(G,oe,{enumerable:!0,configurable:!0,writable:!0,value:fe}):G[oe]=fe,ae=(G,oe)=>{for(var fe in oe||(oe={}))aE.call(oe,fe)&&Zo(G,fe,oe[fe]);if(Wo)for(var fe of Wo(oe))sE.call(oe,fe)&&Zo(G,fe,oe[fe]);return G},iu=(G,oe)=>uE(G,iE(oe));var Go=(G,oe,fe)=>cE(oE(G),fe,oe);var ze=(G,oe,fe)=>new Promise((Ln,tn)=>{var kn=We=>{try{Tt(fe.next(We))}catch(Lt){tn(Lt)}},jn=We=>{try{Tt(fe.throw(We))}catch(Lt){tn(Lt)}},Tt=We=>We.done?Ln(We.value):Promise.resolve(We.value).then(kn,jn);Tt((fe=fe.apply(G,oe)).next())});(function(G,oe){typeof exports=="object"&&typeof module!="undefined"?oe(exports,require("crypto")):typeof define=="function"&&define.amd?define(["exports","crypto"],oe):(G=typeof globalThis!="undefined"?globalThis:G||self,oe(G.modelDrivenEngine={},G.require$$0))})(this,function(G,oe){"use strict";function fe(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Ln=fe(oe),tn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",kn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",jn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Tt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",We="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Lt="{caption}\u5FC5\u586B",Jo="\u8BF7\u8F93\u5165\u6807\u9898",Xo="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ko="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Qo="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Yo="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ea="\u8BF7\u7ED1\u5B9A\u8868\u5355",ta="\u8BF7\u7ED1\u5B9A\u5217\u8868",na="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ra="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ua="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ia="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",oa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",aa="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",sa="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ca="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",la="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",fa="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",da="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ha="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",pa="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Da="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",va="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",ga="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ma="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ya="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ea="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ca="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Fa="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Aa="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ba="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",wa="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ba="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_a="\u8BF7\u9009\u62E9\u7701",Sa="\u8BF7\u9009\u62E9\u5E02",Ma="\u8BF7\u9009\u62E9\u533A",$a="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ia="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Na="\u8BF7\u8F93\u5165\u5217\u5BBD",xa="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Oa="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ra="\u8BF7\u9009\u62E9\u63A7\u4EF6",Pa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ta="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",La="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ka="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ja="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qa="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Va="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ua="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ha="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",za="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Wa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Za="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ga="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ja="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Xa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ka="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Qa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ya="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",es="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ts="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ns="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",rs="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",us="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",is="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",os="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",as="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ss="\u6279\u91CF\u5220\u9664",cs="\u6279\u91CF\u6253\u5370",ls="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",fs="\u6309\u94AE",ds="\u521B\u5EFA\u5355\u636E",hs="\u4EEA\u8868\u76D8",ps="\u5206\u5272\u7EBF",Ds="\u5BFC\u51FA",vs="\u8868\u5355\u64CD\u4F5C",gs="\u5BFC\u5165",ms="\u53D1\u7968\u8BC6\u522B",ys="\u94FE\u63A5",Es="\u5217\u8868\u9009\u62E9",Cs="\u5217\u8868\u89C6\u56FE",Fs="\u64CD\u4F5C\u6309\u94AE",As="\u5206\u9875",Bs="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",ws="\u8BF4\u660E\u6587\u5B57",bs="\u6587\u5B57\u8BC6\u522B",_s="\u6807\u9898\u7EC4\u4EF6",Ss="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ms="\u6570\u7EC4",$s="\u81EA\u52A8\u7F16\u53F7",Is="\u81EA\u5B9A\u4E49",Ns="\u6570\u503C",xs="\u90E8\u95E8",Os="\u4EBA\u5458",Rs="\u9644\u4EF6",Ps="\u56FE\u7247",Ts="\u5730\u5740",Ls="\u64CD\u4F5C",ks="\u5E8F\u53F7",js="\u4EBA\u5458",qs="\u957F\u6587\u672C",Vs="\u65E5\u671F\u533A\u95F4",Us="\u65E5\u671F",Hs="\u77ED\u6587\u672C",zs="\u6362\u884C\u5BB9\u5668Wrap",Ws="\u8868\u683C",Zs="\u660E\u7EC6\u5B50\u8868",Gs="\u5730\u5740",Js="\u91D1\u989D",Xs="\u8BA1\u7B97\u516C\u5F0F",Ks="\u591A\u9009",Qs="\u7535\u5B50\u7B7E\u7AE0",Ys="\u5355\u884C\u6587\u672C",ec="\u6570\u5B57",tc="\u4E1A\u52A1\u7EC4\u7EC7",nc="\u5355\u9009",rc="\u5BCC\u6587\u672C",uc="\u8BC4\u5206",ic="\u6570\u5B57\u533A\u95F4",oc="\u4E0B\u62C9\u5355\u9009",ac="\u4E0B\u62C9\u591A\u9009",sc="\u5173\u8054\u5355\u9009",cc="\u591A\u884C\u6587\u672C",lc="\u6811",fc="Vue\u5BB9\u5668",dc="Vue\u9875\u9762",hc="\u5728\u7EBF\u6587\u6863",pc="\u6309\u94AE\u64CD\u4F5C\u680F",Dc="\u9AD8\u7EA7\u5BB9\u5668",vc="\u5206\u7EC4",gc="\u6805\u683C\u5217",mc="\u6570\u636E\u5BB9\u5668",yc="\u753B\u5E03",Ec="\u6362\u884C\u5BB9\u5668",Cc="\u6805\u683C\u7B49\u5206\u884C",Fc="\u5217\u8868\u5BB9\u5668",Ac="\u81EA\u7531\u9875\u9762",Bc="\u5B9A\u4F4D\u5B50\u5BB9\u5668",wc="\u5B9A\u4F4D\u5BB9\u5668",bc="\u6805\u683C\u5E03\u5C40",_c="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Sc="\u660E\u7EC6\u5B50\u8868\u884C",Mc="\u6807\u7B7E\u9875",$c="\u6807\u7B7E\u5355\u5143",Ic="\u5DE5\u5177\u680F",Nc="\u6279\u91CF\u63D0\u4EA4",xc="\u5BFC\u51FA\u8BB0\u5F55",Oc="\u5217\u8868\u89C6\u56FE",Rc="\u7ED3\u675F\u65F6\u95F4",Pc="\u5F00\u59CB\u65F6\u95F4",Tc="\u5355\u4F4D",Lc="\u7ED3\u679C",kc="\u5E01\u79CD",jc="\u7ED3\u675F\u65E5\u671F",qc="\u5F00\u59CB\u65E5\u671F",Vc="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Uc="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Hc="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",zc="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Wc="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Zc="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Gc="\u8BF7\u9009\u62E9",Jc="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Xc="\u8BF7\u9009\u62E9\u90E8\u95E8",Kc="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Qc="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Yc="\u8BF7\u9009\u62E9\u5730\u5740",el="\u5F39\u7A97\u786E\u8BA4\u65F6",tl="\u6807\u7B7E\u9875\u5207\u6362\u65F6",nl="\u884C\u9009\u4E2D\u65F6",rl="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",ul="\u884C\u5220\u9664\u524D",il="\u884C\u70B9\u51FB\u65F6",ol="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",al="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",sl="\u91CD\u547D\u540D\u65F6",cl="\u4FDD\u5B58\u6587\u4EF6\u65F6",ll="\u6253\u5F00\u6587\u4EF6\u65F6",fl="\u83B7\u53D6\u7126\u70B9\u65F6",dl="\u5931\u53BB\u7126\u70B9\u65F6",hl="\u7528\u6237\u8F93\u5165\u65F6",pl="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Dl="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",vl="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",gl="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",ml="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",yl="\u641C\u7D22\u65F6",El="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Cl="\u6267\u884C\u5B8C\u6210\u65F6",Fl="\u70B9\u51FB\u65F6",Al="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Bl="\u8BF7\u8F93\u5165\u65E5\u671F",wl="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",bl="\u8BF7\u8F93\u5165",_l="\u9ED8\u8BA4\u6A21\u7248",Sl="\u5DE6\u53F3\u5E03\u5C40",Ml="\u4E0A\u4E0B\u5E03\u5C40",$l="\u53EA\u8BFB",Il="\u5FC5\u586B",Nl="\u63D0\u793A\u6587\u5B57",xl="\u9690\u85CF\u6807\u9898",Ol="\u6807\u9898\u5FC5\u586B",Rl="\u7EC4\u7EC7\u5F62\u6001",Pl="\u4E1A\u52A1\u7C7B\u578B",Tl="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Ll="\u9690\u85CF",kl="\u6D41\u7A0B\u72B6\u6001",jl="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",ql="\u5220\u9664",Vl="\u7F16\u8F91",Ul="\u67E5\u770B",Hl="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",zl="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Wl="\u5145\u6EE1\u6574\u884C",Zl="\u6700\u5C0F\u503C",Gl="\u6700\u5927\u503C",Jl="\u65B0\u5EFA\u6587\u6863",Xl="\u91CD\u7F6E",Kl="\u67E5\u8BE2",Ql="\u660E\u7EC6",Yl="\u6253\u5370",e0="\u4FDD\u5B58\u8349\u7A3F",t0="\u4FDD\u5B58",n0="\u53D6\u6D88",r0="\u4E0A\u4F20\u56FE\u7247",u0="\u53D1\u8D77\u7B7E\u7F72",i0="\u4E0A\u4F20\u9644\u4EF6",o0="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",a0="\u5F15\u7528\u5217\u8868",s0="\u9009\u9879\u4E00",c0="\u9009\u9879\u4E8C",l0="\u9009\u9879\u4E09",f0={isNotNumber:tn,isNotString:kn,isNotObject:jn,isNotArray:Tt,isNotBoolean:We,runtimeRequired:Lt,pleaseEnterCaption:Jo,pleaseEnterCaptionTip:Xo,pleaseEnterRowCaption:Ko,pleaseEnterPlaceholder:Qo,pleaseEnterFieldCode:Yo,pleaseEnterForm:ea,pleaseEnterList:ta,pleaseEnterProcess:na,pleaseEnterLabel:ra,pleaseEnterValue:ua,bizKeyNotBindFiled:ia,pleaseSelectOneField:oa,pleaseEnterNumberRange:aa,pleaseEnterAValueGreaterThanMin:sa,pleaseEnterAValueLessThanMax:ca,numberRangeSetError:la,stringRangeError:fa,attachmentMaxSize:da,pleaseEnterTotalScoreSetting:ha,theTotalScoreMustNotBeLessThan1:pa,scoreDefaultValueRange:Da,attachmentLimitError:va,PleaseReselectTheOptionalQuantity:ga,TheMaximumLengthIsGreaterThanTheMinimumLength:ma,TheMinimumLengthIsGreaterThanTheMaximumLength:ya,PleaseSelectTheCorrectOptionSettings:Ea,optionIdIsRepeat:Ca,optionIsRequired:Fa,pleaseEnterDataCode:Aa,pleaseEnterValueFieldCode:Ba,pleaseEnterSvcCode:wa,pleaseBindAtLeastOneDisplayValue:ba,pleaseSelectProvince:_a,pleaseSelectCity:Sa,pleaseSelectDistrict:Ma,limitRowsCannotBeLessThan0:$a,TheNumberOfRowsCannotBeLessThanMinRows:Ia,pleaseEnterColumnWidth:Na,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xa,pleaseCompleteAllRulesAndConditions:Oa,pleaseSelectControl:Ra,pleaseSelectAtLeastOneColumn:Pa,pleaseSelectFillBackMode:Ta,pleaseSelectDashboard:La,rootNodeIsRequired:ka,theViewNameCannotBeEmpty:ja,pleaseSelectOcrType:qa,pleaseSelectAtLeastOneFieldToFillIn:Va,pleaseChooseAtLeastOne:Ua,pleaseEnterButtonContent:Ha,pleaseEnterDataCodeInDataSetting:za,pleaseEnterValueFieldCodeInDataSetting:Wa,pleaseEnterSvcCodeInDataSetting:Za,pleaseBindAtLeastOneDisplayValueInDataSetting:Ga,rootNodeIsRequiredInDataSetting:Ja,pleaseEnterMaxHeight:Xa,pleaseEnterWatermark:Ka,pleaseEnterFileName:Qa,pleaseUploadAtLeastOnePrintTemplate:Ya,pleaseAssignBusiness:es,pleaseAssignExternal:ts,pleaseEnterAliasCode:ns,pleaseSelectDataCode:rs,pleaseSelectSvcCode:us,pleaseSelectJoinFieldCode:is,pleaseSelectMainFieldCode:os,pleaseSelectSortFieldCode:as,batchDeleteButton:ss,batchPrintListButton:cs,batchPrintRecordList:ls,button:fs,createFormListButton:ds,dashboard:hs,divider:ps,exportListButton:Ds,formSelectButton:vs,importRecordListButton:gs,invoiceCheckButton:ms,link:ys,listSelectButton:Es,ListViewSelect:Cs,operationButton:Fs,pagination:As,submissionRecordListButton:Bs,text:ws,textOcrButton:bs,title:_s,approvalStatusColumn:Ss,array:Ms,autoNumber:$s,custom:Is,decimal:Ns,department:xs,employee:Os,file:Rs,image:Ps,location:Ts,operation:Ls,order:ks,people:js,long:qs,timescope:Vs,timestamp:Us,varchar:Hs,gridLayoutWrap:zs,gridTable:Ws,subTable:Zs,address:Gs,amount:Js,calc:Xs,checkBox:Ks,electronicSignature:Qs,input:Ys,number:ec,organizationSelection:tc,radio:nc,richText:rc,score:uc,searchNumberRange:ic,select:oc,selectMultiple:ac,selectRelation:sc,textarea:cc,tree:lc,vueFormItem:fc,vuePage:dc,WPS:hc,actionBar:pc,advancedContainer:Dc,cardGroup:vc,col:gc,dataView:mc,grid:yc,gridLayoutContainer:Ec,gridRow:Cc,listView:Fc,page:Ac,position:Bc,positioningContainer:wc,row:bc,subtableColumn:_c,subtableRow:Sc,tab:Mc,tabPane:$c,toolbox:Ic,batchSubmissionListButton:Nc,exportRecordListButton:xc,listViewSelect:Oc,endTime:Rc,startTime:Pc,unit:Tc,result:Lc,currency:kc,endDate:jc,startDate:qc,pleaseSelectCompanyName:Vc,pleaseSelectPhoneOrEmail:Uc,pleaseSelectSignType:Hc,pleaseSelectSigner:zc,pleaseSelectOnlyOne:Wc,pleaseSelectSignFile:Zc,pleaseSelect:Gc,pleaseSelectOrg:Jc,pleaseSelectDept:Xc,pleaseSelectEndDate:Kc,pleaseSelectStartDate:Qc,pleaseChooseAddress:Yc,modalConfirm:el,tabChange:tl,rowSelected:nl,listDataImport:rl,rowDelete:ul,rowClick:il,cellRender:ol,onClickBtn:al,rename:sl,onSaveFile:cl,onOpenFile:ll,onFocus:fl,onBlur:dl,onInput:hl,listDataAdd:pl,listDataDelete:Dl,listDataBack:vl,listDataCreate:gl,listDataChange:ml,search:yl,valueChange:El,finished:Cl,click:Fl,pleaseEnterNameorEmail:Al,pleaseEnterDate:Bl,pleaseEnterAutonumber:wl,pleaseEnter:bl,defaultTemplate:_l,left:Sl,top:Ml,default:"\u666E\u901A",readonly:$l,required:Il,textTip:Nl,hideCaption:xl,titleRequired:Ol,organizationalForm:Rl,businessType:Pl,deleteConfirm:Tl,hide:Ll,processStatus:kl,approvedDocuments:jl,delete:ql,edit:Vl,view:Ul,loadCtrlErrorTip:Hl,loadCtrlError:zl,fullLine:Wl,min:Zl,max:Gl,createWPS:Jl,reset:Xl,query:Kl,detailed:Ql,print:Yl,draft:e0,save:t0,cancel:n0,uploadImg:r0,signature:u0,uploadFile:i0,linkContent:o0,referenceList:a0,optionOne:s0,optionTwo:c0,optionThird:l0},d0="Please enter a number",h0="Please enter a string",p0="Please enter an object",D0="Please enter an array",v0="Please enter a boolean",g0="{caption} Required",m0="Please enter the title",y0="Please enter the bubble prompt",E0="Please enter the row title",C0="Please enter the prompt text",F0="Please bind data items",A0="Please bind the form",B0="Please bind the list",w0="Please bind the process",b0="Please enter the displayed value",_0="Please enter the stored value",S0="The document number is not bound to the data item",M0="Please select at least one display field",$0="Please enter a value greater than or equal to {min} and less than or equal to {max}",I0="Please enter a value greater than or equal to {min}",N0="Please enter a value less than or equal to {max}",x0="The value range is set incorrectly",O0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",R0="The attachment size must be between 0MB and 1000MB",P0="Please fill in the total score setting",T0="The total score cannot be less than 1",L0="The default value must be between {min} and {max}",k0="The number of attachment uploads exceeds the limit",j0="Please re-select the optional quantity",q0="The maximum length of the control must be greater than the minimum length",V0="The minimum length of the control must be less than the maximum length",U0="Please select the correct option setting",H0="Option ID cannot be repeated",z0="Please enter at least one option",W0="Please bind the data source",Z0="Please bind the stored value",G0="Please bind the service",J0="At least one display value must be bound",X0="Please select a province",K0="Please select a city",Q0="Please select a district",Y0="The minimum number of lines to fill in cannot be less than 0",ef="The number of rows cannot be less than {min} rows",tf="Please enter the column width",nf="Please set the logical relationship of all rule conditions",rf="Please complete all rules and conditions",uf="please select control",of="Please select the dashboard",af="View name cannot be empty",sf="Please select recognition type",cf="Please select at least one field to fill in",lf="Please select at least one",ff="Please enter the button title",df="Please bind the business model in the data settings",hf="Please bind storage values in data settings",pf="Please bind the service in the data settings",Df="Please bind at least one display value in the data settings",vf="Please select the root node in the data settings",gf="Please enter the maximum height",mf="The input content cannot be empty",yf="Watermark cannot be empty",Ef="File name cannot be empty",Cf="Please upload at least one printing template!\uFF01",Ff="Please select a specific business department",Af="Please select a specified external organization",Bf="Please enter a sub table alias",wf="Please select the associated table to set the business model",bf="Please select the association table to set the binding service",_f="Select associated sub table fields",Sf="Please select the associated main table field",Mf="Please select the sort field",$f="\u6279\u91CF\u5220\u9664",If="\u6279\u91CF\u6253\u5370",Nf="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",xf="\u6309\u94AE",Of="\u521B\u5EFA\u5355\u636E",Rf="\u4EEA\u8868\u76D8",Pf="\u5206\u5272\u7EBF",Tf="\u5BFC\u51FA",Lf="\u8868\u5355\u64CD\u4F5C",kf="\u5BFC\u5165",jf="\u53D1\u7968\u8BC6\u522B",qf="\u94FE\u63A5",Vf="\u5217\u8868\u9009\u62E9",Uf="\u5217\u8868\u89C6\u56FE",Hf="\u64CD\u4F5C\u6309\u94AE",zf="\u5206\u9875",Wf="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Zf="\u8BF4\u660E\u6587\u5B57",Gf="\u6587\u5B57\u8BC6\u522B",Jf="\u6807\u9898\u7EC4\u4EF6",Xf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Kf="\u6570\u7EC4",Qf="\u81EA\u52A8\u7F16\u53F7",Yf="\u81EA\u5B9A\u4E49",ed="\u6570\u503C",td="\u90E8\u95E8",nd="\u4EBA\u5458",rd="\u9644\u4EF6",ud="\u56FE\u7247",id="\u5730\u5740",od="\u64CD\u4F5C",ad="\u5E8F\u53F7",sd="\u4EBA\u5458",cd="\u957F\u6587\u672C",ld="\u65E5\u671F\u533A\u95F4",fd="\u65E5\u671F",dd="\u77ED\u6587\u672C",hd="\u6362\u884C\u5BB9\u5668Wrap",pd="\u8868\u683C",Dd="\u660E\u7EC6\u5B50\u8868",vd="\u5730\u5740",gd="\u91D1\u989D",md="\u8BA1\u7B97\u516C\u5F0F",yd="\u591A\u9009",Ed="\u7535\u5B50\u7B7E\u7AE0",Cd="\u5355\u884C\u6587\u672C",Fd="\u6570\u5B57",Ad="\u4E1A\u52A1\u7EC4\u7EC7",Bd="\u5355\u9009",wd="\u5BCC\u6587\u672C",bd="\u8BC4\u5206",_d="\u6570\u5B57\u533A\u95F4",Sd="\u4E0B\u62C9\u5355\u9009",Md="\u4E0B\u62C9\u591A\u9009",$d="\u5173\u8054\u5355\u9009",Id="\u591A\u884C\u6587\u672C",Nd="\u6811",xd="Vue\u5BB9\u5668",Od="Vue\u9875\u9762",Rd="\u5728\u7EBF\u6587\u6863",Pd="\u6309\u94AE\u64CD\u4F5C\u680F",Td="\u9AD8\u7EA7\u5BB9\u5668",Ld="\u5206\u7EC4",kd="\u6805\u683C\u5217",jd="\u6570\u636E\u5BB9\u5668",qd="\u753B\u5E03",Vd="\u6362\u884C\u5BB9\u5668",Ud="\u6805\u683C\u7B49\u5206\u884C",Hd="\u5217\u8868\u5BB9\u5668",zd="\u81EA\u7531\u9875\u9762",Wd="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Zd="\u5B9A\u4F4D\u5BB9\u5668",Gd="\u6805\u683C\u5E03\u5C40",Jd="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Xd="\u660E\u7EC6\u5B50\u8868\u884C",Kd="\u6807\u7B7E\u9875",Qd="\u6807\u7B7E\u5355\u5143",Yd="\u5DE5\u5177\u680F",eh="\u6279\u91CF\u63D0\u4EA4",th="\u5BFC\u51FA\u8BB0\u5F55",nh="\u5217\u8868\u89C6\u56FE",rh="\u5F15\u7528\u5217\u8868",uh="\u9009\u9879\u4E00",ih="\u9009\u9879\u4E8C",oh="\u9009\u9879\u4E09",ah={isNotNumber:d0,isNotString:h0,isNotObject:p0,isNotArray:D0,isNotBoolean:v0,runtimeRequired:g0,pleaseEnterCaption:m0,pleaseEnterCaptionTip:y0,pleaseEnterRowCaption:E0,pleaseEnterPlaceholder:C0,pleaseEnterFieldCode:F0,pleaseEnterForm:A0,pleaseEnterList:B0,pleaseEnterProcess:w0,pleaseEnterLabel:b0,pleaseEnterValue:_0,bizKeyNotBindFiled:S0,pleaseSelectOneField:M0,pleaseEnterNumberRange:$0,pleaseEnterAValueGreaterThanMin:I0,pleaseEnterAValueLessThanMax:N0,numberRangeSetError:x0,stringRangeError:O0,attachmentMaxSize:R0,pleaseEnterTotalScoreSetting:P0,theTotalScoreMustNotBeLessThan1:T0,scoreDefaultValueRange:L0,attachmentLimitError:k0,PleaseReselectTheOptionalQuantity:j0,TheMaximumLengthIsGreaterThanTheMinimumLength:q0,TheMinimumLengthIsGreaterThanTheMaximumLength:V0,PleaseSelectTheCorrectOptionSettings:U0,optionIdIsRepeat:H0,optionIsRequired:z0,pleaseEnterDataCode:W0,pleaseEnterValueFieldCode:Z0,pleaseEnterSvcCode:G0,pleaseBindAtLeastOneDisplayValue:J0,pleaseSelectProvince:X0,pleaseSelectCity:K0,pleaseSelectDistrict:Q0,limitRowsCannotBeLessThan0:Y0,TheNumberOfRowsCannotBeLessThanMinRows:ef,pleaseEnterColumnWidth:tf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nf,pleaseCompleteAllRulesAndConditions:rf,pleaseSelectControl:uf,pleaseSelectDashboard:of,theViewNameCannotBeEmpty:af,pleaseSelectOcrType:sf,pleaseSelectAtLeastOneFieldToFillIn:cf,pleaseChooseAtLeastOne:lf,pleaseEnterButtonContent:ff,pleaseEnterDataCodeInDataSetting:df,pleaseEnterValueFieldCodeInDataSetting:hf,pleaseEnterSvcCodeInDataSetting:pf,pleaseBindAtLeastOneDisplayValueInDataSetting:Df,rootNodeIsRequiredInDataSetting:vf,pleaseEnterMaxHeight:gf,pleaseEnter:mf,pleaseEnterWatermark:yf,pleaseEnterFileName:Ef,pleaseUploadAtLeastOnePrintTemplate:Cf,pleaseAssignBusiness:Ff,pleaseAssignExternal:Af,pleaseEnterAliasCode:Bf,pleaseSelectDataCode:wf,pleaseSelectSvcCode:bf,pleaseSelectJoinFieldCode:_f,pleaseSelectMainFieldCode:Sf,pleaseSelectSortFieldCode:Mf,batchDeleteButton:$f,batchPrintListButton:If,batchPrintRecordList:Nf,button:xf,createFormListButton:Of,dashboard:Rf,divider:Pf,exportListButton:Tf,formSelectButton:Lf,importRecordListButton:kf,invoiceCheckButton:jf,link:qf,listSelectButton:Vf,ListViewSelect:Uf,operationButton:Hf,pagination:zf,submissionRecordListButton:Wf,text:Zf,textOcrButton:Gf,title:Jf,approvalStatusColumn:Xf,array:Kf,autoNumber:Qf,custom:Yf,decimal:ed,department:td,employee:nd,file:rd,image:ud,location:id,operation:od,order:ad,people:sd,long:cd,timescope:ld,timestamp:fd,varchar:dd,gridLayoutWrap:hd,gridTable:pd,subTable:Dd,address:vd,amount:gd,calc:md,checkBox:yd,electronicSignature:Ed,input:Cd,number:Fd,organizationSelection:Ad,radio:Bd,richText:wd,score:bd,searchNumberRange:_d,select:Sd,selectMultiple:Md,selectRelation:$d,textarea:Id,tree:Nd,vueFormItem:xd,vuePage:Od,WPS:Rd,actionBar:Pd,advancedContainer:Td,cardGroup:Ld,col:kd,dataView:jd,grid:qd,gridLayoutContainer:Vd,gridRow:Ud,listView:Hd,page:zd,position:Wd,positioningContainer:Zd,row:Gd,subtableColumn:Jd,subtableRow:Xd,tab:Kd,tabPane:Qd,toolbox:Yd,batchSubmissionListButton:eh,exportRecordListButton:th,listViewSelect:nh,referenceList:rh,optionOne:uh,optionTwo:ih,optionThird:oh},sh="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ch="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hh="{caption}\u5FC5\u9808",ph="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Eh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ch="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ah="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",wh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_h="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",$h="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ih="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Nh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Oh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Rh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Ph="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Th="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Lh="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",qh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Vh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Wh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Gh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Kh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Yh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ep="please select control",tp="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",np="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",rp="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",up="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ip="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",op="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ap="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",sp="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",cp="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",lp="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",fp="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dp="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hp="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",pp="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Dp="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",vp="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",gp="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mp="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yp="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ep="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Cp="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fp="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ap="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bp="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wp="\u6279\u91CF\u5220\u9664",bp="\u6279\u91CF\u6253\u5370",_p="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Sp="\u6309\u94AE",Mp="\u521B\u5EFA\u5355\u636E",$p="\u4EEA\u8868\u76D8",Ip="\u5206\u5272\u7EBF",Np="\u5BFC\u51FA",xp="\u8868\u5355\u64CD\u4F5C",Op="\u5BFC\u5165",Rp="\u53D1\u7968\u8BC6\u522B",Pp="\u94FE\u63A5",Tp="\u5217\u8868\u9009\u62E9",Lp="\u5217\u8868\u89C6\u56FE",kp="\u64CD\u4F5C\u6309\u94AE",jp="\u5206\u9875",qp="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Vp="\u8BF4\u660E\u6587\u5B57",Up="\u6587\u5B57\u8BC6\u522B",Hp="\u6807\u9898\u7EC4\u4EF6",zp="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Wp="\u6570\u7EC4",Zp="\u81EA\u52A8\u7F16\u53F7",Gp="\u81EA\u5B9A\u4E49",Jp="\u6570\u503C",Xp="\u90E8\u95E8",Kp="\u4EBA\u5458",Qp="\u9644\u4EF6",Yp="\u56FE\u7247",e1="\u5730\u5740",t1="\u64CD\u4F5C",n1="\u5E8F\u53F7",r1="\u4EBA\u5458",u1="\u957F\u6587\u672C",i1="\u65E5\u671F\u533A\u95F4",o1="\u65E5\u671F",a1="\u77ED\u6587\u672C",s1="\u6362\u884C\u5BB9\u5668Wrap",c1="\u8868\u683C",l1="\u660E\u7EC6\u5B50\u8868",f1="\u5730\u5740",d1="\u91D1\u989D",h1="\u8BA1\u7B97\u516C\u5F0F",p1="\u591A\u9009",D1="\u7535\u5B50\u7B7E\u7AE0",v1="\u5355\u884C\u6587\u672C",g1="\u6570\u5B57",m1="\u4E1A\u52A1\u7EC4\u7EC7",y1="\u5355\u9009",E1="\u5BCC\u6587\u672C",C1="\u8BC4\u5206",F1="\u6570\u5B57\u533A\u95F4",A1="\u4E0B\u62C9\u5355\u9009",B1="\u4E0B\u62C9\u591A\u9009",w1="\u5173\u8054\u5355\u9009",b1="\u591A\u884C\u6587\u672C",_1="\u6811",S1="Vue\u5BB9\u5668",M1="Vue\u9875\u9762",$1="\u5728\u7EBF\u6587\u6863",I1="\u6309\u94AE\u64CD\u4F5C\u680F",N1="\u9AD8\u7EA7\u5BB9\u5668",x1="\u5206\u7EC4",O1="\u6805\u683C\u5217",R1="\u6570\u636E\u5BB9\u5668",P1="\u753B\u5E03",T1="\u6362\u884C\u5BB9\u5668",L1="\u6805\u683C\u7B49\u5206\u884C",k1="\u5217\u8868\u5BB9\u5668",j1="\u81EA\u7531\u9875\u9762",q1="\u5B9A\u4F4D\u5B50\u5BB9\u5668",V1="\u5B9A\u4F4D\u5BB9\u5668",U1="\u6805\u683C\u5E03\u5C40",H1="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",z1="\u660E\u7EC6\u5B50\u8868\u884C",W1="\u6807\u7B7E\u9875",Z1="\u6807\u7B7E\u5355\u5143",G1="\u5DE5\u5177\u680F",J1="\u6279\u91CF\u63D0\u4EA4",X1="\u5BFC\u51FA\u8BB0\u5F55",K1="\u5217\u8868\u89C6\u56FE",Q1="\u5F15\u7528\u5217\u8868",Y1="\u9009\u9879\u4E00",eD="\u9009\u9879\u4E8C",tD="\u9009\u9879\u4E09",nD={isNotNumber:sh,isNotString:ch,isNotObject:lh,isNotArray:fh,isNotBoolean:dh,runtimeRequired:hh,pleaseEnterCaption:ph,pleaseEnterCaptionTip:Dh,pleaseEnterRowCaption:vh,pleaseEnterPlaceholder:gh,pleaseEnterFieldCode:mh,pleaseEnterForm:yh,pleaseEnterList:Eh,pleaseEnterProcess:Ch,pleaseEnterLabel:Fh,pleaseEnterValue:Ah,bizKeyNotBindFiled:Bh,pleaseSelectOneField:wh,pleaseEnterNumberRange:bh,pleaseEnterAValueGreaterThanMin:_h,pleaseEnterAValueLessThanMax:Sh,numberRangeSetError:Mh,stringRangeError:$h,attachmentMaxSize:Ih,pleaseEnterTotalScoreSetting:Nh,theTotalScoreMustNotBeLessThan1:xh,scoreDefaultValueRange:Oh,attachmentLimitError:Rh,PleaseReselectTheOptionalQuantity:Ph,TheMaximumLengthIsGreaterThanTheMinimumLength:Th,TheMinimumLengthIsGreaterThanTheMaximumLength:Lh,PleaseSelectTheCorrectOptionSettings:kh,optionIdIsRepeat:jh,optionIsRequired:qh,pleaseEnterDataCode:Vh,pleaseEnterValueFieldCode:Uh,pleaseEnterSvcCode:Hh,pleaseBindAtLeastOneDisplayValue:zh,pleaseSelectProvince:Wh,pleaseSelectCity:Zh,pleaseSelectDistrict:Gh,limitRowsCannotBeLessThan0:Jh,TheNumberOfRowsCannotBeLessThanMinRows:Xh,pleaseEnterColumnWidth:Kh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Qh,pleaseCompleteAllRulesAndConditions:Yh,pleaseSelectControl:ep,pleaseSelectDashboard:tp,theViewNameCannotBeEmpty:np,pleaseSelectOcrType:rp,pleaseSelectAtLeastOneFieldToFillIn:up,pleaseChooseAtLeastOne:ip,pleaseEnterButtonContent:op,pleaseEnterDataCodeInDataSetting:ap,pleaseEnterValueFieldCodeInDataSetting:sp,pleaseEnterSvcCodeInDataSetting:cp,pleaseBindAtLeastOneDisplayValueInDataSetting:lp,rootNodeIsRequiredInDataSetting:fp,pleaseEnterMaxHeight:dp,pleaseEnter:hp,pleaseEnterWatermark:pp,pleaseEnterFileName:Dp,pleaseUploadAtLeastOnePrintTemplate:vp,pleaseAssignBusiness:gp,pleaseAssignExternal:mp,pleaseEnterAliasCode:yp,pleaseSelectDataCode:Ep,pleaseSelectSvcCode:Cp,pleaseSelectJoinFieldCode:Fp,pleaseSelectMainFieldCode:Ap,pleaseSelectSortFieldCode:Bp,batchDeleteButton:wp,batchPrintListButton:bp,batchPrintRecordList:_p,button:Sp,createFormListButton:Mp,dashboard:$p,divider:Ip,exportListButton:Np,formSelectButton:xp,importRecordListButton:Op,invoiceCheckButton:Rp,link:Pp,listSelectButton:Tp,ListViewSelect:Lp,operationButton:kp,pagination:jp,submissionRecordListButton:qp,text:Vp,textOcrButton:Up,title:Hp,approvalStatusColumn:zp,array:Wp,autoNumber:Zp,custom:Gp,decimal:Jp,department:Xp,employee:Kp,file:Qp,image:Yp,location:e1,operation:t1,order:n1,people:r1,long:u1,timescope:i1,timestamp:o1,varchar:a1,gridLayoutWrap:s1,gridTable:c1,subTable:l1,address:f1,amount:d1,calc:h1,checkBox:p1,electronicSignature:D1,input:v1,number:g1,organizationSelection:m1,radio:y1,richText:E1,score:C1,searchNumberRange:F1,select:A1,selectMultiple:B1,selectRelation:w1,textarea:b1,tree:_1,vueFormItem:S1,vuePage:M1,WPS:$1,actionBar:I1,advancedContainer:N1,cardGroup:x1,col:O1,dataView:R1,grid:P1,gridLayoutContainer:T1,gridRow:L1,listView:k1,page:j1,position:q1,positioningContainer:V1,row:U1,subtableColumn:H1,subtableRow:z1,tab:W1,tabPane:Z1,toolbox:G1,batchSubmissionListButton:J1,exportRecordListButton:X1,listViewSelect:K1,referenceList:Q1,optionOne:Y1,optionTwo:eD,optionThird:tD},qn={zhCN:f0,enUS:ah,jaJP:nD},Re;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Re||(Re={}));var yt;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(yt||(yt={}));var Vn,ou=(Vn=window.localStorage.getItem("locale"))!==null&&Vn!==void 0?Vn:"zh-CN",Z;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Z||(Z={}));var au;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(au||(au={}));var ue;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page",e.REFERENCE_LIST="reference-list"})(ue||(ue={}));var su;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(su||(su={}));var se;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(se||(se={}));var cu;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(cu||(cu={}));var lu="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",rD=lu+"0123456789";function nn(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?lu:rD,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function Un(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function uD(e){if(Array.isArray(e))return Un(e)}function iD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fu(e,t,n){return t=kt(t),cD(e,zn()?Reflect.construct(t,n||[],kt(e).constructor):t.apply(e,n))}function du(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,n){return zn()?rn=Reflect.construct:rn=function(u,i,o){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(u,a),c=new s;return o&&jt(c,o.prototype),c},rn.apply(null,arguments)}function kt(e){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(e)}function hu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function oD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function aD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function cD(e,t){return t&&(lD(t)==="object"||typeof t=="function")?t:iD(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},jt(e,t)}function pu(e){return uD(e)||aD(e)||fD(e)||sD()}function lD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fD(e,t){if(!!e){if(typeof e=="string")return Un(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Un(e,t)}}function Hn(e){var t=typeof Map=="function"?new Map:void 0;return Hn=function(r){if(r===null||!oD(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return rn(r,arguments,kt(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jt(u,r)},Hn(e)}function zn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zn=function(){return!!e})()}var Wn=console;function Et(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=Wn).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(pu(u)))}function Zn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=Wn).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(pu(u)))}function dD(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Gn=function(e){hu(t,e);function t(n){du(this,t);var r;return r=fu(this,t,[n]),r.name="\u{1F4A5} Driven Error",r.message=n?dD(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return t}(Hn(Error)),hD=function(e){hu(t,e);function t(n){du(this,t);var r;return r=fu(this,t,[n]),r.name="\u{1F6A8} Driven Reference Error",r}return t}(Gn);function Ze(e){throw new Gn(e)}function Du(e){throw new hD(e)}function un(e){Wn.error(new Gn(e))}function Ge(e,t){Array.isArray(e)&&e.map(function(n){switch(n.controlType){case"layout":Ge(n==null?void 0:n.children,t);break;case"wrap":Ge(n==null?void 0:n.children,t);break;case"search":Ge(n==null?void 0:n.children,t);break;case"form":t(n)}})}const z=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const r=e.split(".");let u;const i=(window.baitedaWorkers||{}).languageMessages||{};r.forEach((a,s)=>{s===0?u=i[a]:u&&(u=u[a])});let o="";return u&&(o=u),t&&Object.keys(t).forEach(a=>{const s=t[a];o=o.replace(new RegExp(`\\{\\s*${a}\\s*\\}`,"g"),s)}),o||(n?o=n:o=e),o};function pD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function DD(e,t,n){return t&&vu(e.prototype,t),n&&vu(e,n),e}function vD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gu=function(){function e(){pD(this,e)}return DD(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return z("CMD."+n,r,qn==null||(u=qn[ou.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,r){}}]),e}();vD(gu,"$i18n",gu.resetI18n());function Jn(e,t,n){var r=t.replace(/\[(\d)]/g,function(i,o){return"."+o}).split("."),u=!1;return r.reduce(function(i,o,a,s){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,o)){Et("Can not set ".concat(t,"'s ").concat(o," property in current %o, Because there is no ").concat(o," property on the %o"),i,i);return}return a===s.length-1&&!Object.is(c[o],n)&&(c[o]=n,u=!0),c[o]}},e),u}var et=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function gD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xn={exports:{}};(function(e){(function(t){var n=function(h,m,y){if(!c(m)||f(m)||d(m)||p(m)||s(m))return m;var C,B=0,M=0;if(l(m))for(C=[],M=m.length;B<M;B++)C.push(n(h,m[B],y));else{C={};for(var I in m)Object.prototype.hasOwnProperty.call(m,I)&&(C[h(I,y)]=n(h,m[I],y))}return C},r=function(h,m){m=m||{};var y=m.separator||"_",C=m.split||/(?=[A-Z])/;return h.split(C).join(y)},u=function(h){return g(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(m,y){return y?y.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var m=u(h);return m.substr(0,1).toUpperCase()+m.substr(1)},o=function(h,m){return r(h,m).toLowerCase()},a=Object.prototype.toString,s=function(h){return typeof h=="function"},c=function(h){return h===Object(h)},l=function(h){return a.call(h)=="[object Array]"},f=function(h){return a.call(h)=="[object Date]"},d=function(h){return a.call(h)=="[object RegExp]"},p=function(h){return a.call(h)=="[object Boolean]"},g=function(h){return h=h-0,h===h},v=function(h,m){var y=m&&"process"in m?m.process:m;return typeof y!="function"?h:function(C,B){return y(C,h,B)}},F={camelize:u,decamelize:o,pascalize:i,depascalize:o,camelizeKeys:function(h,m){return n(v(u,m),h)},decamelizeKeys:function(h,m){return n(v(o,m),h,m)},pascalizeKeys:function(h,m){return n(v(i,m),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=F:t.humps=F})(et)})(Xn);var mu={};Object.defineProperty(mu,"__esModule",{value:!0});function Kn(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Kn(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:Kn(r)}return t}}var mD=mu.default=Kn;function yu(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":yu(e))==="object"?mD(e):e}function Pe(e){return Object.prototype.toString.call(e)==="[object Object]"}function yD(e){return e!=null&&(typeof e=="undefined"?"undefined":yu(e))==="object"&&Array.isArray(e)===!1}function ft(e){return Array.isArray(e)}function Fe(e){return typeof e=="string"}function on(e){return typeof e=="number"}function Eu(e){return typeof e=="function"}function ED(e){return ft(e)&&e.every(function(t){return Fe(t)})}function CD(e){return ft(e)&&e.every(function(t){return on(t)||t===""})}function Cu(e){return/^\[.*?]$/.test(e)}function an(e){return/^{.*?}$/.test(e)}function FD(e){return Object.values(ue).includes(e)}function Qn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function AD(e){if(Array.isArray(e))return Qn(e)}function Fu(e,t,n,r,u,i,o){try{var a=e[i](o),s=a.value}catch(c){n(c);return}a.done?t(s):Promise.resolve(s).then(r,u)}function BD(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function o(s){Fu(i,r,u,o,a,"next",s)}function a(s){Fu(i,r,u,o,a,"throw",s)}o(void 0)})}}function wD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bD(e,t,n){return t&&Au(e.prototype,t),n&&Au(e,n),e}function Bu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _D(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function SD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yn(e){return AD(e)||_D(e)||MD(e)||SD()}function MD(e,t){if(!!e){if(typeof e=="string")return Qn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qn(e,t)}}function $D(e,t){var n,r,u,i,o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(l){return s([c,l])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=c[0]&2?r.return:c[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,c[1])).done)return u;switch(r=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){o.label=c[1];break}if(c[0]===6&&o.label<u[1]){o.label=u[1],u=c;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(c);break}u[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(l){c=[6,l],r=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var wu=function(){function e(){wD(this,e),Bu(this,"_events",new Map),Bu(this,"debug",!1)}return bD(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),i=1;i<r;i++)u[i-1]=arguments[i];var o=this;return BD(function(){var a,s,c,l,f,d,p,g,v,F,h,m;return $D(this,function(y){switch(y.label){case 0:if(a=o._events.get(n),s=[],!a)return[3,10];c=a.slice(),l=!0,f=!1,d=void 0,y.label=1;case 1:y.trys.push([1,8,9,10]),p=c[Symbol.iterator](),y.label=2;case 2:if(l=(g=p.next()).done)return[3,7];if(v=g.value,!a.includes(v))return[3,6];y.label=3;case 3:return y.trys.push([3,5,,6]),o.debug&&Zn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Yn(u))),[4,v.apply(null,Yn(u))];case 4:return F=y.sent(),o.debug&&Zn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Yn(u),[F])),s.push(F),F===!1?[3,7]:[3,6];case 5:return h=y.sent(),un(String(h)+":"+String(h.stack)),[3,6];case 6:return l=!0,[3,2];case 7:return[3,10];case 8:return m=y.sent(),f=!0,d=m,[3,10];case 9:try{!l&&p.return!=null&&p.return()}finally{if(f)throw d}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),i=u==null?void 0:u.indexOf(r);u==null||u.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function ID(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ND(e,t,n){return t&&bu(e.prototype,t),n&&bu(e,n),e}function xD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OD=[{key:"on_click",name:z("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:z("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:z("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:z("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:z("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:z("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:z("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:z("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:z("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:z("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:z("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:z("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:z("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:z("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:z("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:z("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:z("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:z("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:z("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:z("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:z("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:z("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:z("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"}],_u=function(){function e(){ID(this,e)}return ND(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(u){return r.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],u=n.eventKeys;r=r.concat(e.events.filter(function(o){return u.includes(o.key)}));var i=n.customEvents.map(function(o){var a=o.key;return o.namespace!==void 0&&o.namespace!==null&&o.namespace!==""&&(a=o.namespace+":"+o.key),{key:a,code:o.key,name:o.name}});return r=r.concat(i),r}}]),e}();xD(_u,"events",OD);function er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function RD(e){if(Array.isArray(e))return er(e)}function PD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function TD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Su(e){return RD(e)||PD(e)||LD(e)||TD()}function LD(e,t){if(!!e){if(typeof e=="string")return er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return er(e,t)}}function tr(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Mu(e,t,n){n!=="Runtime"&&(e.parent=t,tr(e,"parent"))}function kD(e,t,n){e.forEach(function(r){Mu(r,t,n)})}var $u=Symbol("targetKey");function Iu(e){var t;return(t=e[$u])!==null&&t!==void 0?t:e}function Nu(e,t,n){return kD(e,t,n),new Proxy(e,{get:function(u,i){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];var c;return i===$u?u:(c=Reflect).get.apply(c,[u,i].concat(Su(a)))},set:function(u,i,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c<a;c++)s[c-3]=arguments[c];var l;if(ft(e)&&i==="length"&&o===e.length)return!0;var f=(l=Reflect).set.apply(l,[u,i,o].concat(Su(s)));return Pe(o)&&Mu(o,t,n),f}})}function nr(e,t,n,r,u){var i=r!=null?r:e,o=Nu(Iu(n!=null?n:[]),i,u);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=Nu(Iu(s),i,u)},enumerable:!0})}function jD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qD(e,t,n){return t&&xu(e.prototype,t),n&&xu(e,n),e}function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ou=[],qt=function(){function e(t){jD(this,e),tt(this,"registeredControlTypes",new Set),tt(this,"controlConfigMap",new Map),tt(this,"_controls",[]),tt(this,"_type",void 0),this._type=t,this._initControls(t)}return qD(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Ze("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(u){return u.controlType===n.controlType});return r>-1&&(Et("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Z.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Z.FORM}},{key:"isListControl",value:function(n){return n.controlType===Z.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Z.COLUMN}},{key:"createControl",value:function(n,r){var u=this;if(Array.isArray(n))return n.map(function(l){return u.createControl(l,r)});if(n.children&&(n.children=n.children.map(function(l){return u.createControl(l,r)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(l){return u.createControl(l,r)}))}var o=this.getControlFormType(n.type);if(o){var a=n;if(typeof r=="function"){var s=r(a);s&&(a=s)}var c;return o.mode==="Runtime"?(c=a,c.fieldType=o.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new o(a),c}else Ze("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,r){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return r}}),tr(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,o=r._controlParentIdMap,a=r.instanceMap;if(!(!o||!a)){var s=o[i],c=a[i];if(!(!s&&!c)){var l=c.findIndex(function(p){return p==n}),f=a[s]||[],d;return f.length!==c.length?d=f[0]:d=f[l],d}}}}),tr(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var u=this.getControlFormType(n);if(u)return new u(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(u){r.register(u[n]),e.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var u=e.staticControlsRuntimeRules.get(n),i=[];if(u){var o=new u(r);i=Array.from(o)}return i}},{key:"register",value:function(n,r){var u=n.Designer,i=n.Runtime,o=n.Property;(!u||!i||!u.__is_control__||!i.__is_control__)&&Ze("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return a>-1&&(Et("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),o.mode=r,this}}]),e}();tt(qt,"staticControlsRuntimeRules",new Map),tt(qt,"staticControls",Ou),tt(qt,"staticRegisteredTypes",new Set(Ou.map(function(e){return e.Designer.controlType}))),tt(qt,"staticRegisteredConfigs",new Map);function dt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rr=function e(t){dt(this,e),ie(this,"dataCode",void 0),ie(this,"fieldCode",void 0),ie(this,"fieldType",void 0),ie(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=t==null?void 0:t.aliasCode},VD=function e(t){dt(this,e),ie(this,"minWidth",void 0),ie(this,"maxWidth",void 0),ie(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},ur=function e(t){dt(this,e),ie(this,"amount",void 0),ie(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var r;this.currency=(r=t==null?void 0:t.currency)!==null&&r!==void 0?r:"CNY"},ir=function e(t){dt(this,e),ie(this,"min",void 0),ie(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var r;this.max=(r=t==null?void 0:t.max)!==null&&r!==void 0?r:""},or=function e(t){dt(this,e),ie(this,"city",void 0),ie(this,"cityDisplay",void 0),ie(this,"district",void 0),ie(this,"districtDisplay",void 0),ie(this,"province",void 0),ie(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var r;this.cityDisplay=(r=t==null?void 0:t.cityDisplay)!==null&&r!==void 0?r:"";var u;this.district=(u=t==null?void 0:t.district)!==null&&u!==void 0?u:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var o;this.province=(o=t==null?void 0:t.province)!==null&&o!==void 0?o:"";var a;this.provinceDisplay=(a=t==null?void 0:t.provinceDisplay)!==null&&a!==void 0?a:""},ar=function e(t){dt(this,e),ie(this,"result",void 0),ie(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var r;this.unit=(r=t==null?void 0:t.unit)!==null&&r!==void 0?r:""},Ru;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Ru||(Ru={}));var Pu;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",e.IS_SHOW_TOOL_BAE="isShowToolbar",e.MAIN_DEPT_FLAG="mainDeptFlag"})(Pu||(Pu={}));var sr;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(sr||(sr={}));var UD=function e(t){dt(this,e),ie(this,"width",void 0),ie(this,"height",void 0),ie(this,"widthConfig",void 0),ie(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function HD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zD(e,t,n){return t=Vt(t),GD(e,fr()?Reflect.construct(t,n||[],Vt(e).constructor):t.apply(e,n))}function cr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sn(e,t,n){return fr()?sn=Reflect.construct:sn=function(u,i,o){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(u,a),c=new s;return o&&Ut(c,o.prototype),c},sn.apply(null,arguments)}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vt(e){return Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vt(e)}function WD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ut(e,t)}function ZD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function GD(e,t){return t&&(JD(t)==="object"||typeof t=="function")?t:HD(e)}function Ut(e,t){return Ut=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ut(e,t)}function JD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lr(e){var t=typeof Map=="function"?new Map:void 0;return lr=function(r){if(r===null||!ZD(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return sn(r,arguments,Vt(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ut(u,r)},lr(e)}function fr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fr=function(){return!!e})()}var dr=function e(t){cr(this,e),Je(this,"isHide",{type:"boolean"})},Tu=function(e){WD(t,e);function t(n){return cr(this,t),zD(this,t)}return t}(lr(Array)),Xe=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";cr(this,e),Je(this,"isHide",void 0),Je(this,"className",void 0),Je(this,"style",void 0),Je(this,"caption",void 0),Je(this,"defaultState",void 0);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new UD(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};Je(Xe,"mode",void 0),Je(Xe,"Rules",dr),Je(Xe,"RuntimeRules",Tu);function Ve(){return Ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ve.apply(this,arguments)}function XD(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},cn(e,t)}function KD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function ln(e,t,n){return KD()?ln=Reflect.construct:ln=function(u,i,o){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(u,a),c=new s;return o&&cn(c,o.prototype),c},ln.apply(null,arguments)}function QD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function pr(e){var t=typeof Map=="function"?new Map:void 0;return pr=function(r){if(r===null||!QD(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return ln(r,arguments,hr(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),cn(u,r)},pr(e)}var YD=/%[sdj%]/g,Lu=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Lu=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Dr(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Se(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],i=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var o=String(u).replace(YD,function(a){if(a==="%%")return"%";if(r>=i)return a;switch(a){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(s){return"[Circular]"}break;default:return a}});return o}return u}function ev(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function de(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||ev(t)&&typeof e=="string"&&!e)}function tv(e,t,n){var r=[],u=0,i=e.length;function o(a){r.push.apply(r,a),u++,u===i&&n(r)}e.forEach(function(a){t(a,o)})}function ku(e,t,n){var r=0,u=e.length;function i(o){if(o&&o.length){n(o);return}var a=r;r=r+1,a<u?t(e[a],i):n([])}i([])}function nv(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var ju=function(e){XD(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(pr(Error));function rv(e,t,n,r){if(t.first){var u=new Promise(function(f,d){var p=function(F){return r(F),F.length?d(new ju(F,Dr(F))):f()},g=nv(e);ku(g,n,p)});return u.catch(function(f){return f}),u}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var o=Object.keys(e),a=o.length,s=0,c=[],l=new Promise(function(f,d){var p=function(v){if(c.push.apply(c,v),s++,s===a)return r(c),c.length?d(new ju(c,Dr(c))):f()};o.length||(r(c),f()),o.forEach(function(g){var v=e[g];i.indexOf(g)!==-1?ku(v,n,p):tv(v,n,p)})});return l.catch(function(f){return f}),l}function qu(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Vu(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Ve(Ve({},e[n]),r):e[n]=r}}return e}function Uu(e,t,n,r,u,i){e.required&&(!n.hasOwnProperty(e.field)||de(t,i||e.type))&&r.push(Se(u.messages.required,e.fullField))}function uv(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push(Se(u.messages.whitespace,e.fullField))}var vr={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Ht={integer:function(t){return Ht.number(t)&&parseInt(t,10)===t},float:function(t){return Ht.number(t)&&!Ht.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Ht.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(vr.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(vr.url)},hex:function(t){return typeof t=="string"&&!!t.match(vr.hex)}};function iv(e,t,n,r,u){if(e.required&&t===void 0){Uu(e,t,n,r,u);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=e.type;i.indexOf(o)>-1?Ht[o](t)||r.push(Se(u.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&r.push(Se(u.messages.types[o],e.fullField,e.type))}function ov(e,t,n,r,u){var i=typeof e.len=="number",o=typeof e.min=="number",a=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,l=null,f=typeof t=="number",d=typeof t=="string",p=Array.isArray(t);if(f?l="number":d?l="string":p&&(l="array"),!l)return!1;p&&(c=t.length),d&&(c=t.replace(s,"_").length),i?c!==e.len&&r.push(Se(u.messages[l].len,e.fullField,e.len)):o&&!a&&c<e.min?r.push(Se(u.messages[l].min,e.fullField,e.min)):a&&!o&&c>e.max?r.push(Se(u.messages[l].max,e.fullField,e.max)):o&&a&&(c<e.min||c>e.max)&&r.push(Se(u.messages[l].range,e.fullField,e.min,e.max))}var Ct="enum";function av(e,t,n,r,u){e[Ct]=Array.isArray(e[Ct])?e[Ct]:[],e[Ct].indexOf(t)===-1&&r.push(Se(u.messages[Ct],e.fullField,e[Ct].join(", ")))}function sv(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Se(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||r.push(Se(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var U={required:Uu,whitespace:uv,type:iv,range:ov,enum:av,pattern:sv};function cv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t,"string")&&!e.required)return n();U.required(e,t,r,i,u,"string"),de(t,"string")||(U.type(e,t,r,i,u),U.range(e,t,r,i,u),U.pattern(e,t,r,i,u),e.whitespace===!0&&U.whitespace(e,t,r,i,u))}n(i)}function lv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&U.type(e,t,r,i,u)}n(i)}function fv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t===""&&(t=void 0),de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&(U.type(e,t,r,i,u),U.range(e,t,r,i,u))}n(i)}function dv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&U.type(e,t,r,i,u)}n(i)}function hv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),de(t)||U.type(e,t,r,i,u)}n(i)}function pv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&(U.type(e,t,r,i,u),U.range(e,t,r,i,u))}n(i)}function Dv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&(U.type(e,t,r,i,u),U.range(e,t,r,i,u))}n(i)}function vv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t==null&&!e.required)return n();U.required(e,t,r,i,u,"array"),t!=null&&(U.type(e,t,r,i,u),U.range(e,t,r,i,u))}n(i)}function gv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&U.type(e,t,r,i,u)}n(i)}var mv="enum";function yv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&U[mv](e,t,r,i,u)}n(i)}function Ev(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t,"string")&&!e.required)return n();U.required(e,t,r,i,u),de(t,"string")||U.pattern(e,t,r,i,u)}n(i)}function Cv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t,"date")&&!e.required)return n();if(U.required(e,t,r,i,u),!de(t,"date")){var a;t instanceof Date?a=t:a=new Date(t),U.type(e,a,r,i,u),a&&U.range(e,a.getTime(),r,i,u)}}n(i)}function Fv(e,t,n,r,u){var i=[],o=Array.isArray(t)?"array":typeof t;U.required(e,t,r,i,u,o),n(i)}function gr(e,t,n,r,u){var i=e.type,o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(de(t,i)&&!e.required)return n();U.required(e,t,r,o,u,i),de(t,i)||U.type(e,t,r,o,u)}n(o)}function Av(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u)}n(i)}var zt={string:cv,method:lv,number:fv,boolean:dv,regexp:hv,integer:pv,float:Dv,array:vv,object:gv,enum:yv,pattern:Ev,date:Cv,url:gr,hex:gr,email:gr,required:Fv,any:Av};function mr(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var yr=mr();function nt(e){this.rules=null,this._messages=yr,this.define(e)}nt.prototype={messages:function(t){return t&&(this._messages=Vu(mr(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var i=t,o=n,a=r;if(typeof o=="function"&&(a=o,o={}),!this.rules||Object.keys(this.rules).length===0)return a&&a(),Promise.resolve();function s(v){var F,h=[],m={};function y(C){if(Array.isArray(C)){var B;h=(B=h).concat.apply(B,C)}else h.push(C)}for(F=0;F<v.length;F++)y(v[F]);h.length?m=Dr(h):(h=null,m=null),a(h,m)}if(o.messages){var c=this.messages();c===yr&&(c=mr()),Vu(c,o.messages),o.messages=c}else o.messages=this.messages();var l,f,d={},p=o.keys||Object.keys(this.rules);p.forEach(function(v){l=u.rules[v],f=i[v],l.forEach(function(F){var h=F;typeof h.transform=="function"&&(i===t&&(i=Ve({},i)),f=i[v]=h.transform(f)),typeof h=="function"?h={validator:h}:h=Ve({},h),h.validator=u.getValidationMethod(h),h.field=v,h.fullField=h.fullField||v,h.type=u.getType(h),h.validator&&(d[v]=d[v]||[],d[v].push({rule:h,value:f,source:i,field:v}))})});var g={};return rv(d,o,function(v,F){var h=v.rule,m=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");m=m&&(h.required||!h.required&&v.value),h.field=v.field;function y(M,I){return Ve(Ve({},I),{},{fullField:h.fullField+"."+M})}function C(M){M===void 0&&(M=[]);var I=M;if(Array.isArray(I)||(I=[I]),!o.suppressWarning&&I.length&&nt.warning("async-validator:",I),I.length&&h.message!==void 0&&(I=[].concat(h.message)),I=I.map(qu(h)),o.first&&I.length)return g[h.field]=1,F(I);if(!m)F(I);else{if(h.required&&!v.value)return h.message!==void 0?I=[].concat(h.message).map(qu(h)):o.error&&(I=[o.error(h,Se(o.messages.required,h.field))]),F(I);var L={};if(h.defaultField)for(var W in v.value)v.value.hasOwnProperty(W)&&(L[W]=h.defaultField);L=Ve(Ve({},L),v.rule.fields);for(var H in L)if(L.hasOwnProperty(H)){var O=Array.isArray(L[H])?L[H]:[L[H]];L[H]=O.map(y.bind(null,H))}var T=new nt(L);T.messages(o.messages),v.rule.options&&(v.rule.options.messages=o.messages,v.rule.options.error=o.error),T.validate(v.value,v.rule.options||o,function(K){var J=[];I&&I.length&&J.push.apply(J,I),K&&K.length&&J.push.apply(J,K),F(J.length?J:null)})}}var B;h.asyncValidator?B=h.asyncValidator(h,v.value,C,v.source,o):h.validator&&(B=h.validator(h,v.value,C,v.source,o),B===!0?C():B===!1?C(h.message||h.field+" fails"):B instanceof Array?C(B):B instanceof Error&&C(B.message)),B&&B.then&&B.then(function(){return C()},function(M){return C(M)})},function(v){s(v)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!zt.hasOwnProperty(t.type))throw new Error(Se("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?zt.required:zt[this.getType(t)]||!1}},nt.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");zt[t]=n},nt.warning=Lu,nt.messages=yr,nt.validators=zt;var Bv={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function wv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new nt(e);return n.messages(Object.assign(Bv,t)),n}var bv=new wu;function Er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _v(e){if(Array.isArray(e))return e}function Sv(e){if(Array.isArray(e))return Er(e)}function Hu(e,t,n,r,u,i,o){try{var a=e[i](o),s=a.value}catch(c){n(c);return}a.done?t(s):Promise.resolve(s).then(r,u)}function zu(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function o(s){Hu(i,r,u,o,a,"next",s)}function a(s){Hu(i,r,u,o,a,"throw",s)}o(void 0)})}}function Mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $v(e,t,n){return t&&Wu(e.prototype,t),n&&Wu(e,n),e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Gu(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Iv(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Nv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ju(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){X(e,u,n[u])})}return e}function xv(e){return _v(e)||Gu(e)||Xu(e)||Iv()}function Cr(e){return Sv(e)||Gu(e)||Xu(e)||Nv()}function Ov(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xu(e,t){if(!!e){if(typeof e=="string")return Er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Er(e,t)}}function Ku(e,t){var n,r,u,i,o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(l){return s([c,l])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=c[0]&2?r.return:c[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,c[1])).done)return u;switch(r=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){o.label=c[1];break}if(c[0]===6&&o.label<u[1]){o.label=u[1],u=c;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(c);break}u[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(l){c=[6,l],r=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var ve=function(){function t(n){var r=this;Mv(this,t),X(this,"id",void 0),X(this,"name",void 0),X(this,"icon",void 0),X(this,"type",void 0),X(this,"controlType",void 0),X(this,"props",void 0),X(this,"setting",[]),X(this,"fieldType",void 0),X(this,"eventKeys",[]),X(this,"customEvents",[]),X(this,"parent",null),X(this,"slots",void 0),X(this,"slotPosition",void 0),X(this,"updateSetting",Yu),X(this,"removeSetting",Qu),this._callControlHooks("preInstance",n);var u=Zu(this,t)?this.constructor:void 0,i=u.controlName,o=u.controlIcon,a=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,l=u.controlCustomEvents,f=u.name,d=u.setting,p=u.slots,g=u.slotPosition;i&&o&&a||Du("The ".concat(f," controlName,controlIcon,controlType is not define"));var v;this.id=(v=n==null?void 0:n.id)!==null&&v!==void 0?v:nn(10),this.name=i,this.icon=o;var F;this.type=(F=n==null?void 0:n.type)!==null&&F!==void 0?F:a,this.props=new Xe(n==null?void 0:n.props,(Zu(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base",this.setting=Y(d);var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:s,this.eventKeys=Y(c),this.customEvents=Y(l),this.slots=Y(p),this.slotPosition=Y(g),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return $v(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),i=0;i<r;i++)u[i]=arguments[i];var o,a=xv(u),s=a[0],c=a.slice(1);return(o=bv).emit.apply(o,[s,this].concat(Cr(c)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),Jn(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return zu(function(){var u,i,o;return Ku(this,function(a){switch(a.label){case 0:return u=Ju({},r.rules),[4,r._callControlHooks("preValidate",u)];case 1:return i=a.sent(),o=i[i.length-1],[2,o===!1?void 0:o]}})})()}},{key:"validate",value:function(r,u){var i=this;return zu(function(){var o,a,s,c;return Ku(this,function(l){switch(l.label){case 0:return[4,i.preValidate()];case 1:o=l.sent(),a=o!==void 0?o:Ju({},i.rules),Array.isArray(u)&&u.forEach(function(f){a.hasOwnProperty(f)&&delete a[f]}),s=wv(a,r),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,s.validate(i.props)];case 3:return l.sent(),[2,!0];case 4:throw c=l.sent(),c.control||(c.control=i),c;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,i=this.id,o=this.type,a=this.props,s=a.dataBind,c=a.datasourceBind,l=a.optionConfig,f=a.caption,d=a.required,p=a.maxLength,g=a.options,v=a.encrypted,F=a.encryptedMode;if(!(!u&&!s&&!c)){var h={parentId:r,fieldType:u,controlId:i,caption:f,type:o,props:{}};switch(s&&(h.dataBind=s),l){case"datasource":case void 0:c&&(h.datasourceBind=c);break;case"custom":h.props.options=g;break}return d!==void 0&&(h.required=d),p!==void 0&&(h.maxLength=p),v!==void 0&&(h.encrypted=v),F!==void 0&&(h.encryptedMode=F),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Y(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var i;(i=this.setting).push.apply(i,Cr(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();X(ve,"mode","Designer"),X(ve,"slots",void 0),X(ve,"slotPosition",void 0),X(ve,"controlName","\u63A7\u4EF6"),X(ve,"controlIcon","icon"),X(ve,"controlType","control"),X(ve,"controlFieldType",void 0),X(ve,"controlEventKeys",[]),X(ve,"controlCustomEvents",[]),X(ve,"setting",[]),X(ve,"__is_control__",!0),X(ve,"removeSettingItem",Qu),X(ve,"updateSettingItem",Yu);function Qu(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u,i=typeof r!="string",o=(u=t.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(i?r.key:r)});if(o!==-1){var a,s;i?t.setting[o].showItems=(a=t.setting[o].showItems)===null||a===void 0?void 0:a.filter(function(c){return!r.hideItems.includes(c)}):t.setting.splice(o,1),i&&!(!((s=t.setting[o].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(o,1)}})}function Yu(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var i=n.setting.find(function(c){return c.key===u});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":Ov(t))==="object"){var o,a=(o=t.type)!==null&&o!==void 0?o:"replace";if(a==="replace")i.showItems=t.showItems;else{var s;(s=i.showItems).push.apply(s,Cr(t.showItems))}}}})}function Rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ei(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pv(e,t,n){return t&&ei(e.prototype,t),n&&ei(e,n),e}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tv(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Wt=function(){function t(n){Rv(this,t),Me(this,"id",void 0),Me(this,"type",void 0),Me(this,"controlType",void 0),Me(this,"props",void 0),Me(this,"fieldType",void 0),Me(this,"customEvents",[]),Me(this,"pageStatus",void 0),Me(this,"parent",null);var r=Tv(this,t)?this.constructor:void 0,u=r.controlType,i=r.controlFieldType,o=r.name,a=r.controlCustomEvents;u||Du("The ".concat(o," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:nn(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new Xe(n==null?void 0:n.props),this.customEvents=a;var l;this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base";var f;this.fieldType=(f=n==null?void 0:n.fieldType)!==null&&f!==void 0?f:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:sr.UNKNOWN}return Pv(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();Me(Wt,"mode","Runtime"),Me(Wt,"controlType","control"),Me(Wt,"controlFieldType",void 0),Me(Wt,"__is_control__",!0),Me(Wt,"controlCustomEvents",[]);function $e(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function Lv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fr(e,t,n){return t=fn(t),kv(e,ti()?Reflect.construct(t,n||[],fn(e).constructor):t.apply(e,n))}function Ar(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fn(e){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fn(e)}function Br(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wr(e,t)}function kv(e,t){return t&&(jv(t)==="object"||typeof t=="function")?t:Lv(e)}function wr(e,t){return wr=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},wr(e,t)}function jv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ti(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ti=function(){return!!e})()}var qv=function(e){Br(t,e);function t(n){Ar(this,t);var r;r=Fr(this,t,[n]),ce(r,"dataBind",{}),ce(r,"caption",{type:"string",required:!0,message:z("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),ce(r,"isHideCaption",{type:"boolean"}),ce(r,"labelPosition",{type:"enum",enum:["top","left"]}),ce(r,"defaultState",{type:"enum",enum:["default","readonly"]}),ce(r,"required",{type:"boolean"}),ce(r,"captionTip",{type:"string",required:!1,message:z("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if($e(n.dataBind))r.dataBind={type:"object",required:!0,fields:Y(u),message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var i={type:"object",required:!0,fields:{},message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(o){i.fields[o]={type:"object",required:!0,fields:Y(u),message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),r.dataBind=i}return n.isShowCaptionTip&&(r.captionTip.required=!0),r}return t}(dr),Vv=function(e){Br(t,e);function t(n){Ar(this,t);var r;r=Fr(this,t,[n]);var u=n.isHide?!1:n.required;return u&&r.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:z("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),r}return t}(Tu),br=function(e){Br(t,e);function t(n){Ar(this,t);var r;r=Fr(this,t,[n]),ce(r,"caption",void 0),ce(r,"isHideCaption",void 0),ce(r,"isShowCaptionTip",void 0),ce(r,"captionTip",void 0),ce(r,"labelPosition",void 0),ce(r,"dataBind",void 0),ce(r,"defaultValue",void 0),ce(r,"placeholder",void 0),ce(r,"defaultState",void 0),ce(r,"required",void 0),ce(r,"requiredMessage",void 0);var u;r.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var i;r.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var o;r.isShowCaptionTip=(o=n==null?void 0:n.isShowCaptionTip)!==null&&o!==void 0?o:!1;var a;r.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;r.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var c;r.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var l;r.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"";var f;r.required=(f=n==null?void 0:n.required)!==null&&f!==void 0?f:!1;var d;r.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",r.dataBind=new rr(n==null?void 0:n.dataBind);var p;return r.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"",r}return t}(Xe);ce(br,"Rules",qv),ce(br,"RuntimeRules",Vv);function Uv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hv(e,t,n){return t=hn(t),Zv(e,ni()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function zv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(e)}function Wv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_r(e,t)}function Zv(e,t){return t&&(Gv(t)==="object"||typeof t=="function")?t:Uv(e)}function _r(e,t){return _r=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},_r(e,t)}function Gv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ni(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ni=function(){return!!e})()}var ri=function(e){Wv(t,e);function t(n){zv(this,t);var r;return r=Hv(this,t,[n]),dn(r,"controlType","form"),dn(r,"props",void 0),r.props=new br(n==null?void 0:n.props),r}return t}(ve);dn(ri,"controlEventKeys",["on_change","on_focus","on_blur"]),dn(ri,"controlCustomAttributes",void 0);function Jv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xv(e,t,n){return t=pn(t),Yv(e,ui()?Reflect.construct(t,n||[],pn(e).constructor):t.apply(e,n))}function Kv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(e)}function Qv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sr(e,t)}function Yv(e,t){return t&&(eg(t)==="object"||typeof t=="function")?t:Jv(e)}function Sr(e,t){return Sr=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Sr(e,t)}function eg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ui(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ui=function(){return!!e})()}var tg=function(e){Qv(t,e);function t(n){return Kv(this,t),Xv(this,t,[n])}return t}(Xe);function Mr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ng(e){if(Array.isArray(e))return Mr(e)}function rg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ii(e,t,n,r,u,i,o){try{var a=e[i](o),s=a.value}catch(c){n(c);return}a.done?t(s):Promise.resolve(s).then(r,u)}function ug(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function o(s){ii(i,r,u,o,a,"next",s)}function a(s){ii(i,r,u,o,a,"throw",s)}o(void 0)})}}function ig(e,t,n){return t=ut(t),Dg(e,si()?Reflect.construct(t,n||[],ut(e).constructor):t.apply(e,n))}function og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ag(e,t,n){return t&&oi(e.prototype,t),n&&oi(e,n),e}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ft(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ft=Reflect.get:Ft=function(u,i,o){var a=vg(u,i);if(!!a){var s=Object.getOwnPropertyDescriptor(a,i);return s.get?s.get.call(o||u):s.value}},Ft(e,t,n||e)}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ut(e)}function sg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$r(e,t)}function cg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function lg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function dg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){rt(e,u,n[u])})}return e}function hg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function pg(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hg(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Dg(e,t){return t&&(gg(t)==="object"||typeof t=="function")?t:rg(e)}function $r(e,t){return $r=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},$r(e,t)}function vg(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ut(e),e!==null););return e}function ai(e){return ng(e)||lg(e)||mg(e)||fg()}function gg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mg(e,t){if(!!e){if(typeof e=="string")return Mr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mr(e,t)}}function si(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(si=function(){return!!e})()}function yg(e,t){var n,r,u,i,o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(l){return s([c,l])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=c[0]&2?r.return:c[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,c[1])).done)return u;switch(r=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){o.label=c[1];break}if(c[0]===6&&o.label<u[1]){o.label=u[1],u=c;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(c);break}u[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(l){c=[6,l],r=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Eg=1e4,ci=function(t){sg(n,t);function n(r){og(this,n);var u;u=ig(this,n,[r]),rt(u,"controlType","layout"),rt(u,"children",void 0),rt(u,"excludes",void 0),rt(u,"childrenMaxLength",void 0),rt(u,"props",void 0);var i=cg(this,n)?this.constructor:void 0,o=i.excludes,a=i.childrenMaxLength;return u.props=new tg(r==null?void 0:r.props),nr(u,"children",r==null?void 0:r.children,void 0,"Designer"),u.excludes=Y(o),u.childrenMaxLength=a,u}return ag(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var i=this.judgeExcludesChildren(u);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,i){var o=this,a=this,s=function(){return Ft(ut(n.prototype),"validate",o)};return ug(function(){return yg(this,function(c){switch(c.label){case 0:return[4,s().call(a,u,i)];case 1:return c.sent(),[4,Promise.all(a.children.map(function(l){return l.validate(u,i)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ft(ut(n.prototype),"toDataBindModel",this).call(this),o=i?[i]:[];return this.children.reduce(function(a,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var l=c.filter(function(f){return!!f});return ai(a).concat(ai(l))}return c&&a.push(c),a},o)}},{key:"toSchema",value:function(){var u=Ft(ut(n.prototype),"toSchema",this).call(this),i=this.children.map(function(o){var a=o.toSchema();return a});return pg(dg({},u),{children:i})}}]),n}(ve);rt(ci,"excludes",!1),rt(ci,"childrenMaxLength",Eg);function Cg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fg(e,t,n){return t=Dn(t),wg(e,li()?Reflect.construct(t,n||[],Dn(e).constructor):t.apply(e,n))}function Ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(e)}function Bg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ir(e,t)}function wg(e,t){return t&&(bg(t)==="object"||typeof t=="function")?t:Cg(e)}function Ir(e,t){return Ir=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ir(e,t)}function bg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function li(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(li=function(){return!!e})()}var _g=function(e){Bg(t,e);function t(n,r,u){Ag(this,t);var i;i=Fg(this,t,[r]),At(i,"headers",void 0),At(i,"footers",void 0),At(i,"pageIndex",void 0),At(i,"pageSize",void 0),At(i,"pageSizeOptions",void 0),At(i,"totalCount",void 0),nr(i,"headers",r==null?void 0:r.headers,n,u),nr(i,"footers",r==null?void 0:r.footers,n);var o;i.pageIndex=(o=r==null?void 0:r.pageIndex)!==null&&o!==void 0?o:1;var a;i.pageSize=(a=r==null?void 0:r.pageSize)!==null&&a!==void 0?a:20;var s;i.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return i.totalCount=(c=r==null?void 0:r.totalCount)!==null&&c!==void 0?c:0,i}return t}(Xe);function Nr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sg(e){if(Array.isArray(e))return Nr(e)}function Mg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fi(e,t,n,r,u,i,o){try{var a=e[i](o),s=a.value}catch(c){n(c);return}a.done?t(s):Promise.resolve(s).then(r,u)}function $g(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function o(s){fi(i,r,u,o,a,"next",s)}function a(s){fi(i,r,u,o,a,"throw",s)}o(void 0)})}}function Ig(e,t,n){return t=it(t),Lg(e,vi()?Reflect.construct(t,n||[],it(e).constructor):t.apply(e,n))}function Ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xg(e,t,n){return t&&di(e.prototype,t),n&&di(e,n),e}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bt(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Bt=Reflect.get:Bt=function(u,i,o){var a=kg(u,i);if(!!a){var s=Object.getOwnPropertyDescriptor(a,i);return s.get?s.get.call(o||u):s.value}},Bt(e,t,n||e)}function it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},it(e)}function Og(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xr(e,t)}function Rg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function hi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){vn(e,u,n[u])})}return e}function Tg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function pi(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Tg(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Lg(e,t){return t&&(jg(t)==="object"||typeof t=="function")?t:Mg(e)}function xr(e,t){return xr=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},xr(e,t)}function kg(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=it(e),e!==null););return e}function Di(e){return Sg(e)||Rg(e)||qg(e)||Pg()}function jg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qg(e,t){if(!!e){if(typeof e=="string")return Nr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nr(e,t)}}function vi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vi=function(){return!!e})()}function Vg(e,t){var n,r,u,i,o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(l){return s([c,l])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=c[0]&2?r.return:c[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,c[1])).done)return u;switch(r=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){o.label=c[1];break}if(c[0]===6&&o.label<u[1]){o.label=u[1],u=c;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(c);break}u[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(l){c=[6,l],r=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Ug=function(e){Og(t,e);function t(n){Ng(this,t);var r;return r=Ig(this,t,[n]),vn(r,"controlType","list"),vn(r,"props",void 0),r.props=new _g(r,n==null?void 0:n.props,"Designer"),r}return xg(t,[{key:"validate",value:function(r,u){var i=this,o=this,a=function(){return Bt(it(t.prototype),"validate",i)};return $g(function(){return Vg(this,function(s){switch(s.label){case 0:return[4,a().call(o,r)];case 1:return s.sent(),[4,Promise.all(o.props.headers.map(function(c){return c.validate(r,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=Bt(it(t.prototype),"toDataBindModel",this).call(this),u=r?[r]:[],i=this.id;return this.props.headers.reduce(function(o,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var c=s.filter(function(l){return!!l});return Di(o).concat(Di(c))}return s&&o.push(s),o},u)}},{key:"toSchema",value:function(){var r=Bt(it(t.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(i){return i.toSchema()});return pi(hi({},r),{props:pi(hi({},this.props),{headers:u})})}}]),t}(ve);vn(Ug,"controlFieldType",se.LIST);function Hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gi(e,t,n){return t=gn(t),zg(e,Ei()?Reflect.construct(t,n||[],gn(e).constructor):t.apply(e,n))}function mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(e)}function yi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Or(e,t)}function zg(e,t){return t&&(Wg(t)==="object"||typeof t=="function")?t:Hg(e)}function Or(e,t){return Or=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Or(e,t)}function Wg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ei(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ei=function(){return!!e})()}var Zg=function(e){yi(t,e);function t(n){mi(this,t);var r;return r=gi(this,t,[n]),Ae(r,"caption",{type:"string",required:!0,message:z("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ae(r,"width",{type:"number",required:!1,message:z("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),r.width.required=n.widthType==="px",r}return t}(dr),Gg=function(e){yi(t,e);function t(n){mi(this,t);var r;r=gi(this,t,[n]),Ae(r,"widthType",void 0),Ae(r,"width",void 0),Ae(r,"caption",void 0),Ae(r,"dataBind",void 0),Ae(r,"autoWidth",void 0),Ae(r,"fixed",void 0),Ae(r,"sort",void 0),Ae(r,"align",void 0),Ae(r,"colSpan",void 0),Ae(r,"autoHeight",void 0),Ae(r,"children",void 0);var u;r.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,r.widthType=(n==null?void 0:n.widthType)||"auto";var i;r.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var o;r.fixed=(o=n==null?void 0:n.fixed)!==null&&o!==void 0?o:"none",r.autoWidth=new VD(n==null?void 0:n.autoWidth),r.dataBind=new rr(n==null?void 0:n.dataBind);var a;r.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,r.align=n==null?void 0:n.align,r.colSpan=n==null?void 0:n.colSpan;var s;return r.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,r}return t}(Xe);Ae(Gg,"Rules",Zg);function mn(e){return e.controlType===Z.LAYOUT||e.controlType===Z.WRAP||e.controlType===Z.LIST||e.controlType===Z.SEARCH||e.controlType===Z.COLUMN&&e.type!==ue.OPERATION_COLUMN}function ht(e,t){Array.isArray(e)&&e.map(n=>{n.controlType===Z.LIST?t(n,[]):mn(n)?ht(n==null?void 0:n.children,t):n.controlType===Z.FORM&&t(n)})}function pt(e,t){Array.isArray(e)&&e.map(n=>{n.type===ue.DATA_VIEW||n.type===ue.SIMPLE_SEARCH?t(n):mn(n)&&pt(n==null?void 0:n.children,t)})}let Ci=0;function Zt(e=""){const t=Date.now(),n=Math.floor(Math.random()*1e9);return Ci++,e+"_"+n+Ci+String(t)}class Ee extends qt{constructor(t){super("Runtime"),this._flatInstances=[],this._instanceMap={},this._controlParentIdMap={};const{schema:n}=t;this._schema=n,this._instance=this.createControl(n,t.beforeCreateInstance),this.getFlatInstances()}getFlatInstances(){const t=[],n={},r={};return Rr(this._instance,"",(u,i)=>{var o;i&&(r[u.id]=i),n[u.id]||(n[u.id]=[]),!(u.type==="subtable-column"&&n[u.id].length>0)&&(t.push(u),!(((o=u.parent)==null?void 0:o.type)===ue.SUBTABLE_COLUMN&&u.parent.parent===void 0)&&n[u.id].push(u))}),this._flatInstances=t,this._instanceMap=n,this._controlParentIdMap=r,this._flatInstances}get schema(){return this._schema}get instance(){return this._instance}get flatInstances(){return this._flatInstances}get instanceMap(){return this._instanceMap}get allRules(){let t={},n={},r={};return pt(this._instance,u=>{let i=Ee.staticGetRules(u.type,u.props);n[u.id]=Y(i[0]),t[u.id]=Y(i[0]),r[u.id]=Y(i[0]),ht(u.children,o=>{(o.controlType===Z.FORM||o.controlType===Z.LIST)&&(Fi(n[u.id].fields,o,!0),wi(t[u.id].fields,o,!0),Ai(r[u.id].fields,o,!0))})}),{rules:this.rules,antdRules:this.antdRules,fieldCodeRules:this.fieldCodeRules,defaultAntdRules:t,defaultRule:n,defaultFieldRules:r}}get rules(){let t={};return pt(this._instance,n=>{let r=Ee.staticGetRules(n.type,n.props);t[n.id]=r[0],ht(n.children,u=>{(u.controlType===Z.FORM||u.controlType===Z.LIST)&&Fi(t[n.id].fields,u)})}),t}get fieldCodeRules(){let t={};return pt(this._instance,n=>{let r=Ee.staticGetRules(n.type,n.props);t[n.id]=r[0],ht(n.children,u=>{(u.controlType===Z.FORM||u.controlType===Z.LIST)&&Ai(t[n.id].fields,u)})}),t}get antdRules(){let t={};return pt(this._instance,n=>{let r=Ee.staticGetRules(n.type,n.props);t[n.id]=r[0],ht(n.children,u=>{(u.controlType===Z.FORM||u.controlType===Z.LIST)&&wi(t[n.id].fields,u)})}),t}}function Rr(e,t,n){(Array.isArray(e)?e:[e]).map(u=>{if(n(u,t),mn(u)){const i=u;i.children||(i.children=[]),Rr(i.children,i.id,n)}Jg(u,"headers")&&Rr(u.props.headers,u.id,n)})}function Jg(e,t){return t in e.props&&ft(e.props[t])}function yn(e){return e.props.isHide?!0:e.parent===null||e.parent===void 0?!1:yn(e.parent)}function Fi(e,t,n=!1){if(yn(t))return;let r=Ee.staticGetRules(t.type,t.props);if(t.controlType===Z.FORM)e[t.id]=r;else if(t.type===ue.SUBTABLE){e[t.id]=r;const u={type:"array",fields:{}};(n===!0?[{children:t.props.headers}]:t.children).forEach((i,o)=>{Ge(i.children,a=>{if(u.fields){u.fields[o]||(u.fields[o]={type:"object",required:!0,fields:{}});let s=Ee.staticGetRules(a.type,a.props);u.fields[o].fields[a.id]=s}})}),e[t.id].push(u)}}function Ai(e,t,n=!1){var u,i,o,a,s,c,l;if(yn(t))return;let r=Ee.staticGetRules(t.type,t.props);if(t.controlType===Z.FORM)if($e(t.props.dataBind))((u=t.props.dataBind)==null?void 0:u.fieldCode)!=""&&(e[(i=t.props.dataBind)==null?void 0:i.fieldCode]=r);else for(const f in t.props.dataBind)((o=t.props.dataBind[f])==null?void 0:o.fieldCode)!=""&&(e[(a=t.props.dataBind[f])==null?void 0:a.fieldCode]=((s=Bi(r))==null?void 0:s[f])||[]);else if(t.type===ue.SUBTABLE){e[(c=t.props.datasourceBind)==null?void 0:c.dataCode]=r;const f={type:"array",fields:{}};(n===!0?[{children:t.props.headers}]:t.children).forEach((d,p)=>{Ge(d.children,g=>{var v,F,h,m;if(f.fields){f.fields[p]||(f.fields[p]={type:"object",required:!0,fields:{}});let y=Ee.staticGetRules(g.type,g.props);if($e(g.props.dataBind))((h=g.props.dataBind)==null?void 0:h.fieldCode)!=""&&(f.fields[p].fields[(m=g.props.dataBind)==null?void 0:m.fieldCode]=y);else for(const C in g.props.dataBind)((v=g.props.dataBind[C])==null?void 0:v.fieldCode)!=""&&(f.fields[p].fields[g.props.dataBind[C].fieldCode]=((F=Bi(y))==null?void 0:F[C])||[])}})}),e[(l=t.props.datasourceBind)==null?void 0:l.dataCode].push(f)}}function Bi(e){let t={};return e.map(n=>{n.fields&&(t=n)}),t==null?void 0:t.fields}function wi(e,t,n=!1){if(yn(t))return;let r=Ee.staticGetRules(t.type,t.props);t.controlType===Z.FORM?e[t.id]=r:t.type===ue.SUBTABLE&&t.children.length&&(e[t.id]=[],(n===!0?[{children:t.props.headers}]:t.children).forEach(u=>{let i={};Ge(u.children,o=>{let a=Ee.staticGetRules(o.type,o.props);i[o.id]=a}),e[t.id].push(i)}))}class Xg{constructor(t){const{state:n,emptyState:r,databindMapping:u,controlidMapping:i,defaultState:o,subtableHeadersControlIdMapping:a}=Kg(t.instance);this.emptyState=r,this.state=n,this.dataBindMapping=u,this.controlIdMapping=i,this.defaultState=o,this.subtableHeadersControlIdMapping=a}setState(t,n,r){const u=this.controlIdMapping[t],i=Y(n);u!==void 0?(u.children&&n.forEach(o=>{o.uid||Object.assign(o,{uid:"new:"+Zt("uid")})}),this.state[u.dataView][t]=i):r!==void 0?Object.keys(this.controlIdMapping).map(o=>{const a=this.controlIdMapping[o].dataView,s=this.controlIdMapping[o].children;s!==void 0&&Object.keys(s).map(c=>{c===t&&this.state[a][o][r]&&(this.state[a][o][r][t]=i)})}):this.state[t]=i}getState(t,n){var u;if(this.state[t]!==void 0)return this.state[t];{const i=this.controlIdMapping[t];if(i!==void 0){const o=this.state[i.dataView][t];return n!==void 0&&Object.keys((u=i==null?void 0:i.children)!=null?u:{}).length>0?o[n]:o}else if(n!==void 0){let o;return Object.keys(this.controlIdMapping).map(a=>{const s=this.controlIdMapping[a].dataView,c=this.controlIdMapping[a].children;c!==void 0&&Object.keys(c).map(l=>{var f;l===t&&(o=(f=this.state[s][a][n])==null?void 0:f[t])})}),o}else{let o=[];return Object.keys(this.controlIdMapping).map(a=>{const s=this.controlIdMapping[a].dataView,c=this.controlIdMapping[a].children;c!==void 0&&Object.keys(c).map(l=>{l===t&&this.state[s][a].map(f=>{o.push(f[t])})})}),o}}}getEmptyState(t){if(this.emptyState[t]!==void 0)return this.emptyState[t];{const r=this.controlIdMapping[t];if(r!==void 0){const u=this.emptyState[r.dataView][t];return"children"in r&&Object.assign(u,{uid:"new:"+Zt("uid")}),u}else{let u;return Object.keys(this.controlIdMapping).map(i=>{const o=this.controlIdMapping[i].dataView,a=this.controlIdMapping[i].children;a!==void 0&&Object.keys(a).map(s=>{s===t&&(u=this.emptyState[o][i][t])})}),u}}}getDataBind(t){let n=this.controlIdMapping[t];if(n)return n.dataBind;e:for(let r in this.controlIdMapping){const u=this.controlIdMapping[r];if(u.children){for(let i in u.children)if(i===t){n=u.children[i];break e}}}return n==null?void 0:n.dataBind}}function Kg(e){let t={},n={},r={},u={},i={},o={};return pt(e,a=>{const s=a.id,c={},l={};ht([a],(f,d)=>{Qg(c,l,f),Yg(r,s,f),e5(u,s,f),t5(i,f)}),t[s]={},o[s]=c,n[s]=l}),{state:t,defaultState:o,subtableHeadersControlIdMapping:i,emptyState:n,databindMapping:r,controlidMapping:u}}function Qg(e,t,n){var r,u;if(n.controlType===Z.FORM)e[n.id]=Y(n.props.defaultValue),t[n.id]=Y(n.props.defaultValue);else{const i={};Ge(n.props.headers,o=>{i[o.id]=Y(o.props.defaultValue)}),e[n.id]=(u=new Array((r=n.props.defaultRows)!=null?r:1).fill(0).map(()=>ae({uid:"new:"+Zt("uid")},Y(i))))!=null?u:[],t[n.id]=i}}function Yg(e,t,n){var r,u;if(n.controlType===Z.FORM)$e(n.props.dataBind)?((u=(r=n.props)==null?void 0:r.dataBind)==null?void 0:u.dataCode)===void 0||(e[n.props.dataBind.dataCode]===void 0&&(e[n.props.dataBind.dataCode]={controlId:t,fields:[],dataViewId:t}),e[n.props.dataBind.dataCode].fields.push({fieldCode:n.props.dataBind.fieldCode,controlId:n.id,dataBind:n.props.dataBind,dataViewId:[t]})):Object.keys(n.props.dataBind).map(i=>{const o=n.props.dataBind,a=o[i].dataCode;a!==void 0&&(e[a]===void 0&&(e[a]={controlId:n.id,fields:[],dataViewId:t}),e[a].fields.push({fieldCode:o[i].fieldCode,controlId:n.id,dataBind:o,dataViewId:[t]}))});else{if(n.props.datasourceBind.dataCode===""){Et(`datasourceBind.dataCode is empty! maybe in preview mode, control:${n.id} type:${n.type}`);return}e[n.props.datasourceBind.dataCode]={controlId:n.id,fields:[],dataViewId:t};const i=n.id;Ge(n.props.headers,o=>{$e(o.props.dataBind)?(e[o.props.dataBind.dataCode]===void 0&&(e[o.props.dataBind.dataCode]={controlId:t,fields:[],dataViewId:t}),e[o.props.dataBind.dataCode].fields.push({fieldCode:o.props.dataBind.fieldCode,controlId:o.id,dataBind:o.props.dataBind,dataViewId:[t,i]})):Object.keys(o.props.dataBind).map(a=>{const s=o.props.dataBind,c=s[a].dataCode;s[a].fieldCode!==""&&e[c].fields.push({fieldCode:s[a].fieldCode,controlId:o.id,dataBind:s,dataViewId:[t,i]})})})}}function e5(e,t,n){n.controlType===Z.FORM?e[n.id]={dataBind:n.props.dataBind,options:[],dataView:t}:n.type===ue.SUBTABLE&&(e[n.id]={dataBind:new rr({dataCode:n.props.datasourceBind.dataCode,fieldCode:""}),dataView:t,children:{},options:[]},Ge(n.props.headers,r=>{var u,i;Object.assign((i=(u=e[n.id])==null?void 0:u.children)!=null?i:{},{[r.id]:{dataBind:r.props.dataBind}})}))}function t5(e,t){if(t.type===ue.SUBTABLE){const n={};t.props.headers.map(r=>{r.children.map(u=>{Object.assign(n,{[u.id]:u})})}),Object.assign(e,{[t.id]:n})}}const bi=["splice","push","shift","pop","unshift","reverse"],Pr=Symbol("__engineProxy__"),Tr=Symbol("__engineTarget__"),_i=Symbol("__engineArrayBeforeSetCallbackFlag__"),Si=Symbol("__engineProxyThisKey__"),Te={type:"",args:[],callback:Mi};function Mi(){}o5();function n5(e,t,n,r,u){if(Te.type){Te.callback=u.bind(null,e,r);return}const i=Number(t);if(i>e.length){Ze(`Wrong array operations may cause unknown errors. It is recommended to use APIs such as ${bi.join(",")} for array operations`);return}if(!(Number.isNaN(i)&&t!=="length"))if(t==="length"){const a=n,s=e.length;if(a>e.length){Ze("Do not directly modify the length of the array data, please add new rows");return}return a===e.length?void 0:()=>u.call(null,e,r,"splice",[a,s-a])}else return i===e.length?()=>u.call(null,e,r,"push",[n]):()=>u.call(null,e,r,"splice",[i,1,n])}function r5(e,t,n){return{__engineProxy__:!0,get(r,u,i){return u===Pr?!0:u===Tr?r:Array.isArray(r)&&u===_i?n:u===Si?e:Reflect.get(r,u,i)},set(r,u,i,o){var d;let a=Y(i);const s=r[u],c=e===""?u:e+"."+u;function l(p){if(typeof p=="object"&&p!==null)return p[Pr]!==!0?En(p,t,n,c):En(p[Tr],t,n,c)}a=(d=l(a))!=null?d:a;let f;if(Array.isArray(r)){const p=n5(r,u,a,e,t);f=Reflect.set(r,u,a,o),p&&p()}else{try{let p=a;if(a=n.call(null,r,c,a,s),p!==a){const g=l(a);g!==void 0&&(a=g)}}catch(p){return un(`${c} set error ${p}`),!0}f=Reflect.set(r,u,a,o),t.call(null,r,c,a,s)}return f||!0}}}function En(e,t,n,r=""){if(Object.isFrozen(e))return e;for(let u in e){const i=r===""?u:r+"."+u,o=e[u];typeof o=="object"&&o!==null&&(e[u]=En(o,t,n,i))}return new Proxy(e,r5(r,t,n))}function $i(e){const t=[];return e.forEach(n=>{t.push(n),(n.controlType==="layout"||n.controlType==="wrap")&&t.push(...$i(n.children))}),t}function Lr(e,t,n){if(t==="")return;const r=t.split(".");if(r.length===0)return;const u=r[0],i=r.slice(1),o=n[u]?n[u][0]:void 0;return i.length===0?o:i.reduce((a,s)=>{var f,d;const c=Number(s);if(Number.isNaN(c)&&a){const p=a!=null&&a.children?$i(a.children):void 0,g=p==null?void 0:p.find(v=>v.id===s);return g||(a.controlType===Z.FORM?a:void 0)}else return(d=(f=a==null?void 0:a.children)==null?void 0:f[c])!=null?d:a},o)}function u5(e,t){return["push","unshift"].includes(e)?t:e==="splice"?t.slice(2):[]}function i5(e,t,n){if(["push","unshift"].includes(e))return n;if(e==="splice")return t.slice(0,2).concat(n)}function o5(){bi.forEach(e=>{const t=Array.prototype[e];Array.prototype[e]=function(...n){var r;if(this[Pr]){let u;const i=u5(e,n);if(i.length){const o=(r=this[_i])==null?void 0:r.call(this,this[Tr],this[Si],i),a=i5(e,n,o);Te.type=e,Te.args=a,u=t.apply(this,a)}else Te.type=e,Te.args=n,u=t.apply(this,n);return typeof Te.callback=="function"&&Te.callback(e,n,u),Te.type="",Te.args=[],Te.callback=Mi,u}else return t.apply(this,n)}})}class a5{constructor(){this.actionMap=new Map,this.buildinActions={},this.actionUtils={},this.sources={}}execAction(t,n,...r){return ze(this,null,function*(){const u=this.actionMap.get(t);if(!!u)try{return yield u.func.call(null,n,...r)}catch(i){return un(`${u.id} Exception during calling action: ${i}`),!1}})}addAction(t,n){this.actionMap.has(t)&&Ze("duplicated action key");const r=new s5(t,n);this.actionMap.set(t,r)}}class s5{constructor(t,n){this.id="",this.id=t,this.func=n}}class c5{constructor(t){this._dataStore=new Map,this.executer=t}add(t,n){this._dataStore.set(t,n)}get(t){let n=this._dataStore.get(t);return Y(n)}remove(t){this._dataStore.delete(t)}getRemoteData(t){return ze(this,null,function*(){return this.executer===void 0?(un("\u672A\u521D\u59CB\u5316executer"),[]):this.executer(t)})}}class ot{}class Gt extends ot{validate(t){return Fe(t)}transform(t){if(t==null)return"";if(!Pe(t)&&!Eu(t))return String(t);if(yD(t))return JSON.stringify(t);throw`${t} is not a string`}}class kr extends ot{validate(t){return on(t)||t===""}transform(t){if(t==null)return"";const n=!Pe(t)&&!Eu(t)?Number(t):void 0;if(!Number.isNaN(n)&&n!==void 0)return n;throw`${t} is not a number`}}class l5 extends ot{validate(t){return ED(t)}transform(t){if(t==null)return[];function n(r){return r.map(u=>u?String(u):"")}if(ft(t))return n(t);if(Fe(t)&&Cu(t))try{const r=JSON.parse(t);if(Array.isArray(r))return n(r)}catch(r){}return[String(t)]}}class f5 extends ot{validate(t){return CD(t)}transform(t){if(t==null)return[];function n(u){return u.map(i=>!i&&i!==0?"":Number(i)).filter(i=>i===""||!Number.isNaN(i))}if(ft(t))return n(t);if(Fe(t)&&Cu(t))try{const u=JSON.parse(t);if(ft(u))return n(u)}catch(u){}const r=Number(t);if(Number.isNaN(r))throw`${t} is not a number array`;return[r]}}class d5 extends ot{validate(t){return Pe(t)&&"amount"in t&&on(t.amount)&&"currency"in t&&Fe(t.currency)}transform(t,n){if(t==null||t==="")return new ur({currency:n==null?void 0:n.currency});let r;if(Pe(t)&&(r=new ur(ae(ae({},n),t))),Fe(t)&&an(t))try{const u=JSON.parse(t);r=new ur(ae(ae({},n),u))}catch(u){}if(r){const u=new kr,i=new Gt;return u.validate(r.amount)||(r.amount=u.transform(r.amount)),i.validate(r.currency)||(r.currency=i.transform(r.currency)),r}throw`${t} is not a { amount: number, currency: string } object`}}class h5 extends ot{validate(t){return Pe(t)&&"min"in t&&Fe(t.min)&&"max"in t&&Fe(t.max)}transform(t,n){if(t==null||t==="")return new ir;let r;if(Pe(t)&&(r=new ir(ae(ae({},n),t))),Fe(t)&&an(t))try{const u=JSON.parse(t);r=new ir(ae(ae({},n),u))}catch(u){}if(r){const u=new Gt;return u.validate(r.min)||(r.min=u.transform(r.min)),u.validate(r.max)||(r.max=u.transform(r.max)),r}throw`${t} is not a { min: string, max: string } object`}}class p5 extends ot{validate(t){return Pe(t)&&"result"in t&&on(t.result)&&"unit"in t&&Fe(t.unit)}transform(t,n){if(t==null||t==="")return new ar({unit:n==null?void 0:n.unit});let r;if(Pe(t)&&(r=new ar(ae(ae({},n),t))),Fe(t)&&an(t))try{const u=JSON.parse(t);r=new ar(ae(ae({},n),u))}catch(u){}if(r){const u=new kr,i=new Gt;return u.validate(r.result)||(r.result=u.transform(r.result)),i.validate(r.unit)||(r.unit=i.transform(r.unit)),r}throw`${t} is not a { result: string, unit: string } object`}}class D5 extends ot{validate(t){return!!Pe(t)}transform(t,n){if(t==null||t==="")return new or;let r;if(Pe(t)&&(r=new or(ae(ae({},n),Xn.exports.camelizeKeys(t)))),Fe(t)&&an(t))try{const u=JSON.parse(t);r=new or(ae(ae({},n),Xn.exports.camelizeKeys(u)))}catch(u){}if(r){const u=new Gt;return u.validate(r.city)||(r.city=u.transform(r.city)),u.validate(r.district)||(r.district=u.transform(r.district)),u.validate(r.province)||(r.province=u.transform(r.province)),r}throw`${t} is not a { city: string, district: string, province: string } object`}}class v5{static getValueChecker(t){let n;switch(t){case se.VARCHAR:case se.TIMESTAMP:case se.TEXT:case se.AUTO_NUMBER:n=new Gt;break;case se.DECIMAL:n=new kr;break;case se.EMPLOYEES:case se.DEPARTMENTS:case se.IMAGE:case se.FILE:case se.ARRAY:n=new l5;break;case se.MONEY:n=new d5;break;case se.TIMESCOPE:n=new h5;break;case se.CALC:n=new p5;break;case se.DECIMAL_RANGE:n=new f5;break;case se.ADDRESS:n=new D5;break}return n}}function g5(e){if(["min","max","currency","unit"].includes(e))return se.VARCHAR;if(["result","amount"].includes(e))return se.DECIMAL}function Ii(e,t,n,r){var o;let u=(o=g5(t))!=null?o:e,i=v5.getValueChecker(u);if(!i||i.validate(n))return n;try{const a=i.transform(n,r);return a!==void 0?a:n}catch(a){throw`${t} ${a}`}}function m5(e,t,n){return Object.entries(e).reduce((r,[u,i])=>{const o=t[u];return r[u]=Ii(i,u,o,n[u]),r},Object.assign({},t))}typeof window!="undefined"&&(window.engines={});let wt=null,Jt="";class jr extends wu{constructor(t){super(),this.rawStore={},this.isMounted=!1,this.id=nn(8),this.__pluginsApplied=!1,this.actionManager=new a5,this._jobTasks=[],this.createControlInstance=this.createInstance,this.$options=Object.freeze(t);const{autoMount:n=!0,schema:r,beforeCreateInstance:u,externalParams:i,language:o=ou,debug:a=!1,messagesI18n:s,children:c}=this.$options;this.debug=a,this.runtime=new Ee({schema:r,beforeCreateInstance:u}),this.externalParams=i,this.children=c,this.store=new Xg({instance:this.runtime.instance}),this.debugLog("engine is Instantiation complete"),n&&this.mount()}debugLog(...t){this.debug&&Zn(...t)}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}registerControl(...t){return this.runtime.register(...t),this}static register(t){return Ee.register(t,"Runtime")}static judgeControlIsRegistered(t){return Ee.staticRegisteredTypes.has(t.Runtime.controlType)}mount(){this.debugLog("engine\u7684mount\u65B9\u6CD5\u5F00\u59CB\u8C03\u7528");const{plugins:t=[]}=this.$options;this._handlerProxyState(),this.__plugins=t,this.applyPlugins(),this.setStates(this.getState()),this.debugLog("engine\u7684mount\u65B9\u6CD5\u8C03\u7528\u7ED3\u675F"),this.debug&&typeof window!="undefined"&&(window.engines[this.id]=this)}destroy(){this.debug&&typeof window!="undefined"&&delete window.engines[this.id]}_handlerProxyState(){this.store.state=En(this.store.state,this._proxyStateCallback.bind(this),this._proxyStateBeforeSetCallback.bind(this))}_proxyStateBeforeSetCallback(t,n,r,u){const i=Lr(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!i)return r;if(this.assertInstance(i,ue.SUBTABLE)){if(r===null)return[];const s=i.props.headers.reduce((l,f)=>{const d=f.children[0];return d&&d.controlType===Z.FORM&&(l[d.id]=d.fieldType),l},{}),c=this.getEmptyState(i.id);return r==null?void 0:r.map(l=>m5(s,l,c))}const o=n.split("."),a=o[o.length-1];try{return Ii(i.fieldType,a,r,u)}catch(s){throw Et(`the id=${i.id}'s instance setState error, %o ${s}.`,r),s}}_proxyStateCallback(t,n,r,u,i){Array.isArray(t)?this._handlerArrayUpdate(t,n,r,u,i):this._handlerObjectUpdate(t,n,r,u)}_handlerArrayUpdate(t,n,r,u,i){const o=Lr(this.runtime.flatInstances,n,this.runtime.instanceMap);if((o==null?void 0:o.controlType)!==Z.LIST)return;const a=p=>{const g=[];for(let v=0;v<p;v++){const F=this.listControlCreateRow(o,"subtable-row");F&&g.push(F)}return g},s=wt;let c=[],l=[],f=[],d=!1;if(r&&u){switch(r){case"push":case"unshift":const v=u.length;c=a(v),l=u,o.children[r](...c);break;case"splice":if(u.length>2){const F=u.length-2,h=u.slice(2);c=a(F),l=h;const m=u[0],y=u[1];o.children[r](m,y,...c)}else{const F=u[0],h=u[1];F+h===o.children.length-1&&(d=!0),o.children[r](...u)}break;default:o.children[r](...u);break}r==="splice"?f=i:["pop","shift"].includes(r)&&(f=[i]);const p=this.getState(o.id);this._handlerSubtableUpdateUid(p),this.runtime.getFlatInstances();const g=c.map(v=>{var h,m;const F=(m=(h=v==null?void 0:v.children)==null?void 0:h[0])==null?void 0:m.children[0];return this.getInstanceRowIndex(F)});this.emit("list-change",{instance:o,value:p,options:Object.assign({},s,{changed:c,data:l,rowIndexs:g,deleted:f!=null?f:[],jsonValue:JSON.stringify(p),isDeleteLastOne:d,type:r,args:u})}),wt=null}}_handlerSubtableUpdateUid(t){t.forEach(n=>{n.uid||Object.assign(n,{uid:"new:"+Zt("uid")})})}_handlerObjectUpdate(t,n,r,u){const i=Lr(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!i)return;const o=this.getInstanceRowIndex(i),a=wt||{};if(i.controlType===Z.LIST&&i.type===ue.SUBTABLE){i.children.length=0;const s=r;let c=[];for(let d=0;d<s.length;d++){const p=this.listControlCreateRow(i,"subtable-row");p&&c.push(p)}i.children.push(...c);let l=u!=null?u:[];(a==null?void 0:a.setData)===!0&&(l=[]),this.runtime.getFlatInstances(),this._handlerSubtableUpdateUid(s);const f=c.map(d=>{var g,v;const p=(v=(g=d==null?void 0:d.children)==null?void 0:g[0])==null?void 0:v.children[0];return this.getInstanceRowIndex(p)});this.emit("list-change",{instance:i,value:r,options:iu(ae({},a),{changed:c,data:s,rowIndexs:f,deleted:l,type:"push",jsonValue:JSON.stringify(s)})})}else this.emit("change",{instance:i,value:this.getState(i.id,o),rowIndex:o,options:iu(ae({},a),{oldValue:u})})}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{Jt=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this)}catch(r){Ze(`${Jt} Plugin apply Error
1
+ var rE=Object.defineProperty,uE=Object.defineProperties;var iE=Object.getOwnPropertyDescriptors;var Wo=Object.getOwnPropertySymbols,oE=Object.getPrototypeOf,aE=Object.prototype.hasOwnProperty,sE=Object.prototype.propertyIsEnumerable,cE=Reflect.get;var Tn=Math.pow,Zo=(G,oe,fe)=>oe in G?rE(G,oe,{enumerable:!0,configurable:!0,writable:!0,value:fe}):G[oe]=fe,ae=(G,oe)=>{for(var fe in oe||(oe={}))aE.call(oe,fe)&&Zo(G,fe,oe[fe]);if(Wo)for(var fe of Wo(oe))sE.call(oe,fe)&&Zo(G,fe,oe[fe]);return G},iu=(G,oe)=>uE(G,iE(oe));var Go=(G,oe,fe)=>cE(oE(G),fe,oe);var ze=(G,oe,fe)=>new Promise((Ln,tn)=>{var kn=We=>{try{Tt(fe.next(We))}catch(Lt){tn(Lt)}},jn=We=>{try{Tt(fe.throw(We))}catch(Lt){tn(Lt)}},Tt=We=>We.done?Ln(We.value):Promise.resolve(We.value).then(kn,jn);Tt((fe=fe.apply(G,oe)).next())});(function(G,oe){typeof exports=="object"&&typeof module!="undefined"?oe(exports,require("crypto")):typeof define=="function"&&define.amd?define(["exports","crypto"],oe):(G=typeof globalThis!="undefined"?globalThis:G||self,oe(G.modelDrivenEngine={},G.require$$0))})(this,function(G,oe){"use strict";function fe(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Ln=fe(oe),tn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",kn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",jn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Tt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",We="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Lt="{caption}\u5FC5\u586B",Jo="\u8BF7\u8F93\u5165\u6807\u9898",Xo="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ko="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Qo="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Yo="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ea="\u8BF7\u7ED1\u5B9A\u8868\u5355",ta="\u8BF7\u7ED1\u5B9A\u5217\u8868",na="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ra="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ua="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ia="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",oa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",aa="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",sa="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ca="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",la="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",fa="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",da="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ha="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",pa="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Da="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",va="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",ga="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ma="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ya="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ea="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ca="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Fa="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Aa="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ba="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",wa="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ba="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_a="\u8BF7\u9009\u62E9\u7701",Sa="\u8BF7\u9009\u62E9\u5E02",Ma="\u8BF7\u9009\u62E9\u533A",$a="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ia="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Na="\u8BF7\u8F93\u5165\u5217\u5BBD",xa="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Oa="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ra="\u8BF7\u9009\u62E9\u63A7\u4EF6",Pa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ta="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",La="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ka="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ja="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qa="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Va="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ua="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ha="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",za="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Wa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Za="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ga="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ja="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Xa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ka="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Qa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ya="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",es="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ts="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ns="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",rs="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",us="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",is="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",os="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",as="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ss="\u6279\u91CF\u5220\u9664",cs="\u6279\u91CF\u6253\u5370",ls="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",fs="\u6309\u94AE",ds="\u521B\u5EFA\u5355\u636E",hs="\u4EEA\u8868\u76D8",ps="\u5206\u5272\u7EBF",Ds="\u5BFC\u51FA",vs="\u8868\u5355\u64CD\u4F5C",gs="\u5BFC\u5165",ms="\u53D1\u7968\u8BC6\u522B",ys="\u94FE\u63A5",Es="\u5217\u8868\u9009\u62E9",Cs="\u5217\u8868\u89C6\u56FE",Fs="\u64CD\u4F5C\u6309\u94AE",As="\u5206\u9875",Bs="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",ws="\u8BF4\u660E\u6587\u5B57",bs="\u6587\u5B57\u8BC6\u522B",_s="\u6807\u9898\u7EC4\u4EF6",Ss="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ms="\u6570\u7EC4",$s="\u81EA\u52A8\u7F16\u53F7",Is="\u81EA\u5B9A\u4E49",Ns="\u6570\u503C",xs="\u90E8\u95E8",Os="\u4EBA\u5458",Rs="\u9644\u4EF6",Ps="\u56FE\u7247",Ts="\u5730\u5740",Ls="\u64CD\u4F5C",ks="\u5E8F\u53F7",js="\u4EBA\u5458",qs="\u957F\u6587\u672C",Vs="\u65E5\u671F\u533A\u95F4",Us="\u65E5\u671F",Hs="\u77ED\u6587\u672C",zs="\u6362\u884C\u5BB9\u5668Wrap",Ws="\u8868\u683C",Zs="\u660E\u7EC6\u5B50\u8868",Gs="\u5730\u5740",Js="\u91D1\u989D",Xs="\u8BA1\u7B97\u516C\u5F0F",Ks="\u591A\u9009",Qs="\u7535\u5B50\u7B7E\u7AE0",Ys="\u5355\u884C\u6587\u672C",ec="\u6570\u5B57",tc="\u4E1A\u52A1\u7EC4\u7EC7",nc="\u5355\u9009",rc="\u5BCC\u6587\u672C",uc="\u8BC4\u5206",ic="\u6570\u5B57\u533A\u95F4",oc="\u4E0B\u62C9\u5355\u9009",ac="\u4E0B\u62C9\u591A\u9009",sc="\u5173\u8054\u5355\u9009",cc="\u591A\u884C\u6587\u672C",lc="\u6811",fc="Vue\u5BB9\u5668",dc="Vue\u9875\u9762",hc="\u5728\u7EBF\u6587\u6863",pc="\u6309\u94AE\u64CD\u4F5C\u680F",Dc="\u9AD8\u7EA7\u5BB9\u5668",vc="\u5206\u7EC4",gc="\u6805\u683C\u5217",mc="\u6570\u636E\u5BB9\u5668",yc="\u753B\u5E03",Ec="\u6362\u884C\u5BB9\u5668",Cc="\u6805\u683C\u7B49\u5206\u884C",Fc="\u5217\u8868\u5BB9\u5668",Ac="\u81EA\u7531\u9875\u9762",Bc="\u5B9A\u4F4D\u5B50\u5BB9\u5668",wc="\u5B9A\u4F4D\u5BB9\u5668",bc="\u6805\u683C\u5E03\u5C40",_c="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Sc="\u660E\u7EC6\u5B50\u8868\u884C",Mc="\u6807\u7B7E\u9875",$c="\u6807\u7B7E\u5355\u5143",Ic="\u5DE5\u5177\u680F",Nc="\u6279\u91CF\u63D0\u4EA4",xc="\u5BFC\u51FA\u8BB0\u5F55",Oc="\u5217\u8868\u89C6\u56FE",Rc="\u7ED3\u675F\u65F6\u95F4",Pc="\u5F00\u59CB\u65F6\u95F4",Tc="\u5355\u4F4D",Lc="\u7ED3\u679C",kc="\u5E01\u79CD",jc="\u7ED3\u675F\u65E5\u671F",qc="\u5F00\u59CB\u65E5\u671F",Vc="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Uc="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Hc="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",zc="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Wc="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Zc="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Gc="\u8BF7\u9009\u62E9",Jc="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Xc="\u8BF7\u9009\u62E9\u90E8\u95E8",Kc="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Qc="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Yc="\u8BF7\u9009\u62E9\u5730\u5740",el="\u5F39\u7A97\u786E\u8BA4\u65F6",tl="\u6807\u7B7E\u9875\u5207\u6362\u65F6",nl="\u884C\u9009\u4E2D\u65F6",rl="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",ul="\u884C\u5220\u9664\u524D",il="\u884C\u70B9\u51FB\u65F6",ol="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",al="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",sl="\u91CD\u547D\u540D\u65F6",cl="\u4FDD\u5B58\u6587\u4EF6\u65F6",ll="\u6253\u5F00\u6587\u4EF6\u65F6",fl="\u83B7\u53D6\u7126\u70B9\u65F6",dl="\u5931\u53BB\u7126\u70B9\u65F6",hl="\u7528\u6237\u8F93\u5165\u65F6",pl="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Dl="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",vl="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",gl="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",ml="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",yl="\u641C\u7D22\u65F6",El="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Cl="\u6267\u884C\u5B8C\u6210\u65F6",Fl="\u70B9\u51FB\u65F6",Al="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Bl="\u8BF7\u8F93\u5165\u65E5\u671F",wl="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",bl="\u8BF7\u8F93\u5165",_l="\u9ED8\u8BA4\u6A21\u7248",Sl="\u5DE6\u53F3\u5E03\u5C40",Ml="\u4E0A\u4E0B\u5E03\u5C40",$l="\u53EA\u8BFB",Il="\u5FC5\u586B",Nl="\u63D0\u793A\u6587\u5B57",xl="\u9690\u85CF\u6807\u9898",Ol="\u6807\u9898\u5FC5\u586B",Rl="\u7EC4\u7EC7\u5F62\u6001",Pl="\u4E1A\u52A1\u7C7B\u578B",Tl="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Ll="\u9690\u85CF",kl="\u6D41\u7A0B\u72B6\u6001",jl="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",ql="\u5220\u9664",Vl="\u7F16\u8F91",Ul="\u67E5\u770B",Hl="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",zl="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Wl="\u5145\u6EE1\u6574\u884C",Zl="\u6700\u5C0F\u503C",Gl="\u6700\u5927\u503C",Jl="\u65B0\u5EFA\u6587\u6863",Xl="\u91CD\u7F6E",Kl="\u67E5\u8BE2",Ql="\u660E\u7EC6",Yl="\u6253\u5370",e0="\u4FDD\u5B58\u8349\u7A3F",t0="\u4FDD\u5B58",n0="\u53D6\u6D88",r0="\u4E0A\u4F20\u56FE\u7247",u0="\u53D1\u8D77\u7B7E\u7F72",i0="\u4E0A\u4F20\u9644\u4EF6",o0="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",a0="\u5F15\u7528\u5217\u8868",s0="\u9009\u9879\u4E00",c0="\u9009\u9879\u4E8C",l0="\u9009\u9879\u4E09",f0={isNotNumber:tn,isNotString:kn,isNotObject:jn,isNotArray:Tt,isNotBoolean:We,runtimeRequired:Lt,pleaseEnterCaption:Jo,pleaseEnterCaptionTip:Xo,pleaseEnterRowCaption:Ko,pleaseEnterPlaceholder:Qo,pleaseEnterFieldCode:Yo,pleaseEnterForm:ea,pleaseEnterList:ta,pleaseEnterProcess:na,pleaseEnterLabel:ra,pleaseEnterValue:ua,bizKeyNotBindFiled:ia,pleaseSelectOneField:oa,pleaseEnterNumberRange:aa,pleaseEnterAValueGreaterThanMin:sa,pleaseEnterAValueLessThanMax:ca,numberRangeSetError:la,stringRangeError:fa,attachmentMaxSize:da,pleaseEnterTotalScoreSetting:ha,theTotalScoreMustNotBeLessThan1:pa,scoreDefaultValueRange:Da,attachmentLimitError:va,PleaseReselectTheOptionalQuantity:ga,TheMaximumLengthIsGreaterThanTheMinimumLength:ma,TheMinimumLengthIsGreaterThanTheMaximumLength:ya,PleaseSelectTheCorrectOptionSettings:Ea,optionIdIsRepeat:Ca,optionIsRequired:Fa,pleaseEnterDataCode:Aa,pleaseEnterValueFieldCode:Ba,pleaseEnterSvcCode:wa,pleaseBindAtLeastOneDisplayValue:ba,pleaseSelectProvince:_a,pleaseSelectCity:Sa,pleaseSelectDistrict:Ma,limitRowsCannotBeLessThan0:$a,TheNumberOfRowsCannotBeLessThanMinRows:Ia,pleaseEnterColumnWidth:Na,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xa,pleaseCompleteAllRulesAndConditions:Oa,pleaseSelectControl:Ra,pleaseSelectAtLeastOneColumn:Pa,pleaseSelectFillBackMode:Ta,pleaseSelectDashboard:La,rootNodeIsRequired:ka,theViewNameCannotBeEmpty:ja,pleaseSelectOcrType:qa,pleaseSelectAtLeastOneFieldToFillIn:Va,pleaseChooseAtLeastOne:Ua,pleaseEnterButtonContent:Ha,pleaseEnterDataCodeInDataSetting:za,pleaseEnterValueFieldCodeInDataSetting:Wa,pleaseEnterSvcCodeInDataSetting:Za,pleaseBindAtLeastOneDisplayValueInDataSetting:Ga,rootNodeIsRequiredInDataSetting:Ja,pleaseEnterMaxHeight:Xa,pleaseEnterWatermark:Ka,pleaseEnterFileName:Qa,pleaseUploadAtLeastOnePrintTemplate:Ya,pleaseAssignBusiness:es,pleaseAssignExternal:ts,pleaseEnterAliasCode:ns,pleaseSelectDataCode:rs,pleaseSelectSvcCode:us,pleaseSelectJoinFieldCode:is,pleaseSelectMainFieldCode:os,pleaseSelectSortFieldCode:as,batchDeleteButton:ss,batchPrintListButton:cs,batchPrintRecordList:ls,button:fs,createFormListButton:ds,dashboard:hs,divider:ps,exportListButton:Ds,formSelectButton:vs,importRecordListButton:gs,invoiceCheckButton:ms,link:ys,listSelectButton:Es,ListViewSelect:Cs,operationButton:Fs,pagination:As,submissionRecordListButton:Bs,text:ws,textOcrButton:bs,title:_s,approvalStatusColumn:Ss,array:Ms,autoNumber:$s,custom:Is,decimal:Ns,department:xs,employee:Os,file:Rs,image:Ps,location:Ts,operation:Ls,order:ks,people:js,long:qs,timescope:Vs,timestamp:Us,varchar:Hs,gridLayoutWrap:zs,gridTable:Ws,subTable:Zs,address:Gs,amount:Js,calc:Xs,checkBox:Ks,electronicSignature:Qs,input:Ys,number:ec,organizationSelection:tc,radio:nc,richText:rc,score:uc,searchNumberRange:ic,select:oc,selectMultiple:ac,selectRelation:sc,textarea:cc,tree:lc,vueFormItem:fc,vuePage:dc,WPS:hc,actionBar:pc,advancedContainer:Dc,cardGroup:vc,col:gc,dataView:mc,grid:yc,gridLayoutContainer:Ec,gridRow:Cc,listView:Fc,page:Ac,position:Bc,positioningContainer:wc,row:bc,subtableColumn:_c,subtableRow:Sc,tab:Mc,tabPane:$c,toolbox:Ic,batchSubmissionListButton:Nc,exportRecordListButton:xc,listViewSelect:Oc,endTime:Rc,startTime:Pc,unit:Tc,result:Lc,currency:kc,endDate:jc,startDate:qc,pleaseSelectCompanyName:Vc,pleaseSelectPhoneOrEmail:Uc,pleaseSelectSignType:Hc,pleaseSelectSigner:zc,pleaseSelectOnlyOne:Wc,pleaseSelectSignFile:Zc,pleaseSelect:Gc,pleaseSelectOrg:Jc,pleaseSelectDept:Xc,pleaseSelectEndDate:Kc,pleaseSelectStartDate:Qc,pleaseChooseAddress:Yc,modalConfirm:el,tabChange:tl,rowSelected:nl,listDataImport:rl,rowDelete:ul,rowClick:il,cellRender:ol,onClickBtn:al,rename:sl,onSaveFile:cl,onOpenFile:ll,onFocus:fl,onBlur:dl,onInput:hl,listDataAdd:pl,listDataDelete:Dl,listDataBack:vl,listDataCreate:gl,listDataChange:ml,search:yl,valueChange:El,finished:Cl,click:Fl,pleaseEnterNameorEmail:Al,pleaseEnterDate:Bl,pleaseEnterAutonumber:wl,pleaseEnter:bl,defaultTemplate:_l,left:Sl,top:Ml,default:"\u666E\u901A",readonly:$l,required:Il,textTip:Nl,hideCaption:xl,titleRequired:Ol,organizationalForm:Rl,businessType:Pl,deleteConfirm:Tl,hide:Ll,processStatus:kl,approvedDocuments:jl,delete:ql,edit:Vl,view:Ul,loadCtrlErrorTip:Hl,loadCtrlError:zl,fullLine:Wl,min:Zl,max:Gl,createWPS:Jl,reset:Xl,query:Kl,detailed:Ql,print:Yl,draft:e0,save:t0,cancel:n0,uploadImg:r0,signature:u0,uploadFile:i0,linkContent:o0,referenceList:a0,optionOne:s0,optionTwo:c0,optionThird:l0},d0="Please enter a number",h0="Please enter a string",p0="Please enter an object",D0="Please enter an array",v0="Please enter a boolean",g0="{caption} Required",m0="Please enter the title",y0="Please enter the bubble prompt",E0="Please enter the row title",C0="Please enter the prompt text",F0="Please bind data items",A0="Please bind the form",B0="Please bind the list",w0="Please bind the process",b0="Please enter the displayed value",_0="Please enter the stored value",S0="The document number is not bound to the data item",M0="Please select at least one display field",$0="Please enter a value greater than or equal to {min} and less than or equal to {max}",I0="Please enter a value greater than or equal to {min}",N0="Please enter a value less than or equal to {max}",x0="The value range is set incorrectly",O0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",R0="The attachment size must be between 0MB and 1000MB",P0="Please fill in the total score setting",T0="The total score cannot be less than 1",L0="The default value must be between {min} and {max}",k0="The number of attachment uploads exceeds the limit",j0="Please re-select the optional quantity",q0="The maximum length of the control must be greater than the minimum length",V0="The minimum length of the control must be less than the maximum length",U0="Please select the correct option setting",H0="Option ID cannot be repeated",z0="Please enter at least one option",W0="Please bind the data source",Z0="Please bind the stored value",G0="Please bind the service",J0="At least one display value must be bound",X0="Please select a province",K0="Please select a city",Q0="Please select a district",Y0="The minimum number of lines to fill in cannot be less than 0",ef="The number of rows cannot be less than {min} rows",tf="Please enter the column width",nf="Please set the logical relationship of all rule conditions",rf="Please complete all rules and conditions",uf="please select control",of="Please select the dashboard",af="View name cannot be empty",sf="Please select recognition type",cf="Please select at least one field to fill in",lf="Please select at least one",ff="Please enter the button title",df="Please bind the business model in the data settings",hf="Please bind storage values in data settings",pf="Please bind the service in the data settings",Df="Please bind at least one display value in the data settings",vf="Please select the root node in the data settings",gf="Please enter the maximum height",mf="The input content cannot be empty",yf="Watermark cannot be empty",Ef="File name cannot be empty",Cf="Please upload at least one printing template!\uFF01",Ff="Please select a specific business department",Af="Please select a specified external organization",Bf="Please enter a sub table alias",wf="Please select the associated table to set the business model",bf="Please select the association table to set the binding service",_f="Select associated sub table fields",Sf="Please select the associated main table field",Mf="Please select the sort field",$f="\u6279\u91CF\u5220\u9664",If="\u6279\u91CF\u6253\u5370",Nf="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",xf="\u6309\u94AE",Of="\u521B\u5EFA\u5355\u636E",Rf="\u4EEA\u8868\u76D8",Pf="\u5206\u5272\u7EBF",Tf="\u5BFC\u51FA",Lf="\u8868\u5355\u64CD\u4F5C",kf="\u5BFC\u5165",jf="\u53D1\u7968\u8BC6\u522B",qf="\u94FE\u63A5",Vf="\u5217\u8868\u9009\u62E9",Uf="\u5217\u8868\u89C6\u56FE",Hf="\u64CD\u4F5C\u6309\u94AE",zf="\u5206\u9875",Wf="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Zf="\u8BF4\u660E\u6587\u5B57",Gf="\u6587\u5B57\u8BC6\u522B",Jf="\u6807\u9898\u7EC4\u4EF6",Xf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Kf="\u6570\u7EC4",Qf="\u81EA\u52A8\u7F16\u53F7",Yf="\u81EA\u5B9A\u4E49",ed="\u6570\u503C",td="\u90E8\u95E8",nd="\u4EBA\u5458",rd="\u9644\u4EF6",ud="\u56FE\u7247",id="\u5730\u5740",od="\u64CD\u4F5C",ad="\u5E8F\u53F7",sd="\u4EBA\u5458",cd="\u957F\u6587\u672C",ld="\u65E5\u671F\u533A\u95F4",fd="\u65E5\u671F",dd="\u77ED\u6587\u672C",hd="\u6362\u884C\u5BB9\u5668Wrap",pd="\u8868\u683C",Dd="\u660E\u7EC6\u5B50\u8868",vd="\u5730\u5740",gd="\u91D1\u989D",md="\u8BA1\u7B97\u516C\u5F0F",yd="\u591A\u9009",Ed="\u7535\u5B50\u7B7E\u7AE0",Cd="\u5355\u884C\u6587\u672C",Fd="\u6570\u5B57",Ad="\u4E1A\u52A1\u7EC4\u7EC7",Bd="\u5355\u9009",wd="\u5BCC\u6587\u672C",bd="\u8BC4\u5206",_d="\u6570\u5B57\u533A\u95F4",Sd="\u4E0B\u62C9\u5355\u9009",Md="\u4E0B\u62C9\u591A\u9009",$d="\u5173\u8054\u5355\u9009",Id="\u591A\u884C\u6587\u672C",Nd="\u6811",xd="Vue\u5BB9\u5668",Od="Vue\u9875\u9762",Rd="\u5728\u7EBF\u6587\u6863",Pd="\u6309\u94AE\u64CD\u4F5C\u680F",Td="\u9AD8\u7EA7\u5BB9\u5668",Ld="\u5206\u7EC4",kd="\u6805\u683C\u5217",jd="\u6570\u636E\u5BB9\u5668",qd="\u753B\u5E03",Vd="\u6362\u884C\u5BB9\u5668",Ud="\u6805\u683C\u7B49\u5206\u884C",Hd="\u5217\u8868\u5BB9\u5668",zd="\u81EA\u7531\u9875\u9762",Wd="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Zd="\u5B9A\u4F4D\u5BB9\u5668",Gd="\u6805\u683C\u5E03\u5C40",Jd="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Xd="\u660E\u7EC6\u5B50\u8868\u884C",Kd="\u6807\u7B7E\u9875",Qd="\u6807\u7B7E\u5355\u5143",Yd="\u5DE5\u5177\u680F",eh="\u6279\u91CF\u63D0\u4EA4",th="\u5BFC\u51FA\u8BB0\u5F55",nh="\u5217\u8868\u89C6\u56FE",rh="\u5F15\u7528\u5217\u8868",uh="\u9009\u9879\u4E00",ih="\u9009\u9879\u4E8C",oh="\u9009\u9879\u4E09",ah={isNotNumber:d0,isNotString:h0,isNotObject:p0,isNotArray:D0,isNotBoolean:v0,runtimeRequired:g0,pleaseEnterCaption:m0,pleaseEnterCaptionTip:y0,pleaseEnterRowCaption:E0,pleaseEnterPlaceholder:C0,pleaseEnterFieldCode:F0,pleaseEnterForm:A0,pleaseEnterList:B0,pleaseEnterProcess:w0,pleaseEnterLabel:b0,pleaseEnterValue:_0,bizKeyNotBindFiled:S0,pleaseSelectOneField:M0,pleaseEnterNumberRange:$0,pleaseEnterAValueGreaterThanMin:I0,pleaseEnterAValueLessThanMax:N0,numberRangeSetError:x0,stringRangeError:O0,attachmentMaxSize:R0,pleaseEnterTotalScoreSetting:P0,theTotalScoreMustNotBeLessThan1:T0,scoreDefaultValueRange:L0,attachmentLimitError:k0,PleaseReselectTheOptionalQuantity:j0,TheMaximumLengthIsGreaterThanTheMinimumLength:q0,TheMinimumLengthIsGreaterThanTheMaximumLength:V0,PleaseSelectTheCorrectOptionSettings:U0,optionIdIsRepeat:H0,optionIsRequired:z0,pleaseEnterDataCode:W0,pleaseEnterValueFieldCode:Z0,pleaseEnterSvcCode:G0,pleaseBindAtLeastOneDisplayValue:J0,pleaseSelectProvince:X0,pleaseSelectCity:K0,pleaseSelectDistrict:Q0,limitRowsCannotBeLessThan0:Y0,TheNumberOfRowsCannotBeLessThanMinRows:ef,pleaseEnterColumnWidth:tf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nf,pleaseCompleteAllRulesAndConditions:rf,pleaseSelectControl:uf,pleaseSelectDashboard:of,theViewNameCannotBeEmpty:af,pleaseSelectOcrType:sf,pleaseSelectAtLeastOneFieldToFillIn:cf,pleaseChooseAtLeastOne:lf,pleaseEnterButtonContent:ff,pleaseEnterDataCodeInDataSetting:df,pleaseEnterValueFieldCodeInDataSetting:hf,pleaseEnterSvcCodeInDataSetting:pf,pleaseBindAtLeastOneDisplayValueInDataSetting:Df,rootNodeIsRequiredInDataSetting:vf,pleaseEnterMaxHeight:gf,pleaseEnter:mf,pleaseEnterWatermark:yf,pleaseEnterFileName:Ef,pleaseUploadAtLeastOnePrintTemplate:Cf,pleaseAssignBusiness:Ff,pleaseAssignExternal:Af,pleaseEnterAliasCode:Bf,pleaseSelectDataCode:wf,pleaseSelectSvcCode:bf,pleaseSelectJoinFieldCode:_f,pleaseSelectMainFieldCode:Sf,pleaseSelectSortFieldCode:Mf,batchDeleteButton:$f,batchPrintListButton:If,batchPrintRecordList:Nf,button:xf,createFormListButton:Of,dashboard:Rf,divider:Pf,exportListButton:Tf,formSelectButton:Lf,importRecordListButton:kf,invoiceCheckButton:jf,link:qf,listSelectButton:Vf,ListViewSelect:Uf,operationButton:Hf,pagination:zf,submissionRecordListButton:Wf,text:Zf,textOcrButton:Gf,title:Jf,approvalStatusColumn:Xf,array:Kf,autoNumber:Qf,custom:Yf,decimal:ed,department:td,employee:nd,file:rd,image:ud,location:id,operation:od,order:ad,people:sd,long:cd,timescope:ld,timestamp:fd,varchar:dd,gridLayoutWrap:hd,gridTable:pd,subTable:Dd,address:vd,amount:gd,calc:md,checkBox:yd,electronicSignature:Ed,input:Cd,number:Fd,organizationSelection:Ad,radio:Bd,richText:wd,score:bd,searchNumberRange:_d,select:Sd,selectMultiple:Md,selectRelation:$d,textarea:Id,tree:Nd,vueFormItem:xd,vuePage:Od,WPS:Rd,actionBar:Pd,advancedContainer:Td,cardGroup:Ld,col:kd,dataView:jd,grid:qd,gridLayoutContainer:Vd,gridRow:Ud,listView:Hd,page:zd,position:Wd,positioningContainer:Zd,row:Gd,subtableColumn:Jd,subtableRow:Xd,tab:Kd,tabPane:Qd,toolbox:Yd,batchSubmissionListButton:eh,exportRecordListButton:th,listViewSelect:nh,referenceList:rh,optionOne:uh,optionTwo:ih,optionThird:oh},sh="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ch="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hh="{caption}\u5FC5\u9808",ph="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Eh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ch="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ah="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",wh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_h="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",$h="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ih="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Nh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Oh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Rh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Ph="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Th="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Lh="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",qh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Vh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Wh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Gh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Kh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Yh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ep="please select control",tp="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",np="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",rp="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",up="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ip="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",op="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ap="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",sp="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",cp="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",lp="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",fp="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dp="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hp="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",pp="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Dp="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",vp="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",gp="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mp="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yp="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ep="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Cp="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fp="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ap="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bp="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wp="\u6279\u91CF\u5220\u9664",bp="\u6279\u91CF\u6253\u5370",_p="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Sp="\u6309\u94AE",Mp="\u521B\u5EFA\u5355\u636E",$p="\u4EEA\u8868\u76D8",Ip="\u5206\u5272\u7EBF",Np="\u5BFC\u51FA",xp="\u8868\u5355\u64CD\u4F5C",Op="\u5BFC\u5165",Rp="\u53D1\u7968\u8BC6\u522B",Pp="\u94FE\u63A5",Tp="\u5217\u8868\u9009\u62E9",Lp="\u5217\u8868\u89C6\u56FE",kp="\u64CD\u4F5C\u6309\u94AE",jp="\u5206\u9875",qp="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Vp="\u8BF4\u660E\u6587\u5B57",Up="\u6587\u5B57\u8BC6\u522B",Hp="\u6807\u9898\u7EC4\u4EF6",zp="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Wp="\u6570\u7EC4",Zp="\u81EA\u52A8\u7F16\u53F7",Gp="\u81EA\u5B9A\u4E49",Jp="\u6570\u503C",Xp="\u90E8\u95E8",Kp="\u4EBA\u5458",Qp="\u9644\u4EF6",Yp="\u56FE\u7247",e1="\u5730\u5740",t1="\u64CD\u4F5C",n1="\u5E8F\u53F7",r1="\u4EBA\u5458",u1="\u957F\u6587\u672C",i1="\u65E5\u671F\u533A\u95F4",o1="\u65E5\u671F",a1="\u77ED\u6587\u672C",s1="\u6362\u884C\u5BB9\u5668Wrap",c1="\u8868\u683C",l1="\u660E\u7EC6\u5B50\u8868",f1="\u5730\u5740",d1="\u91D1\u989D",h1="\u8BA1\u7B97\u516C\u5F0F",p1="\u591A\u9009",D1="\u7535\u5B50\u7B7E\u7AE0",v1="\u5355\u884C\u6587\u672C",g1="\u6570\u5B57",m1="\u4E1A\u52A1\u7EC4\u7EC7",y1="\u5355\u9009",E1="\u5BCC\u6587\u672C",C1="\u8BC4\u5206",F1="\u6570\u5B57\u533A\u95F4",A1="\u4E0B\u62C9\u5355\u9009",B1="\u4E0B\u62C9\u591A\u9009",w1="\u5173\u8054\u5355\u9009",b1="\u591A\u884C\u6587\u672C",_1="\u6811",S1="Vue\u5BB9\u5668",M1="Vue\u9875\u9762",$1="\u5728\u7EBF\u6587\u6863",I1="\u6309\u94AE\u64CD\u4F5C\u680F",N1="\u9AD8\u7EA7\u5BB9\u5668",x1="\u5206\u7EC4",O1="\u6805\u683C\u5217",R1="\u6570\u636E\u5BB9\u5668",P1="\u753B\u5E03",T1="\u6362\u884C\u5BB9\u5668",L1="\u6805\u683C\u7B49\u5206\u884C",k1="\u5217\u8868\u5BB9\u5668",j1="\u81EA\u7531\u9875\u9762",q1="\u5B9A\u4F4D\u5B50\u5BB9\u5668",V1="\u5B9A\u4F4D\u5BB9\u5668",U1="\u6805\u683C\u5E03\u5C40",H1="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",z1="\u660E\u7EC6\u5B50\u8868\u884C",W1="\u6807\u7B7E\u9875",Z1="\u6807\u7B7E\u5355\u5143",G1="\u5DE5\u5177\u680F",J1="\u6279\u91CF\u63D0\u4EA4",X1="\u5BFC\u51FA\u8BB0\u5F55",K1="\u5217\u8868\u89C6\u56FE",Q1="\u5F15\u7528\u5217\u8868",Y1="\u9009\u9879\u4E00",eD="\u9009\u9879\u4E8C",tD="\u9009\u9879\u4E09",nD={isNotNumber:sh,isNotString:ch,isNotObject:lh,isNotArray:fh,isNotBoolean:dh,runtimeRequired:hh,pleaseEnterCaption:ph,pleaseEnterCaptionTip:Dh,pleaseEnterRowCaption:vh,pleaseEnterPlaceholder:gh,pleaseEnterFieldCode:mh,pleaseEnterForm:yh,pleaseEnterList:Eh,pleaseEnterProcess:Ch,pleaseEnterLabel:Fh,pleaseEnterValue:Ah,bizKeyNotBindFiled:Bh,pleaseSelectOneField:wh,pleaseEnterNumberRange:bh,pleaseEnterAValueGreaterThanMin:_h,pleaseEnterAValueLessThanMax:Sh,numberRangeSetError:Mh,stringRangeError:$h,attachmentMaxSize:Ih,pleaseEnterTotalScoreSetting:Nh,theTotalScoreMustNotBeLessThan1:xh,scoreDefaultValueRange:Oh,attachmentLimitError:Rh,PleaseReselectTheOptionalQuantity:Ph,TheMaximumLengthIsGreaterThanTheMinimumLength:Th,TheMinimumLengthIsGreaterThanTheMaximumLength:Lh,PleaseSelectTheCorrectOptionSettings:kh,optionIdIsRepeat:jh,optionIsRequired:qh,pleaseEnterDataCode:Vh,pleaseEnterValueFieldCode:Uh,pleaseEnterSvcCode:Hh,pleaseBindAtLeastOneDisplayValue:zh,pleaseSelectProvince:Wh,pleaseSelectCity:Zh,pleaseSelectDistrict:Gh,limitRowsCannotBeLessThan0:Jh,TheNumberOfRowsCannotBeLessThanMinRows:Xh,pleaseEnterColumnWidth:Kh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Qh,pleaseCompleteAllRulesAndConditions:Yh,pleaseSelectControl:ep,pleaseSelectDashboard:tp,theViewNameCannotBeEmpty:np,pleaseSelectOcrType:rp,pleaseSelectAtLeastOneFieldToFillIn:up,pleaseChooseAtLeastOne:ip,pleaseEnterButtonContent:op,pleaseEnterDataCodeInDataSetting:ap,pleaseEnterValueFieldCodeInDataSetting:sp,pleaseEnterSvcCodeInDataSetting:cp,pleaseBindAtLeastOneDisplayValueInDataSetting:lp,rootNodeIsRequiredInDataSetting:fp,pleaseEnterMaxHeight:dp,pleaseEnter:hp,pleaseEnterWatermark:pp,pleaseEnterFileName:Dp,pleaseUploadAtLeastOnePrintTemplate:vp,pleaseAssignBusiness:gp,pleaseAssignExternal:mp,pleaseEnterAliasCode:yp,pleaseSelectDataCode:Ep,pleaseSelectSvcCode:Cp,pleaseSelectJoinFieldCode:Fp,pleaseSelectMainFieldCode:Ap,pleaseSelectSortFieldCode:Bp,batchDeleteButton:wp,batchPrintListButton:bp,batchPrintRecordList:_p,button:Sp,createFormListButton:Mp,dashboard:$p,divider:Ip,exportListButton:Np,formSelectButton:xp,importRecordListButton:Op,invoiceCheckButton:Rp,link:Pp,listSelectButton:Tp,ListViewSelect:Lp,operationButton:kp,pagination:jp,submissionRecordListButton:qp,text:Vp,textOcrButton:Up,title:Hp,approvalStatusColumn:zp,array:Wp,autoNumber:Zp,custom:Gp,decimal:Jp,department:Xp,employee:Kp,file:Qp,image:Yp,location:e1,operation:t1,order:n1,people:r1,long:u1,timescope:i1,timestamp:o1,varchar:a1,gridLayoutWrap:s1,gridTable:c1,subTable:l1,address:f1,amount:d1,calc:h1,checkBox:p1,electronicSignature:D1,input:v1,number:g1,organizationSelection:m1,radio:y1,richText:E1,score:C1,searchNumberRange:F1,select:A1,selectMultiple:B1,selectRelation:w1,textarea:b1,tree:_1,vueFormItem:S1,vuePage:M1,WPS:$1,actionBar:I1,advancedContainer:N1,cardGroup:x1,col:O1,dataView:R1,grid:P1,gridLayoutContainer:T1,gridRow:L1,listView:k1,page:j1,position:q1,positioningContainer:V1,row:U1,subtableColumn:H1,subtableRow:z1,tab:W1,tabPane:Z1,toolbox:G1,batchSubmissionListButton:J1,exportRecordListButton:X1,listViewSelect:K1,referenceList:Q1,optionOne:Y1,optionTwo:eD,optionThird:tD},qn={zhCN:f0,enUS:ah,jaJP:nD},Re;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Re||(Re={}));var yt;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(yt||(yt={}));var Vn,ou=(Vn=window.localStorage.getItem("locale"))!==null&&Vn!==void 0?Vn:"zh-CN",Z;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Z||(Z={}));var au;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(au||(au={}));var ue;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page",e.REFERENCE_LIST="reference-list"})(ue||(ue={}));var su;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(su||(su={}));var se;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(se||(se={}));var cu;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(cu||(cu={}));var lu="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",rD=lu+"0123456789";function nn(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?lu:rD,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function Un(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function uD(e){if(Array.isArray(e))return Un(e)}function iD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fu(e,t,n){return t=kt(t),cD(e,zn()?Reflect.construct(t,n||[],kt(e).constructor):t.apply(e,n))}function du(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,n){return zn()?rn=Reflect.construct:rn=function(u,i,o){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(u,a),c=new s;return o&&jt(c,o.prototype),c},rn.apply(null,arguments)}function kt(e){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(e)}function hu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function oD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function aD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function cD(e,t){return t&&(lD(t)==="object"||typeof t=="function")?t:iD(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},jt(e,t)}function pu(e){return uD(e)||aD(e)||fD(e)||sD()}function lD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fD(e,t){if(!!e){if(typeof e=="string")return Un(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Un(e,t)}}function Hn(e){var t=typeof Map=="function"?new Map:void 0;return Hn=function(r){if(r===null||!oD(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return rn(r,arguments,kt(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jt(u,r)},Hn(e)}function zn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zn=function(){return!!e})()}var Wn=console;function Et(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=Wn).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(pu(u)))}function Zn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=Wn).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(pu(u)))}function dD(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Gn=function(e){hu(t,e);function t(n){du(this,t);var r;return r=fu(this,t,[n]),r.name="\u{1F4A5} Driven Error",r.message=n?dD(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return t}(Hn(Error)),hD=function(e){hu(t,e);function t(n){du(this,t);var r;return r=fu(this,t,[n]),r.name="\u{1F6A8} Driven Reference Error",r}return t}(Gn);function Ze(e){throw new Gn(e)}function Du(e){throw new hD(e)}function un(e){Wn.error(new Gn(e))}function Ge(e,t){Array.isArray(e)&&e.map(function(n){switch(n.controlType){case"layout":Ge(n==null?void 0:n.children,t);break;case"wrap":Ge(n==null?void 0:n.children,t);break;case"search":Ge(n==null?void 0:n.children,t);break;case"form":t(n)}})}const z=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const r=e.split(".");let u;const i=(window.baitedaWorkers||{}).languageMessages||{};r.forEach((a,s)=>{s===0?u=i[a]:u&&(u=u[a])});let o="";return u&&(o=u),t&&Object.keys(t).forEach(a=>{const s=t[a];o=o.replace(new RegExp(`\\{\\s*${a}\\s*\\}`,"g"),s)}),o||(n?o=n:o=e),o};function pD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function DD(e,t,n){return t&&vu(e.prototype,t),n&&vu(e,n),e}function vD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gu=function(){function e(){pD(this,e)}return DD(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return z("CMD."+n,r,qn==null||(u=qn[ou.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,r){}}]),e}();vD(gu,"$i18n",gu.resetI18n());function Jn(e,t,n){var r=t.replace(/\[(\d)]/g,function(i,o){return"."+o}).split("."),u=!1;return r.reduce(function(i,o,a,s){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,o)){Et("Can not set ".concat(t,"'s ").concat(o," property in current %o, Because there is no ").concat(o," property on the %o"),i,i);return}return a===s.length-1&&!Object.is(c[o],n)&&(c[o]=n,u=!0),c[o]}},e),u}var et=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function gD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xn={exports:{}};(function(e){(function(t){var n=function(h,m,y){if(!c(m)||f(m)||d(m)||p(m)||s(m))return m;var C,B=0,M=0;if(l(m))for(C=[],M=m.length;B<M;B++)C.push(n(h,m[B],y));else{C={};for(var I in m)Object.prototype.hasOwnProperty.call(m,I)&&(C[h(I,y)]=n(h,m[I],y))}return C},r=function(h,m){m=m||{};var y=m.separator||"_",C=m.split||/(?=[A-Z])/;return h.split(C).join(y)},u=function(h){return g(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(m,y){return y?y.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var m=u(h);return m.substr(0,1).toUpperCase()+m.substr(1)},o=function(h,m){return r(h,m).toLowerCase()},a=Object.prototype.toString,s=function(h){return typeof h=="function"},c=function(h){return h===Object(h)},l=function(h){return a.call(h)=="[object Array]"},f=function(h){return a.call(h)=="[object Date]"},d=function(h){return a.call(h)=="[object RegExp]"},p=function(h){return a.call(h)=="[object Boolean]"},g=function(h){return h=h-0,h===h},v=function(h,m){var y=m&&"process"in m?m.process:m;return typeof y!="function"?h:function(C,B){return y(C,h,B)}},F={camelize:u,decamelize:o,pascalize:i,depascalize:o,camelizeKeys:function(h,m){return n(v(u,m),h)},decamelizeKeys:function(h,m){return n(v(o,m),h,m)},pascalizeKeys:function(h,m){return n(v(i,m),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=F:t.humps=F})(et)})(Xn);var mu={};Object.defineProperty(mu,"__esModule",{value:!0});function Kn(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Kn(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:Kn(r)}return t}}var mD=mu.default=Kn;function yu(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":yu(e))==="object"?mD(e):e}function Pe(e){return Object.prototype.toString.call(e)==="[object Object]"}function yD(e){return e!=null&&(typeof e=="undefined"?"undefined":yu(e))==="object"&&Array.isArray(e)===!1}function ft(e){return Array.isArray(e)}function Fe(e){return typeof e=="string"}function on(e){return typeof e=="number"}function Eu(e){return typeof e=="function"}function ED(e){return ft(e)&&e.every(function(t){return Fe(t)})}function CD(e){return ft(e)&&e.every(function(t){return on(t)||t===""})}function Cu(e){return/^\[.*?]$/.test(e)}function an(e){return/^{.*?}$/.test(e)}function FD(e){return Object.values(ue).includes(e)}function Qn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function AD(e){if(Array.isArray(e))return Qn(e)}function Fu(e,t,n,r,u,i,o){try{var a=e[i](o),s=a.value}catch(c){n(c);return}a.done?t(s):Promise.resolve(s).then(r,u)}function BD(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function o(s){Fu(i,r,u,o,a,"next",s)}function a(s){Fu(i,r,u,o,a,"throw",s)}o(void 0)})}}function wD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bD(e,t,n){return t&&Au(e.prototype,t),n&&Au(e,n),e}function Bu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _D(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function SD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yn(e){return AD(e)||_D(e)||MD(e)||SD()}function MD(e,t){if(!!e){if(typeof e=="string")return Qn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qn(e,t)}}function $D(e,t){var n,r,u,i,o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(l){return s([c,l])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=c[0]&2?r.return:c[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,c[1])).done)return u;switch(r=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){o.label=c[1];break}if(c[0]===6&&o.label<u[1]){o.label=u[1],u=c;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(c);break}u[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(l){c=[6,l],r=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var wu=function(){function e(){wD(this,e),Bu(this,"_events",new Map),Bu(this,"debug",!1)}return bD(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),i=1;i<r;i++)u[i-1]=arguments[i];var o=this;return BD(function(){var a,s,c,l,f,d,p,g,v,F,h,m;return $D(this,function(y){switch(y.label){case 0:if(a=o._events.get(n),s=[],!a)return[3,10];c=a.slice(),l=!0,f=!1,d=void 0,y.label=1;case 1:y.trys.push([1,8,9,10]),p=c[Symbol.iterator](),y.label=2;case 2:if(l=(g=p.next()).done)return[3,7];if(v=g.value,!a.includes(v))return[3,6];y.label=3;case 3:return y.trys.push([3,5,,6]),o.debug&&Zn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Yn(u))),[4,v.apply(null,Yn(u))];case 4:return F=y.sent(),o.debug&&Zn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Yn(u),[F])),s.push(F),F===!1?[3,7]:[3,6];case 5:return h=y.sent(),un(String(h)+":"+String(h.stack)),[3,6];case 6:return l=!0,[3,2];case 7:return[3,10];case 8:return m=y.sent(),f=!0,d=m,[3,10];case 9:try{!l&&p.return!=null&&p.return()}finally{if(f)throw d}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),i=u==null?void 0:u.indexOf(r);u==null||u.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function ID(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ND(e,t,n){return t&&bu(e.prototype,t),n&&bu(e,n),e}function xD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OD=[{key:"on_click",name:z("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:z("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:z("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:z("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:z("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:z("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:z("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:z("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:z("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:z("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:z("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:z("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:z("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:z("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:z("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:z("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:z("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:z("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:z("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:z("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:z("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:z("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:z("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_option_selected",name:z("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],_u=function(){function e(){ID(this,e)}return ND(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(u){return r.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],u=n.eventKeys;r=r.concat(e.events.filter(function(o){return u.includes(o.key)}));var i=n.customEvents.map(function(o){var a=o.key;return o.namespace!==void 0&&o.namespace!==null&&o.namespace!==""&&(a=o.namespace+":"+o.key),{key:a,code:o.key,name:o.name}});return r=r.concat(i),r}}]),e}();xD(_u,"events",OD);function er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function RD(e){if(Array.isArray(e))return er(e)}function PD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function TD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Su(e){return RD(e)||PD(e)||LD(e)||TD()}function LD(e,t){if(!!e){if(typeof e=="string")return er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return er(e,t)}}function tr(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Mu(e,t,n){n!=="Runtime"&&(e.parent=t,tr(e,"parent"))}function kD(e,t,n){e.forEach(function(r){Mu(r,t,n)})}var $u=Symbol("targetKey");function Iu(e){var t;return(t=e[$u])!==null&&t!==void 0?t:e}function Nu(e,t,n){return kD(e,t,n),new Proxy(e,{get:function(u,i){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];var c;return i===$u?u:(c=Reflect).get.apply(c,[u,i].concat(Su(a)))},set:function(u,i,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c<a;c++)s[c-3]=arguments[c];var l;if(ft(e)&&i==="length"&&o===e.length)return!0;var f=(l=Reflect).set.apply(l,[u,i,o].concat(Su(s)));return Pe(o)&&Mu(o,t,n),f}})}function nr(e,t,n,r,u){var i=r!=null?r:e,o=Nu(Iu(n!=null?n:[]),i,u);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=Nu(Iu(s),i,u)},enumerable:!0})}function jD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qD(e,t,n){return t&&xu(e.prototype,t),n&&xu(e,n),e}function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ou=[],qt=function(){function e(t){jD(this,e),tt(this,"registeredControlTypes",new Set),tt(this,"controlConfigMap",new Map),tt(this,"_controls",[]),tt(this,"_type",void 0),this._type=t,this._initControls(t)}return qD(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Ze("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(u){return u.controlType===n.controlType});return r>-1&&(Et("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Z.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Z.FORM}},{key:"isListControl",value:function(n){return n.controlType===Z.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Z.COLUMN}},{key:"createControl",value:function(n,r){var u=this;if(Array.isArray(n))return n.map(function(l){return u.createControl(l,r)});if(n.children&&(n.children=n.children.map(function(l){return u.createControl(l,r)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(l){return u.createControl(l,r)}))}var o=this.getControlFormType(n.type);if(o){var a=n;if(typeof r=="function"){var s=r(a);s&&(a=s)}var c;return o.mode==="Runtime"?(c=a,c.fieldType=o.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new o(a),c}else Ze("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,r){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return r}}),tr(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,o=r._controlParentIdMap,a=r.instanceMap;if(!(!o||!a)){var s=o[i],c=a[i];if(!(!s&&!c)){var l=c.findIndex(function(p){return p==n}),f=a[s]||[],d;return f.length!==c.length?d=f[0]:d=f[l],d}}}}),tr(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var u=this.getControlFormType(n);if(u)return new u(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(u){r.register(u[n]),e.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var u=e.staticControlsRuntimeRules.get(n),i=[];if(u){var o=new u(r);i=Array.from(o)}return i}},{key:"register",value:function(n,r){var u=n.Designer,i=n.Runtime,o=n.Property;(!u||!i||!u.__is_control__||!i.__is_control__)&&Ze("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return a>-1&&(Et("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),o.mode=r,this}}]),e}();tt(qt,"staticControlsRuntimeRules",new Map),tt(qt,"staticControls",Ou),tt(qt,"staticRegisteredTypes",new Set(Ou.map(function(e){return e.Designer.controlType}))),tt(qt,"staticRegisteredConfigs",new Map);function dt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rr=function e(t){dt(this,e),ie(this,"dataCode",void 0),ie(this,"fieldCode",void 0),ie(this,"fieldType",void 0),ie(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=t==null?void 0:t.aliasCode},VD=function e(t){dt(this,e),ie(this,"minWidth",void 0),ie(this,"maxWidth",void 0),ie(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},ur=function e(t){dt(this,e),ie(this,"amount",void 0),ie(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var r;this.currency=(r=t==null?void 0:t.currency)!==null&&r!==void 0?r:"CNY"},ir=function e(t){dt(this,e),ie(this,"min",void 0),ie(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var r;this.max=(r=t==null?void 0:t.max)!==null&&r!==void 0?r:""},or=function e(t){dt(this,e),ie(this,"city",void 0),ie(this,"cityDisplay",void 0),ie(this,"district",void 0),ie(this,"districtDisplay",void 0),ie(this,"province",void 0),ie(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var r;this.cityDisplay=(r=t==null?void 0:t.cityDisplay)!==null&&r!==void 0?r:"";var u;this.district=(u=t==null?void 0:t.district)!==null&&u!==void 0?u:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var o;this.province=(o=t==null?void 0:t.province)!==null&&o!==void 0?o:"";var a;this.provinceDisplay=(a=t==null?void 0:t.provinceDisplay)!==null&&a!==void 0?a:""},ar=function e(t){dt(this,e),ie(this,"result",void 0),ie(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var r;this.unit=(r=t==null?void 0:t.unit)!==null&&r!==void 0?r:""},Ru;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Ru||(Ru={}));var Pu;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",e.IS_SHOW_TOOL_BAE="isShowToolbar",e.MAIN_DEPT_FLAG="mainDeptFlag"})(Pu||(Pu={}));var sr;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(sr||(sr={}));var UD=function e(t){dt(this,e),ie(this,"width",void 0),ie(this,"height",void 0),ie(this,"widthConfig",void 0),ie(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function HD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zD(e,t,n){return t=Vt(t),GD(e,fr()?Reflect.construct(t,n||[],Vt(e).constructor):t.apply(e,n))}function cr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sn(e,t,n){return fr()?sn=Reflect.construct:sn=function(u,i,o){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(u,a),c=new s;return o&&Ut(c,o.prototype),c},sn.apply(null,arguments)}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vt(e){return Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vt(e)}function WD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ut(e,t)}function ZD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function GD(e,t){return t&&(JD(t)==="object"||typeof t=="function")?t:HD(e)}function Ut(e,t){return Ut=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ut(e,t)}function JD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lr(e){var t=typeof Map=="function"?new Map:void 0;return lr=function(r){if(r===null||!ZD(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return sn(r,arguments,Vt(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ut(u,r)},lr(e)}function fr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fr=function(){return!!e})()}var dr=function e(t){cr(this,e),Je(this,"isHide",{type:"boolean"})},Tu=function(e){WD(t,e);function t(n){return cr(this,t),zD(this,t)}return t}(lr(Array)),Xe=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";cr(this,e),Je(this,"isHide",void 0),Je(this,"className",void 0),Je(this,"style",void 0),Je(this,"caption",void 0),Je(this,"defaultState",void 0);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new UD(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};Je(Xe,"mode",void 0),Je(Xe,"Rules",dr),Je(Xe,"RuntimeRules",Tu);function Ve(){return Ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ve.apply(this,arguments)}function XD(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},cn(e,t)}function KD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function ln(e,t,n){return KD()?ln=Reflect.construct:ln=function(u,i,o){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(u,a),c=new s;return o&&cn(c,o.prototype),c},ln.apply(null,arguments)}function QD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function pr(e){var t=typeof Map=="function"?new Map:void 0;return pr=function(r){if(r===null||!QD(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return ln(r,arguments,hr(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),cn(u,r)},pr(e)}var YD=/%[sdj%]/g,Lu=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Lu=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Dr(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Se(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],i=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var o=String(u).replace(YD,function(a){if(a==="%%")return"%";if(r>=i)return a;switch(a){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(s){return"[Circular]"}break;default:return a}});return o}return u}function ev(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function de(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||ev(t)&&typeof e=="string"&&!e)}function tv(e,t,n){var r=[],u=0,i=e.length;function o(a){r.push.apply(r,a),u++,u===i&&n(r)}e.forEach(function(a){t(a,o)})}function ku(e,t,n){var r=0,u=e.length;function i(o){if(o&&o.length){n(o);return}var a=r;r=r+1,a<u?t(e[a],i):n([])}i([])}function nv(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var ju=function(e){XD(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(pr(Error));function rv(e,t,n,r){if(t.first){var u=new Promise(function(f,d){var p=function(F){return r(F),F.length?d(new ju(F,Dr(F))):f()},g=nv(e);ku(g,n,p)});return u.catch(function(f){return f}),u}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var o=Object.keys(e),a=o.length,s=0,c=[],l=new Promise(function(f,d){var p=function(v){if(c.push.apply(c,v),s++,s===a)return r(c),c.length?d(new ju(c,Dr(c))):f()};o.length||(r(c),f()),o.forEach(function(g){var v=e[g];i.indexOf(g)!==-1?ku(v,n,p):tv(v,n,p)})});return l.catch(function(f){return f}),l}function qu(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Vu(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Ve(Ve({},e[n]),r):e[n]=r}}return e}function Uu(e,t,n,r,u,i){e.required&&(!n.hasOwnProperty(e.field)||de(t,i||e.type))&&r.push(Se(u.messages.required,e.fullField))}function uv(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push(Se(u.messages.whitespace,e.fullField))}var vr={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Ht={integer:function(t){return Ht.number(t)&&parseInt(t,10)===t},float:function(t){return Ht.number(t)&&!Ht.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Ht.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(vr.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(vr.url)},hex:function(t){return typeof t=="string"&&!!t.match(vr.hex)}};function iv(e,t,n,r,u){if(e.required&&t===void 0){Uu(e,t,n,r,u);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=e.type;i.indexOf(o)>-1?Ht[o](t)||r.push(Se(u.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&r.push(Se(u.messages.types[o],e.fullField,e.type))}function ov(e,t,n,r,u){var i=typeof e.len=="number",o=typeof e.min=="number",a=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,l=null,f=typeof t=="number",d=typeof t=="string",p=Array.isArray(t);if(f?l="number":d?l="string":p&&(l="array"),!l)return!1;p&&(c=t.length),d&&(c=t.replace(s,"_").length),i?c!==e.len&&r.push(Se(u.messages[l].len,e.fullField,e.len)):o&&!a&&c<e.min?r.push(Se(u.messages[l].min,e.fullField,e.min)):a&&!o&&c>e.max?r.push(Se(u.messages[l].max,e.fullField,e.max)):o&&a&&(c<e.min||c>e.max)&&r.push(Se(u.messages[l].range,e.fullField,e.min,e.max))}var Ct="enum";function av(e,t,n,r,u){e[Ct]=Array.isArray(e[Ct])?e[Ct]:[],e[Ct].indexOf(t)===-1&&r.push(Se(u.messages[Ct],e.fullField,e[Ct].join(", ")))}function sv(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Se(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||r.push(Se(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var U={required:Uu,whitespace:uv,type:iv,range:ov,enum:av,pattern:sv};function cv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t,"string")&&!e.required)return n();U.required(e,t,r,i,u,"string"),de(t,"string")||(U.type(e,t,r,i,u),U.range(e,t,r,i,u),U.pattern(e,t,r,i,u),e.whitespace===!0&&U.whitespace(e,t,r,i,u))}n(i)}function lv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&U.type(e,t,r,i,u)}n(i)}function fv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t===""&&(t=void 0),de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&(U.type(e,t,r,i,u),U.range(e,t,r,i,u))}n(i)}function dv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&U.type(e,t,r,i,u)}n(i)}function hv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),de(t)||U.type(e,t,r,i,u)}n(i)}function pv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&(U.type(e,t,r,i,u),U.range(e,t,r,i,u))}n(i)}function Dv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&(U.type(e,t,r,i,u),U.range(e,t,r,i,u))}n(i)}function vv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(t==null&&!e.required)return n();U.required(e,t,r,i,u,"array"),t!=null&&(U.type(e,t,r,i,u),U.range(e,t,r,i,u))}n(i)}function gv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&U.type(e,t,r,i,u)}n(i)}var mv="enum";function yv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u),t!==void 0&&U[mv](e,t,r,i,u)}n(i)}function Ev(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t,"string")&&!e.required)return n();U.required(e,t,r,i,u),de(t,"string")||U.pattern(e,t,r,i,u)}n(i)}function Cv(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t,"date")&&!e.required)return n();if(U.required(e,t,r,i,u),!de(t,"date")){var a;t instanceof Date?a=t:a=new Date(t),U.type(e,a,r,i,u),a&&U.range(e,a.getTime(),r,i,u)}}n(i)}function Fv(e,t,n,r,u){var i=[],o=Array.isArray(t)?"array":typeof t;U.required(e,t,r,i,u,o),n(i)}function gr(e,t,n,r,u){var i=e.type,o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(de(t,i)&&!e.required)return n();U.required(e,t,r,o,u,i),de(t,i)||U.type(e,t,r,o,u)}n(o)}function Av(e,t,n,r,u){var i=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(de(t)&&!e.required)return n();U.required(e,t,r,i,u)}n(i)}var zt={string:cv,method:lv,number:fv,boolean:dv,regexp:hv,integer:pv,float:Dv,array:vv,object:gv,enum:yv,pattern:Ev,date:Cv,url:gr,hex:gr,email:gr,required:Fv,any:Av};function mr(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var yr=mr();function nt(e){this.rules=null,this._messages=yr,this.define(e)}nt.prototype={messages:function(t){return t&&(this._messages=Vu(mr(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var i=t,o=n,a=r;if(typeof o=="function"&&(a=o,o={}),!this.rules||Object.keys(this.rules).length===0)return a&&a(),Promise.resolve();function s(v){var F,h=[],m={};function y(C){if(Array.isArray(C)){var B;h=(B=h).concat.apply(B,C)}else h.push(C)}for(F=0;F<v.length;F++)y(v[F]);h.length?m=Dr(h):(h=null,m=null),a(h,m)}if(o.messages){var c=this.messages();c===yr&&(c=mr()),Vu(c,o.messages),o.messages=c}else o.messages=this.messages();var l,f,d={},p=o.keys||Object.keys(this.rules);p.forEach(function(v){l=u.rules[v],f=i[v],l.forEach(function(F){var h=F;typeof h.transform=="function"&&(i===t&&(i=Ve({},i)),f=i[v]=h.transform(f)),typeof h=="function"?h={validator:h}:h=Ve({},h),h.validator=u.getValidationMethod(h),h.field=v,h.fullField=h.fullField||v,h.type=u.getType(h),h.validator&&(d[v]=d[v]||[],d[v].push({rule:h,value:f,source:i,field:v}))})});var g={};return rv(d,o,function(v,F){var h=v.rule,m=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");m=m&&(h.required||!h.required&&v.value),h.field=v.field;function y(M,I){return Ve(Ve({},I),{},{fullField:h.fullField+"."+M})}function C(M){M===void 0&&(M=[]);var I=M;if(Array.isArray(I)||(I=[I]),!o.suppressWarning&&I.length&&nt.warning("async-validator:",I),I.length&&h.message!==void 0&&(I=[].concat(h.message)),I=I.map(qu(h)),o.first&&I.length)return g[h.field]=1,F(I);if(!m)F(I);else{if(h.required&&!v.value)return h.message!==void 0?I=[].concat(h.message).map(qu(h)):o.error&&(I=[o.error(h,Se(o.messages.required,h.field))]),F(I);var L={};if(h.defaultField)for(var W in v.value)v.value.hasOwnProperty(W)&&(L[W]=h.defaultField);L=Ve(Ve({},L),v.rule.fields);for(var H in L)if(L.hasOwnProperty(H)){var O=Array.isArray(L[H])?L[H]:[L[H]];L[H]=O.map(y.bind(null,H))}var T=new nt(L);T.messages(o.messages),v.rule.options&&(v.rule.options.messages=o.messages,v.rule.options.error=o.error),T.validate(v.value,v.rule.options||o,function(K){var J=[];I&&I.length&&J.push.apply(J,I),K&&K.length&&J.push.apply(J,K),F(J.length?J:null)})}}var B;h.asyncValidator?B=h.asyncValidator(h,v.value,C,v.source,o):h.validator&&(B=h.validator(h,v.value,C,v.source,o),B===!0?C():B===!1?C(h.message||h.field+" fails"):B instanceof Array?C(B):B instanceof Error&&C(B.message)),B&&B.then&&B.then(function(){return C()},function(M){return C(M)})},function(v){s(v)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!zt.hasOwnProperty(t.type))throw new Error(Se("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?zt.required:zt[this.getType(t)]||!1}},nt.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");zt[t]=n},nt.warning=Lu,nt.messages=yr,nt.validators=zt;var Bv={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function wv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new nt(e);return n.messages(Object.assign(Bv,t)),n}var bv=new wu;function Er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _v(e){if(Array.isArray(e))return e}function Sv(e){if(Array.isArray(e))return Er(e)}function Hu(e,t,n,r,u,i,o){try{var a=e[i](o),s=a.value}catch(c){n(c);return}a.done?t(s):Promise.resolve(s).then(r,u)}function zu(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function o(s){Hu(i,r,u,o,a,"next",s)}function a(s){Hu(i,r,u,o,a,"throw",s)}o(void 0)})}}function Mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $v(e,t,n){return t&&Wu(e.prototype,t),n&&Wu(e,n),e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Gu(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Iv(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Nv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ju(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){X(e,u,n[u])})}return e}function xv(e){return _v(e)||Gu(e)||Xu(e)||Iv()}function Cr(e){return Sv(e)||Gu(e)||Xu(e)||Nv()}function Ov(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xu(e,t){if(!!e){if(typeof e=="string")return Er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Er(e,t)}}function Ku(e,t){var n,r,u,i,o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(l){return s([c,l])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=c[0]&2?r.return:c[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,c[1])).done)return u;switch(r=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){o.label=c[1];break}if(c[0]===6&&o.label<u[1]){o.label=u[1],u=c;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(c);break}u[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(l){c=[6,l],r=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var ve=function(){function t(n){var r=this;Mv(this,t),X(this,"id",void 0),X(this,"name",void 0),X(this,"icon",void 0),X(this,"type",void 0),X(this,"controlType",void 0),X(this,"props",void 0),X(this,"setting",[]),X(this,"fieldType",void 0),X(this,"eventKeys",[]),X(this,"customEvents",[]),X(this,"parent",null),X(this,"slots",void 0),X(this,"slotPosition",void 0),X(this,"updateSetting",Yu),X(this,"removeSetting",Qu),this._callControlHooks("preInstance",n);var u=Zu(this,t)?this.constructor:void 0,i=u.controlName,o=u.controlIcon,a=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,l=u.controlCustomEvents,f=u.name,d=u.setting,p=u.slots,g=u.slotPosition;i&&o&&a||Du("The ".concat(f," controlName,controlIcon,controlType is not define"));var v;this.id=(v=n==null?void 0:n.id)!==null&&v!==void 0?v:nn(10),this.name=i,this.icon=o;var F;this.type=(F=n==null?void 0:n.type)!==null&&F!==void 0?F:a,this.props=new Xe(n==null?void 0:n.props,(Zu(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base",this.setting=Y(d);var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:s,this.eventKeys=Y(c),this.customEvents=Y(l),this.slots=Y(p),this.slotPosition=Y(g),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return $v(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),i=0;i<r;i++)u[i]=arguments[i];var o,a=xv(u),s=a[0],c=a.slice(1);return(o=bv).emit.apply(o,[s,this].concat(Cr(c)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),Jn(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return zu(function(){var u,i,o;return Ku(this,function(a){switch(a.label){case 0:return u=Ju({},r.rules),[4,r._callControlHooks("preValidate",u)];case 1:return i=a.sent(),o=i[i.length-1],[2,o===!1?void 0:o]}})})()}},{key:"validate",value:function(r,u){var i=this;return zu(function(){var o,a,s,c;return Ku(this,function(l){switch(l.label){case 0:return[4,i.preValidate()];case 1:o=l.sent(),a=o!==void 0?o:Ju({},i.rules),Array.isArray(u)&&u.forEach(function(f){a.hasOwnProperty(f)&&delete a[f]}),s=wv(a,r),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,s.validate(i.props)];case 3:return l.sent(),[2,!0];case 4:throw c=l.sent(),c.control||(c.control=i),c;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,i=this.id,o=this.type,a=this.props,s=a.dataBind,c=a.datasourceBind,l=a.optionConfig,f=a.caption,d=a.required,p=a.maxLength,g=a.options,v=a.encrypted,F=a.encryptedMode;if(!(!u&&!s&&!c)){var h={parentId:r,fieldType:u,controlId:i,caption:f,type:o,props:{}};switch(s&&(h.dataBind=s),l){case"datasource":case void 0:c&&(h.datasourceBind=c);break;case"custom":h.props.options=g;break}return d!==void 0&&(h.required=d),p!==void 0&&(h.maxLength=p),v!==void 0&&(h.encrypted=v),F!==void 0&&(h.encryptedMode=F),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Y(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var i;(i=this.setting).push.apply(i,Cr(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();X(ve,"mode","Designer"),X(ve,"slots",void 0),X(ve,"slotPosition",void 0),X(ve,"controlName","\u63A7\u4EF6"),X(ve,"controlIcon","icon"),X(ve,"controlType","control"),X(ve,"controlFieldType",void 0),X(ve,"controlEventKeys",[]),X(ve,"controlCustomEvents",[]),X(ve,"setting",[]),X(ve,"__is_control__",!0),X(ve,"removeSettingItem",Qu),X(ve,"updateSettingItem",Yu);function Qu(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u,i=typeof r!="string",o=(u=t.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(i?r.key:r)});if(o!==-1){var a,s;i?t.setting[o].showItems=(a=t.setting[o].showItems)===null||a===void 0?void 0:a.filter(function(c){return!r.hideItems.includes(c)}):t.setting.splice(o,1),i&&!(!((s=t.setting[o].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(o,1)}})}function Yu(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var i=n.setting.find(function(c){return c.key===u});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":Ov(t))==="object"){var o,a=(o=t.type)!==null&&o!==void 0?o:"replace";if(a==="replace")i.showItems=t.showItems;else{var s;(s=i.showItems).push.apply(s,Cr(t.showItems))}}}})}function Rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ei(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pv(e,t,n){return t&&ei(e.prototype,t),n&&ei(e,n),e}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tv(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Wt=function(){function t(n){Rv(this,t),Me(this,"id",void 0),Me(this,"type",void 0),Me(this,"controlType",void 0),Me(this,"props",void 0),Me(this,"fieldType",void 0),Me(this,"customEvents",[]),Me(this,"pageStatus",void 0),Me(this,"parent",null);var r=Tv(this,t)?this.constructor:void 0,u=r.controlType,i=r.controlFieldType,o=r.name,a=r.controlCustomEvents;u||Du("The ".concat(o," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:nn(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new Xe(n==null?void 0:n.props),this.customEvents=a;var l;this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base";var f;this.fieldType=(f=n==null?void 0:n.fieldType)!==null&&f!==void 0?f:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:sr.UNKNOWN}return Pv(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();Me(Wt,"mode","Runtime"),Me(Wt,"controlType","control"),Me(Wt,"controlFieldType",void 0),Me(Wt,"__is_control__",!0),Me(Wt,"controlCustomEvents",[]);function $e(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function Lv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fr(e,t,n){return t=fn(t),kv(e,ti()?Reflect.construct(t,n||[],fn(e).constructor):t.apply(e,n))}function Ar(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fn(e){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fn(e)}function Br(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wr(e,t)}function kv(e,t){return t&&(jv(t)==="object"||typeof t=="function")?t:Lv(e)}function wr(e,t){return wr=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},wr(e,t)}function jv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ti(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ti=function(){return!!e})()}var qv=function(e){Br(t,e);function t(n){Ar(this,t);var r;r=Fr(this,t,[n]),ce(r,"dataBind",{}),ce(r,"caption",{type:"string",required:!0,message:z("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),ce(r,"isHideCaption",{type:"boolean"}),ce(r,"labelPosition",{type:"enum",enum:["top","left"]}),ce(r,"defaultState",{type:"enum",enum:["default","readonly"]}),ce(r,"required",{type:"boolean"}),ce(r,"captionTip",{type:"string",required:!1,message:z("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if($e(n.dataBind))r.dataBind={type:"object",required:!0,fields:Y(u),message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var i={type:"object",required:!0,fields:{},message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(o){i.fields[o]={type:"object",required:!0,fields:Y(u),message:z("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),r.dataBind=i}return n.isShowCaptionTip&&(r.captionTip.required=!0),r}return t}(dr),Vv=function(e){Br(t,e);function t(n){Ar(this,t);var r;r=Fr(this,t,[n]);var u=n.isHide?!1:n.required;return u&&r.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:z("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),r}return t}(Tu),br=function(e){Br(t,e);function t(n){Ar(this,t);var r;r=Fr(this,t,[n]),ce(r,"caption",void 0),ce(r,"isHideCaption",void 0),ce(r,"isShowCaptionTip",void 0),ce(r,"captionTip",void 0),ce(r,"labelPosition",void 0),ce(r,"dataBind",void 0),ce(r,"defaultValue",void 0),ce(r,"placeholder",void 0),ce(r,"defaultState",void 0),ce(r,"required",void 0),ce(r,"requiredMessage",void 0);var u;r.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var i;r.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var o;r.isShowCaptionTip=(o=n==null?void 0:n.isShowCaptionTip)!==null&&o!==void 0?o:!1;var a;r.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;r.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var c;r.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var l;r.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"";var f;r.required=(f=n==null?void 0:n.required)!==null&&f!==void 0?f:!1;var d;r.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",r.dataBind=new rr(n==null?void 0:n.dataBind);var p;return r.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"",r}return t}(Xe);ce(br,"Rules",qv),ce(br,"RuntimeRules",Vv);function Uv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hv(e,t,n){return t=hn(t),Zv(e,ni()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function zv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(e)}function Wv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_r(e,t)}function Zv(e,t){return t&&(Gv(t)==="object"||typeof t=="function")?t:Uv(e)}function _r(e,t){return _r=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},_r(e,t)}function Gv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ni(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ni=function(){return!!e})()}var ri=function(e){Wv(t,e);function t(n){zv(this,t);var r;return r=Hv(this,t,[n]),dn(r,"controlType","form"),dn(r,"props",void 0),r.props=new br(n==null?void 0:n.props),r}return t}(ve);dn(ri,"controlEventKeys",["on_change","on_focus","on_blur"]),dn(ri,"controlCustomAttributes",void 0);function Jv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xv(e,t,n){return t=pn(t),Yv(e,ui()?Reflect.construct(t,n||[],pn(e).constructor):t.apply(e,n))}function Kv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(e)}function Qv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sr(e,t)}function Yv(e,t){return t&&(eg(t)==="object"||typeof t=="function")?t:Jv(e)}function Sr(e,t){return Sr=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Sr(e,t)}function eg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ui(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ui=function(){return!!e})()}var tg=function(e){Qv(t,e);function t(n){return Kv(this,t),Xv(this,t,[n])}return t}(Xe);function Mr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ng(e){if(Array.isArray(e))return Mr(e)}function rg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ii(e,t,n,r,u,i,o){try{var a=e[i](o),s=a.value}catch(c){n(c);return}a.done?t(s):Promise.resolve(s).then(r,u)}function ug(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function o(s){ii(i,r,u,o,a,"next",s)}function a(s){ii(i,r,u,o,a,"throw",s)}o(void 0)})}}function ig(e,t,n){return t=ut(t),Dg(e,si()?Reflect.construct(t,n||[],ut(e).constructor):t.apply(e,n))}function og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ag(e,t,n){return t&&oi(e.prototype,t),n&&oi(e,n),e}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ft(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ft=Reflect.get:Ft=function(u,i,o){var a=vg(u,i);if(!!a){var s=Object.getOwnPropertyDescriptor(a,i);return s.get?s.get.call(o||u):s.value}},Ft(e,t,n||e)}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ut(e)}function sg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$r(e,t)}function cg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function lg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function dg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){rt(e,u,n[u])})}return e}function hg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function pg(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hg(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Dg(e,t){return t&&(gg(t)==="object"||typeof t=="function")?t:rg(e)}function $r(e,t){return $r=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},$r(e,t)}function vg(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ut(e),e!==null););return e}function ai(e){return ng(e)||lg(e)||mg(e)||fg()}function gg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mg(e,t){if(!!e){if(typeof e=="string")return Mr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mr(e,t)}}function si(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(si=function(){return!!e})()}function yg(e,t){var n,r,u,i,o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(l){return s([c,l])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=c[0]&2?r.return:c[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,c[1])).done)return u;switch(r=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){o.label=c[1];break}if(c[0]===6&&o.label<u[1]){o.label=u[1],u=c;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(c);break}u[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(l){c=[6,l],r=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Eg=1e4,ci=function(t){sg(n,t);function n(r){og(this,n);var u;u=ig(this,n,[r]),rt(u,"controlType","layout"),rt(u,"children",void 0),rt(u,"excludes",void 0),rt(u,"childrenMaxLength",void 0),rt(u,"props",void 0);var i=cg(this,n)?this.constructor:void 0,o=i.excludes,a=i.childrenMaxLength;return u.props=new tg(r==null?void 0:r.props),nr(u,"children",r==null?void 0:r.children,void 0,"Designer"),u.excludes=Y(o),u.childrenMaxLength=a,u}return ag(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var i=this.judgeExcludesChildren(u);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,i){var o=this,a=this,s=function(){return Ft(ut(n.prototype),"validate",o)};return ug(function(){return yg(this,function(c){switch(c.label){case 0:return[4,s().call(a,u,i)];case 1:return c.sent(),[4,Promise.all(a.children.map(function(l){return l.validate(u,i)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ft(ut(n.prototype),"toDataBindModel",this).call(this),o=i?[i]:[];return this.children.reduce(function(a,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var l=c.filter(function(f){return!!f});return ai(a).concat(ai(l))}return c&&a.push(c),a},o)}},{key:"toSchema",value:function(){var u=Ft(ut(n.prototype),"toSchema",this).call(this),i=this.children.map(function(o){var a=o.toSchema();return a});return pg(dg({},u),{children:i})}}]),n}(ve);rt(ci,"excludes",!1),rt(ci,"childrenMaxLength",Eg);function Cg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fg(e,t,n){return t=Dn(t),wg(e,li()?Reflect.construct(t,n||[],Dn(e).constructor):t.apply(e,n))}function Ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(e)}function Bg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ir(e,t)}function wg(e,t){return t&&(bg(t)==="object"||typeof t=="function")?t:Cg(e)}function Ir(e,t){return Ir=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ir(e,t)}function bg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function li(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(li=function(){return!!e})()}var _g=function(e){Bg(t,e);function t(n,r,u){Ag(this,t);var i;i=Fg(this,t,[r]),At(i,"headers",void 0),At(i,"footers",void 0),At(i,"pageIndex",void 0),At(i,"pageSize",void 0),At(i,"pageSizeOptions",void 0),At(i,"totalCount",void 0),nr(i,"headers",r==null?void 0:r.headers,n,u),nr(i,"footers",r==null?void 0:r.footers,n);var o;i.pageIndex=(o=r==null?void 0:r.pageIndex)!==null&&o!==void 0?o:1;var a;i.pageSize=(a=r==null?void 0:r.pageSize)!==null&&a!==void 0?a:20;var s;i.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return i.totalCount=(c=r==null?void 0:r.totalCount)!==null&&c!==void 0?c:0,i}return t}(Xe);function Nr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sg(e){if(Array.isArray(e))return Nr(e)}function Mg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fi(e,t,n,r,u,i,o){try{var a=e[i](o),s=a.value}catch(c){n(c);return}a.done?t(s):Promise.resolve(s).then(r,u)}function $g(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function o(s){fi(i,r,u,o,a,"next",s)}function a(s){fi(i,r,u,o,a,"throw",s)}o(void 0)})}}function Ig(e,t,n){return t=it(t),Lg(e,vi()?Reflect.construct(t,n||[],it(e).constructor):t.apply(e,n))}function Ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xg(e,t,n){return t&&di(e.prototype,t),n&&di(e,n),e}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bt(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Bt=Reflect.get:Bt=function(u,i,o){var a=kg(u,i);if(!!a){var s=Object.getOwnPropertyDescriptor(a,i);return s.get?s.get.call(o||u):s.value}},Bt(e,t,n||e)}function it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},it(e)}function Og(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xr(e,t)}function Rg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function hi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){vn(e,u,n[u])})}return e}function Tg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function pi(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Tg(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Lg(e,t){return t&&(jg(t)==="object"||typeof t=="function")?t:Mg(e)}function xr(e,t){return xr=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},xr(e,t)}function kg(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=it(e),e!==null););return e}function Di(e){return Sg(e)||Rg(e)||qg(e)||Pg()}function jg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qg(e,t){if(!!e){if(typeof e=="string")return Nr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nr(e,t)}}function vi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vi=function(){return!!e})()}function Vg(e,t){var n,r,u,i,o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(l){return s([c,l])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=c[0]&2?r.return:c[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,c[1])).done)return u;switch(r=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){o.label=c[1];break}if(c[0]===6&&o.label<u[1]){o.label=u[1],u=c;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(c);break}u[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(l){c=[6,l],r=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Ug=function(e){Og(t,e);function t(n){Ng(this,t);var r;return r=Ig(this,t,[n]),vn(r,"controlType","list"),vn(r,"props",void 0),r.props=new _g(r,n==null?void 0:n.props,"Designer"),r}return xg(t,[{key:"validate",value:function(r,u){var i=this,o=this,a=function(){return Bt(it(t.prototype),"validate",i)};return $g(function(){return Vg(this,function(s){switch(s.label){case 0:return[4,a().call(o,r)];case 1:return s.sent(),[4,Promise.all(o.props.headers.map(function(c){return c.validate(r,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=Bt(it(t.prototype),"toDataBindModel",this).call(this),u=r?[r]:[],i=this.id;return this.props.headers.reduce(function(o,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var c=s.filter(function(l){return!!l});return Di(o).concat(Di(c))}return s&&o.push(s),o},u)}},{key:"toSchema",value:function(){var r=Bt(it(t.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(i){return i.toSchema()});return pi(hi({},r),{props:pi(hi({},this.props),{headers:u})})}}]),t}(ve);vn(Ug,"controlFieldType",se.LIST);function Hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gi(e,t,n){return t=gn(t),zg(e,Ei()?Reflect.construct(t,n||[],gn(e).constructor):t.apply(e,n))}function mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(e)}function yi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Or(e,t)}function zg(e,t){return t&&(Wg(t)==="object"||typeof t=="function")?t:Hg(e)}function Or(e,t){return Or=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Or(e,t)}function Wg(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ei(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ei=function(){return!!e})()}var Zg=function(e){yi(t,e);function t(n){mi(this,t);var r;return r=gi(this,t,[n]),Ae(r,"caption",{type:"string",required:!0,message:z("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ae(r,"width",{type:"number",required:!1,message:z("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),r.width.required=n.widthType==="px",r}return t}(dr),Gg=function(e){yi(t,e);function t(n){mi(this,t);var r;r=gi(this,t,[n]),Ae(r,"widthType",void 0),Ae(r,"width",void 0),Ae(r,"caption",void 0),Ae(r,"dataBind",void 0),Ae(r,"autoWidth",void 0),Ae(r,"fixed",void 0),Ae(r,"sort",void 0),Ae(r,"align",void 0),Ae(r,"colSpan",void 0),Ae(r,"autoHeight",void 0),Ae(r,"children",void 0);var u;r.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,r.widthType=(n==null?void 0:n.widthType)||"auto";var i;r.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var o;r.fixed=(o=n==null?void 0:n.fixed)!==null&&o!==void 0?o:"none",r.autoWidth=new VD(n==null?void 0:n.autoWidth),r.dataBind=new rr(n==null?void 0:n.dataBind);var a;r.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,r.align=n==null?void 0:n.align,r.colSpan=n==null?void 0:n.colSpan;var s;return r.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,r}return t}(Xe);Ae(Gg,"Rules",Zg);function mn(e){return e.controlType===Z.LAYOUT||e.controlType===Z.WRAP||e.controlType===Z.LIST||e.controlType===Z.SEARCH||e.controlType===Z.COLUMN&&e.type!==ue.OPERATION_COLUMN}function ht(e,t){Array.isArray(e)&&e.map(n=>{n.controlType===Z.LIST?t(n,[]):mn(n)?ht(n==null?void 0:n.children,t):n.controlType===Z.FORM&&t(n)})}function pt(e,t){Array.isArray(e)&&e.map(n=>{n.type===ue.DATA_VIEW||n.type===ue.SIMPLE_SEARCH?t(n):mn(n)&&pt(n==null?void 0:n.children,t)})}let Ci=0;function Zt(e=""){const t=Date.now(),n=Math.floor(Math.random()*1e9);return Ci++,e+"_"+n+Ci+String(t)}class Ee extends qt{constructor(t){super("Runtime"),this._flatInstances=[],this._instanceMap={},this._controlParentIdMap={};const{schema:n}=t;this._schema=n,this._instance=this.createControl(n,t.beforeCreateInstance),this.getFlatInstances()}getFlatInstances(){const t=[],n={},r={};return Rr(this._instance,"",(u,i)=>{var o;i&&(r[u.id]=i),n[u.id]||(n[u.id]=[]),!(u.type==="subtable-column"&&n[u.id].length>0)&&(t.push(u),!(((o=u.parent)==null?void 0:o.type)===ue.SUBTABLE_COLUMN&&u.parent.parent===void 0)&&n[u.id].push(u))}),this._flatInstances=t,this._instanceMap=n,this._controlParentIdMap=r,this._flatInstances}get schema(){return this._schema}get instance(){return this._instance}get flatInstances(){return this._flatInstances}get instanceMap(){return this._instanceMap}get allRules(){let t={},n={},r={};return pt(this._instance,u=>{let i=Ee.staticGetRules(u.type,u.props);n[u.id]=Y(i[0]),t[u.id]=Y(i[0]),r[u.id]=Y(i[0]),ht(u.children,o=>{(o.controlType===Z.FORM||o.controlType===Z.LIST)&&(Fi(n[u.id].fields,o,!0),wi(t[u.id].fields,o,!0),Ai(r[u.id].fields,o,!0))})}),{rules:this.rules,antdRules:this.antdRules,fieldCodeRules:this.fieldCodeRules,defaultAntdRules:t,defaultRule:n,defaultFieldRules:r}}get rules(){let t={};return pt(this._instance,n=>{let r=Ee.staticGetRules(n.type,n.props);t[n.id]=r[0],ht(n.children,u=>{(u.controlType===Z.FORM||u.controlType===Z.LIST)&&Fi(t[n.id].fields,u)})}),t}get fieldCodeRules(){let t={};return pt(this._instance,n=>{let r=Ee.staticGetRules(n.type,n.props);t[n.id]=r[0],ht(n.children,u=>{(u.controlType===Z.FORM||u.controlType===Z.LIST)&&Ai(t[n.id].fields,u)})}),t}get antdRules(){let t={};return pt(this._instance,n=>{let r=Ee.staticGetRules(n.type,n.props);t[n.id]=r[0],ht(n.children,u=>{(u.controlType===Z.FORM||u.controlType===Z.LIST)&&wi(t[n.id].fields,u)})}),t}}function Rr(e,t,n){(Array.isArray(e)?e:[e]).map(u=>{if(n(u,t),mn(u)){const i=u;i.children||(i.children=[]),Rr(i.children,i.id,n)}Jg(u,"headers")&&Rr(u.props.headers,u.id,n)})}function Jg(e,t){return t in e.props&&ft(e.props[t])}function yn(e){return e.props.isHide?!0:e.parent===null||e.parent===void 0?!1:yn(e.parent)}function Fi(e,t,n=!1){if(yn(t))return;let r=Ee.staticGetRules(t.type,t.props);if(t.controlType===Z.FORM)e[t.id]=r;else if(t.type===ue.SUBTABLE){e[t.id]=r;const u={type:"array",fields:{}};(n===!0?[{children:t.props.headers}]:t.children).forEach((i,o)=>{Ge(i.children,a=>{if(u.fields){u.fields[o]||(u.fields[o]={type:"object",required:!0,fields:{}});let s=Ee.staticGetRules(a.type,a.props);u.fields[o].fields[a.id]=s}})}),e[t.id].push(u)}}function Ai(e,t,n=!1){var u,i,o,a,s,c,l;if(yn(t))return;let r=Ee.staticGetRules(t.type,t.props);if(t.controlType===Z.FORM)if($e(t.props.dataBind))((u=t.props.dataBind)==null?void 0:u.fieldCode)!=""&&(e[(i=t.props.dataBind)==null?void 0:i.fieldCode]=r);else for(const f in t.props.dataBind)((o=t.props.dataBind[f])==null?void 0:o.fieldCode)!=""&&(e[(a=t.props.dataBind[f])==null?void 0:a.fieldCode]=((s=Bi(r))==null?void 0:s[f])||[]);else if(t.type===ue.SUBTABLE){e[(c=t.props.datasourceBind)==null?void 0:c.dataCode]=r;const f={type:"array",fields:{}};(n===!0?[{children:t.props.headers}]:t.children).forEach((d,p)=>{Ge(d.children,g=>{var v,F,h,m;if(f.fields){f.fields[p]||(f.fields[p]={type:"object",required:!0,fields:{}});let y=Ee.staticGetRules(g.type,g.props);if($e(g.props.dataBind))((h=g.props.dataBind)==null?void 0:h.fieldCode)!=""&&(f.fields[p].fields[(m=g.props.dataBind)==null?void 0:m.fieldCode]=y);else for(const C in g.props.dataBind)((v=g.props.dataBind[C])==null?void 0:v.fieldCode)!=""&&(f.fields[p].fields[g.props.dataBind[C].fieldCode]=((F=Bi(y))==null?void 0:F[C])||[])}})}),e[(l=t.props.datasourceBind)==null?void 0:l.dataCode].push(f)}}function Bi(e){let t={};return e.map(n=>{n.fields&&(t=n)}),t==null?void 0:t.fields}function wi(e,t,n=!1){if(yn(t))return;let r=Ee.staticGetRules(t.type,t.props);t.controlType===Z.FORM?e[t.id]=r:t.type===ue.SUBTABLE&&t.children.length&&(e[t.id]=[],(n===!0?[{children:t.props.headers}]:t.children).forEach(u=>{let i={};Ge(u.children,o=>{let a=Ee.staticGetRules(o.type,o.props);i[o.id]=a}),e[t.id].push(i)}))}class Xg{constructor(t){const{state:n,emptyState:r,databindMapping:u,controlidMapping:i,defaultState:o,subtableHeadersControlIdMapping:a}=Kg(t.instance);this.emptyState=r,this.state=n,this.dataBindMapping=u,this.controlIdMapping=i,this.defaultState=o,this.subtableHeadersControlIdMapping=a}setState(t,n,r){const u=this.controlIdMapping[t],i=Y(n);u!==void 0?(u.children&&n.forEach(o=>{o.uid||Object.assign(o,{uid:"new:"+Zt("uid")})}),this.state[u.dataView][t]=i):r!==void 0?Object.keys(this.controlIdMapping).map(o=>{const a=this.controlIdMapping[o].dataView,s=this.controlIdMapping[o].children;s!==void 0&&Object.keys(s).map(c=>{c===t&&this.state[a][o][r]&&(this.state[a][o][r][t]=i)})}):this.state[t]=i}getState(t,n){var u;if(this.state[t]!==void 0)return this.state[t];{const i=this.controlIdMapping[t];if(i!==void 0){const o=this.state[i.dataView][t];return n!==void 0&&Object.keys((u=i==null?void 0:i.children)!=null?u:{}).length>0?o[n]:o}else if(n!==void 0){let o;return Object.keys(this.controlIdMapping).map(a=>{const s=this.controlIdMapping[a].dataView,c=this.controlIdMapping[a].children;c!==void 0&&Object.keys(c).map(l=>{var f;l===t&&(o=(f=this.state[s][a][n])==null?void 0:f[t])})}),o}else{let o=[];return Object.keys(this.controlIdMapping).map(a=>{const s=this.controlIdMapping[a].dataView,c=this.controlIdMapping[a].children;c!==void 0&&Object.keys(c).map(l=>{l===t&&this.state[s][a].map(f=>{o.push(f[t])})})}),o}}}getEmptyState(t){if(this.emptyState[t]!==void 0)return this.emptyState[t];{const r=this.controlIdMapping[t];if(r!==void 0){const u=this.emptyState[r.dataView][t];return"children"in r&&Object.assign(u,{uid:"new:"+Zt("uid")}),u}else{let u;return Object.keys(this.controlIdMapping).map(i=>{const o=this.controlIdMapping[i].dataView,a=this.controlIdMapping[i].children;a!==void 0&&Object.keys(a).map(s=>{s===t&&(u=this.emptyState[o][i][t])})}),u}}}getDataBind(t){let n=this.controlIdMapping[t];if(n)return n.dataBind;e:for(let r in this.controlIdMapping){const u=this.controlIdMapping[r];if(u.children){for(let i in u.children)if(i===t){n=u.children[i];break e}}}return n==null?void 0:n.dataBind}}function Kg(e){let t={},n={},r={},u={},i={},o={};return pt(e,a=>{const s=a.id,c={},l={};ht([a],(f,d)=>{Qg(c,l,f),Yg(r,s,f),e5(u,s,f),t5(i,f)}),t[s]={},o[s]=c,n[s]=l}),{state:t,defaultState:o,subtableHeadersControlIdMapping:i,emptyState:n,databindMapping:r,controlidMapping:u}}function Qg(e,t,n){var r,u;if(n.controlType===Z.FORM)e[n.id]=Y(n.props.defaultValue),t[n.id]=Y(n.props.defaultValue);else{const i={};Ge(n.props.headers,o=>{i[o.id]=Y(o.props.defaultValue)}),e[n.id]=(u=new Array((r=n.props.defaultRows)!=null?r:1).fill(0).map(()=>ae({uid:"new:"+Zt("uid")},Y(i))))!=null?u:[],t[n.id]=i}}function Yg(e,t,n){var r,u;if(n.controlType===Z.FORM)$e(n.props.dataBind)?((u=(r=n.props)==null?void 0:r.dataBind)==null?void 0:u.dataCode)===void 0||(e[n.props.dataBind.dataCode]===void 0&&(e[n.props.dataBind.dataCode]={controlId:t,fields:[],dataViewId:t}),e[n.props.dataBind.dataCode].fields.push({fieldCode:n.props.dataBind.fieldCode,controlId:n.id,dataBind:n.props.dataBind,dataViewId:[t]})):Object.keys(n.props.dataBind).map(i=>{const o=n.props.dataBind,a=o[i].dataCode;a!==void 0&&(e[a]===void 0&&(e[a]={controlId:n.id,fields:[],dataViewId:t}),e[a].fields.push({fieldCode:o[i].fieldCode,controlId:n.id,dataBind:o,dataViewId:[t]}))});else{if(n.props.datasourceBind.dataCode===""){Et(`datasourceBind.dataCode is empty! maybe in preview mode, control:${n.id} type:${n.type}`);return}e[n.props.datasourceBind.dataCode]={controlId:n.id,fields:[],dataViewId:t};const i=n.id;Ge(n.props.headers,o=>{$e(o.props.dataBind)?(e[o.props.dataBind.dataCode]===void 0&&(e[o.props.dataBind.dataCode]={controlId:t,fields:[],dataViewId:t}),e[o.props.dataBind.dataCode].fields.push({fieldCode:o.props.dataBind.fieldCode,controlId:o.id,dataBind:o.props.dataBind,dataViewId:[t,i]})):Object.keys(o.props.dataBind).map(a=>{const s=o.props.dataBind,c=s[a].dataCode;s[a].fieldCode!==""&&e[c].fields.push({fieldCode:s[a].fieldCode,controlId:o.id,dataBind:s,dataViewId:[t,i]})})})}}function e5(e,t,n){n.controlType===Z.FORM?e[n.id]={dataBind:n.props.dataBind,options:[],dataView:t}:n.type===ue.SUBTABLE&&(e[n.id]={dataBind:new rr({dataCode:n.props.datasourceBind.dataCode,fieldCode:""}),dataView:t,children:{},options:[]},Ge(n.props.headers,r=>{var u,i;Object.assign((i=(u=e[n.id])==null?void 0:u.children)!=null?i:{},{[r.id]:{dataBind:r.props.dataBind}})}))}function t5(e,t){if(t.type===ue.SUBTABLE){const n={};t.props.headers.map(r=>{r.children.map(u=>{Object.assign(n,{[u.id]:u})})}),Object.assign(e,{[t.id]:n})}}const bi=["splice","push","shift","pop","unshift","reverse"],Pr=Symbol("__engineProxy__"),Tr=Symbol("__engineTarget__"),_i=Symbol("__engineArrayBeforeSetCallbackFlag__"),Si=Symbol("__engineProxyThisKey__"),Te={type:"",args:[],callback:Mi};function Mi(){}o5();function n5(e,t,n,r,u){if(Te.type){Te.callback=u.bind(null,e,r);return}const i=Number(t);if(i>e.length){Ze(`Wrong array operations may cause unknown errors. It is recommended to use APIs such as ${bi.join(",")} for array operations`);return}if(!(Number.isNaN(i)&&t!=="length"))if(t==="length"){const a=n,s=e.length;if(a>e.length){Ze("Do not directly modify the length of the array data, please add new rows");return}return a===e.length?void 0:()=>u.call(null,e,r,"splice",[a,s-a])}else return i===e.length?()=>u.call(null,e,r,"push",[n]):()=>u.call(null,e,r,"splice",[i,1,n])}function r5(e,t,n){return{__engineProxy__:!0,get(r,u,i){return u===Pr?!0:u===Tr?r:Array.isArray(r)&&u===_i?n:u===Si?e:Reflect.get(r,u,i)},set(r,u,i,o){var d;let a=Y(i);const s=r[u],c=e===""?u:e+"."+u;function l(p){if(typeof p=="object"&&p!==null)return p[Pr]!==!0?En(p,t,n,c):En(p[Tr],t,n,c)}a=(d=l(a))!=null?d:a;let f;if(Array.isArray(r)){const p=n5(r,u,a,e,t);f=Reflect.set(r,u,a,o),p&&p()}else{try{let p=a;if(a=n.call(null,r,c,a,s),p!==a){const g=l(a);g!==void 0&&(a=g)}}catch(p){return un(`${c} set error ${p}`),!0}f=Reflect.set(r,u,a,o),t.call(null,r,c,a,s)}return f||!0}}}function En(e,t,n,r=""){if(Object.isFrozen(e))return e;for(let u in e){const i=r===""?u:r+"."+u,o=e[u];typeof o=="object"&&o!==null&&(e[u]=En(o,t,n,i))}return new Proxy(e,r5(r,t,n))}function $i(e){const t=[];return e.forEach(n=>{t.push(n),(n.controlType==="layout"||n.controlType==="wrap")&&t.push(...$i(n.children))}),t}function Lr(e,t,n){if(t==="")return;const r=t.split(".");if(r.length===0)return;const u=r[0],i=r.slice(1),o=n[u]?n[u][0]:void 0;return i.length===0?o:i.reduce((a,s)=>{var f,d;const c=Number(s);if(Number.isNaN(c)&&a){const p=a!=null&&a.children?$i(a.children):void 0,g=p==null?void 0:p.find(v=>v.id===s);return g||(a.controlType===Z.FORM?a:void 0)}else return(d=(f=a==null?void 0:a.children)==null?void 0:f[c])!=null?d:a},o)}function u5(e,t){return["push","unshift"].includes(e)?t:e==="splice"?t.slice(2):[]}function i5(e,t,n){if(["push","unshift"].includes(e))return n;if(e==="splice")return t.slice(0,2).concat(n)}function o5(){bi.forEach(e=>{const t=Array.prototype[e];Array.prototype[e]=function(...n){var r;if(this[Pr]){let u;const i=u5(e,n);if(i.length){const o=(r=this[_i])==null?void 0:r.call(this,this[Tr],this[Si],i),a=i5(e,n,o);Te.type=e,Te.args=a,u=t.apply(this,a)}else Te.type=e,Te.args=n,u=t.apply(this,n);return typeof Te.callback=="function"&&Te.callback(e,n,u),Te.type="",Te.args=[],Te.callback=Mi,u}else return t.apply(this,n)}})}class a5{constructor(){this.actionMap=new Map,this.buildinActions={},this.actionUtils={},this.sources={}}execAction(t,n,...r){return ze(this,null,function*(){const u=this.actionMap.get(t);if(!!u)try{return yield u.func.call(null,n,...r)}catch(i){return un(`${u.id} Exception during calling action: ${i}`),!1}})}addAction(t,n){this.actionMap.has(t)&&Ze("duplicated action key");const r=new s5(t,n);this.actionMap.set(t,r)}}class s5{constructor(t,n){this.id="",this.id=t,this.func=n}}class c5{constructor(t){this._dataStore=new Map,this.executer=t}add(t,n){this._dataStore.set(t,n)}get(t){let n=this._dataStore.get(t);return Y(n)}remove(t){this._dataStore.delete(t)}getRemoteData(t){return ze(this,null,function*(){return this.executer===void 0?(un("\u672A\u521D\u59CB\u5316executer"),[]):this.executer(t)})}}class ot{}class Gt extends ot{validate(t){return Fe(t)}transform(t){if(t==null)return"";if(!Pe(t)&&!Eu(t))return String(t);if(yD(t))return JSON.stringify(t);throw`${t} is not a string`}}class kr extends ot{validate(t){return on(t)||t===""}transform(t){if(t==null)return"";const n=!Pe(t)&&!Eu(t)?Number(t):void 0;if(!Number.isNaN(n)&&n!==void 0)return n;throw`${t} is not a number`}}class l5 extends ot{validate(t){return ED(t)}transform(t){if(t==null)return[];function n(r){return r.map(u=>u?String(u):"")}if(ft(t))return n(t);if(Fe(t)&&Cu(t))try{const r=JSON.parse(t);if(Array.isArray(r))return n(r)}catch(r){}return[String(t)]}}class f5 extends ot{validate(t){return CD(t)}transform(t){if(t==null)return[];function n(u){return u.map(i=>!i&&i!==0?"":Number(i)).filter(i=>i===""||!Number.isNaN(i))}if(ft(t))return n(t);if(Fe(t)&&Cu(t))try{const u=JSON.parse(t);if(ft(u))return n(u)}catch(u){}const r=Number(t);if(Number.isNaN(r))throw`${t} is not a number array`;return[r]}}class d5 extends ot{validate(t){return Pe(t)&&"amount"in t&&on(t.amount)&&"currency"in t&&Fe(t.currency)}transform(t,n){if(t==null||t==="")return new ur({currency:n==null?void 0:n.currency});let r;if(Pe(t)&&(r=new ur(ae(ae({},n),t))),Fe(t)&&an(t))try{const u=JSON.parse(t);r=new ur(ae(ae({},n),u))}catch(u){}if(r){const u=new kr,i=new Gt;return u.validate(r.amount)||(r.amount=u.transform(r.amount)),i.validate(r.currency)||(r.currency=i.transform(r.currency)),r}throw`${t} is not a { amount: number, currency: string } object`}}class h5 extends ot{validate(t){return Pe(t)&&"min"in t&&Fe(t.min)&&"max"in t&&Fe(t.max)}transform(t,n){if(t==null||t==="")return new ir;let r;if(Pe(t)&&(r=new ir(ae(ae({},n),t))),Fe(t)&&an(t))try{const u=JSON.parse(t);r=new ir(ae(ae({},n),u))}catch(u){}if(r){const u=new Gt;return u.validate(r.min)||(r.min=u.transform(r.min)),u.validate(r.max)||(r.max=u.transform(r.max)),r}throw`${t} is not a { min: string, max: string } object`}}class p5 extends ot{validate(t){return Pe(t)&&"result"in t&&on(t.result)&&"unit"in t&&Fe(t.unit)}transform(t,n){if(t==null||t==="")return new ar({unit:n==null?void 0:n.unit});let r;if(Pe(t)&&(r=new ar(ae(ae({},n),t))),Fe(t)&&an(t))try{const u=JSON.parse(t);r=new ar(ae(ae({},n),u))}catch(u){}if(r){const u=new kr,i=new Gt;return u.validate(r.result)||(r.result=u.transform(r.result)),i.validate(r.unit)||(r.unit=i.transform(r.unit)),r}throw`${t} is not a { result: string, unit: string } object`}}class D5 extends ot{validate(t){return!!Pe(t)}transform(t,n){if(t==null||t==="")return new or;let r;if(Pe(t)&&(r=new or(ae(ae({},n),Xn.exports.camelizeKeys(t)))),Fe(t)&&an(t))try{const u=JSON.parse(t);r=new or(ae(ae({},n),Xn.exports.camelizeKeys(u)))}catch(u){}if(r){const u=new Gt;return u.validate(r.city)||(r.city=u.transform(r.city)),u.validate(r.district)||(r.district=u.transform(r.district)),u.validate(r.province)||(r.province=u.transform(r.province)),r}throw`${t} is not a { city: string, district: string, province: string } object`}}class v5{static getValueChecker(t){let n;switch(t){case se.VARCHAR:case se.TIMESTAMP:case se.TEXT:case se.AUTO_NUMBER:n=new Gt;break;case se.DECIMAL:n=new kr;break;case se.EMPLOYEES:case se.DEPARTMENTS:case se.IMAGE:case se.FILE:case se.ARRAY:n=new l5;break;case se.MONEY:n=new d5;break;case se.TIMESCOPE:n=new h5;break;case se.CALC:n=new p5;break;case se.DECIMAL_RANGE:n=new f5;break;case se.ADDRESS:n=new D5;break}return n}}function g5(e){if(["min","max","currency","unit"].includes(e))return se.VARCHAR;if(["result","amount"].includes(e))return se.DECIMAL}function Ii(e,t,n,r){var o;let u=(o=g5(t))!=null?o:e,i=v5.getValueChecker(u);if(!i||i.validate(n))return n;try{const a=i.transform(n,r);return a!==void 0?a:n}catch(a){throw`${t} ${a}`}}function m5(e,t,n){return Object.entries(e).reduce((r,[u,i])=>{const o=t[u];return r[u]=Ii(i,u,o,n[u]),r},Object.assign({},t))}typeof window!="undefined"&&(window.engines={});let wt=null,Jt="";class jr extends wu{constructor(t){super(),this.rawStore={},this.isMounted=!1,this.id=nn(8),this.__pluginsApplied=!1,this.actionManager=new a5,this._jobTasks=[],this.createControlInstance=this.createInstance,this.$options=Object.freeze(t);const{autoMount:n=!0,schema:r,beforeCreateInstance:u,externalParams:i,language:o=ou,debug:a=!1,messagesI18n:s,children:c}=this.$options;this.debug=a,this.runtime=new Ee({schema:r,beforeCreateInstance:u}),this.externalParams=i,this.children=c,this.store=new Xg({instance:this.runtime.instance}),this.debugLog("engine is Instantiation complete"),n&&this.mount()}debugLog(...t){this.debug&&Zn(...t)}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}registerControl(...t){return this.runtime.register(...t),this}static register(t){return Ee.register(t,"Runtime")}static judgeControlIsRegistered(t){return Ee.staticRegisteredTypes.has(t.Runtime.controlType)}mount(){this.debugLog("engine\u7684mount\u65B9\u6CD5\u5F00\u59CB\u8C03\u7528");const{plugins:t=[]}=this.$options;this._handlerProxyState(),this.__plugins=t,this.applyPlugins(),this.setStates(this.getState()),this.debugLog("engine\u7684mount\u65B9\u6CD5\u8C03\u7528\u7ED3\u675F"),this.debug&&typeof window!="undefined"&&(window.engines[this.id]=this)}destroy(){this.debug&&typeof window!="undefined"&&delete window.engines[this.id]}_handlerProxyState(){this.store.state=En(this.store.state,this._proxyStateCallback.bind(this),this._proxyStateBeforeSetCallback.bind(this))}_proxyStateBeforeSetCallback(t,n,r,u){const i=Lr(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!i)return r;if(this.assertInstance(i,ue.SUBTABLE)){if(r===null)return[];const s=i.props.headers.reduce((l,f)=>{const d=f.children[0];return d&&d.controlType===Z.FORM&&(l[d.id]=d.fieldType),l},{}),c=this.getEmptyState(i.id);return r==null?void 0:r.map(l=>m5(s,l,c))}const o=n.split("."),a=o[o.length-1];try{return Ii(i.fieldType,a,r,u)}catch(s){throw Et(`the id=${i.id}'s instance setState error, %o ${s}.`,r),s}}_proxyStateCallback(t,n,r,u,i){Array.isArray(t)?this._handlerArrayUpdate(t,n,r,u,i):this._handlerObjectUpdate(t,n,r,u)}_handlerArrayUpdate(t,n,r,u,i){const o=Lr(this.runtime.flatInstances,n,this.runtime.instanceMap);if((o==null?void 0:o.controlType)!==Z.LIST)return;const a=p=>{const g=[];for(let v=0;v<p;v++){const F=this.listControlCreateRow(o,"subtable-row");F&&g.push(F)}return g},s=wt;let c=[],l=[],f=[],d=!1;if(r&&u){switch(r){case"push":case"unshift":const v=u.length;c=a(v),l=u,o.children[r](...c);break;case"splice":if(u.length>2){const F=u.length-2,h=u.slice(2);c=a(F),l=h;const m=u[0],y=u[1];o.children[r](m,y,...c)}else{const F=u[0],h=u[1];F+h===o.children.length-1&&(d=!0),o.children[r](...u)}break;default:o.children[r](...u);break}r==="splice"?f=i:["pop","shift"].includes(r)&&(f=[i]);const p=this.getState(o.id);this._handlerSubtableUpdateUid(p),this.runtime.getFlatInstances();const g=c.map(v=>{var h,m;const F=(m=(h=v==null?void 0:v.children)==null?void 0:h[0])==null?void 0:m.children[0];return this.getInstanceRowIndex(F)});this.emit("list-change",{instance:o,value:p,options:Object.assign({},s,{changed:c,data:l,rowIndexs:g,deleted:f!=null?f:[],jsonValue:JSON.stringify(p),isDeleteLastOne:d,type:r,args:u})}),wt=null}}_handlerSubtableUpdateUid(t){t.forEach(n=>{n.uid||Object.assign(n,{uid:"new:"+Zt("uid")})})}_handlerObjectUpdate(t,n,r,u){const i=Lr(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!i)return;const o=this.getInstanceRowIndex(i),a=wt||{};if(i.controlType===Z.LIST&&i.type===ue.SUBTABLE){i.children.length=0;const s=r;let c=[];for(let d=0;d<s.length;d++){const p=this.listControlCreateRow(i,"subtable-row");p&&c.push(p)}i.children.push(...c);let l=u!=null?u:[];(a==null?void 0:a.setData)===!0&&(l=[]),this.runtime.getFlatInstances(),this._handlerSubtableUpdateUid(s);const f=c.map(d=>{var g,v;const p=(v=(g=d==null?void 0:d.children)==null?void 0:g[0])==null?void 0:v.children[0];return this.getInstanceRowIndex(p)});this.emit("list-change",{instance:i,value:r,options:iu(ae({},a),{changed:c,data:s,rowIndexs:f,deleted:l,type:"push",jsonValue:JSON.stringify(s)})})}else this.emit("change",{instance:i,value:this.getState(i.id,o),rowIndex:o,options:iu(ae({},a),{oldValue:u})})}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{Jt=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this)}catch(r){Ze(`${Jt} Plugin apply Error
2
2
  ${r}`)}finally{Jt=""}}),this.__pluginsApplied=!0)}listControlCreateRow(t,n){let r;if(n==="subtable-row"?r={children:[],controlType:Z.LAYOUT,id:nn(),type:"subtable-row",props:{caption:"",isHide:!1,style:{height:"",heightConfig:"fill",width:"",widthConfig:"fill"}},fieldType:void 0,customEvents:[],pageStatus:0,rules:[],parent:void 0}:r=this.runtime.createControlInstance(n),!!r){if(r.controlType===Z.LAYOUT){const u=r,i=Y(t.props.headers),o=this.createControl(i);for(let a of o)a.parent||this.runtime.resetInstanceParent(a,u);u.children.push(...o)}return r.parent=t,r}}listControlAddRow(t,n="subtable-row"){const r=this.listControlCreateRow(t,n);!r||t.children.push(r)}emit(t,n){return ze(this,null,function*(){if(t==="engine-mounted"){if(this.isMounted)return Et("The engine-mounted life cycle can only be triggered once"),Promise.resolve([]);if(this._jobTasks.length){console.time("engine-mounted need wait");const o=[...this._jobTasks];yield Promise.all(o),console.timeEnd("engine-mounted need wait")}this.isMounted=!0}let r,u;this.isMounted||(u=new Promise(o=>{r=o}),this._jobTasks.push(u));const i=yield Go(jr.prototype,this,"emit").call(this,t,n);return r&&u&&(r(),this._jobTasks.splice(this._jobTasks.indexOf(u),1)),i})}on(t,n){return Jt&&(n.applyingPluginName=Jt),super.on(t,n)}createControl(...t){return this.runtime.createControl(...t)}createInstance(t,n){return this.runtime.createControlInstance(t,n)}schemaEvent(t,n){this.emit(t,n)}updateInstanceProps(t,n,r,u){return this.setInstance(t,n,r,u)}getRule(t,n){return Ee.staticGetRules(t,n)}getAllRules(t){var r,u;const n=this.runtime.allRules;return t===void 0?n:{rules:(r=n.rules[t])==null?void 0:r.fields,antdRules:(u=n.antdRules[t])==null?void 0:u.fields}}getRules(t,n=!1){var a,s,c,l,f,d,p;const r=this.runtime.rules,u=this.runtime.fieldCodeRules,i=this.store.controlIdMapping,o=n?u:r;if(t===void 0)return n?u:o;{if(t=n?(a=i[t])!=null&&a.children?(s=i[t].dataBind)==null?void 0:s.dataCode:((c=i[t].dataBind)==null?void 0:c.fieldCode)||t:t,t in o)return(l=o[t])==null?void 0:l.fields;let g;for(const v in o)if(t in(((f=o[v])==null?void 0:f.fields)||{})){g=(p=(d=o[v])==null?void 0:d.fields)==null?void 0:p[t];break}return g}}getAntdRules(t){var n;return t===void 0?this.runtime.antdRules:(n=this.runtime.antdRules[t])==null?void 0:n.fields}getState(t,n){return t===void 0?this.store.state:this.store.getState(t,n)}getEmptyState(t){return Y(t===void 0?this.store.emptyState:this.store.getEmptyState(t))}setPayloadOptions(t){wt=t}setState(t,n,r,u){wt=u,this.debugLog("[%o]: \u89E6\u53D1setState, \u4FEE\u6539\u7684\u503C\u4E3A%o, rowIndex=%o, options=%o",t,n,r,u),this.store.setState(t,n,r),this.debugLog("[%o]: setState\u5B8C\u6210, \u4FEE\u6539\u7684\u503C\u4E3A%o, rowIndex=%o",t,n,r),wt=null}setStates(t,n,r){let u=t!=null?t:{};Object.keys(u).forEach(i=>{Object.entries(this.store.controlIdMapping).forEach(([o,a])=>{if(a.dataView===i){const s=u[i][o];s!==void 0&&this.setState(o,s,n,r)}else(o===i||a.children&&a.children[i])&&u[i]!==void 0&&this.setState(i,u[i],n,r)})})}getField(t,n,r){if(!n){const s=this.getDataBindMapping(t);if(s){const{controlId:c}=s;return this.getState(c)}return}const u=this.getDataBindMapping(t,n);if(!u)return;const{dataBind:i,controlId:o}=u,a=this.getState(o,r);return $e(i)?a:Object.entries(i).reduce((s,[c,l])=>l.fieldCode===n?s[c]:s,a)}getData(t){var u,i,o,a,s,c,l,f,d;if(!t)return;let n=this.getDataBindMapping(t),r=this.getControlIdMapping();if(n){const{controlId:p}=n,g=this.getField(t);if(Array.isArray(g))return g.map(F=>{var m,y,C,B,M,I;let h={};for(let L in F){const W=(C=(y=(m=r[p])==null?void 0:m.children[L])==null?void 0:y.dataBind)==null?void 0:C.fieldCode;if(W!==""){if(W)h[W]=F[L];else if((B=r[p])!=null&&B.children[L])for(let H in F[L])h[(I=(M=r[p])==null?void 0:M.children[L])==null?void 0:I.dataBind[H].fieldCode]=F[L][H]}}return h});{let v={};for(let F in g)if((i=(u=r[F])==null?void 0:u.dataBind)!=null&&i.fieldCode)v[(o=r[F])==null?void 0:o.dataBind.fieldCode]=g[F];else if((s=(a=r[F])==null?void 0:a.dataBind)!=null&&s.dataCode)Array.isArray(g[F])&&(v[(c=r[F])==null?void 0:c.dataBind.dataCode]=(l=g[F])==null?void 0:l.map(h=>{var y,C;let m={};for(let B in h){const M=(y=r[F].children[B])==null?void 0:y.dataBind.fieldCode;if(M!=="")if(M)m[M]=h[B];else for(let I in h[B])m[(C=r[F].children[B])==null?void 0:C.dataBind[I].fieldCode]=h[B][I]}return m}));else if(r[F])for(let h in g[F])v[(d=(f=r[F])==null?void 0:f.dataBind[h])==null?void 0:d.fieldCode]=g[F][h];return v}}}setField(t,n,r,u,i){var c;const o=this.getDataBindMapping(t,n);if(!o)return;const{dataBind:a,controlId:s}=o;if($e(a))this.setState(s,r,u,i);else{const l=(c=Y(this.getState(s,u)))!=null?c:this.getEmptyState(s),f=Object.entries(a).reduce((d,[p,g])=>(g.fieldCode===n&&(d[p]=r),d),l);this.setState(s,f,u,i)}}setFields(t,n,r,u){const i=this.getDataBindMapping(t);if(!i)return;let o=[];i.fields.forEach(a=>{var f;const{dataBind:s,controlId:c,fieldCode:l}=a;if(!o.includes(l)&&!!Object.hasOwnProperty.call(n,l))if($e(s))this.setState(c,n[l],r,u);else{const d=(f=Y(this.getState(c,r)))!=null?f:this.getEmptyState(c),p=Object.entries(s).reduce((g,[v,F])=>{o.push(F.fieldCode);const h=n[F.fieldCode];return h!==void 0&&(g[v]=h),g},d);this.setState(a.controlId,p,r,u)}})}buildFields(t,n){const r=this.getDataBindMapping(t);if(!r||!r.fields)return;let u=[];const i={};return r.fields.forEach(o=>{const{dataBind:a,controlId:s,fieldCode:c}=o;if(!u.includes(c)&&!!Object.hasOwnProperty.call(n,c))if($e(a))i[s]=n[c];else{const l=this.getEmptyState(s);i[o.controlId]=Object.entries(a).reduce((f,[d,p])=>{u.push(p.fieldCode);const g=n[p.fieldCode];return g!==void 0&&(f[d]=g),f},l)}}),i}setData(t,n){this.debugLog("engine setData\u65B9\u6CD5\u6267\u884C\uFF0C\u53C2\u6570\u4E3A%o\uFF0C%o\u3002",t,n);const r=n==null?void 0:n.onlySetData;let u=this.store.defaultState;r===!0&&(u={}),Object.keys(t).map(i=>{var a,s,c,l;const o=t[i];if(Array.isArray(o)){const f=this.getDataBindMapping(i);if(!f)return;u[f.dataViewId]||(u[f.dataViewId]={}),o.length?u[f.dataViewId][f.controlId]=[]:u[f.dataViewId][f.controlId]=(a=u[f.dataViewId][f.controlId])!=null?a:[];let d={},p={};o.map(g=>{let v=Y(this.store.emptyState[f.dataViewId][f.controlId]),F=[];Object.keys(g).map(h=>{var y,C,B;if(F.includes(h))return;p.hasOwnProperty(h)===!1&&(p[h]=(C=(y=this.store.dataBindMapping[i])==null?void 0:y.fields)==null?void 0:C.find(M=>M.fieldCode===h));const m=p[h];if(m){if($e(m.dataBind)&&g[h]!==void 0)v[m.controlId]=g[h];else if(!$e(m.dataBind)){d.hasOwnProperty(m.controlId)===!1&&(d[m.controlId]=Y((B=this.getEmptyState(m.controlId))!=null?B:{}));let M=Y(d[m.controlId]);Object.keys(m.dataBind).map(I=>{const L=m.dataBind[I];g[L.fieldCode]!==void 0&&(M[I]=g[L.fieldCode]),F.push(L.fieldCode)}),v[m.controlId]=M}}else h==="uid"&&g.uid!==void 0?v.uid=g.uid:h==="virtualStore"&&g.virtualStore!==void 0&&(v.virtualStore=Object.freeze(g.virtualStore))}),u[f.dataViewId][f.controlId].push(v)})}else if(o){let f=[];const d=Y(this.store.emptyState);(s=Object.keys(o))!=null&&s.length&&Object.keys(o).map(g=>{var F;if(f.includes(g))return;const v=this.getDataBindMapping(i,g);if(v){if(u[v.dataViewId[0]]||(u[v.dataViewId[0]]={}),$e(v.dataBind)&&o[g]!==void 0)u[v.dataViewId[0]][v.controlId]=o[g]!==void 0?o[g]:d[v.dataViewId[0]][v.controlId];else if(!$e(v.dataBind)){let h=(F=this.getEmptyState(v.controlId))!=null?F:{};Object.keys(v.dataBind).map(m=>{const y=v.dataBind[m];o[y.fieldCode]!==void 0&&(h[m]=o[y.fieldCode]),f.push(y.fieldCode)}),u[v.dataViewId[0]][v.controlId]=h}}});const p=this.getDataBindMapping(i);if(p){const g=(c=p==null?void 0:p.fields)==null?void 0:c.map(h=>h==null?void 0:h.controlId),v=this.getEmptyState(p==null?void 0:p.controlId),F=Object.keys((l=u==null?void 0:u[p==null?void 0:p.controlId])!=null?l:{});g==null||g.forEach(h=>{!F.includes(h)&&h!=="uid"&&u[p==null?void 0:p.controlId]&&(Object.keys(u).length?Object.assign(u[p==null?void 0:p.controlId],{[h]:v[h]}):Object.assign(u,{[p.controlId]:{[h]:v[h]}}))}),this.debugLog("engine setData\u65B9\u6CD5\u9ED8\u8BA4\u503C\u53CA\u8868\u5355\u6570\u636E\u7EC4\u5408\u5B8C\u6210\uFF0C\u53C2\u6570\u4E3A%o\u3002",u)}}}),this.debugLog("engine setData\u65B9\u6CD5\u6570\u636E\u7EC4\u5408\u5B8C\u6210\uFF0C\u53C2\u6570\u4E3A%o\u3002",u),this.setStates(u,void 0,ae({setData:!0},n)),this.runtime.getFlatInstances(),this.debugLog("engine setData\u65B9\u6CD5\u6267\u884C\u5B8C\u6210\u3002")}getDataBind(t){return this.store.getDataBind(t)}getInstance(t,n){const r=this.getInstances(t,n===-1);if(r.length>0)return n!==void 0?n===-1?r[0]:r[n]:r[0]}getInstances(t,n=!1){if(t===void 0)return this.runtime.flatInstances;const r=Array.from(this.runtime.instanceMap[t]||[]);if(n){const u=this.findSubtableHeadersControl(t);u!==void 0&&r.unshift(u)}return r}setInstance(t,n,r,u){try{if(typeof t=="string"&&u===-1)this.getInstances(t,u===-1).map(o=>{o&&(this.debugLog("[%o]: \u4FEE\u6539instance: %o\u7684%o\u5C5E\u6027\uFF0C\u4FEE\u6539\u7684\u503C\u4E3A%o\u3002",o.id,o,n,r),Jn(o.props,n,r),this.schemaEvent("schema-change",{instance:o,props:n,value:r,rowIndex:u}))});else{let i;if(typeof t=="string"?i=this.getInstance(t,u):i=t,!i)return;this.debugLog("[%o]: \u4FEE\u6539instance: %o\u7684%o\u5C5E\u6027\uFF0C\u4FEE\u6539\u7684\u503C\u4E3A%o\u3002",i.id,i,n,r),Jn(i.props,n,r),this.schemaEvent("schema-change",{instance:i,props:n,value:r,rowIndex:u})}}catch(i){throw i}}getControlIdMapping(){return this.store.controlIdMapping}getDataBindMapping(t,n){if(!t&&!n)return this.store.dataBindMapping;const r=this.store.dataBindMapping[t];if(!r)return;if(!n)return r;const u=r.fields.find(i=>i.fieldCode===n);if(!!u)return u}getAction(){return this.actionManager}initDataManager(t){this.dataManager=new c5(t)}getDataManager(){return this.dataManager}assertInstance(t,n){return Fe(n)?t.type===n:n.includes(t.type)}assertInstanceIsCustomControl(t){return!FD(Fe(t)?t:t.type)}getInstanceRowIndex(t){if(!t.parent)return;let n;if(this.assertInstance(t.parent,ue.SUBTABLE_COLUMN)&&this.assertInstance(t.parent.parent,ue.SUBTABLE))n=-1;else if(this.getInstanceParentControl(t,ue.SUBTABLE_COLUMN)){const i=this.runtime.instanceMap[t.id];if(Object.prototype.toString.call(i)==="[object Array]"){const o=i.findIndex(a=>a===t);o>-1&&(n=o)}}return n}getInstanceParentControl(t,n){if(!!t.parent)return this.assertInstance(t.parent,n)?t.parent:this.getInstanceParentControl(t.parent,n)}getInstanceInSubtableHeader(t){const n=this.getInstanceRowIndex(t);if(n===void 0)return;if(n===-1)return t;const r=this.assertInstance(t,ue.SUBTABLE_COLUMN)?t:this.getInstanceParentControl(t,ue.SUBTABLE_COLUMN);if(!r)return;const i=this.getInstanceParentControl(t,ue.SUBTABLE).props.headers.find(o=>o.id===r.id);if(!!i)return i.children.find(o=>o.id===t.id)}setControlConfig(...t){return this.runtime.registerControlConfig(...t)}getControlConfig(t){return this.runtime.getControlConfig(t)}inList(t){const n=this.store.subtableHeadersControlIdMapping;let r;for(const u in n)if(t in n[u]){r=u;break}return r}findSubtableHeadersControl(t){const n=this.store.subtableHeadersControlIdMapping;let r;for(const u in n)if(t in n[u]){r=n[u][t];break}return r}}class y5{}class E5{constructor(t,n,r){this.config=t,this.env=n,this.eventJs=r}apply(t){this.engine=t;const n=this.config;if(!n)return;const r=t.getAction();if(this.eventJs){this.eventJs.exportsFun({ctx:t,utils:r.actionUtils});for(let[u,i]of Object.entries(this.eventJs))r.addAction(u,i)}else{const u=Ni(n,t,this.env);if(!u)return;for(let[i,o]of Object.entries(u.funcMap))r.addAction(i,o)}}}function Ni(e,t,n){if(!e.module||!e.module.compiled)return;const r=e.module.compiled,u={exports:{ctx:t,utils:t.getAction().actionUtils,env:n}};try{new Function("module","exports",r).call(u,u,u.exports)}catch(a){Ze(a.message+". fail to parse the module"),process.env.NODE_ENV!=="production"&&Ze("fail to parse the module")}const i={},o={};for(const[a,s]of Object.entries(u.exports))typeof s=="function"?i[a]=s:o[a]=s;return{funcMap:i,variables:o}}const C5={"engine-initialized":"did_init","engine-mounted":"did_mount","engine-submit":"will_submit","engine-submit-params":"do_submit","engine-submitted":"did_submit"};class F5{constructor(t){this.config=t}apply(t){this.engine=t,Object.entries(C5).forEach(([n,r])=>{t.on(n,u=>ze(this,null,function*(){const i=yield this.callLifecycleEvent(r,u);return i.includes(!1)?!1:i}))})}callLifecycleEvent(t,n){return ze(this,null,function*(){const r=this.config;return!r||!Array.isArray(r[t])?[]:yield Promise.all(r[t].map(i=>ze(this,null,function*(){return yield this.engine.getAction().execAction(i,n)})))})}}class A5{constructor(t,n){this.config=t,this.customEvents=n}apply(t){this.engine=t,_u.events.forEach(n=>{n.code&&n.key&&this.engineAddEventListener(n.code,n.key)}),this.customEvents.map(n=>{let r=n.key;n.namespace!==void 0&&n.namespace!==null&&n.namespace!==""&&(r=n.namespace+":"+n.key),this.engineAddEventListener(r,r)})}engineAddEventListener(t,n){this.engine.on(t,r=>ze(this,null,function*(){if(!((t==="change"||t==="list-change")&&!this.engine.isMounted)&&r.instance!==void 0)return yield this.callControlEvent(n,r)}))}callControlEvent(t,n){return ze(this,null,function*(){const r=this.config[n.instance.id];if(!r||!Array.isArray(r[t]))return[];const u=yield Promise.all(r[t].map(i=>ze(this,null,function*(){return yield this.engine.getAction().execAction(i,n)})));return u.includes(!1)?!1:u})}}function Cn(){return Cn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cn.apply(null,arguments)}var xi={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null};function ge(e){return typeof e=="number"}function Ke(e){return!e||typeof e!="object"||typeof e.constructor!="function"?!1:e.isBigNumber===!0&&typeof e.constructor.prototype=="object"&&e.constructor.prototype.isBigNumber===!0||typeof e.constructor.isDecimal=="function"&&e.constructor.isDecimal(e)===!0}function Oi(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isComplex===!0||!1}function Ri(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isFraction===!0||!1}function Pi(e){return e&&e.constructor.prototype.isUnit===!0||!1}function Fn(e){return typeof e=="string"}var Ie=Array.isArray;function bt(e){return e&&e.constructor.prototype.isMatrix===!0||!1}function qr(e){return Array.isArray(e)||bt(e)}function B5(e){return e&&e.isDenseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function w5(e){return e&&e.isSparseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function b5(e){return e&&e.constructor.prototype.isRange===!0||!1}function Ti(e){return e&&e.constructor.prototype.isIndex===!0||!1}function _5(e){return typeof e=="boolean"}function S5(e){return e&&e.constructor.prototype.isResultSet===!0||!1}function M5(e){return e&&e.constructor.prototype.isHelp===!0||!1}function $5(e){return typeof e=="function"}function I5(e){return e instanceof Date}function N5(e){return e instanceof RegExp}function Li(e){return!!(e&&typeof e=="object"&&e.constructor===Object&&!Oi(e)&&!Ri(e))}function x5(e){return e===null}function O5(e){return e===void 0}function R5(e){return e&&e.isAccessorNode===!0&&e.constructor.prototype.isNode===!0||!1}function P5(e){return e&&e.isArrayNode===!0&&e.constructor.prototype.isNode===!0||!1}function T5(e){return e&&e.isAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function L5(e){return e&&e.isBlockNode===!0&&e.constructor.prototype.isNode===!0||!1}function k5(e){return e&&e.isConditionalNode===!0&&e.constructor.prototype.isNode===!0||!1}function j5(e){return e&&e.isConstantNode===!0&&e.constructor.prototype.isNode===!0||!1}function q5(e){return e&&e.isFunctionAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function V5(e){return e&&e.isFunctionNode===!0&&e.constructor.prototype.isNode===!0||!1}function U5(e){return e&&e.isIndexNode===!0&&e.constructor.prototype.isNode===!0||!1}function H5(e){return e&&e.isNode===!0&&e.constructor.prototype.isNode===!0||!1}function z5(e){return e&&e.isObjectNode===!0&&e.constructor.prototype.isNode===!0||!1}function W5(e){return e&&e.isOperatorNode===!0&&e.constructor.prototype.isNode===!0||!1}function Z5(e){return e&&e.isParenthesisNode===!0&&e.constructor.prototype.isNode===!0||!1}function G5(e){return e&&e.isRangeNode===!0&&e.constructor.prototype.isNode===!0||!1}function J5(e){return e&&e.isRelationalNode===!0&&e.constructor.prototype.isNode===!0||!1}function X5(e){return e&&e.isSymbolNode===!0&&e.constructor.prototype.isNode===!0||!1}function K5(e){return e&&e.constructor.prototype.isChain===!0||!1}function Vr(e){var t=typeof e;return t==="object"?e===null?"null":Ke(e)?"BigNumber":e.constructor&&e.constructor.name?e.constructor.name:"Object":t}function Dt(e){var t=typeof e;if(t==="number"||t==="string"||t==="boolean"||e===null||e===void 0)return e;if(typeof e.clone=="function")return e.clone();if(Array.isArray(e))return e.map(function(n){return Dt(n)});if(e instanceof Date)return new Date(e.valueOf());if(Ke(e))return e;if(Li(e))return Q5(e,Dt);throw new TypeError("Cannot clone: unknown type of value (value: ".concat(e,")"))}function Q5(e,t){var n={};for(var r in e)An(e,r)&&(n[r]=t(e[r]));return n}function Xt(e,t){var n,r,u;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(r=0,u=e.length;r<u;r++)if(!Xt(e[r],t[r]))return!1;return!0}else{if(typeof e=="function")return e===t;if(e instanceof Object){if(Array.isArray(t)||!(t instanceof Object))return!1;for(n in e)if(!(n in t)||!Xt(e[n],t[n]))return!1;for(n in t)if(!(n in e))return!1;return!0}else return e===t}}function An(e,t){return e&&Object.hasOwnProperty.call(e,t)}function Y5(e,t){for(var n={},r=0;r<t.length;r++){var u=t[r],i=e[u];i!==void 0&&(n[u]=i)}return n}var em=["Matrix","Array"],tm=["number","BigNumber","Fraction"],ki=function(t){if(t)throw new Error(`The global config is readonly.
3
3
  Please create a mathjs instance if you want to change the default configuration.
4
4
  Example:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-engine",
3
- "version": "3.0.0-beta.2",
3
+ "version": "3.0.0-beta.5",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,13 +26,13 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-core": "3.0.0-beta.2",
30
- "@byteluck-fe/model-driven-shared": "2.23.0",
29
+ "@byteluck-fe/model-driven-core": "3.0.0-beta.5",
30
+ "@byteluck-fe/model-driven-shared": "3.0.0-beta.5",
31
31
  "@types/mathjs": "^9.4.2",
32
32
  "mathjs": "^11.3.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "~18.0.6"
36
36
  },
37
- "gitHead": "0a20bca1644f7a7d135aba095bd4c6c7f28c2cb4"
37
+ "gitHead": "dc66087ea6236693a8b08e81c417184fa60a2f90"
38
38
  }