@byteluck-fe/model-driven-upgrade 2.23.0-beta.12 → 2.23.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/dist/esm/VersionBuilder.js +2 -2
- package/dist/esm/upgrade/index.js +4 -9
- package/dist/esm/upgrade/v2_9.js +7 -7
- package/dist/esm/upgrade/v3_0.js +7 -7
- package/dist/esm/upgrade/v3_1.js +6 -6
- package/dist/esm/upgrade/v3_11.js +50 -0
- package/dist/esm/upgrade/v3_2.js +6 -6
- package/dist/esm/upgrade/v3_3.js +6 -6
- package/dist/esm/upgrade/v3_4.js +6 -6
- package/dist/esm/upgrade/v3_5.js +6 -6
- package/dist/esm/upgrade/v3_6.js +6 -6
- package/dist/esm/upgrade/v3_7.js +6 -6
- package/dist/index.umd.js +1 -1
- package/dist/types/VersionBuilder.d.ts +11 -11
- package/dist/types/index.d.ts +2 -2
- package/dist/types/types.d.ts +18 -18
- package/dist/types/upgrade/index.d.ts +27 -26
- package/dist/types/upgrade/v1_0.d.ts +3 -3
- package/dist/types/upgrade/v2_0.d.ts +3 -3
- package/dist/types/upgrade/v2_1.d.ts +3 -3
- package/dist/types/upgrade/v2_10.d.ts +3 -3
- package/dist/types/upgrade/v2_2.d.ts +3 -3
- package/dist/types/upgrade/v2_3.d.ts +3 -3
- package/dist/types/upgrade/v2_4.d.ts +3 -3
- package/dist/types/upgrade/v2_5.d.ts +3 -3
- package/dist/types/upgrade/v2_6.d.ts +3 -3
- package/dist/types/upgrade/v2_7.d.ts +3 -3
- package/dist/types/upgrade/v2_8.d.ts +3 -3
- package/dist/types/upgrade/v2_9.d.ts +3 -3
- package/dist/types/upgrade/v3_0.d.ts +3 -3
- package/dist/types/upgrade/v3_1.d.ts +3 -3
- package/dist/types/upgrade/v3_10.d.ts +3 -3
- package/dist/types/upgrade/v3_11.d.ts +3 -0
- package/dist/types/upgrade/v3_2.d.ts +3 -3
- package/dist/types/upgrade/v3_3.d.ts +3 -3
- package/dist/types/upgrade/v3_4.d.ts +3 -3
- package/dist/types/upgrade/v3_5.d.ts +3 -3
- package/dist/types/upgrade/v3_6.d.ts +3 -3
- package/dist/types/upgrade/v3_7.d.ts +3 -3
- package/dist/types/upgrade/v3_8.d.ts +3 -3
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(Fe,Wn){typeof exports=="object"&&typeof module!="undefined"?Wn(exports):typeof define=="function"&&define.amd?define(["exports"],Wn):(Fe=typeof globalThis!="undefined"?globalThis:Fe||self,Wn(Fe.modelDrivenUpgrade={}))})(this,function(Fe){"use strict";var Wn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",hB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",bB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",mB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",gB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",OB="{caption}\u5FC5\u586B",wB="\u8BF7\u8F93\u5165\u6807\u9898",$B="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",PB="\u8BF7\u8F93\u5165\u884C\u6807\u9898",EB="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",SB="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",TB="\u8BF7\u7ED1\u5B9A\u8868\u5355",RB="\u8BF7\u7ED1\u5B9A\u5217\u8868",BB="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",DB="\u8BF7\u8F93\u5165\u663E\u793A\u503C",AB="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",IB="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",kB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",FB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",xB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",MB="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",LB="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",jB="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",CB="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",NB="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",VB="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",zB="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",HB="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",qB="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",UB="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",WB="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",KB="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",GB="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",XB="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",QB="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",JB="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ZB="\u8BF7\u7ED1\u5B9A\u670D\u52A1",YB="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",t3="\u8BF7\u9009\u62E9\u7701",e3="\u8BF7\u9009\u62E9\u5E02",n3="\u8BF7\u9009\u62E9\u533A",o3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",r3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",i3="\u8BF7\u8F93\u5165\u5217\u5BBD",u3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",l3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",c3="\u8BF7\u9009\u62E9\u63A7\u4EF6",a3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",f3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",_3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",y3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",s3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",p3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",d3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",v3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",h3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",b3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",m3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",g3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",O3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",w3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",$3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",P3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",E3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",S3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",T3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",R3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",B3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",D3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",A3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",I3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",k3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",F3="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",x3="\u6279\u91CF\u5220\u9664",M3="\u6279\u91CF\u6253\u5370",L3="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",j3="\u6309\u94AE",C3="\u521B\u5EFA\u5355\u636E",N3="\u4EEA\u8868\u76D8",V3="\u5206\u5272\u7EBF",z3="\u5BFC\u51FA",H3="\u8868\u5355\u64CD\u4F5C",q3="\u5BFC\u5165",U3="\u53D1\u7968\u8BC6\u522B",W3="\u94FE\u63A5",K3="\u5217\u8868\u9009\u62E9",G3="\u5217\u8868\u89C6\u56FE",X3="\u64CD\u4F5C\u6309\u94AE",Q3="\u5206\u9875",J3="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Z3="\u8BF4\u660E\u6587\u5B57",Y3="\u6587\u5B57\u8BC6\u522B",t1="\u6807\u9898\u7EC4\u4EF6",e1="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",n1="\u6570\u7EC4",o1="\u81EA\u52A8\u7F16\u53F7",r1="\u81EA\u5B9A\u4E49",i1="\u6570\u503C",u1="\u90E8\u95E8",l1="\u4EBA\u5458",c1="\u9644\u4EF6",a1="\u56FE\u7247",f1="\u5730\u5740",_1="\u64CD\u4F5C",y1="\u5E8F\u53F7",s1="\u4EBA\u5458",p1="\u957F\u6587\u672C",d1="\u65E5\u671F\u533A\u95F4",v1="\u65E5\u671F",h1="\u77ED\u6587\u672C",b1="\u6362\u884C\u5BB9\u5668Wrap",m1="\u8868\u683C",g1="\u660E\u7EC6\u5B50\u8868",O1="\u5730\u5740",w1="\u91D1\u989D",$1="\u8BA1\u7B97\u516C\u5F0F",P1="\u591A\u9009",E1="\u7535\u5B50\u7B7E\u7AE0",S1="\u5355\u884C\u6587\u672C",T1="\u6570\u5B57",R1="\u4E1A\u52A1\u7EC4\u7EC7",B1="\u5355\u9009",D1="\u5BCC\u6587\u672C",A1="\u8BC4\u5206",I1="\u6570\u5B57\u533A\u95F4",k1="\u4E0B\u62C9\u5355\u9009",F1="\u4E0B\u62C9\u591A\u9009",x1="\u5173\u8054\u5355\u9009",M1="\u591A\u884C\u6587\u672C",L1="\u6811",j1="Vue\u5BB9\u5668",C1="Vue\u9875\u9762",N1="\u5728\u7EBF\u6587\u6863",V1="\u6309\u94AE\u64CD\u4F5C\u680F",z1="\u9AD8\u7EA7\u5BB9\u5668",H1="\u5206\u7EC4",q1="\u6805\u683C\u5217",U1="\u6570\u636E\u5BB9\u5668",W1="\u753B\u5E03",K1="\u6362\u884C\u5BB9\u5668",G1="\u6805\u683C\u7B49\u5206\u884C",X1="\u5217\u8868\u5BB9\u5668",Q1="\u81EA\u7531\u9875\u9762",J1="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Z1="\u5B9A\u4F4D\u5BB9\u5668",Y1="\u6805\u683C\u5E03\u5C40",tD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",eD="\u660E\u7EC6\u5B50\u8868\u884C",nD="\u6807\u7B7E\u9875",oD="\u6807\u7B7E\u5355\u5143",rD="\u5DE5\u5177\u680F",iD="\u6279\u91CF\u63D0\u4EA4",uD="\u5BFC\u51FA\u8BB0\u5F55",lD="\u5217\u8868\u89C6\u56FE",cD="\u7ED3\u675F\u65F6\u95F4",aD="\u5F00\u59CB\u65F6\u95F4",fD="\u5355\u4F4D",_D="\u7ED3\u679C",yD="\u5E01\u79CD",sD="\u7ED3\u675F\u65E5\u671F",pD="\u5F00\u59CB\u65E5\u671F",dD="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",vD="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",hD="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",bD="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",mD="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",gD="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",OD="\u8BF7\u9009\u62E9",wD="\u8BF7\u9009\u62E9\u7EC4\u7EC7",$D="\u8BF7\u9009\u62E9\u90E8\u95E8",PD="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",ED="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",SD="\u8BF7\u9009\u62E9\u5730\u5740",TD="\u5F39\u7A97\u786E\u8BA4\u65F6",RD="\u6807\u7B7E\u9875\u5207\u6362\u65F6",BD="\u884C\u9009\u4E2D\u65F6",DD="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",AD="\u884C\u5220\u9664\u524D",ID="\u884C\u70B9\u51FB\u65F6",kD="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",FD="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",xD="\u91CD\u547D\u540D\u65F6",MD="\u4FDD\u5B58\u6587\u4EF6\u65F6",LD="\u6253\u5F00\u6587\u4EF6\u65F6",jD="\u83B7\u53D6\u7126\u70B9\u65F6",CD="\u5931\u53BB\u7126\u70B9\u65F6",ND="\u7528\u6237\u8F93\u5165\u65F6",VD="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",zD="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",HD="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",qD="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",UD="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",WD="\u641C\u7D22\u65F6",KD="\u503C\u53D1\u751F\u53D8\u5316\u65F6",GD="\u6267\u884C\u5B8C\u6210\u65F6",XD="\u70B9\u51FB\u65F6",QD="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",JD="\u8BF7\u8F93\u5165\u65E5\u671F",ZD="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",YD="\u8BF7\u8F93\u5165",t2="\u9ED8\u8BA4\u6A21\u7248",e2="\u5DE6\u53F3\u5E03\u5C40",n2="\u4E0A\u4E0B\u5E03\u5C40",o2="\u53EA\u8BFB",r2="\u5FC5\u586B",i2="\u63D0\u793A\u6587\u5B57",u2="\u9690\u85CF\u6807\u9898",l2="\u6807\u9898\u5FC5\u586B",c2="\u7EC4\u7EC7\u5F62\u6001",a2="\u4E1A\u52A1\u7C7B\u578B",f2="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",_2="\u9690\u85CF",y2="\u6D41\u7A0B\u72B6\u6001",s2="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",p2="\u5220\u9664",d2="\u7F16\u8F91",v2="\u67E5\u770B",h2="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",b2="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",m2="\u5145\u6EE1\u6574\u884C",g2="\u6700\u5C0F\u503C",O2="\u6700\u5927\u503C",w2="\u65B0\u5EFA\u6587\u6863",$2="\u91CD\u7F6E",P2="\u67E5\u8BE2",E2="\u660E\u7EC6",S2="\u6253\u5370",T2="\u4FDD\u5B58\u8349\u7A3F",R2="\u4FDD\u5B58",B2="\u53D6\u6D88",D2="\u4E0A\u4F20\u56FE\u7247",A2="\u53D1\u8D77\u7B7E\u7F72",I2="\u4E0A\u4F20\u9644\u4EF6",k2="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",F2={isNotNumber:Wn,isNotString:hB,isNotObject:bB,isNotArray:mB,isNotBoolean:gB,runtimeRequired:OB,pleaseEnterCaption:wB,pleaseEnterCaptionTip:$B,pleaseEnterRowCaption:PB,pleaseEnterPlaceholder:EB,pleaseEnterFieldCode:SB,pleaseEnterForm:TB,pleaseEnterList:RB,pleaseEnterProcess:BB,pleaseEnterLabel:DB,pleaseEnterValue:AB,bizKeyNotBindFiled:IB,pleaseSelectOneField:kB,pleaseEnterNumberRange:FB,pleaseEnterAValueGreaterThanMin:xB,pleaseEnterAValueLessThanMax:MB,numberRangeSetError:LB,stringRangeError:jB,attachmentMaxSize:CB,pleaseEnterTotalScoreSetting:NB,theTotalScoreMustNotBeLessThan1:VB,scoreDefaultValueRange:zB,attachmentLimitError:HB,PleaseReselectTheOptionalQuantity:qB,TheMaximumLengthIsGreaterThanTheMinimumLength:UB,TheMinimumLengthIsGreaterThanTheMaximumLength:WB,PleaseSelectTheCorrectOptionSettings:KB,optionIdIsRepeat:GB,optionIsRequired:XB,pleaseEnterDataCode:QB,pleaseEnterValueFieldCode:JB,pleaseEnterSvcCode:ZB,pleaseBindAtLeastOneDisplayValue:YB,pleaseSelectProvince:t3,pleaseSelectCity:e3,pleaseSelectDistrict:n3,limitRowsCannotBeLessThan0:o3,TheNumberOfRowsCannotBeLessThanMinRows:r3,pleaseEnterColumnWidth:i3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:u3,pleaseCompleteAllRulesAndConditions:l3,pleaseSelectControl:c3,pleaseSelectAtLeastOneColumn:a3,pleaseSelectFillBackMode:f3,pleaseSelectDashboard:_3,rootNodeIsRequired:y3,theViewNameCannotBeEmpty:s3,pleaseSelectOcrType:p3,pleaseSelectAtLeastOneFieldToFillIn:d3,pleaseChooseAtLeastOne:v3,pleaseEnterButtonContent:h3,pleaseEnterDataCodeInDataSetting:b3,pleaseEnterValueFieldCodeInDataSetting:m3,pleaseEnterSvcCodeInDataSetting:g3,pleaseBindAtLeastOneDisplayValueInDataSetting:O3,rootNodeIsRequiredInDataSetting:w3,pleaseEnterMaxHeight:$3,pleaseEnterWatermark:P3,pleaseEnterFileName:E3,pleaseUploadAtLeastOnePrintTemplate:S3,pleaseAssignBusiness:T3,pleaseAssignExternal:R3,pleaseEnterAliasCode:B3,pleaseSelectDataCode:D3,pleaseSelectSvcCode:A3,pleaseSelectJoinFieldCode:I3,pleaseSelectMainFieldCode:k3,pleaseSelectSortFieldCode:F3,batchDeleteButton:x3,batchPrintListButton:M3,batchPrintRecordList:L3,button:j3,createFormListButton:C3,dashboard:N3,divider:V3,exportListButton:z3,formSelectButton:H3,importRecordListButton:q3,invoiceCheckButton:U3,link:W3,listSelectButton:K3,ListViewSelect:G3,operationButton:X3,pagination:Q3,submissionRecordListButton:J3,text:Z3,textOcrButton:Y3,title:t1,approvalStatusColumn:e1,array:n1,autoNumber:o1,custom:r1,decimal:i1,department:u1,employee:l1,file:c1,image:a1,location:f1,operation:_1,order:y1,people:s1,long:p1,timescope:d1,timestamp:v1,varchar:h1,gridLayoutWrap:b1,gridTable:m1,subTable:g1,address:O1,amount:w1,calc:$1,checkBox:P1,electronicSignature:E1,input:S1,number:T1,organizationSelection:R1,radio:B1,richText:D1,score:A1,searchNumberRange:I1,select:k1,selectMultiple:F1,selectRelation:x1,textarea:M1,tree:L1,vueFormItem:j1,vuePage:C1,WPS:N1,actionBar:V1,advancedContainer:z1,cardGroup:H1,col:q1,dataView:U1,grid:W1,gridLayoutContainer:K1,gridRow:G1,listView:X1,page:Q1,position:J1,positioningContainer:Z1,row:Y1,subtableColumn:tD,subtableRow:eD,tab:nD,tabPane:oD,toolbox:rD,batchSubmissionListButton:iD,exportRecordListButton:uD,listViewSelect:lD,endTime:cD,startTime:aD,unit:fD,result:_D,currency:yD,endDate:sD,startDate:pD,pleaseSelectCompanyName:dD,pleaseSelectPhoneOrEmail:vD,pleaseSelectSignType:hD,pleaseSelectSigner:bD,pleaseSelectOnlyOne:mD,pleaseSelectSignFile:gD,pleaseSelect:OD,pleaseSelectOrg:wD,pleaseSelectDept:$D,pleaseSelectEndDate:PD,pleaseSelectStartDate:ED,pleaseChooseAddress:SD,modalConfirm:TD,tabChange:RD,rowSelected:BD,listDataImport:DD,rowDelete:AD,rowClick:ID,cellRender:kD,onClickBtn:FD,rename:xD,onSaveFile:MD,onOpenFile:LD,onFocus:jD,onBlur:CD,onInput:ND,listDataAdd:VD,listDataDelete:zD,listDataBack:HD,listDataCreate:qD,listDataChange:UD,search:WD,valueChange:KD,finished:GD,click:XD,pleaseEnterNameorEmail:QD,pleaseEnterDate:JD,pleaseEnterAutonumber:ZD,pleaseEnter:YD,defaultTemplate:t2,left:e2,top:n2,default:"\u666E\u901A",readonly:o2,required:r2,textTip:i2,hideCaption:u2,titleRequired:l2,organizationalForm:c2,businessType:a2,deleteConfirm:f2,hide:_2,processStatus:y2,approvedDocuments:s2,delete:p2,edit:d2,view:v2,loadCtrlErrorTip:h2,loadCtrlError:b2,fullLine:m2,min:g2,max:O2,createWPS:w2,reset:$2,query:P2,detailed:E2,print:S2,draft:T2,save:R2,cancel:B2,uploadImg:D2,signature:A2,uploadFile:I2,linkContent:k2},x2="Please enter a number",M2="Please enter a string",L2="Please enter an object",j2="Please enter an array",C2="Please enter a boolean",N2="{caption} Required",V2="Please enter the title",z2="Please enter the bubble prompt",H2="Please enter the row title",q2="Please enter the prompt text",U2="Please bind data items",W2="Please bind the form",K2="Please bind the list",G2="Please bind the process",X2="Please enter the displayed value",Q2="Please enter the stored value",J2="The document number is not bound to the data item",Z2="Please select at least one display field",Y2="Please enter a value greater than or equal to {min} and less than or equal to {max}",tA="Please enter a value greater than or equal to {min}",eA="Please enter a value less than or equal to {max}",nA="The value range is set incorrectly",oA="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",rA="The attachment size must be between 0MB and 1000MB",iA="Please fill in the total score setting",uA="The total score cannot be less than 1",lA="The default value must be between {min} and {max}",cA="The number of attachment uploads exceeds the limit",aA="Please re-select the optional quantity",fA="The maximum length of the control must be greater than the minimum length",_A="The minimum length of the control must be less than the maximum length",yA="Please select the correct option setting",sA="Option ID cannot be repeated",pA="Please enter at least one option",dA="Please bind the data source",vA="Please bind the stored value",hA="Please bind the service",bA="At least one display value must be bound",mA="Please select a province",gA="Please select a city",OA="Please select a district",wA="The minimum number of lines to fill in cannot be less than 0",$A="The number of rows cannot be less than {min} rows",PA="Please enter the column width",EA="Please set the logical relationship of all rule conditions",SA="Please complete all rules and conditions",TA="please select control",RA="Please select the dashboard",BA="View name cannot be empty",DA="Please select recognition type",AA="Please select at least one field to fill in",IA="Please select at least one",kA="Please enter the button title",FA="Please bind the business model in the data settings",xA="Please bind storage values in data settings",MA="Please bind the service in the data settings",LA="Please bind at least one display value in the data settings",jA="Please select the root node in the data settings",CA="Please enter the maximum height",NA="The input content cannot be empty",VA="Watermark cannot be empty",zA="File name cannot be empty",HA="Please upload at least one printing template!\uFF01",qA="Please select a specific business department",UA="Please select a specified external organization",WA="Please enter a sub table alias",KA="Please select the associated table to set the business model",GA="Please select the association table to set the binding service",XA="Select associated sub table fields",QA="Please select the associated main table field",JA="Please select the sort field",ZA="\u6279\u91CF\u5220\u9664",YA="\u6279\u91CF\u6253\u5370",t5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",e5="\u6309\u94AE",n5="\u521B\u5EFA\u5355\u636E",o5="\u4EEA\u8868\u76D8",r5="\u5206\u5272\u7EBF",i5="\u5BFC\u51FA",u5="\u8868\u5355\u64CD\u4F5C",l5="\u5BFC\u5165",c5="\u53D1\u7968\u8BC6\u522B",a5="\u94FE\u63A5",f5="\u5217\u8868\u9009\u62E9",_5="\u5217\u8868\u89C6\u56FE",y5="\u64CD\u4F5C\u6309\u94AE",s5="\u5206\u9875",p5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",d5="\u8BF4\u660E\u6587\u5B57",v5="\u6587\u5B57\u8BC6\u522B",h5="\u6807\u9898\u7EC4\u4EF6",b5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",m5="\u6570\u7EC4",g5="\u81EA\u52A8\u7F16\u53F7",O5="\u81EA\u5B9A\u4E49",w5="\u6570\u503C",$5="\u90E8\u95E8",P5="\u4EBA\u5458",E5="\u9644\u4EF6",S5="\u56FE\u7247",T5="\u5730\u5740",R5="\u64CD\u4F5C",B5="\u5E8F\u53F7",D5="\u4EBA\u5458",A5="\u957F\u6587\u672C",I5="\u65E5\u671F\u533A\u95F4",k5="\u65E5\u671F",F5="\u77ED\u6587\u672C",x5="\u6362\u884C\u5BB9\u5668Wrap",M5="\u8868\u683C",L5="\u660E\u7EC6\u5B50\u8868",j5="\u5730\u5740",C5="\u91D1\u989D",N5="\u8BA1\u7B97\u516C\u5F0F",V5="\u591A\u9009",z5="\u7535\u5B50\u7B7E\u7AE0",H5="\u5355\u884C\u6587\u672C",q5="\u6570\u5B57",U5="\u4E1A\u52A1\u7EC4\u7EC7",W5="\u5355\u9009",K5="\u5BCC\u6587\u672C",G5="\u8BC4\u5206",X5="\u6570\u5B57\u533A\u95F4",Q5="\u4E0B\u62C9\u5355\u9009",J5="\u4E0B\u62C9\u591A\u9009",Z5="\u5173\u8054\u5355\u9009",Y5="\u591A\u884C\u6587\u672C",tI="\u6811",eI="Vue\u5BB9\u5668",nI="Vue\u9875\u9762",oI="\u5728\u7EBF\u6587\u6863",rI="\u6309\u94AE\u64CD\u4F5C\u680F",iI="\u9AD8\u7EA7\u5BB9\u5668",uI="\u5206\u7EC4",lI="\u6805\u683C\u5217",cI="\u6570\u636E\u5BB9\u5668",aI="\u753B\u5E03",fI="\u6362\u884C\u5BB9\u5668",_I="\u6805\u683C\u7B49\u5206\u884C",yI="\u5217\u8868\u5BB9\u5668",sI="\u81EA\u7531\u9875\u9762",pI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",dI="\u5B9A\u4F4D\u5BB9\u5668",vI="\u6805\u683C\u5E03\u5C40",hI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",bI="\u660E\u7EC6\u5B50\u8868\u884C",mI="\u6807\u7B7E\u9875",gI="\u6807\u7B7E\u5355\u5143",OI="\u5DE5\u5177\u680F",wI="\u6279\u91CF\u63D0\u4EA4",$I="\u5BFC\u51FA\u8BB0\u5F55",PI="\u5217\u8868\u89C6\u56FE",EI={isNotNumber:x2,isNotString:M2,isNotObject:L2,isNotArray:j2,isNotBoolean:C2,runtimeRequired:N2,pleaseEnterCaption:V2,pleaseEnterCaptionTip:z2,pleaseEnterRowCaption:H2,pleaseEnterPlaceholder:q2,pleaseEnterFieldCode:U2,pleaseEnterForm:W2,pleaseEnterList:K2,pleaseEnterProcess:G2,pleaseEnterLabel:X2,pleaseEnterValue:Q2,bizKeyNotBindFiled:J2,pleaseSelectOneField:Z2,pleaseEnterNumberRange:Y2,pleaseEnterAValueGreaterThanMin:tA,pleaseEnterAValueLessThanMax:eA,numberRangeSetError:nA,stringRangeError:oA,attachmentMaxSize:rA,pleaseEnterTotalScoreSetting:iA,theTotalScoreMustNotBeLessThan1:uA,scoreDefaultValueRange:lA,attachmentLimitError:cA,PleaseReselectTheOptionalQuantity:aA,TheMaximumLengthIsGreaterThanTheMinimumLength:fA,TheMinimumLengthIsGreaterThanTheMaximumLength:_A,PleaseSelectTheCorrectOptionSettings:yA,optionIdIsRepeat:sA,optionIsRequired:pA,pleaseEnterDataCode:dA,pleaseEnterValueFieldCode:vA,pleaseEnterSvcCode:hA,pleaseBindAtLeastOneDisplayValue:bA,pleaseSelectProvince:mA,pleaseSelectCity:gA,pleaseSelectDistrict:OA,limitRowsCannotBeLessThan0:wA,TheNumberOfRowsCannotBeLessThanMinRows:$A,pleaseEnterColumnWidth:PA,pleaseSetTheLogicalRelationshipOfAllRuleConditions:EA,pleaseCompleteAllRulesAndConditions:SA,pleaseSelectControl:TA,pleaseSelectDashboard:RA,theViewNameCannotBeEmpty:BA,pleaseSelectOcrType:DA,pleaseSelectAtLeastOneFieldToFillIn:AA,pleaseChooseAtLeastOne:IA,pleaseEnterButtonContent:kA,pleaseEnterDataCodeInDataSetting:FA,pleaseEnterValueFieldCodeInDataSetting:xA,pleaseEnterSvcCodeInDataSetting:MA,pleaseBindAtLeastOneDisplayValueInDataSetting:LA,rootNodeIsRequiredInDataSetting:jA,pleaseEnterMaxHeight:CA,pleaseEnter:NA,pleaseEnterWatermark:VA,pleaseEnterFileName:zA,pleaseUploadAtLeastOnePrintTemplate:HA,pleaseAssignBusiness:qA,pleaseAssignExternal:UA,pleaseEnterAliasCode:WA,pleaseSelectDataCode:KA,pleaseSelectSvcCode:GA,pleaseSelectJoinFieldCode:XA,pleaseSelectMainFieldCode:QA,pleaseSelectSortFieldCode:JA,batchDeleteButton:ZA,batchPrintListButton:YA,batchPrintRecordList:t5,button:e5,createFormListButton:n5,dashboard:o5,divider:r5,exportListButton:i5,formSelectButton:u5,importRecordListButton:l5,invoiceCheckButton:c5,link:a5,listSelectButton:f5,ListViewSelect:_5,operationButton:y5,pagination:s5,submissionRecordListButton:p5,text:d5,textOcrButton:v5,title:h5,approvalStatusColumn:b5,array:m5,autoNumber:g5,custom:O5,decimal:w5,department:$5,employee:P5,file:E5,image:S5,location:T5,operation:R5,order:B5,people:D5,long:A5,timescope:I5,timestamp:k5,varchar:F5,gridLayoutWrap:x5,gridTable:M5,subTable:L5,address:j5,amount:C5,calc:N5,checkBox:V5,electronicSignature:z5,input:H5,number:q5,organizationSelection:U5,radio:W5,richText:K5,score:G5,searchNumberRange:X5,select:Q5,selectMultiple:J5,selectRelation:Z5,textarea:Y5,tree:tI,vueFormItem:eI,vuePage:nI,WPS:oI,actionBar:rI,advancedContainer:iI,cardGroup:uI,col:lI,dataView:cI,grid:aI,gridLayoutContainer:fI,gridRow:_I,listView:yI,page:sI,position:pI,positioningContainer:dI,row:vI,subtableColumn:hI,subtableRow:bI,tab:mI,tabPane:gI,toolbox:OI,batchSubmissionListButton:wI,exportRecordListButton:$I,listViewSelect:PI},SI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",RI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",BI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AI="{caption}\u5FC5\u9808",II="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",FI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",LI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",NI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",HI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",UI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",KI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",GI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",QI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",JI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ZI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",YI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",tk="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ek="\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",nk="\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",ok="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rk="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ik="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uk="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lk="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ck="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ak="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",fk="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_k="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yk="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sk="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",pk="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",dk="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vk="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hk="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",bk="please select control",mk="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gk="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ok="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wk="\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",$k="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pk="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ek="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Sk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Tk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Rk="\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",Bk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Dk="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ak="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ik="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",kk="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Fk="\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",xk="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mk="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lk="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jk="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ck="\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",Nk="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Vk="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zk="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Hk="\u6279\u91CF\u5220\u9664",qk="\u6279\u91CF\u6253\u5370",Uk="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Wk="\u6309\u94AE",Kk="\u521B\u5EFA\u5355\u636E",Gk="\u4EEA\u8868\u76D8",Xk="\u5206\u5272\u7EBF",Qk="\u5BFC\u51FA",Jk="\u8868\u5355\u64CD\u4F5C",Zk="\u5BFC\u5165",Yk="\u53D1\u7968\u8BC6\u522B",t6="\u94FE\u63A5",e6="\u5217\u8868\u9009\u62E9",n6="\u5217\u8868\u89C6\u56FE",o6="\u64CD\u4F5C\u6309\u94AE",r6="\u5206\u9875",i6="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",u6="\u8BF4\u660E\u6587\u5B57",l6="\u6587\u5B57\u8BC6\u522B",c6="\u6807\u9898\u7EC4\u4EF6",a6="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",f6="\u6570\u7EC4",_6="\u81EA\u52A8\u7F16\u53F7",y6="\u81EA\u5B9A\u4E49",s6="\u6570\u503C",p6="\u90E8\u95E8",d6="\u4EBA\u5458",v6="\u9644\u4EF6",h6="\u56FE\u7247",b6="\u5730\u5740",m6="\u64CD\u4F5C",g6="\u5E8F\u53F7",O6="\u4EBA\u5458",w6="\u957F\u6587\u672C",$6="\u65E5\u671F\u533A\u95F4",P6="\u65E5\u671F",E6="\u77ED\u6587\u672C",S6="\u6362\u884C\u5BB9\u5668Wrap",T6="\u8868\u683C",R6="\u660E\u7EC6\u5B50\u8868",B6="\u5730\u5740",D6="\u91D1\u989D",A6="\u8BA1\u7B97\u516C\u5F0F",I6="\u591A\u9009",k6="\u7535\u5B50\u7B7E\u7AE0",F6="\u5355\u884C\u6587\u672C",x6="\u6570\u5B57",M6="\u4E1A\u52A1\u7EC4\u7EC7",L6="\u5355\u9009",j6="\u5BCC\u6587\u672C",C6="\u8BC4\u5206",N6="\u6570\u5B57\u533A\u95F4",V6="\u4E0B\u62C9\u5355\u9009",z6="\u4E0B\u62C9\u591A\u9009",H6="\u5173\u8054\u5355\u9009",q6="\u591A\u884C\u6587\u672C",U6="\u6811",W6="Vue\u5BB9\u5668",K6="Vue\u9875\u9762",G6="\u5728\u7EBF\u6587\u6863",X6="\u6309\u94AE\u64CD\u4F5C\u680F",Q6="\u9AD8\u7EA7\u5BB9\u5668",J6="\u5206\u7EC4",Z6="\u6805\u683C\u5217",Y6="\u6570\u636E\u5BB9\u5668",tF="\u753B\u5E03",eF="\u6362\u884C\u5BB9\u5668",nF="\u6805\u683C\u7B49\u5206\u884C",oF="\u5217\u8868\u5BB9\u5668",rF="\u81EA\u7531\u9875\u9762",iF="\u5B9A\u4F4D\u5B50\u5BB9\u5668",uF="\u5B9A\u4F4D\u5BB9\u5668",lF="\u6805\u683C\u5E03\u5C40",cF="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",aF="\u660E\u7EC6\u5B50\u8868\u884C",fF="\u6807\u7B7E\u9875",_F="\u6807\u7B7E\u5355\u5143",yF="\u5DE5\u5177\u680F",sF="\u6279\u91CF\u63D0\u4EA4",pF="\u5BFC\u51FA\u8BB0\u5F55",dF="\u5217\u8868\u89C6\u56FE",vF={isNotNumber:SI,isNotString:TI,isNotObject:RI,isNotArray:BI,isNotBoolean:DI,runtimeRequired:AI,pleaseEnterCaption:II,pleaseEnterCaptionTip:kI,pleaseEnterRowCaption:FI,pleaseEnterPlaceholder:xI,pleaseEnterFieldCode:MI,pleaseEnterForm:LI,pleaseEnterList:jI,pleaseEnterProcess:CI,pleaseEnterLabel:NI,pleaseEnterValue:VI,bizKeyNotBindFiled:zI,pleaseSelectOneField:HI,pleaseEnterNumberRange:qI,pleaseEnterAValueGreaterThanMin:UI,pleaseEnterAValueLessThanMax:WI,numberRangeSetError:KI,stringRangeError:GI,attachmentMaxSize:XI,pleaseEnterTotalScoreSetting:QI,theTotalScoreMustNotBeLessThan1:JI,scoreDefaultValueRange:ZI,attachmentLimitError:YI,PleaseReselectTheOptionalQuantity:tk,TheMaximumLengthIsGreaterThanTheMinimumLength:ek,TheMinimumLengthIsGreaterThanTheMaximumLength:nk,PleaseSelectTheCorrectOptionSettings:ok,optionIdIsRepeat:rk,optionIsRequired:ik,pleaseEnterDataCode:uk,pleaseEnterValueFieldCode:lk,pleaseEnterSvcCode:ck,pleaseBindAtLeastOneDisplayValue:ak,pleaseSelectProvince:fk,pleaseSelectCity:_k,pleaseSelectDistrict:yk,limitRowsCannotBeLessThan0:sk,TheNumberOfRowsCannotBeLessThanMinRows:pk,pleaseEnterColumnWidth:dk,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vk,pleaseCompleteAllRulesAndConditions:hk,pleaseSelectControl:bk,pleaseSelectDashboard:mk,theViewNameCannotBeEmpty:gk,pleaseSelectOcrType:Ok,pleaseSelectAtLeastOneFieldToFillIn:wk,pleaseChooseAtLeastOne:$k,pleaseEnterButtonContent:Pk,pleaseEnterDataCodeInDataSetting:Ek,pleaseEnterValueFieldCodeInDataSetting:Sk,pleaseEnterSvcCodeInDataSetting:Tk,pleaseBindAtLeastOneDisplayValueInDataSetting:Rk,rootNodeIsRequiredInDataSetting:Bk,pleaseEnterMaxHeight:Dk,pleaseEnter:Ak,pleaseEnterWatermark:Ik,pleaseEnterFileName:kk,pleaseUploadAtLeastOnePrintTemplate:Fk,pleaseAssignBusiness:xk,pleaseAssignExternal:Mk,pleaseEnterAliasCode:Lk,pleaseSelectDataCode:jk,pleaseSelectSvcCode:Ck,pleaseSelectJoinFieldCode:Nk,pleaseSelectMainFieldCode:Vk,pleaseSelectSortFieldCode:zk,batchDeleteButton:Hk,batchPrintListButton:qk,batchPrintRecordList:Uk,button:Wk,createFormListButton:Kk,dashboard:Gk,divider:Xk,exportListButton:Qk,formSelectButton:Jk,importRecordListButton:Zk,invoiceCheckButton:Yk,link:t6,listSelectButton:e6,ListViewSelect:n6,operationButton:o6,pagination:r6,submissionRecordListButton:i6,text:u6,textOcrButton:l6,title:c6,approvalStatusColumn:a6,array:f6,autoNumber:_6,custom:y6,decimal:s6,department:p6,employee:d6,file:v6,image:h6,location:b6,operation:m6,order:g6,people:O6,long:w6,timescope:$6,timestamp:P6,varchar:E6,gridLayoutWrap:S6,gridTable:T6,subTable:R6,address:B6,amount:D6,calc:A6,checkBox:I6,electronicSignature:k6,input:F6,number:x6,organizationSelection:M6,radio:L6,richText:j6,score:C6,searchNumberRange:N6,select:V6,selectMultiple:z6,selectRelation:H6,textarea:q6,tree:U6,vueFormItem:W6,vuePage:K6,WPS:G6,actionBar:X6,advancedContainer:Q6,cardGroup:J6,col:Z6,dataView:Y6,grid:tF,gridLayoutContainer:eF,gridRow:nF,listView:oF,page:rF,position:iF,positioningContainer:uF,row:lF,subtableColumn:cF,subtableRow:aF,tab:fF,tabPane:_F,toolbox:yF,batchSubmissionListButton:sF,exportRecordListButton:pF,listViewSelect:dF},Za={zhCN:F2,enUS:EI,jaJP:vF},w0;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(w0||(w0={}));var $0;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})($0||($0={}));var Ya,hF=(Ya=window.localStorage.getItem("locale"))!==null&&Ya!==void 0?Ya:"zh-CN",xe;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(xe||(xe={}));var P0;(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"})(P0||(P0={}));var s;(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"})(s||(s={}));var E0;(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"})(E0||(E0={}));var g;(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"})(g||(g={}));var ie;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(ie||(ie={}));var S0={DEFAULT:"default"},T0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",bF=T0+"0123456789";function Ct(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?T0:bF,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function tf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function mF(e){if(Array.isArray(e))return tf(e)}function gF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R0(e,t,n){return t=Kn(t),PF(e,nf()?Reflect.construct(t,n||[],Kn(e).constructor):t.apply(e,n))}function B0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t,n){return nf()?Mo=Reflect.construct:Mo=function(r,i,u){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),a=new c;return u&&Gn(a,u.prototype),a},Mo.apply(null,arguments)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(e)}function D0(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&&Gn(e,t)}function OF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function wF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $F(){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 PF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:gF(e)}function Gn(e,t){return Gn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gn(e,t)}function A0(e){return mF(e)||wF(e)||SF(e)||$F()}function EF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SF(e,t){if(!!e){if(typeof e=="string")return tf(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 tf(e,t)}}function ef(e){var t=typeof Map=="function"?new Map:void 0;return ef=function(o){if(o===null||!OF(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Mo(o,arguments,Kn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Gn(r,o)},ef(e)}function nf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nf=function(){return!!e})()}var of=console;function rf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=of).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(A0(r)))}function Lo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=of).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(A0(r)))}function TF(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var uf=function(e){D0(t,e);function t(n){B0(this,t);var o;return o=R0(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?TF(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(ef(Error)),RF=function(e){D0(t,e);function t(n){B0(this,t);var o;return o=R0(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(uf);function Xn(e){throw new uf(e)}function I0(e){throw new RF(e)}function BF(e){of.error(new uf(e))}const f=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const o=e.split(".");let r;const i=(window.baitedaWorkers||{}).languageMessages||{};o.forEach((l,c)=>{c===0?r=i[l]:r&&(r=r[l])});let u="";return r&&(u=r),t&&Object.keys(t).forEach(l=>{const c=t[l];u=u.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),c)}),u||(n?u=n:u=e),u};function DF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AF(e,t,n){return t&&k0(e.prototype,t),n&&k0(e,n),e}function IF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F0=function(){function e(){DF(this,e)}return AF(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return f("CMD."+n,o,Za==null||(r=Za[hF.split("-").join("")])===null||r===void 0?void 0:r[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,o){}}]),e}();IF(F0,"$i18n",F0.resetI18n());function kF(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,l,c){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){rf("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return l===c.length-1&&!Object.is(a[u],n)&&(a[u]=n,r=!0),a[u]}},e),r}var FF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},lf={exports:{}};(function(e){(function(t){var n=function(h,$,P){if(!a($)||p($)||d($)||b($)||c($))return $;var S,T=0,z=0;if(_($))for(S=[],z=$.length;T<z;T++)S.push(n(h,$[T],P));else{S={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(S[h(A,P)]=n(h,$[A],P))}return S},o=function(h,$){$=$||{};var P=$.separator||"_",S=$.split||/(?=[A-Z])/;return h.split(S).join(P)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},l=Object.prototype.toString,c=function(h){return typeof h=="function"},a=function(h){return h===Object(h)},_=function(h){return l.call(h)=="[object Array]"},p=function(h){return l.call(h)=="[object Date]"},d=function(h){return l.call(h)=="[object RegExp]"},b=function(h){return l.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},m=function(h,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?h:function(S,T){return P(S,h,T)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(m(r,$),h)},decamelizeKeys:function(h,$){return n(m(u,$),h,$)},pascalizeKeys:function(h,$){return n(m(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(FF)})(lf);var x0={};Object.defineProperty(x0,"__esModule",{value:!0});function cf(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:cf(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:cf(o)}return t}}var xF=x0.default=cf;function MF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":MF(e))==="object"?xF(e):e}function ft(e){return M0(e)&&"zh"in e}function M0(e){return Object.prototype.toString.call(e)==="[object Object]"}function af(e){return Array.isArray(e)}function Me(e){return isNaN(parseFloat(e))?"":Number(e)}function LF(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function C(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=C(o.children,t)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=C(o.footers,t)),t(r)})),n}function jF(e){return lf.exports.camelizeKeys(e)}function we(e){return lf.exports.decamelizeKeys(e)}function ff(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function CF(e){if(Array.isArray(e))return ff(e)}function L0(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function NF(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){L0(i,o,r,u,l,"next",c)}function l(c){L0(i,o,r,u,l,"throw",c)}u(void 0)})}}function VF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zF(e,t,n){return t&&j0(e.prototype,t),n&&j0(e,n),e}function C0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qF(){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 _f(e){return CF(e)||HF(e)||UF(e)||qF()}function UF(e,t){if(!!e){if(typeof e=="string")return ff(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 ff(e,t)}}function WF(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var KF=function(){function e(){VF(this,e),C0(this,"_events",new Map),C0(this,"debug",!1)}return zF(e,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var u=this;return NF(function(){var l,c,a,_,p,d,b,O,m,w,h,$;return WF(this,function(P){switch(P.label){case 0:if(l=u._events.get(n),c=[],!l)return[3,10];a=l.slice(),_=!0,p=!1,d=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=a[Symbol.iterator](),P.label=2;case 2:if(_=(O=b.next()).done)return[3,7];if(m=O.value,!l.includes(m))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(_f(r))),[4,m.apply(null,_f(r))];case 4:return w=P.sent(),u.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(_f(r),[w])),c.push(w),w===!1?[3,7]:[3,6];case 5:return h=P.sent(),BF(String(h)+":"+String(h.stack)),[3,6];case 6:return _=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),p=!0,d=$,[3,10];case 9:try{!_&&b.return!=null&&b.return()}finally{if(p)throw d}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.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 GF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XF(e,t,n){return t&&N0(e.prototype,t),n&&N0(e,n),e}function QF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JF=[{key:"on_click",name:f("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:f("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:f("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:f("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:f("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:f("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:f("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:f("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:f("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:f("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:f("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:f("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:f("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:f("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:f("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:f("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:f("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:f("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:f("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:f("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:f("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:f("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:f("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"}],ZF=function(){function e(){GF(this,e)}return XF(e,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(e.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var l=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(l=u.namespace+":"+u.key),{key:l,code:u.key,name:u.name}});return o=o.concat(i),o}}]),e}();QF(ZF,"events",JF);function yf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function YF(e){if(Array.isArray(e))return yf(e)}function tx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ex(){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 V0(e){return YF(e)||tx(e)||nx(e)||ex()}function nx(e,t){if(!!e){if(typeof e=="string")return yf(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 yf(e,t)}}function sf(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function z0(e,t,n){n!=="Runtime"&&(e.parent=t,sf(e,"parent"))}function ox(e,t,n){e.forEach(function(o){z0(o,t,n)})}var H0=Symbol("targetKey");function q0(e){var t;return(t=e[H0])!==null&&t!==void 0?t:e}function U0(e,t,n){return ox(e,t,n),new Proxy(e,{get:function(r,i){for(var u=arguments.length,l=new Array(u>2?u-2:0),c=2;c<u;c++)l[c-2]=arguments[c];var a;return i===H0?r:(a=Reflect).get.apply(a,[r,i].concat(V0(l)))},set:function(r,i,u){for(var l=arguments.length,c=new Array(l>3?l-3:0),a=3;a<l;a++)c[a-3]=arguments[a];var _;if(af(e)&&i==="length"&&u===e.length)return!0;var p=(_=Reflect).set.apply(_,[r,i,u].concat(V0(c)));return M0(u)&&z0(u,t,n),p}})}function Wt(e,t,n,o,r){var i=o!=null?o:e,u=U0(q0(n!=null?n:[]),i,r);Object.defineProperty(e,t,{get:function(){return u},set:function(c){u=U0(q0(c),i,r)},enumerable:!0})}function rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ix(e,t,n){return t&&W0(e.prototype,t),n&&W0(e,n),e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var K0=[],jo=function(){function e(t){rx(this,e),ue(this,"registeredControlTypes",new Set),ue(this,"controlConfigMap",new Map),ue(this,"_controls",[]),ue(this,"_type",void 0),this._type=t,this._initControls(t)}return ix(e,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),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__||Xn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(rf("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===xe.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===xe.FORM}},{key:"isListControl",value:function(n){return n.controlType===xe.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===xe.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(_){return r.createControl(_,o)});if(n.children&&(n.children=n.children.map(function(_){return r.createControl(_,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(_){return r.createControl(_,o)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof o=="function"){var c=o(l);c&&(l=c)}var a;return u.mode==="Runtime"?(a=l,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(l),a}else Xn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,o){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return o}}),sf(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=o._controlParentIdMap,l=o.instanceMap;if(!(!u||!l)){var c=u[i],a=l[i];if(!(!c&&!a)){var _=a.findIndex(function(b){return b==n}),p=l[c]||[],d;return p.length!==a.length?d=p[0]:d=p[_],d}}}}),sf(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),e.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=e.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Xn("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===r.controlType});return l>-1&&(rf("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),e}();ue(jo,"staticControlsRuntimeRules",new Map),ue(jo,"staticControls",K0),ue(jo,"staticRegisteredTypes",new Set(K0.map(function(e){return e.Designer.controlType}))),ue(jo,"staticRegisteredConfigs",new Map);function ux(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bt(e,t,n){return t=Co(t),lx(e,G0()?Reflect.construct(t,n||[],Co(e).constructor):t.apply(e,n))}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(e)}function Dt(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&&pf(e,t)}function lx(e,t){return t&&(cx(t)==="object"||typeof t=="function")?t:ux(e)}function pf(e,t){return pf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pf(e,t)}function cx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G0=function(){return!!e})()}var At=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=t==null?void 0:t.aliasCode},df=function e(t){E(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(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 o;this.flex=(o=t==null?void 0:t.flex)!==null&&o!==void 0?o:1},X0=function e(t){E(this,e),v(this,"rowHeightType",void 0),v(this,"minRows",void 0),v(this,"maxRows",void 0),v(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=t==null?void 0:t.rowHeightType)!==null&&n!==void 0?n:"fixed";var o;this.minRows=(o=t==null?void 0:t.minRows)!==null&&o!==void 0?o:4;var r;this.maxRows=(r=t==null?void 0:t.maxRows)!==null&&r!==void 0?r:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},Q0=function e(t){E(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new X0(t==null?void 0:t.pc),this.mobile=new X0(t==null?void 0:t.mobile)},vf=function(e){Dt(t,e);function t(n){E(this,t);var o;o=Bt(this,t,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return t}(df),J0=function e(t){E(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new vf(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new vf(t==null?void 0:t.mobile):new vf({width:130,minWidth:180})},ax=function e(t){E(this,e),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=t==null?void 0:t.customOptions)!==null&&o!==void 0?o:[]},Le=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:""},fx=function(e){Dt(t,e);function t(n){E(this,t);var o;o=Bt(this,t,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return t}(Le),Z0=function e(t){E(this,e),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:""},hf=function e(t){E(this,e);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new Z0(u)}))!==null&&i!==void 0?i:[]},_x=function e(t){E(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:g.VARCHAR},yx=function(e){Dt(t,e);function t(n){E(this,t);var o;o=Bt(this,t,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return t}(Le),sx=function e(t){E(this,e);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new Le(t==null?void 0:t.formBind);var r;this.displayFields=(r=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(u){return new _x(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=t==null||(o=t.sublists)===null||o===void 0?void 0:o.map(function(u){return new yx(u)}))!==null&&i!==void 0?i:[]},px=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},Qn=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=t==null?void 0:t.displayBos)!==null&&r!==void 0?r:[]},bf=function e(t){var n=this;E(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Ct();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(l){if(l.children!==void 0){var c,a=new e(l);(c=n.children)===null||c===void 0||c.push(a)}else{var _,p=new No(l);(_=n.children)===null||_===void 0||_.push(p)}}))},No=function e(t){E(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ct();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=t==null?void 0:t.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new px(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Qn(t==null?void 0:t.rightVariableBo)},dx=function e(t){E(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(t==null?void 0:t.datasourceBind);var o;this.relationFields=(o=t==null?void 0:t.relationFields)!==null&&o!==void 0?o:[]},st=function e(t){E(this,e),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=t==null?void 0:t.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},mf=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"",this.fieldType=t==null?void 0:t.fieldType},vx=function e(t){E(this,e),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=t.desc)!==null&&o!==void 0?o:!1};function gf(e){var t,n,o,r;this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(l){return l.children!==void 0?new bf(l):new No(l)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new bf(l):new No(l)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(o=e.orders)===null||o===void 0?void 0:o.map(function(l){return new vx(l)}))!==null&&u!==void 0?u:[]}var X=function e(t){var n=this;E(this,e),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(_){var p;(p=n.displayBoList)===null||p===void 0||p.push(new mf(_))}));var l;this.keywordMapping=(l=t==null?void 0:t.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=t==null?void 0:t.showOrder)!==null&&c!==void 0?c:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",gf.call(this,t)},Of=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=t==null?void 0:t.displayBoList)!==null&&o!==void 0?o:[]},Kt=function e(t){E(this,e),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var l;this.formKey=(l=t==null?void 0:t.formKey)!==null&&l!==void 0?l:void 0,this.formType=t==null?void 0:t.formType;var c;this.icon=(c=t==null?void 0:t.icon)!==null&&c!==void 0?c:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var _;this.openType=(_=t==null?void 0:t.openType)!==null&&_!==void 0?_:"modal";var p;this.priorityProcess=(p=t==null?void 0:t.priorityProcess)!==null&&p!==void 0?p:!0},Y0=function e(t){E(this,e);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var r;this.key=(r=t==null?void 0:t.key)!==null&&r!==void 0?r:"";var i;this.value=(i=t==null||(n=t.value)===null||n===void 0?void 0:n.map(function(u){return new mf(u)}))!==null&&i!==void 0?i:[]},Vo=function(e){Dt(t,e);function t(n){E(this,t);var o,r;o=Bt(this,t,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new Y0(u)}))!==null&&i!==void 0?i:[],o}return t}(X),hx=function(e){Dt(t,e);function t(n){E(this,t);var o,r;o=Bt(this,t,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(l){return new Y0(l)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return t}(X),tb=function(e){Dt(t,e);function t(n){E(this,t);var o;o=Bt(this,t,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Qn(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return t}(Vo),eb=function e(t){E(this,e);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(u){return new st(u)}))!==null&&i!==void 0?i:[]},nb=function(e){Dt(t,e);function t(n){E(this,t);var o;return o=Bt(this,t,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),gf.call(o,n),o}return t}(eb),ob=function(e){Dt(t,e);function t(n){E(this,t);var o;o=Bt(this,t,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return t}(eb),wf=function e(t){E(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=t==null?void 0:t.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=t==null?void 0:t.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=t==null?void 0:t.errMessage)!==null&&r!==void 0?r:""},bx=function e(t){E(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ct(8);var o;this.label=(o=t==null?void 0:t.label)!==null&&o!==void 0?o:"";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:this.label};function Gt(e){var t;return(t=e==null?void 0:e.map(function(n){return new bx(n)}))!==null&&t!==void 0?t:[]}var $f=function e(){E(this,e)},mx=function(e){Dt(t,e);function t(n){E(this,t);var o;return o=Bt(this,t),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new At(n==null?void 0:n.amount),o.currency=new At(n==null?void 0:n.currency),o}return t}($f),gx=function e(t){E(this,e),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=t==null?void 0:t.currency)!==null&&o!==void 0?o:"CNY"},Ox=function(e){Dt(t,e);function t(n){E(this,t);var o;return o=Bt(this,t),v(o,"min",void 0),v(o,"max",void 0),o.min=new At(n==null?void 0:n.min),o.max=new At(n==null?void 0:n.max),o}return t}($f),wx=function e(t){E(this,e),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var o;this.max=(o=t==null?void 0:t.max)!==null&&o!==void 0?o:""},$x=function e(t){E(this,e),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=t==null?void 0:t.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=t==null?void 0:t.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=t==null?void 0:t.provinceDisplay)!==null&&l!==void 0?l:""},Px=function(e){Dt(t,e);function t(n){E(this,t);var o;return o=Bt(this,t),v(o,"result",void 0),v(o,"unit",void 0),o.result=new At(n==null?void 0:n.result),o.unit=new At(n==null?void 0:n.unit),o}return t}($f),Ex=function e(t){E(this,e),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=t==null?void 0:t.unit)!==null&&o!==void 0?o:""},Pf;(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"})(Pf||(Pf={}));var y;(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"})(y||(y={}));var Ef;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Ef||(Ef={}));var le=function e(t){E(this,e),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=t==null?void 0:t.priorityProcess)!==null&&l!==void 0?l:!1},Sx=function e(t){E(this,e);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Ct(8);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new Z0(u)}))!==null&&i!==void 0?i:[],gf.call(this,t)},Tx=function e(t){E(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var o;this.height=(o=t==null?void 0:t.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=t==null?void 0:t.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},Rx=function e(t){E(this,e),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=t==null?void 0:t.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=t==null?void 0:t.optType)!==null&&o!==void 0?o:""},Bx=function e(t){E(this,e);var n,o;v(this,"id",void 0),v(this,"name",void 0),v(this,"settings",void 0),v(this,"filters",void 0),v(this,"script",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Ct();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(n=t.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new bf(c):new No(c)}))!==null&&u!==void 0?u:[];var l;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(l=t==null||(o=t.settings)===null||o===void 0?void 0:o.map(function(c){return new Dx(c)}))!==null&&l!==void 0?l:[]:[],this.script=t==null?void 0:t.script},Dx=function e(t){E(this,e),v(this,"color",void 0),v(this,"fieldCodes",void 0),v(this,"type",void 0),v(this,"scope",void 0);var n;this.type=(n=t.type)!==null&&n!==void 0?n:"background";var o;this.fieldCodes=(o=t.fieldCodes)!==null&&o!==void 0?o:[];var r;this.color=(r=t.color)!==null&&r!==void 0?r:"theme";var i;this.scope=(i=t.scope)!==null&&i!==void 0?i:"row"},Ax=function e(t){E(this,e);var n;v(this,"type",void 0),v(this,"interval",void 0),v(this,"rules",void 0);var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:"none";var r;this.interval=(r=t==null?void 0:t.interval)!==null&&r!==void 0?r:{color:""};var i;this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(i=t==null||(n=t.rules)===null||n===void 0?void 0:n.map(function(u){return new Bx(u)}))!==null&&i!==void 0?i:[]:[]};function Ix(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kx(e,t,n){return t=Jn(t),Mx(e,Rf()?Reflect.construct(t,n||[],Jn(e).constructor):t.apply(e,n))}function Sf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zo(e,t,n){return Rf()?zo=Reflect.construct:zo=function(r,i,u){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),a=new c;return u&&Zn(a,u.prototype),a},zo.apply(null,arguments)}function Xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(e)}function Fx(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&&Zn(e,t)}function xx(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Mx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:Ix(e)}function Zn(e,t){return Zn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zn(e,t)}function Lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tf(e){var t=typeof Map=="function"?new Map:void 0;return Tf=function(o){if(o===null||!xx(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return zo(o,arguments,Jn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Zn(r,o)},Tf(e)}function Rf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rf=function(){return!!e})()}var W=function e(t){Sf(this,e),Xt(this,"isHide",{type:"boolean"})},$e=function(e){Fx(t,e);function t(n){return Sf(this,t),kx(this,t)}return t}(Tf(Array)),K=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Sf(this,e),Xt(this,"isHide",void 0),Xt(this,"className",void 0),Xt(this,"style",void 0),Xt(this,"caption",void 0),Xt(this,"defaultState",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new Tx(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};Xt(K,"mode",void 0),Xt(K,"Rules",W),Xt(K,"RuntimeRules",$e);function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nt.apply(this,arguments)}function jx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bf(e)}function Ho(e,t){return Ho=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ho(e,t)}function Cx(){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 qo(e,t,n){return Cx()?qo=Reflect.construct:qo=function(r,i,u){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),a=new c;return u&&Ho(a,u.prototype),a},qo.apply(null,arguments)}function Nx(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Df(e){var t=typeof Map=="function"?new Map:void 0;return Df=function(o){if(o===null||!Nx(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return qo(o,arguments,Bf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ho(r,o)},Df(e)}var Vx=/%[sdj%]/g,rb=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(rb=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function Af(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function vt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=1,r=t[0],i=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var u=String(r).replace(Vx,function(l){if(l==="%%")return"%";if(o>=i)return l;switch(l){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(c){return"[Circular]"}break;default:return l}});return u}return r}function zx(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function G(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||zx(t)&&typeof e=="string"&&!e)}function Hx(e,t,n){var o=[],r=0,i=e.length;function u(l){o.push.apply(o,l),r++,r===i&&n(o)}e.forEach(function(l){t(l,u)})}function ib(e,t,n){var o=0,r=e.length;function i(u){if(u&&u.length){n(u);return}var l=o;o=o+1,l<r?t(e[l],i):n([])}i([])}function qx(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var ub=function(e){jx(t,e);function t(n,o){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return t}(Df(Error));function Ux(e,t,n,o){if(t.first){var r=new Promise(function(p,d){var b=function(w){return o(w),w.length?d(new ub(w,Af(w))):p()},O=qx(e);ib(O,n,b)});return r.catch(function(p){return p}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),l=u.length,c=0,a=[],_=new Promise(function(p,d){var b=function(m){if(a.push.apply(a,m),c++,c===l)return o(a),a.length?d(new ub(a,Af(a))):p()};u.length||(o(a),p()),u.forEach(function(O){var m=e[O];i.indexOf(O)!==-1?ib(m,n,b):Hx(m,n,b)})});return _.catch(function(p){return p}),_}function lb(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 cb(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=Nt(Nt({},e[n]),o):e[n]=o}}return e}function ab(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||G(t,i||e.type))&&o.push(vt(r.messages.required,e.fullField))}function Wx(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(vt(r.messages.whitespace,e.fullField))}var If={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},Yn={integer:function(t){return Yn.number(t)&&parseInt(t,10)===t},float:function(t){return Yn.number(t)&&!Yn.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"&&!Yn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(If.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(If.url)},hex:function(t){return typeof t=="string"&&!!t.match(If.hex)}};function Kx(e,t,n,o,r){if(e.required&&t===void 0){ab(e,t,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Yn[u](t)||o.push(vt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(vt(r.messages.types[u],e.fullField,e.type))}function Gx(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",l=typeof e.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,_=null,p=typeof t=="number",d=typeof t=="string",b=Array.isArray(t);if(p?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(a=t.length),d&&(a=t.replace(c,"_").length),i?a!==e.len&&o.push(vt(r.messages[_].len,e.fullField,e.len)):u&&!l&&a<e.min?o.push(vt(r.messages[_].min,e.fullField,e.min)):l&&!u&&a>e.max?o.push(vt(r.messages[_].max,e.fullField,e.max)):u&&l&&(a<e.min||a>e.max)&&o.push(vt(r.messages[_].range,e.fullField,e.min,e.max))}var je="enum";function Xx(e,t,n,o,r){e[je]=Array.isArray(e[je])?e[je]:[],e[je].indexOf(t)===-1&&o.push(vt(r.messages[je],e.fullField,e[je].join(", ")))}function Qx(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(vt(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||o.push(vt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:ab,whitespace:Wx,type:Kx,range:Gx,enum:Xx,pattern:Qx};function Jx(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"string")&&!e.required)return n();I.required(e,t,o,i,r,"string"),G(t,"string")||(I.type(e,t,o,i,r),I.range(e,t,o,i,r),I.pattern(e,t,o,i,r),e.whitespace===!0&&I.whitespace(e,t,o,i,r))}n(i)}function Zx(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I.type(e,t,o,i,r)}n(i)}function Yx(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&(I.type(e,t,o,i,r),I.range(e,t,o,i,r))}n(i)}function tM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I.type(e,t,o,i,r)}n(i)}function eM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),G(t)||I.type(e,t,o,i,r)}n(i)}function nM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&(I.type(e,t,o,i,r),I.range(e,t,o,i,r))}n(i)}function oM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&(I.type(e,t,o,i,r),I.range(e,t,o,i,r))}n(i)}function rM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();I.required(e,t,o,i,r,"array"),t!=null&&(I.type(e,t,o,i,r),I.range(e,t,o,i,r))}n(i)}function iM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I.type(e,t,o,i,r)}n(i)}var uM="enum";function lM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I[uM](e,t,o,i,r)}n(i)}function cM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"string")&&!e.required)return n();I.required(e,t,o,i,r),G(t,"string")||I.pattern(e,t,o,i,r)}n(i)}function aM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"date")&&!e.required)return n();if(I.required(e,t,o,i,r),!G(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),I.type(e,l,o,i,r),l&&I.range(e,l.getTime(),o,i,r)}}n(i)}function fM(e,t,n,o,r){var i=[],u=Array.isArray(t)?"array":typeof t;I.required(e,t,o,i,r,u),n(i)}function kf(e,t,n,o,r){var i=e.type,u=[],l=e.required||!e.required&&o.hasOwnProperty(e.field);if(l){if(G(t,i)&&!e.required)return n();I.required(e,t,o,u,r,i),G(t,i)||I.type(e,t,o,u,r)}n(u)}function _M(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r)}n(i)}var to={string:Jx,method:Zx,number:Yx,boolean:tM,regexp:eM,integer:nM,float:oM,array:rM,object:iM,enum:lM,pattern:cM,date:aM,url:kf,hex:kf,email:kf,required:fM,any:_M};function Ff(){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 xf=Ff();function ce(e){this.rules=null,this._messages=xf,this.define(e)}ce.prototype={messages:function(t){return t&&(this._messages=cb(Ff(),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,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(t,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=t,u=n,l=o;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(m){var w,h=[],$={};function P(S){if(Array.isArray(S)){var T;h=(T=h).concat.apply(T,S)}else h.push(S)}for(w=0;w<m.length;w++)P(m[w]);h.length?$=Af(h):(h=null,$=null),l(h,$)}if(u.messages){var a=this.messages();a===xf&&(a=Ff()),cb(a,u.messages),u.messages=a}else u.messages=this.messages();var _,p,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){_=r.rules[m],p=i[m],_.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===t&&(i=Nt({},i)),p=i[m]=h.transform(p)),typeof h=="function"?h={validator:h}:h=Nt({},h),h.validator=r.getValidationMethod(h),h.field=m,h.fullField=h.fullField||m,h.type=r.getType(h),h.validator&&(d[m]=d[m]||[],d[m].push({rule:h,value:p,source:i,field:m}))})});var O={};return Ux(d,u,function(m,w){var h=m.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&m.value),h.field=m.field;function P(z,A){return Nt(Nt({},A),{},{fullField:h.fullField+"."+z})}function S(z){z===void 0&&(z=[]);var A=z;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ce.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(lb(h)),u.first&&A.length)return O[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!m.value)return h.message!==void 0?A=[].concat(h.message).map(lb(h)):u.error&&(A=[u.error(h,vt(u.messages.required,h.field))]),w(A);var ct={};if(h.defaultField)for(var D in m.value)m.value.hasOwnProperty(D)&&(ct[D]=h.defaultField);ct=Nt(Nt({},ct),m.rule.fields);for(var qt in ct)if(ct.hasOwnProperty(qt)){var xo=Array.isArray(ct[qt])?ct[qt]:[ct[qt]];ct[qt]=xo.map(P.bind(null,qt))}var Un=new ce(ct);Un.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Un.validate(m.value,m.rule.options||u,function(ke){var Ut=[];A&&A.length&&Ut.push.apply(Ut,A),ke&&ke.length&&Ut.push.apply(Ut,ke),w(Ut.length?Ut:null)})}}var T;h.asyncValidator?T=h.asyncValidator(h,m.value,S,m.source,u):h.validator&&(T=h.validator(h,m.value,S,m.source,u),T===!0?S():T===!1?S(h.message||h.field+" fails"):T instanceof Array?S(T):T instanceof Error&&S(T.message)),T&&T.then&&T.then(function(){return S()},function(z){return S(z)})},function(m){c(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!to.hasOwnProperty(t.type))throw new Error(vt("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),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?to.required:to[this.getType(t)]||!1}},ce.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");to[t]=n},ce.warning=rb,ce.messages=xf,ce.validators=to;var yM={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 sM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ce(e);return n.messages(Object.assign(yM,t)),n}var pM=new KF;function Mf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function dM(e){if(Array.isArray(e))return e}function vM(e){if(Array.isArray(e))return Mf(e)}function fb(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function _b(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){fb(i,o,r,u,l,"next",c)}function l(c){fb(i,o,r,u,l,"throw",c)}u(void 0)})}}function hM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bM(e,t,n){return t&&yb(e.prototype,t),n&&yb(e,n),e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function pb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mM(){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 gM(){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 db(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(e,r,n[r])})}return e}function OM(e){return dM(e)||pb(e)||vb(e)||mM()}function Lf(e){return vM(e)||pb(e)||vb(e)||gM()}function wM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vb(e,t){if(!!e){if(typeof e=="string")return Mf(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 Mf(e,t)}}function hb(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L=function(){function t(n){var o=this;hM(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"slots",void 0),M(this,"slotPosition",void 0),M(this,"updateSetting",mb),M(this,"removeSetting",bb),this._callControlHooks("preInstance",n);var r=sb(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,l=r.controlType,c=r.controlFieldType,a=r.controlEventKeys,_=r.controlCustomEvents,p=r.name,d=r.setting,b=r.slots,O=r.slotPosition;i&&u&&l||I0("The ".concat(p," controlName,controlIcon,controlType is not define"));var m;this.id=(m=n==null?void 0:n.id)!==null&&m!==void 0?m:Ct(10),this.name=i,this.icon=u;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:l,this.props=new K(n==null?void 0:n.props,(sb(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=Rt(d);var $;this.fieldType=($=n==null?void 0:n.fieldType)!==null&&$!==void 0?$:c,this.eventKeys=Rt(a),this.customEvents=Rt(_),this.slots=Rt(b),this.slotPosition=Rt(O),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return bM(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,l=OM(r),c=l[0],a=l.slice(1);return(u=pM).emit.apply(u,[c,this].concat(Lf(a)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),kF(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return _b(function(){var r,i,u;return hb(this,function(l){switch(l.label){case 0:return r=db({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=l.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return _b(function(){var u,l,c,a;return hb(this,function(_){switch(_.label){case 0:return[4,i.preValidate()];case 1:u=_.sent(),l=u!==void 0?u:db({},i.rules),Array.isArray(r)&&r.forEach(function(p){l.hasOwnProperty(p)&&delete l[p]}),c=sM(l,o),_.label=2;case 2:return _.trys.push([2,4,,5]),[4,c.validate(i.props)];case 3:return _.sent(),[2,!0];case 4:throw a=_.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,l=this.props,c=l.dataBind,a=l.datasourceBind,_=l.optionConfig,p=l.caption,d=l.required,b=l.maxLength,O=l.options,m=l.encrypted,w=l.encryptedMode;if(!(!r&&!c&&!a)){var h={parentId:o,fieldType:r,controlId:i,caption:p,type:u,props:{}};switch(c&&(h.dataBind=c),_){case"datasource":case void 0:a&&(h.datasourceBind=a);break;case"custom":h.props.options=O;break}return d!==void 0&&(h.required=d),b!==void 0&&(h.maxLength=b),m!==void 0&&(h.encrypted=m),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Rt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,Lf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();M(L,"mode","Designer"),M(L,"slots",void 0),M(L,"slotPosition",void 0),M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",bb),M(L,"updateSettingItem",mb);function bb(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r,i=typeof o!="string",u=(r=t.setting)===null||r===void 0?void 0:r.findIndex(function(a){return a.key===(i?o.key:o)});if(u!==-1){var l,c;i?t.setting[u].showItems=(l=t.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(a){return!o.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((c=t.setting[u].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(u,1)}})}function mb(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(a){return a.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":wM(t))==="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var c;(c=i.showItems).push.apply(c,Lf(t.showItems))}}}})}function $M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PM(e,t,n){return t&&gb(e.prototype,t),n&&gb(e,n),e}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function EM(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Qt=function(){function t(n){$M(this,t),ht(this,"id",void 0),ht(this,"type",void 0),ht(this,"controlType",void 0),ht(this,"props",void 0),ht(this,"fieldType",void 0),ht(this,"customEvents",[]),ht(this,"pageStatus",void 0),ht(this,"parent",null);var o=EM(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,l=o.controlCustomEvents;r||I0("The ".concat(u," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:Ct(10);var a;this.type=(a=n==null?void 0:n.type)!==null&&a!==void 0?a:r,this.props=new K(n==null?void 0:n.props),this.customEvents=l;var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base";var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:Ef.UNKNOWN}return PM(t,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),t}();ht(Qt,"mode","Runtime"),ht(Qt,"controlType","control"),ht(Qt,"controlFieldType",void 0),ht(Qt,"__is_control__",!0),ht(Qt,"controlCustomEvents",[]);function jf(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:f("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(f("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(l){return l.value}),u=LF(i);i.length!==u.length?r(f("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):r()},message:f("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:f("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:f("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,o,r){o.length===0&&r(f("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),r()},message:f("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:f("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Uo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B":"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C":"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1":"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},attributes:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(r,i,u){i.length===0&&u(f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}]}}}],orders:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:f("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function SM(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function TM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wo(e,t,n){return t=Go(t),RM(e,Ob()?Reflect.construct(t,n||[],Go(e).constructor):t.apply(e,n))}function Ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Go(e)}function Xo(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&&Cf(e,t)}function RM(e,t){return t&&(BM(t)==="object"||typeof t=="function")?t:TM(e)}function Cf(e,t){return Cf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cf(e,t)}function BM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ob(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ob=function(){return!!e})()}var J=function(e){Xo(t,e);function t(n){Ko(this,t);var o;o=Wo(this,t,[n]),N(o,"dataBind",{}),N(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),N(o,"isHideCaption",{type:"boolean"}),N(o,"labelPosition",{type:"enum",enum:["top","left"]}),N(o,"defaultState",{type:"enum",enum:["default","readonly"]}),N(o,"required",{type:"boolean"}),N(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var r={fieldCode:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(SM(n.dataBind))o.dataBind={type:"object",required:!0,fields:Rt(r),message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var i={type:"object",required:!0,fields:{},message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:Rt(r),message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),j=function(e){Xo(t,e);function t(n){Ko(this,t);var o;o=Wo(this,t,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),o}return t}($e),k=function(e){Xo(t,e);function t(n){Ko(this,t);var o;o=Wo(this,t,[n]),N(o,"caption",void 0),N(o,"isHideCaption",void 0),N(o,"isShowCaptionTip",void 0),N(o,"captionTip",void 0),N(o,"labelPosition",void 0),N(o,"dataBind",void 0),N(o,"defaultValue",void 0),N(o,"placeholder",void 0),N(o,"defaultState",void 0),N(o,"required",void 0),N(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var d;o.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",o.dataBind=new At(n==null?void 0:n.dataBind);var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o}return t}(K);N(k,"Rules",J),N(k,"RuntimeRules",j);var Ce=function(e){Xo(t,e);function t(n){Ko(this,t);var o;return o=Wo(this,t,[n]),N(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:f("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),N(o,"options",[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),N(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),jf.call(o,n),o}return t}(J);function DM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AM(e,t,n){return t=Jo(t),FM(e,wb()?Reflect.construct(t,n||[],Jo(e).constructor):t.apply(e,n))}function IM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(e)}function kM(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&&Nf(e,t)}function FM(e,t){return t&&(xM(t)==="object"||typeof t=="function")?t:DM(e)}function Nf(e,t){return Nf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nf(e,t)}function xM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wb=function(){return!!e})()}var F=function(e){kM(t,e);function t(n){IM(this,t);var o;return o=AM(this,t,[n]),Qo(o,"controlType","form"),Qo(o,"props",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(L);Qo(F,"controlEventKeys",["on_change","on_focus","on_blur"]),Qo(F,"controlCustomAttributes",void 0);function MM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LM(e,t,n){return t=Zo(t),NM(e,$b()?Reflect.construct(t,n||[],Zo(e).constructor):t.apply(e,n))}function jM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(e)}function CM(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&&zf(e,t)}function NM(e,t){return t&&(VM(t)==="object"||typeof t=="function")?t:MM(e)}function zf(e,t){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(e,t)}function VM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($b=function(){return!!e})()}var x=function(e){CM(t,e);function t(n){jM(this,t);var o;return o=LM(this,t,[n]),Vf(o,"controlType","form"),Vf(o,"props",void 0),Vf(o,"value",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(Qt);function zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HM(e,t,n){return t=Yo(t),WM(e,Pb()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function qM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(e)}function UM(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&&Hf(e,t)}function WM(e,t){return t&&(KM(t)==="object"||typeof t=="function")?t:zM(e)}function Hf(e,t){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(e,t)}function KM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pb=function(){return!!e})()}var Z=function(e){UM(t,e);function t(n){return qM(this,t),HM(this,t,[n])}return t}(K);function qf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function GM(e){if(Array.isArray(e))return qf(e)}function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eb(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function QM(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){Eb(i,o,r,u,l,"next",c)}function l(c){Eb(i,o,r,u,l,"throw",c)}u(void 0)})}}function JM(e,t,n){return t=fe(t),lL(e,Rb()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function ZM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YM(e,t,n){return t&&Sb(e.prototype,t),n&&Sb(e,n),e}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 Ne(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ne=Reflect.get:Ne=function(r,i,u){var l=cL(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ne(e,t,n||e)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(e)}function tL(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&&Uf(e,t)}function eL(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function nL(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oL(){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 rL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ae(e,r,n[r])})}return e}function iL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function uL(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):iL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function lL(e,t){return t&&(aL(t)==="object"||typeof t=="function")?t:XM(e)}function Uf(e,t){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(e,t)}function cL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fe(e),e!==null););return e}function Tb(e){return GM(e)||nL(e)||fL(e)||oL()}function aL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fL(e,t){if(!!e){if(typeof e=="string")return qf(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 qf(e,t)}}function Rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rb=function(){return!!e})()}function _L(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var yL=1e4,Y=function(t){tL(n,t);function n(o){ZM(this,n);var r;r=JM(this,n,[o]),ae(r,"controlType","layout"),ae(r,"children",void 0),ae(r,"excludes",void 0),ae(r,"childrenMaxLength",void 0),ae(r,"props",void 0);var i=eL(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Rt(u),r.childrenMaxLength=l,r}return YM(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,l=this,c=function(){return Ne(fe(n.prototype),"validate",u)};return QM(function(){return _L(this,function(a){switch(a.label){case 0:return[4,c().call(l,r,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(r,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ne(fe(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(l,c){var a=c.toDataBindModel(r);if(Array.isArray(a)){var _=a.filter(function(p){return!!p});return Tb(l).concat(Tb(_))}return a&&l.push(a),l},u)}},{key:"toSchema",value:function(){var r=Ne(fe(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var l=u.toSchema();return l});return uL(rL({},r),{children:i})}}]),n}(L);ae(Y,"excludes",!1),ae(Y,"childrenMaxLength",yL);function sL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pL(e,t,n){return t=tr(t),hL(e,Bb()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function dL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(e)}function vL(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&&Kf(e,t)}function hL(e,t){return t&&(bL(t)==="object"||typeof t=="function")?t:sL(e)}function Kf(e,t){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(e,t)}function bL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bb=function(){return!!e})()}var Pe=function(e){vL(t,e);function t(n){dL(this,t);var o;return o=pL(this,t,[n]),Wf(o,"controlType","layout"),Wf(o,"children",void 0),Wf(o,"props",void 0),o.props=new Z(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Qt);function mL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gL(e,t,n){return t=er(t),$L(e,Db()?Reflect.construct(t,n||[],er(e).constructor):t.apply(e,n))}function OL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(e)}function wL(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&&Gf(e,t)}function $L(e,t){return t&&(PL(t)==="object"||typeof t=="function")?t:mL(e)}function Gf(e,t){return Gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gf(e,t)}function PL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Db(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Db=function(){return!!e})()}var Xf=function(e){wL(t,e);function t(n,o,r){OL(this,t);var i;i=gL(this,t,[o]),Ve(i,"headers",void 0),Ve(i,"footers",void 0),Ve(i,"pageIndex",void 0),Ve(i,"pageSize",void 0),Ve(i,"pageSizeOptions",void 0),Ve(i,"totalCount",void 0),Wt(i,"headers",o==null?void 0:o.headers,n,r),Wt(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var l;i.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var c;i.pageSizeOptions=(c=o==null?void 0:o.pageSizeOptions)!==null&&c!==void 0?c:[20];var a;return i.totalCount=(a=o==null?void 0:o.totalCount)!==null&&a!==void 0?a:0,i}return t}(K);function Qf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function EL(e){if(Array.isArray(e))return Qf(e)}function SL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ab(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function TL(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){Ab(i,o,r,u,l,"next",c)}function l(c){Ab(i,o,r,u,l,"throw",c)}u(void 0)})}}function RL(e,t,n){return t=_e(t),xL(e,Mb()?Reflect.construct(t,n||[],_e(e).constructor):t.apply(e,n))}function BL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ib(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function DL(e,t,n){return t&&Ib(e.prototype,t),n&&Ib(e,n),e}function nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(r,i,u){var l=ML(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ze(e,t,n||e)}function _e(e){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_e(e)}function AL(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&&Jf(e,t)}function IL(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kL(){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 kb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){nr(e,r,n[r])})}return e}function FL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Fb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):FL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function xL(e,t){return t&&(LL(t)==="object"||typeof t=="function")?t:SL(e)}function Jf(e,t){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(e,t)}function ML(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_e(e),e!==null););return e}function xb(e){return EL(e)||IL(e)||jL(e)||kL()}function LL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jL(e,t){if(!!e){if(typeof e=="string")return Qf(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 Qf(e,t)}}function Mb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mb=function(){return!!e})()}function CL(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Zf=function(e){AL(t,e);function t(n){BL(this,t);var o;return o=RL(this,t,[n]),nr(o,"controlType","list"),nr(o,"props",void 0),o.props=new Xf(o,n==null?void 0:n.props,"Designer"),o}return DL(t,[{key:"validate",value:function(o,r){var i=this,u=this,l=function(){return ze(_e(t.prototype),"validate",i)};return TL(function(){return CL(this,function(c){switch(c.label){case 0:return[4,l().call(u,o)];case 1:return c.sent(),[4,Promise.all(u.props.headers.map(function(a){return a.validate(o,r)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=ze(_e(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,l){var c=l.toDataBindModel(i);if(Array.isArray(c)){var a=c.filter(function(_){return!!_});return xb(u).concat(xb(a))}return c&&u.push(c),u},r)}},{key:"toSchema",value:function(){var o=ze(_e(t.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return Fb(kb({},o),{props:Fb(kb({},this.props),{headers:r})})}}]),t}(L);nr(Zf,"controlFieldType",g.LIST);function NL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yf(e,t,n){return t=or(t),VL(e,Lb()?Reflect.construct(t,n||[],or(e).constructor):t.apply(e,n))}function t_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(e)}function e_(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&&n_(e,t)}function VL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:NL(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(e,t)}function zL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lb=function(){return!!e})()}var Vt=function(e){e_(t,e);function t(n){t_(this,t);var o;return o=Yf(this,t,[n]),tt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),tt(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),o.width.required=n.widthType==="px",o}return t}(W),U=function(e){e_(t,e);function t(n){t_(this,t);var o;o=Yf(this,t,[n]),tt(o,"widthType",void 0),tt(o,"width",void 0),tt(o,"caption",void 0),tt(o,"dataBind",void 0),tt(o,"autoWidth",void 0),tt(o,"fixed",void 0),tt(o,"sort",void 0),tt(o,"align",void 0),tt(o,"colSpan",void 0),tt(o,"autoHeight",void 0),tt(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",o.autoWidth=new df(n==null?void 0:n.autoWidth),o.dataBind=new At(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var c;return o.autoHeight=(c=n==null?void 0:n.autoHeight)!==null&&c!==void 0?c:!1,o}return t}(K);tt(U,"Rules",Vt);var jb=function(e){e_(t,e);function t(n){t_(this,t);var o;return o=Yf(this,t,[n]),tt(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),tt(o,"options",[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),tt(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),jf.call(o,n),o}return t}(Vt);function HL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qL(e,t,n){return t=He(t),JL(e,Nb()?Reflect.construct(t,n||[],He(e).constructor):t.apply(e,n))}function UL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WL(e,t,n){return t&&Cb(e.prototype,t),n&&Cb(e,n),e}function rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ir=Reflect.get:ir=function(r,i,u){var l=ZL(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ir(e,t,n||e)}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function KL(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&&o_(e,t)}function GL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){rr(e,r,n[r])})}return e}function XL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function QL(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):XL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function JL(e,t){return t&&(YL(t)==="object"||typeof t=="function")?t:HL(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o_(e,t)}function ZL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=He(e),e!==null););return e}function YL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nb=function(){return!!e})()}var et=function(e){KL(t,e);function t(n){UL(this,t);var o;return o=qL(this,t,[n]),rr(o,"controlType","column"),rr(o,"props",void 0),rr(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return WL(t,[{key:"toSchema",value:function(){var o=ir(He(t.prototype),"toSchema",this).call(this);return QL(GL({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(L);function t7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e7(e,t,n){return t=ur(t),r7(e,Vb()?Reflect.construct(t,n||[],ur(e).constructor):t.apply(e,n))}function n7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(e)}function o7(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&&i_(e,t)}function r7(e,t){return t&&(i7(t)==="object"||typeof t=="function")?t:t7(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i_(e,t)}function i7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vb=function(){return!!e})()}var nt=function(e){o7(t,e);function t(n){n7(this,t);var o;return o=e7(this,t,[n]),r_(o,"controlType","column"),r_(o,"props",void 0),r_(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Qt);function u7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l7(e,t,n){return t=lr(t),_7(e,zb()?Reflect.construct(t,n||[],lr(e).constructor):t.apply(e,n))}function c7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(e)}function f7(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&&u_(e,t)}function _7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:u7(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u_(e,t)}function y7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zb=function(){return!!e})()}var l_=function(e){f7(t,e);function t(n){c7(this,t);var o;return o=l7(this,t,[n]),a7(o,"dataBind",void 0),o.dataBind=new At(n==null?void 0:n.dataBind),o}return t}(Z);function s7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p7(e,t,n){return t=cr(t),h7(e,qb()?Reflect.construct(t,n||[],cr(e).constructor):t.apply(e,n))}function d7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(e)}function v7(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&&c_(e,t)}function h7(e,t){return t&&(b7(t)==="object"||typeof t=="function")?t:s7(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(e,t)}function b7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qb=function(){return!!e})()}var m7=function(e){v7(t,e);function t(n){d7(this,t);var o;return o=p7(this,t,[n]),Hb(o,"controlType","search"),Hb(o,"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return t}(Y);function g7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O7(e,t,n){return t=ar(t),P7(e,Wb()?Reflect.construct(t,n||[],ar(e).constructor):t.apply(e,n))}function w7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ub(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(e)}function $7(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&&a_(e,t)}function P7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:g7(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(e,t)}function E7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wb=function(){return!!e})()}var S7=function(e){$7(t,e);function t(n){w7(this,t);var o;return o=O7(this,t,[n]),Ub(o,"controlType","search"),Ub(o,"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return t}(Pe);function ye(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}function T7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R7(e,t,n){return t=fr(t),A7(e,Kb()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function B7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(e)}function D7(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&&f_(e,t)}function A7(e,t){return t&&(I7(t)==="object"||typeof t=="function")?t:T7(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(e,t)}function I7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kb=function(){return!!e})()}var k7=function(e){D7(t,e);function t(n){B7(this,t);var o;o=R7(this,t,[n]),qe(o,"content",void 0),qe(o,"fontSize",void 0),qe(o,"color",void 0),qe(o,"icon",void 0),qe(o,"align",void 0),qe(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:f("CMD.text",null,"\u8BF4\u660E\u6587\u5B57");var a;return o.align=(a=n==null?void 0:n.align)!==null&&a!==void 0?a:"",o}return t}(K);function F7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x7(e,t,n){return t=_r(t),C7(e,Qb()?Reflect.construct(t,n||[],_r(e).constructor):t.apply(e,n))}function M7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function L7(e,t,n){return t&&Gb(e.prototype,t),n&&Gb(e,n),e}function Xb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(e)}function j7(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&&__(e,t)}function C7(e,t){return t&&(N7(t)==="object"||typeof t=="function")?t:F7(e)}function __(e,t){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(e,t)}function N7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qb=function(){return!!e})()}var V7=function(e){j7(t,e);function t(n){M7(this,t);var o;return o=x7(this,t,[n]),Xb(o,"props",void 0),o.props=new k7(n==null?void 0:n.props),o}return L7(t,null,[{key:"controlName",get:function(){return f("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),t}(L);Xb(V7,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function z7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H7(e,t,n){return t=yr(t),W7(e,Jb()?Reflect.construct(t,n||[],yr(e).constructor):t.apply(e,n))}function q7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(e)}function U7(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&&s_(e,t)}function W7(e,t){return t&&(K7(t)==="object"||typeof t=="function")?t:z7(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(e,t)}function K7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jb=function(){return!!e})()}var G7=function(e){U7(t,e);function t(n){q7(this,t);var o;o=H7(this,t,[n]),y_(o,"content",void 0),y_(o,"url",void 0),y_(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5");var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return t}(K);function X7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q7(e,t,n){return t=sr(t),tj(e,Yb()?Reflect.construct(t,n||[],sr(e).constructor):t.apply(e,n))}function J7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Z7(e,t,n){return t&&Zb(e.prototype,t),n&&Zb(e,n),e}function p_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(e)}function Y7(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&&d_(e,t)}function tj(e,t){return t&&(ej(t)==="object"||typeof t=="function")?t:X7(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d_(e,t)}function ej(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yb=function(){return!!e})()}var tm=function(e){Y7(t,e);function t(n){J7(this,t);var o;return o=Q7(this,t,[n]),p_(o,"props",void 0),o.props=new G7(n==null?void 0:n.props),o}return Z7(t,null,[{key:"controlName",get:function(){return f("CMD.link",null,"\u94FE\u63A5")}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),t}(L);p_(tm,"controlEventKeys",["on_click"]),p_(tm,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function nj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oj(e,t,n){return t=pr(t),uj(e,em()?Reflect.construct(t,n||[],pr(e).constructor):t.apply(e,n))}function rj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(e)}function ij(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&&v_(e,t)}function uj(e,t){return t&&(lj(t)==="object"||typeof t=="function")?t:nj(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function lj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function em(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(em=function(){return!!e})()}var bt=function(e){ij(t,e);function t(n){rj(this,t);var o;o=oj(this,t,[n]),Jt(o,"content",void 0),Jt(o,"buttonType",void 0),Jt(o,"showType",void 0),Jt(o,"color",void 0),Jt(o,"icon",void 0),Jt(o,"defaultState",void 0),Jt(o,"command",void 0),Jt(o,"isLoading",void 0),Jt(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.button",null,"\u6309\u94AE");var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"iconfenlei2";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var d;return o.optObj=new Rx((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return t}(K);function cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aj(e,t,n){return t=vr(t),sj(e,om()?Reflect.construct(t,n||[],vr(e).constructor):t.apply(e,n))}function fj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _j(e,t,n){return t&&nm(e.prototype,t),n&&nm(e,n),e}function dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(e)}function yj(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&&h_(e,t)}function sj(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:cj(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(e,t)}function pj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function om(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(om=function(){return!!e})()}var _t=function(e){yj(t,e);function t(n){fj(this,t);var o;return o=aj(this,t,[n]),dr(o,"props",void 0),o.props=new bt(n==null?void 0:n.props),o}return _j(t,null,[{key:"controlName",get:function(){return f("CMD.button",null,"\u6309\u94AE")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),t}(L);dr(_t,"slots",["grid-table-toolbar-slot","action-bar-slot",S0.DEFAULT]),dr(_t,"controlEventKeys",["on_click"]),dr(_t,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"super-setting",visible:!0}]);function It(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(Zt||(Zt={}));var rm;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(rm||(rm={}));var im;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(im||(im={}));var b_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ct(8),value:["",""]};It(this,e),R(this,"dateConfigType",void 0),R(this,"dateLimitType",void 0),R(this,"id",void 0),R(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},m_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(m_||(m_={}));var g_=function e(t){It(this,e),R(this,"id",void 0),R(this,"text",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ct();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},O_;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(O_||(O_={}));var um=function e(t){It(this,e),R(this,"type",void 0),R(this,"person",void 0),R(this,"signatureType",void 0),R(this,"telephone",void 0),R(this,"company",void 0),R(this,"remark",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"private";var o;this.person=new Qn((o=t==null?void 0:t.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=t==null?void 0:t.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Qn((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var l,c;this.company=(c=t==null?void 0:t.company)!==null&&c!==void 0?c:new Qn((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},dj=function e(t){It(this,e);var n;R(this,"fileControl",void 0),R(this,"undersignedList",void 0),R(this,"statusControl",void 0),R(this,"completeControl",void 0),R(this,"completeTimeControl",void 0);var o;this.fileControl=(o=t==null?void 0:t.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=t==null||(n=t.undersignedList)===null||n===void 0?void 0:n.map(function(c){return new um(c)}))!==null&&r!==void 0?r:[new um];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var l;this.completeTimeControl=(l=t==null?void 0:t.completeTimeControl)!==null&&l!==void 0?l:""},hr=function e(t){It(this,e),R(this,"id",void 0),R(this,"appId",void 0),R(this,"dataCode",void 0),R(this,"svcCode",void 0),R(this,"name",void 0),R(this,"fieldList",void 0),R(this,"active",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ct(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var l;this.fieldList=(l=t==null?void 0:t.fieldList)!==null&&l!==void 0?l:[];var c;this.active=(c=t==null?void 0:t.active)!==null&&c!==void 0?c:!1},lm=function e(t){It(this,e),R(this,"active",void 0),R(this,"text",void 0);var n;this.active=(n=t==null?void 0:t.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},vj=function e(t){It(this,e),R(this,"types",void 0),R(this,"history",void 0),R(this,"collaborativeRecord",void 0),R(this,"logicToDelete",void 0),R(this,"watermark",void 0),R(this,"autoRename",void 0);var n;this.types=(n=t==null?void 0:t.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=t==null?void 0:t.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=t==null?void 0:t.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new lm(t==null?void 0:t.watermark),this.autoRename=new lm(t==null?void 0:t.autoRename)},hj=function e(t){It(this,e),R(this,"dataCode",void 0),this.dataCode=t.dataCode},bj=function e(t){It(this,e);var n;R(this,"templateType",void 0),R(this,"templateList",void 0);var o;this.templateType=(o=t==null?void 0:t.templateType)!==null&&o!==void 0?o:"system";var r;this.templateList=(r=t==null||(n=t.templateList)===null||n===void 0?void 0:n.map(function(i){return new hj(i)}))!==null&&r!==void 0?r:[]},mj=function e(t){It(this,e);var n;R(this,"templateType",void 0),R(this,"templateList",void 0);var o;this.templateType=(o=t==null?void 0:t.templateType)!==null&&o!==void 0?o:"system";var r;this.templateList=(r=t==null||(n=t.templateList)===null||n===void 0?void 0:n.map(function(i){return new hr(i)}))!==null&&r!==void 0?r:[new hr({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},gj=480;function br(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Oj=function e(t){It(this,e),R(this,"fileId",void 0),R(this,"fileName",void 0),R(this,"ruleName",void 0),R(this,"isDefault",void 0),R(this,"rules",void 0);var n;this.fileId=(n=t==null?void 0:t.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=t==null?void 0:t.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=t==null?void 0:t.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},cm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(cm||(cm={}));var w_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(w_||(w_={}));var mr;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(mr||(mr={}));var se;(function(e){e.ALL="all",e.ASSIGN="assign"})(se||(se={}));var $_;(function(e){e.ALL="all",e.ADMIN="admin"})($_||($_={}));function wj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $j(e,t,n){return t=gr(t),Sj(e,fm()?Reflect.construct(t,n||[],gr(e).constructor):t.apply(e,n))}function Pj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function am(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(e)}function Ej(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&&P_(e,t)}function Sj(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:wj(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},P_(e,t)}function Tj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fm=function(){return!!e})()}var Rj=function(e){Ej(t,e);function t(n){Pj(this,t);var o;o=$j(this,t,[n]),am(o,"color",void 0),am(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:O_.SOLID,o}return t}(K);function Bj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dj(e,t,n){return t=Or(t),Fj(e,sm()?Reflect.construct(t,n||[],Or(e).constructor):t.apply(e,n))}function Aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ij(e,t,n){return t&&_m(e.prototype,t),n&&_m(e,n),e}function ym(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Or(e)}function kj(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&&E_(e,t)}function Fj(e,t){return t&&(xj(t)==="object"||typeof t=="function")?t:Bj(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(e,t)}function xj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sm=function(){return!!e})()}var Mj=function(e){kj(t,e);function t(n){Aj(this,t);var o;return o=Dj(this,t,[n]),ym(o,"props",void 0),o.props=new Rj(n==null?void 0:n.props),o}return Ij(t,null,[{key:"controlName",get:function(){return f("CMD.divider",null,"\u5206\u5272\u7EBF")}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),t}(L);ym(Mj,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]}]);function Lj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pm(e,t,n){return t=wr(t),jj(e,hm()?Reflect.construct(t,n||[],wr(e).constructor):t.apply(e,n))}function dm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(e)}function vm(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&&S_(e,t)}function jj(e,t){return t&&(Cj(t)==="object"||typeof t=="function")?t:Lj(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(e,t)}function Cj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hm=function(){return!!e})()}var Nj=function(e){vm(t,e);function t(n){dm(this,t);var o;return o=pm(this,t,[n]),pe(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),pe(o,"dataBind",{type:"any"}),pe(o,"config",{type:"array"}),n.config.includes(Zt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:f("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")}),o}return t}(W),bm=function(e){vm(t,e);function t(n){dm(this,t);var o;o=pm(this,t,[n]),pe(o,"dataBind",void 0),pe(o,"caption",void 0),pe(o,"config",void 0),pe(o,"position",void 0),o.dataBind=new At(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[Zt.ShowSubmitUser,Zt.ShowSubmitDept,Zt.ShowSubmitTime,Zt.ShowCurrentApprovar,Zt.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:eo==null?void 0:eo.controlName)!==null&&u!==void 0?u:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return t}(K);pe(bm,"Rules",Nj);function Vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zj(e,t,n){return t=$r(t),Wj(e,gm()?Reflect.construct(t,n||[],$r(e).constructor):t.apply(e,n))}function Hj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qj(e,t,n){return t&&mm(e.prototype,t),n&&mm(e,n),e}function T_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(e)}function Uj(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 Wj(e,t){return t&&(Kj(t)==="object"||typeof t=="function")?t:Vj(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(e,t)}function Kj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gm=function(){return!!e})()}var eo=function(e){Uj(t,e);function t(n){Hj(this,t);var o;return o=zj(this,t,[n]),T_(o,"props",void 0),o.props=new bm(n==null?void 0:n.props),o}return qj(t,null,[{key:"controlName",get:function(){return f("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),t}(L);T_(eo,"controlFieldType",g.AUTO_NUMBER),T_(eo,"setting",[{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function Gj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Om(e,t,n){return t=Er(t),Xj(e,Pm()?Reflect.construct(t,n||[],Er(e).constructor):t.apply(e,n))}function wm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(e)}function $m(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&&B_(e,t)}function Xj(e,t){return t&&(Qj(t)==="object"||typeof t=="function")?t:Gj(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B_(e,t)}function Qj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pm=function(){return!!e})()}var Jj=function(e){$m(t,e);function t(n){wm(this,t);var o;return o=Om(this,t,[n]),Pr(o,"formKey",{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(W),Em=function(e){$m(t,e);function t(n){wm(this,t);var o;o=Om(this,t,[n]),Pr(o,"formKey",void 0),Pr(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:no.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:no.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return t}(bt);Pr(Em,"Rules",Jj);function Zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yj(e,t,n){return t=Tr(t),o8(e,Tm()?Reflect.construct(t,n||[],Tr(e).constructor):t.apply(e,n))}function t8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function e8(e,t,n){return t&&Sm(e.prototype,t),n&&Sm(e,n),e}function Sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tr(e)}function n8(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&&D_(e,t)}function o8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:Zj(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(e,t)}function r8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tm=function(){return!!e})()}var no=function(e){n8(t,e);function t(n){t8(this,t);var o;return o=Yj(this,t,[n]),Sr(o,"props",void 0),o.props=new Em(n==null?void 0:n.props),o}return e8(t,null,[{key:"controlName",get:function(){return f("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),t}(_t);Sr(no,"slots",["grid-table-toolbar-slot"]),Sr(no,"controlEventKeys",["on_click","on_click_finish"]),Sr(no,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function i8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rm(e,t,n){return t=Rr(t),u8(e,Am()?Reflect.construct(t,n||[],Rr(e).constructor):t.apply(e,n))}function Bm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rr(e)}function Dm(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&&A_(e,t)}function u8(e,t){return t&&(l8(t)==="object"||typeof t=="function")?t:i8(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A_(e,t)}function l8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Am(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Am=function(){return!!e})()}var c8=function(e){Dm(t,e);function t(n){Bm(this,t);var o;return o=Rm(this,t,[n]),Ue(o,"processKey",[{type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:f("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]),o}return t}(W),Im=function(e){Dm(t,e);function t(n){Bm(this,t);var o;o=Rm(this,t,[n]),Ue(o,"processKey",void 0),Ue(o,"initiatorMode",void 0),Ue(o,"fieldCode",void 0),Ue(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:oo.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:oo.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;return o.employeeId=(a=n==null?void 0:n.employeeId)!==null&&a!==void 0?a:"",o}return t}(bt);Ue(Im,"Rules",c8);function a8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f8(e,t,n){return t=Dr(t),p8(e,Fm()?Reflect.construct(t,n||[],Dr(e).constructor):t.apply(e,n))}function _8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function km(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y8(e,t,n){return t&&km(e.prototype,t),n&&km(e,n),e}function Br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(e)}function s8(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&&I_(e,t)}function p8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:a8(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function d8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fm=function(){return!!e})()}var oo=function(e){s8(t,e);function t(n){_8(this,t);var o;return o=f8(this,t,[n]),Br(o,"props",void 0),o.props=new Im(n==null?void 0:n.props),o}return y8(t,null,[{key:"controlName",get:function(){return f("batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),t}(_t);Br(oo,"slots",["grid-table-toolbar-slot"]),Br(oo,"controlEventKeys",["on_click","on_click_finish"]),Br(oo,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function v8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h8(e,t,n){return t=Ar(t),g8(e,xm()?Reflect.construct(t,n||[],Ar(e).constructor):t.apply(e,n))}function b8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(e)}function m8(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&&k_(e,t)}function g8(e,t){return t&&(O8(t)==="object"||typeof t=="function")?t:v8(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function O8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xm=function(){return!!e})()}var w8=function(e){m8(t,e);function t(n){b8(this,t);var o;o=h8(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ro.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ro.controlIcon,o}return t}(bt);function $8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P8(e,t,n){return t=kr(t),R8(e,Lm()?Reflect.construct(t,n||[],kr(e).constructor):t.apply(e,n))}function E8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S8(e,t,n){return t&&Mm(e.prototype,t),n&&Mm(e,n),e}function Ir(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(e)}function T8(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&&F_(e,t)}function R8(e,t){return t&&(B8(t)==="object"||typeof t=="function")?t:$8(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function B8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lm=function(){return!!e})()}var ro=function(e){T8(t,e);function t(n){E8(this,t);var o;return o=P8(this,t,[n]),Ir(o,"props",void 0),o.props=new w8(n==null?void 0:n.props),o}return S8(t,null,[{key:"controlName",get:function(){return f("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),t}(_t);Ir(ro,"slots",["grid-table-toolbar-slot"]),Ir(ro,"controlEventKeys",["on_click"]),Ir(ro,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function D8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A8(e,t,n){return t=Fr(t),F8(e,Cm()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function I8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(e)}function k8(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&&x_(e,t)}function F8(e,t){return t&&(x8(t)==="object"||typeof t=="function")?t:D8(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},x_(e,t)}function x8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cm=function(){return!!e})()}var M8=function(e){k8(t,e);function t(n){I8(this,t);var o,r;o=A8(this,t,[n]),jm(o,"templateList",void 0),jm(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:io.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:io.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var c;return o.templateList=(c=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(a){return new hr(a)}))!==null&&c!==void 0?c:[new hr({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return t}(bt);function L8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j8(e,t,n){return t=Mr(t),z8(e,Vm()?Reflect.construct(t,n||[],Mr(e).constructor):t.apply(e,n))}function C8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function N8(e,t,n){return t&&Nm(e.prototype,t),n&&Nm(e,n),e}function xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(e)}function V8(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&&M_(e,t)}function z8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:L8(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function H8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vm=function(){return!!e})()}var io=function(e){V8(t,e);function t(n){C8(this,t);var o;return o=j8(this,t,[n]),xr(o,"props",void 0),o.props=new M8(n==null?void 0:n.props),o}return N8(t,null,[{key:"controlName",get:function(){return f("CMD.exportListButton",null,"\u5BFC\u51FA")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),t}(_t);xr(io,"slots",["grid-table-toolbar-slot"]),xr(io,"controlEventKeys",["on_click","on_click_finish"]),xr(io,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function q8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U8(e,t,n){return t=Lr(t),G8(e,zm()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function W8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(e)}function K8(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&&L_(e,t)}function G8(e,t){return t&&(X8(t)==="object"||typeof t=="function")?t:q8(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function X8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zm=function(){return!!e})()}var Q8=function(e){K8(t,e);function t(n){W8(this,t);var o;o=U8(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:uo.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:uo.controlIcon,o}return t}(bt);function J8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z8(e,t,n){return t=Cr(t),nC(e,qm()?Reflect.construct(t,n||[],Cr(e).constructor):t.apply(e,n))}function Y8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tC(e,t,n){return t&&Hm(e.prototype,t),n&&Hm(e,n),e}function jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(e)}function eC(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&&j_(e,t)}function nC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:J8(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qm=function(){return!!e})()}var uo=function(e){eC(t,e);function t(n){Y8(this,t);var o;return o=Z8(this,t,[n]),jr(o,"props",void 0),o.props=new Q8(n==null?void 0:n.props),o}return tC(t,null,[{key:"controlName",get:function(){return f("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),t}(_t);jr(uo,"slots",["grid-table-toolbar-slot"]),jr(uo,"controlEventKeys",["on_click"]),jr(uo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function rC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iC(e,t,n){return t=Nr(t),lC(e,Wm()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function Um(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(e)}function uC(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&&N_(e,t)}function lC(e,t){return t&&(cC(t)==="object"||typeof t=="function")?t:rC(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(e,t)}function cC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wm=function(){return!!e})()}var aC=function e(t){Um(this,e),C_(this,"dataCode",void 0),this.dataCode=t.dataCode},fC=function(e){uC(t,e);function t(n){Um(this,t);var o,r;o=iC(this,t,[n]),C_(o,"canImportList",void 0),C_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:lo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:lo.controlIcon;var l;o.canImportList=(l=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(a){return new aC(a)}))!==null&&l!==void 0?l:[];var c;return o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system",o}return t}(bt);function _C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yC(e,t,n){return t=zr(t),vC(e,Gm()?Reflect.construct(t,n||[],zr(e).constructor):t.apply(e,n))}function sC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pC(e,t,n){return t&&Km(e.prototype,t),n&&Km(e,n),e}function Vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(e)}function dC(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&&V_(e,t)}function vC(e,t){return t&&(hC(t)==="object"||typeof t=="function")?t:_C(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function hC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gm=function(){return!!e})()}var lo=function(e){dC(t,e);function t(n){sC(this,t);var o;return o=yC(this,t,[n]),Vr(o,"props",void 0),o.props=new fC(n==null?void 0:n.props),o}return pC(t,null,[{key:"controlName",get:function(){return f("CMD.importRecordListButton",null,"\u5BFC\u5165")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),t}(_t);Vr(lo,"slots",["grid-table-toolbar-slot"]),Vr(lo,"controlEventKeys",["on_click","on_click_finish"]),Vr(lo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Hr(){return{dataCode:{type:"string",required:!0,message:f("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:f("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}function bC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xm(e,t,n){return t=qr(t),mC(e,Ym()?Reflect.construct(t,n||[],qr(e).constructor):t.apply(e,n))}function Qm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(e)}function Jm(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&&z_(e,t)}function Zm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Yt(e,r,n[r])})}return e}function mC(e,t){return t&&(gC(t)==="object"||typeof t=="function")?t:bC(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(e,t)}function gC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ym(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ym=function(){return!!e})()}var OC=function(e){Jm(t,e);function t(n){Qm(this,t);var o;return o=Xm(this,t,[n]),Yt(o,"fillPayload",{type:"object",fields:Zm({},Hr())}),Yt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),Yt(o,"fillBack",{type:"object",fields:Zm({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Hr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:f("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}),o}return t}(W),tg=function(e){Jm(t,e);function t(n){Qm(this,t);var o;o=Xm(this,t,[n]),Yt(o,"fillPayload",void 0),Yt(o,"formBind",void 0),Yt(o,"fillBack",void 0),Yt(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Wr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Wr.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new nb(n==null?void 0:n.fillPayload),o.formBind=new fx(n==null?void 0:n.formBind),o.fillBack=new ob(n==null?void 0:n.fillBack),o}return t}(bt);Yt(tg,"Rules",OC);function wC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $C(e,t,n){return t=Ur(t),TC(e,ng()?Reflect.construct(t,n||[],Ur(e).constructor):t.apply(e,n))}function PC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function EC(e,t,n){return t&&eg(e.prototype,t),n&&eg(e,n),e}function H_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(e)}function SC(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&&q_(e,t)}function TC(e,t){return t&&(RC(t)==="object"||typeof t=="function")?t:wC(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(e,t)}function RC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ng(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ng=function(){return!!e})()}var Wr=function(e){SC(t,e);function t(n){PC(this,t);var o;return o=$C(this,t,[n]),H_(o,"props",void 0),o.props=new tg(n==null?void 0:n.props),o}return EC(t,null,[{key:"controlName",get:function(){return f("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),t}(_t);H_(Wr,"controlEventKeys",["on_click","on_click_finish"]),H_(Wr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function BC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function og(e,t,n){return t=Kr(t),DC(e,lg()?Reflect.construct(t,n||[],Kr(e).constructor):t.apply(e,n))}function rg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(e)}function ig(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&&U_(e,t)}function ug(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){$t(e,r,n[r])})}return e}function DC(e,t){return t&&(AC(t)==="object"||typeof t=="function")?t:BC(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function AC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lg=function(){return!!e})()}var IC=function(e){ig(t,e);function t(n){rg(this,t);var o;return o=og(this,t,[n]),$t(o,"fillPayload",{type:"object",fields:ug({},Hr())}),$t(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:f("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}),$t(o,"fillBack",{type:"object",fields:ug({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Hr())}),o}return t}(W),cg=function(e){ig(t,e);function t(n){rg(this,t);var o;o=og(this,t,[n]),$t(o,"fillPayload",void 0),$t(o,"listPageBind",void 0),$t(o,"disableFilling",void 0),$t(o,"fillBack",void 0),$t(o,"showSelectedDetail",void 0),$t(o,"isSelectedRowFill",void 0),$t(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Xr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Xr.controlIcon,o.fillPayload=new nb(n==null?void 0:n.fillPayload),o.listPageBind=new hf(n==null?void 0:n.listPageBind),o.fillBack=new ob(n==null?void 0:n.fillBack);var u;o.showSelectedDetail=(u=n==null?void 0:n.showSelectedDetail)!==null&&u!==void 0?u:!1,o.selectedContentConfig=new Of(n==null?void 0:n.selectedContentConfig);var l;o.isSelectedRowFill=(l=n==null?void 0:n.isSelectedRowFill)!==null&&l!==void 0?l:!1;var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return t}(bt);$t(cg,"Rules",IC);function kC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FC(e,t,n){return t=Gr(t),jC(e,fg()?Reflect.construct(t,n||[],Gr(e).constructor):t.apply(e,n))}function xC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ag(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MC(e,t,n){return t&&ag(e.prototype,t),n&&ag(e,n),e}function W_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(e)}function LC(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&&K_(e,t)}function jC(e,t){return t&&(CC(t)==="object"||typeof t=="function")?t:kC(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K_(e,t)}function CC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fg=function(){return!!e})()}var Xr=function(e){LC(t,e);function t(n){xC(this,t);var o;return o=FC(this,t,[n]),W_(o,"props",void 0),o.props=new cg(n==null?void 0:n.props),o}return MC(t,null,[{key:"controlName",get:function(){return f("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),t}(_t);W_(Xr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),W_(Xr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function NC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G_(e,t,n){return t=Qr(t),VC(e,yg()?Reflect.construct(t,n||[],Qr(e).constructor):t.apply(e,n))}function X_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qr(e)}function Q_(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&&J_(e,t)}function VC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:NC(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(e,t)}function zC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yg=function(){return!!e})()}var HC=function(e){Q_(t,e);function t(n){return X_(this,t),G_(this,t,[n])}return t}(W),qC=function(e){Q_(t,e);function t(n){return X_(this,t),G_(this,t,[n])}return t}($e),Z_=function(e){Q_(t,e);function t(n){return X_(this,t),G_(this,t,[n])}return t}(K);_g(Z_,"Rules",HC),_g(Z_,"RuntimeRules",qC);function UC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WC(e,t,n){return t=Jr(t),QC(e,dg()?Reflect.construct(t,n||[],Jr(e).constructor):t.apply(e,n))}function KC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function GC(e,t,n){return t&&sg(e.prototype,t),n&&sg(e,n),e}function pg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(e)}function XC(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&&Y_(e,t)}function QC(e,t){return t&&(JC(t)==="object"||typeof t=="function")?t:UC(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Y_(e,t)}function JC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dg=function(){return!!e})()}var ZC=function(e){XC(t,e);function t(n){KC(this,t);var o;return o=WC(this,t,[n]),pg(o,"props",void 0),o.props=new Z_(n==null?void 0:n.props),o}return GC(t,null,[{key:"controlName",get:function(){return f("CMD.pagination",null,"\u5206\u9875")}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),t}(L);pg(ZC,"setting",[]);function YC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vg(e,t,n){return t=Zr(t),t9(e,mg()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function hg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(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&&ty(e,t)}function t9(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:YC(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mg=function(){return!!e})()}var n9=function(e){bg(t,e);function t(n){hg(this,t);var o;return o=vg(this,t,[n]),Pt(o,"dashboardKey",{type:"string",required:!0,message:f("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")}),Pt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Pt(o,"isHideCaption",{type:"boolean"}),Pt(o,"labelPosition",{type:"enum",enum:["top","left"]}),Pt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),gg=function(e){bg(t,e);function t(n){hg(this,t);var o;o=vg(this,t,[n]),Pt(o,"dashboardKey",void 0),Pt(o,"caption",void 0),Pt(o,"isHideCaption",void 0),Pt(o,"isShowCaptionTip",void 0),Pt(o,"captionTip",void 0),Pt(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top",o}return t}(K);Pt(gg,"Rules",n9);function o9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r9(e,t,n){return t=Yr(t),c9(e,$g()?Reflect.construct(t,n||[],Yr(e).constructor):t.apply(e,n))}function i9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u9(e,t,n){return t&&Og(e.prototype,t),n&&Og(e,n),e}function wg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(e)}function l9(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&&ey(e,t)}function c9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:o9(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(e,t)}function a9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($g=function(){return!!e})()}var f9=function(e){l9(t,e);function t(n){i9(this,t);var o;return o=r9(this,t,[n]),wg(o,"props",void 0),o.props=new gg(n==null?void 0:n.props),o}return u9(t,null,[{key:"controlName",get:function(){return f("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),t}(L);wg(f9,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE,y.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function _9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pg(e,t,n){return t=ti(t),y9(e,Tg()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function Eg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(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&&ny(e,t)}function y9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:_9(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ny(e,t)}function s9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tg=function(){return!!e})()}var p9=function(e){Sg(t,e);function t(n){Eg(this,t);var o;return o=Pg(this,t,[n]),co(o,"showType",{type:"enum",enum:["select","tabs"]}),co(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}),o}return t}(W),Rg=function(e){Sg(t,e);function t(n){Eg(this,t);var o,r;o=Pg(this,t,[n]),co(o,"showType",void 0),co(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var u;return o.viewList=(u=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(l){return new Sx(l)}))!==null&&u!==void 0?u:[],o}return t}(K);co(Rg,"Rules",p9);function d9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v9(e,t,n){return t=ei(t),g9(e,Ag()?Reflect.construct(t,n||[],ei(e).constructor):t.apply(e,n))}function h9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b9(e,t,n){return t&&Bg(e.prototype,t),n&&Bg(e,n),e}function Dg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(e)}function m9(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&&oy(e,t)}function g9(e,t){return t&&(O9(t)==="object"||typeof t=="function")?t:d9(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(e,t)}function O9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ag(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ag=function(){return!!e})()}var w9=function(e){m9(t,e);function t(n){h9(this,t);var o;return o=v9(this,t,[n]),Dg(o,"props",void 0),o.props=new Rg(n==null?void 0:n.props),o}return b9(t,null,[{key:"controlName",get:function(){return f("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),t}(L);Dg(w9,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function $9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ig(e,t,n){return t=ni(t),P9(e,xg()?Reflect.construct(t,n||[],ni(e).constructor):t.apply(e,n))}function kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(e)}function Fg(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&&ry(e,t)}function P9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:$9(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ry(e,t)}function E9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xg=function(){return!!e})()}var S9=function(e){Fg(t,e);function t(n){kg(this,t);var o;return o=Ig(this,t,[n]),pt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),pt(o,"isHideCaption",{type:"boolean"}),pt(o,"labelPosition",{type:"enum",enum:["top","left"]}),pt(o,"ocrType",{type:"string",required:!0,message:f("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")}),pt(o,"fillList",{type:"array",validator:function(i,u,l){var c=u.every(function(a){return!a.controlId});if(c){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),pt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Mg=function(e){Fg(t,e);function t(n){kg(this,t);var o,r;o=Ig(this,t,[n]),pt(o,"caption",void 0),pt(o,"isHideCaption",void 0),pt(o,"isShowCaptionTip",void 0),pt(o,"captionTip",void 0),pt(o,"labelPosition",void 0),pt(o,"ocrType",void 0),pt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ao.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:ao.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:ao.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new st(O)}))!==null&&b!==void 0?b:[],o}return t}(bt);pt(Mg,"Rules",S9);function T9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R9(e,t,n){return t=oi(t),I9(e,jg()?Reflect.construct(t,n||[],oi(e).constructor):t.apply(e,n))}function B9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D9(e,t,n){return t&&Lg(e.prototype,t),n&&Lg(e,n),e}function iy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(e)}function A9(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&&uy(e,t)}function I9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:T9(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(e,t)}function k9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jg=function(){return!!e})()}var ao=function(e){A9(t,e);function t(n){B9(this,t);var o;return o=R9(this,t,[n]),iy(o,"props",void 0),o.props=new Mg(n==null?void 0:n.props),o}return D9(t,null,[{key:"controlName",get:function(){return f("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),t}(_t);iy(ao,"controlEventKeys",["on_click","on_click_finish"]),iy(ao,"setting",[{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE,y.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function F9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cg(e,t,n){return t=ri(t),x9(e,zg()?Reflect.construct(t,n||[],ri(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 dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(e)}function Vg(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&&ly(e,t)}function x9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:F9(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ly(e,t)}function M9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zg=function(){return!!e})()}var L9=function(e){Vg(t,e);function t(n){Ng(this,t);var o;return o=Cg(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"invoiceCheck",{type:"boolean"}),dt(o,"fillList",{type:"array",validator:function(i,u,l){var c=u.every(function(a){return!a.controlId});if(c){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),dt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Hg=function(e){Vg(t,e);function t(n){Ng(this,t);var o,r;o=Cg(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"invoiceCheck",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:fo.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:fo.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:fo.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new st(O)}))!==null&&b!==void 0?b:[],o}return t}(bt);dt(Hg,"Rules",L9);function j9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C9(e,t,n){return t=ii(t),H9(e,Ug()?Reflect.construct(t,n||[],ii(e).constructor):t.apply(e,n))}function N9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V9(e,t,n){return t&&qg(e.prototype,t),n&&qg(e,n),e}function cy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(e)}function z9(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&&ay(e,t)}function H9(e,t){return t&&(q9(t)==="object"||typeof t=="function")?t:j9(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(e,t)}function q9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ug(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ug=function(){return!!e})()}var fo=function(e){z9(t,e);function t(n){N9(this,t);var o;return o=C9(this,t,[n]),cy(o,"props",void 0),o.props=new Hg(n==null?void 0:n.props),o}return V9(t,null,[{key:"controlName",get:function(){return f("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),t}(_t);cy(fo,"controlEventKeys",["on_click","on_click_finish"]),cy(fo,"setting",[{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE,y.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function U9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wg(e,t,n){return t=li(t),W9(e,Xg()?Reflect.construct(t,n||[],li(e).constructor):t.apply(e,n))}function Kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ui(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(e)}function Gg(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&&fy(e,t)}function W9(e,t){return t&&(K9(t)==="object"||typeof t=="function")?t:U9(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(e,t)}function K9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xg=function(){return!!e})()}var G9=function(e){Gg(t,e);function t(){Kg(this,t);var n;return n=Wg(this,t,arguments),ui(n,"printTemplates",{type:"array",min:1,required:!0,message:f("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}),n}return t}(W),Qg=function(e){Gg(t,e);function t(n){Kg(this,t);var o,r;o=Wg(this,t,[n]),ui(o,"printTemplates",void 0),ui(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:_o.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:_o.controlName;var l;o.printTemplates=(l=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(a){return new Oj(a)}))!==null&&l!==void 0?l:[];var c;return o.autoSelectTemplate=(c=n==null?void 0:n.autoSelectTemplate)!==null&&c!==void 0?c:!1,o}return t}(bt);ui(Qg,"Rules",G9);function X9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q9(e,t,n){return t=ai(t),t4(e,Zg()?Reflect.construct(t,n||[],ai(e).constructor):t.apply(e,n))}function J9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Z9(e,t,n){return t&&Jg(e.prototype,t),n&&Jg(e,n),e}function ci(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(e)}function Y9(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&&_y(e,t)}function t4(e,t){return t&&(e4(t)==="object"||typeof t=="function")?t:X9(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(e,t)}function e4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zg=function(){return!!e})()}var _o=function(e){Y9(t,e);function t(n){J9(this,t);var o;return o=Q9(this,t,[n]),ci(o,"props",void 0),o.props=new Qg(n==null?void 0:n.props),o}return Z9(t,null,[{key:"controlName",get:function(){return f("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),t}(_t);ci(_o,"slots",["grid-table-toolbar-slot"]),ci(_o,"controlEventKeys",["on_click","on_click_finish"]),ci(_o,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function n4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o4(e,t,n){return t=fi(t),u4(e,Yg()?Reflect.construct(t,n||[],fi(e).constructor):t.apply(e,n))}function r4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(e)}function i4(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&&yy(e,t)}function u4(e,t){return t&&(l4(t)==="object"||typeof t=="function")?t:n4(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(e,t)}function l4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yg=function(){return!!e})()}var c4=function(e){i4(t,e);function t(n){r4(this,t);var o;o=o4(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:yo.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:yo.controlIcon,o}return t}(bt);function a4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f4(e,t,n){return t=yi(t),p4(e,eO()?Reflect.construct(t,n||[],yi(e).constructor):t.apply(e,n))}function _4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y4(e,t,n){return t&&tO(e.prototype,t),n&&tO(e,n),e}function _i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(e)}function s4(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&&sy(e,t)}function p4(e,t){return t&&(d4(t)==="object"||typeof t=="function")?t:a4(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sy(e,t)}function d4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eO=function(){return!!e})()}var yo=function(e){s4(t,e);function t(n){_4(this,t);var o;return o=f4(this,t,[n]),_i(o,"props",void 0),o.props=new c4(n==null?void 0:n.props),o}return y4(t,null,[{key:"controlName",get:function(){return f("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),t}(_t);_i(yo,"slots",["grid-table-toolbar-slot"]),_i(yo,"controlEventKeys",["on_click"]),_i(yo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function v4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nO(e,t,n){return t=si(t),h4(e,iO()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}function oO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(e)}function rO(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&&py(e,t)}function h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:v4(e)}function py(e,t){return py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},py(e,t)}function b4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iO=function(){return!!e})()}var m4=function(e){rO(t,e);function t(n){oO(this,t);var o;return o=nO(this,t,[n]),yt(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(W),pi=function(e){rO(t,e);function t(n){oO(this,t);var o;o=nO(this,t,[n]),yt(o,"content",void 0),yt(o,"code",void 0),yt(o,"command",void 0),yt(o,"color",void 0),yt(o,"icon",void 0),yt(o,"formKey",void 0),yt(o,"openType",void 0),yt(o,"needConfirm",void 0),yt(o,"confirmMessage",void 0),yt(o,"options",void 0),yt(o,"defaultState",void 0),yt(o,"priorityProcess",void 0),yt(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.button",null,"\u6309\u94AE"),o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var c;return o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1,o}return t}(K);yt(pi,"Rules",m4);function g4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O4(e,t,n){return t=di(t),E4(e,lO()?Reflect.construct(t,n||[],di(e).constructor):t.apply(e,n))}function w4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $4(e,t,n){return t&&uO(e.prototype,t),n&&uO(e,n),e}function dy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(e)}function P4(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&&vy(e,t)}function E4(e,t){return t&&(S4(t)==="object"||typeof t=="function")?t:g4(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function S4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lO=function(){return!!e})()}var vi=function(e){P4(t,e);function t(n){w4(this,t);var o;return o=O4(this,t,[n]),dy(o,"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return $4(t,null,[{key:"controlName",get:function(){return f("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),t}(L);dy(vi,"controlEventKeys",["on_click"]),dy(vi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"super-setting",visible:!0}]);function T4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R4(e,t,n){return t=hi(t),k4(e,aO()?Reflect.construct(t,n||[],hi(e).constructor):t.apply(e,n))}function B4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D4(e,t,n){return t&&cO(e.prototype,t),n&&cO(e,n),e}function A4(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(e)}function I4(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&&hy(e,t)}function k4(e,t){return t&&(F4(t)==="object"||typeof t=="function")?t:T4(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(e,t)}function F4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aO=function(){return!!e})()}var x4=function(e){I4(t,e);function t(n){B4(this,t);var o;return o=R4(this,t,[n]),A4(o,"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return D4(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Qt),by={Designer:vi,Runtime:x4,Property:pi};function M4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L4(e,t,n){return t=bi(t),N4(e,fO()?Reflect.construct(t,n||[],bi(e).constructor):t.apply(e,n))}function j4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(e)}function C4(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&&my(e,t)}function N4(e,t){return t&&(V4(t)==="object"||typeof t=="function")?t:M4(e)}function my(e,t){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(e,t)}function V4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fO=function(){return!!e})()}var z4=function(e){C4(t,e);function t(n){j4(this,t);var o;o=L4(this,t,[n]),de(o,"content",void 0),de(o,"buttonType",void 0),de(o,"showType",void 0),de(o,"color",void 0),de(o,"icon",void 0),de(o,"defaultState",void 0),de(o,"command",void 0),de(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:so.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:so.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"danger";var a;o.isHide=(a=n==null?void 0:n.isHide)!==null&&a!==void 0?a:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return t}(K);function H4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q4(e,t,n){return t=gi(t),G4(e,yO()?Reflect.construct(t,n||[],gi(e).constructor):t.apply(e,n))}function U4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W4(e,t,n){return t&&_O(e.prototype,t),n&&_O(e,n),e}function mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(e)}function K4(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&&gy(e,t)}function G4(e,t){return t&&(X4(t)==="object"||typeof t=="function")?t:H4(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(e,t)}function X4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yO=function(){return!!e})()}var so=function(e){K4(t,e);function t(n){U4(this,t);var o;return o=q4(this,t,[n]),mi(o,"props",void 0),o.props=new z4(n==null?void 0:n.props),o}return W4(t,null,[{key:"controlName",get:function(){return f("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),t}(L);mi(so,"slots",["grid-table-toolbar-slot"]),mi(so,"controlEventKeys",["on_click"]),mi(so,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"super-setting",visible:!0}]);function Q4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oy(e,t,n){return t=Oi(t),J4(e,sO()?Reflect.construct(t,n||[],Oi(e).constructor):t.apply(e,n))}function wy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oi(e)}function $y(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&&Py(e,t)}function J4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:Q4(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Py(e,t)}function Z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sO=function(){return!!e})()}var Y4=function(e){$y(t,e);function t(n){wy(this,t);var o;return o=Oy(this,t,[n]),kt(o,"maxLength",{type:"number",min:0,message:f("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),kt(o,"minLength",{type:"number",max:200,message:f("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),kt(o,"defaultValue",[{type:"string",max:200,min:0,message:f("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o.defaultValue[1].pattern=br(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),tN=function(e){$y(t,e);function t(n){wy(this,t);var o;return o=Oy(this,t,[n]),o.push({type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:n.maxLength,min:n.minLength,message:f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:br(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),po=function(e){$y(t,e);function t(n){wy(this,t);var o;o=Oy(this,t,[n]),kt(o,"maxLength",void 0),kt(o,"minLength",void 0),kt(o,"regularRules",void 0),kt(o,"defaultValue",void 0),kt(o,"encrypted",void 0),kt(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new wf(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:vo.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var a;o.encrypted=(a=n==null?void 0:n.encrypted)!==null&&a!==void 0?a:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return t}(k);kt(po,"Rules",Y4),kt(po,"RuntimeRules",tN);function eN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nN(e,t,n){return t=$i(t),uN(e,dO()?Reflect.construct(t,n||[],$i(e).constructor):t.apply(e,n))}function oN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rN(e,t,n){return t&&pO(e.prototype,t),n&&pO(e,n),e}function wi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$i(e)}function iN(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&&Ey(e,t)}function uN(e,t){return t&&(lN(t)==="object"||typeof t=="function")?t:eN(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ey(e,t)}function lN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dO=function(){return!!e})()}var vo=function(e){iN(t,e);function t(n){oN(this,t);var o;return o=nN(this,t,[n]),wi(o,"props",void 0),o.props=new po(n==null?void 0:n.props),o}return rN(t,null,[{key:"controlName",get:function(){return f("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),t}(F);wi(vo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),wi(vo,"controlFieldType",g.VARCHAR),wi(vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP,y.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function cN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aN(e,t,n){return t=Pi(t),sN(e,bO()?Reflect.construct(t,n||[],Pi(e).constructor):t.apply(e,n))}function fN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _N(e,t,n){return t&&vO(e.prototype,t),n&&vO(e,n),e}function hO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pi(e)}function yN(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&&Sy(e,t)}function sN(e,t){return t&&(pN(t)==="object"||typeof t=="function")?t:cN(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sy(e,t)}function pN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bO=function(){return!!e})()}var dN=function(e){yN(t,e);function t(n){fN(this,t);var o;return o=aN(this,t,[n]),hO(o,"props",void 0),o.props=new po(n==null?void 0:n.props),o}return _N(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(x);hO(dN,"controlFieldType",g.VARCHAR);function vN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ty(e,t,n){return t=Ei(t),hN(e,mO()?Reflect.construct(t,n||[],Ei(e).constructor):t.apply(e,n))}function Ry(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(e)}function By(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&&Dy(e,t)}function hN(e,t){return t&&(bN(t)==="object"||typeof t=="function")?t:vN(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dy(e,t)}function bN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mO=function(){return!!e})()}var mN=function(e){By(t,e);function t(n){Ry(this,t);var o;o=Ty(this,t,[n]),ot(o,"limitMax",{type:"number",min:void 0,message:f("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return t}(Ce),gN=function(e){By(t,e);function t(n){Ry(this,t);var o;return o=Ty(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return t}(j),Si=function(e){By(t,e);function t(n){Ry(this,t);var o;o=Ty(this,t,[n]),ot(o,"checkboxMode",void 0),ot(o,"options",void 0),ot(o,"optionsOrder",void 0),ot(o,"limitMax",void 0),ot(o,"limitMin",void 0),ot(o,"otherOption",void 0),ot(o,"optionConfig",void 0),ot(o,"optionsFormat",void 0),ot(o,"defaultShowOptions",void 0),ot(o,"datasourceBind",void 0),ot(o,"multistageFilling",void 0),ot(o,"interreaction",void 0),ot(o,"defaultValue",void 0),ot(o,"openMultistageFilling",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.limitMin=(a=n==null?void 0:n.limitMin)!==null&&a!==void 0?a:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Bi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new st(h))})),o}return t}(k);ot(Si,"Rules",mN),ot(Si,"RuntimeRules",gN);function ON(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wN(e,t,n){return t=Ri(t),SN(e,OO()?Reflect.construct(t,n||[],Ri(e).constructor):t.apply(e,n))}function $N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PN(e,t,n){return t&&gO(e.prototype,t),n&&gO(e,n),e}function Ti(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ri(e)}function EN(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&&Ay(e,t)}function SN(e,t){return t&&(TN(t)==="object"||typeof t=="function")?t:ON(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ay(e,t)}function TN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OO=function(){return!!e})()}var Bi=function(e){EN(t,e);function t(n){$N(this,t);var o;return o=wN(this,t,[n]),Ti(o,"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return PN(t,null,[{key:"controlName",get:function(){return f("CMD.checkBox",null,"\u591A\u9009")}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),t}(F);Ti(Bi,"controlEventKeys",["on_change","on_click"]),Ti(Bi,"controlFieldType",g.ARRAY),Ti(Bi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function RN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BN(e,t,n){return t=Di(t),kN(e,PO()?Reflect.construct(t,n||[],Di(e).constructor):t.apply(e,n))}function DN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AN(e,t,n){return t&&wO(e.prototype,t),n&&wO(e,n),e}function $O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(e)}function IN(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&&Iy(e,t)}function kN(e,t){return t&&(FN(t)==="object"||typeof t=="function")?t:RN(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iy(e,t)}function FN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PO=function(){return!!e})()}var xN=function(e){IN(t,e);function t(n){DN(this,t);var o;return o=BN(this,t,[n]),$O(o,"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return AN(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(x);$O(xN,"controlFieldType",g.ARRAY);function MN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EO(e,t,n){return t=Ai(t),LN(e,RO()?Reflect.construct(t,n||[],Ai(e).constructor):t.apply(e,n))}function SO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(e)}function TO(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&&ky(e,t)}function LN(e,t){return t&&(jN(t)==="object"||typeof t=="function")?t:MN(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(e,t)}function jN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RO=function(){return!!e})()}var CN=function(e){TO(t,e);function t(n){return SO(this,t),EO(this,t,[n])}return t}(Ce),Fy=function(e){TO(t,e);function t(n){SO(this,t);var o;o=EO(this,t,[n]),mt(o,"radioMode",void 0),mt(o,"options",void 0),mt(o,"optionConfig",void 0),mt(o,"optionsFormat",void 0),mt(o,"defaultShowOptions",void 0),mt(o,"otherOption",void 0),mt(o,"optionsOrder",void 0),mt(o,"datasourceBind",void 0),mt(o,"multistageFilling",void 0),mt(o,"interreaction",void 0),mt(o,"defaultValue",void 0),mt(o,"openMultistageFilling",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.defaultShowOptions=(a=n==null?void 0:n.defaultShowOptions)!==null&&a!==void 0?a:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Fi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))})),o}return t}(k);mt(Fy,"Rules",CN);function NN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VN(e,t,n){return t=ki(t),UN(e,DO()?Reflect.construct(t,n||[],ki(e).constructor):t.apply(e,n))}function zN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function HN(e,t,n){return t&&BO(e.prototype,t),n&&BO(e,n),e}function Ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(e)}function qN(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&&xy(e,t)}function UN(e,t){return t&&(WN(t)==="object"||typeof t=="function")?t:NN(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(e,t)}function WN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DO=function(){return!!e})()}var Fi=function(e){qN(t,e);function t(n){zN(this,t);var o;return o=VN(this,t,[n]),Ii(o,"props",void 0),o.props=new Fy(n==null?void 0:n.props),o}return HN(t,null,[{key:"controlName",get:function(){return f("CMD.radio",null,"\u5355\u9009")}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),t}(F);Ii(Fi,"controlEventKeys",["on_change","on_click"]),Ii(Fi,"controlFieldType",g.VARCHAR),Ii(Fi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function KN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GN(e,t,n){return t=xi(t),ZN(e,kO()?Reflect.construct(t,n||[],xi(e).constructor):t.apply(e,n))}function XN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QN(e,t,n){return t&&AO(e.prototype,t),n&&AO(e,n),e}function IO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xi(e)}function JN(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&&My(e,t)}function ZN(e,t){return t&&(YN(t)==="object"||typeof t=="function")?t:KN(e)}function My(e,t){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(e,t)}function YN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kO=function(){return!!e})()}var tV=function(e){JN(t,e);function t(n){XN(this,t);var o;return o=GN(this,t,[n]),IO(o,"props",void 0),o.props=new Fy(n==null?void 0:n.props),o}return QN(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(x);IO(tV,"controlFieldType",g.VARCHAR);function eV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ly(e,t,n){return t=Mi(t),nV(e,FO()?Reflect.construct(t,n||[],Mi(e).constructor):t.apply(e,n))}function jy(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 Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(e)}function Cy(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&&Ny(e,t)}function nV(e,t){return t&&(oV(t)==="object"||typeof t=="function")?t:eV(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ny(e,t)}function oV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FO=function(){return!!e})()}var rV=function(e){Cy(t,e);function t(n){jy(this,t);var o;o=Ly(this,t,[n]),at(o,"defaultValue",[{type:"number",min:0,max:200,message:f("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}]),at(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=f("CMD.pleaseEnterNumberRange",{max:r,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:f("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),o.defaultValue[1].pattern=br(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),iV=function(e){Cy(t,e);function t(n){jy(this,t);var o;o=Ly(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:f(r===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:r,min:i},r===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:br(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),Li=function(e){Cy(t,e);function t(n){jy(this,t);var o;o=Ly(this,t,[n]),at(o,"rangeMin",void 0),at(o,"rangeMax",void 0),at(o,"numberType",void 0),at(o,"percentageFormat",void 0),at(o,"micrometer",void 0),at(o,"precision",void 0),at(o,"showUpperCase",void 0),at(o,"isShowUnit",void 0),at(o,"unitPosition",void 0),at(o,"unit",void 0),at(o,"defaultValue",void 0),at(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Ni.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new wf(n==null?void 0:n.regularRules),o}return t}(k);at(Li,"Rules",rV),at(Li,"RuntimeRules",iV);function uV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lV(e,t,n){return t=We(t),_V(e,MO()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}function cV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aV(e,t,n){return t&&xO(e.prototype,t),n&&xO(e,n),e}function ji(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ci=Reflect.get:Ci=function(r,i,u){var l=yV(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ci(e,t,n||e)}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function fV(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&&Vy(e,t)}function _V(e,t){return t&&(sV(t)==="object"||typeof t=="function")?t:uV(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(e,t)}function yV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=We(e),e!==null););return e}function sV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MO=function(){return!!e})()}var Ni=function(e){fV(t,e);function t(n){cV(this,t);var o;return o=lV(this,t,[n]),ji(o,"props",void 0),o.props=new Li(n==null?void 0:n.props),o}return aV(t,[{key:"toDataBindModel",value:function(o){var r=Ci(We(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,l=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=l}return r}}],[{key:"controlName",get:function(){return f("CMD.number",null,"\u6570\u5B57")}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),t}(F);ji(Ni,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ji(Ni,"controlFieldType",g.DECIMAL),ji(Ni,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_UNIT,y.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[y.SHOW_UPPER_CASE,y.MICROMETER,y.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function pV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dV(e,t,n){return t=Vi(t),mV(e,CO()?Reflect.construct(t,n||[],Vi(e).constructor):t.apply(e,n))}function vV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hV(e,t,n){return t&&LO(e.prototype,t),n&&LO(e,n),e}function jO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vi(e)}function bV(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&&zy(e,t)}function mV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:pV(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zy(e,t)}function gV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CO=function(){return!!e})()}var OV=function(e){bV(t,e);function t(n){vV(this,t);var o;return o=dV(this,t,[n]),jO(o,"props",void 0),o.props=new Li(n==null?void 0:n.props),o}return hV(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(x);jO(OV,"controlFieldType",g.DECIMAL);function wV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $V(e,t,n){return t=zi(t),SV(e,NO()?Reflect.construct(t,n||[],zi(e).constructor):t.apply(e,n))}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(e)}function EV(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&&Hy(e,t)}function SV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:wV(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(e,t)}function TV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NO=function(){return!!e})()}var VO=function(e){EV(t,e);function t(n){PV(this,t);var o,r;o=$V(this,t,[n]),ve(o,"dateType",void 0),ve(o,"dateFormat",void 0),ve(o,"commonTimeSetting",void 0),ve(o,"setValueType",void 0),ve(o,"defaultValue",void 0),ve(o,"limitDateList",void 0),ve(o,"allowDateRange",void 0),ve(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:ie.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Wy.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:f("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F");var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var d;o.limitDateList=(d=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new b_(m)}))!==null&&d!==void 0?d:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var O;return o.filterWeekend=(O=n==null?void 0:n.filterWeekend)!==null&&O!==void 0?O:!1,o}return t}(k);function RV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BV(e,t,n){return t=Ke(t),kV(e,HO()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function DV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AV(e,t,n){return t&&zO(e.prototype,t),n&&zO(e,n),e}function qy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Hi=Reflect.get:Hi=function(r,i,u){var l=FV(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Hi(e,t,n||e)}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function IV(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&&Uy(e,t)}function kV(e,t){return t&&(xV(t)==="object"||typeof t=="function")?t:RV(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uy(e,t)}function FV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}function xV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HO=function(){return!!e})()}var Wy=function(e){IV(t,e);function t(n){DV(this,t);var o;return o=BV(this,t,[n]),qy(o,"props",void 0),o.props=new VO(n==null?void 0:n.props),o}return AV(t,[{key:"toDataBindModel",value:function(o){var r=Hi(Ke(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return f("CMD.timestamp",null,"\u65E5\u671F")}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),t}(F);qy(Wy,"controlFieldType",g.TIMESTAMP),qy(Wy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function MV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LV(e,t,n){return t=qi(t),VV(e,WO()?Reflect.construct(t,n||[],qi(e).constructor):t.apply(e,n))}function jV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CV(e,t,n){return t&&qO(e.prototype,t),n&&qO(e,n),e}function UO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(e)}function NV(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&&Ky(e,t)}function VV(e,t){return t&&(zV(t)==="object"||typeof t=="function")?t:MV(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(e,t)}function zV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WO=function(){return!!e})()}var HV=function(e){NV(t,e);function t(n){jV(this,t);var o;return o=LV(this,t,[n]),UO(o,"props",void 0),o.props=new VO(n==null?void 0:n.props),o}return CV(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(x);UO(HV,"controlFieldType",g.TIMESTAMP);function qV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KO(e,t,n){return t=Ui(t),UV(e,QO()?Reflect.construct(t,n||[],Ui(e).constructor):t.apply(e,n))}function GO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(e)}function XO(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&&Gy(e,t)}function UV(e,t){return t&&(WV(t)==="object"||typeof t=="function")?t:qV(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gy(e,t)}function WV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QO=function(){return!!e})()}var KV=function(e){XO(t,e);function t(n){GO(this,t);var o;return o=KO(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(j),Xy=function(e){XO(t,e);function t(n){GO(this,t);var o,r;o=KO(this,t,[n]),Et(o,"dataBind",void 0),Et(o,"rangeMin",void 0),Et(o,"rangeMax",void 0),Et(o,"placeholderStart",void 0),Et(o,"placeholderEnd",void 0),Et(o,"dateFormat",void 0),Et(o,"commonTimeSetting",void 0),Et(o,"dateType",void 0),Et(o,"setValueType",void 0),Et(o,"defaultValue",void 0),Et(o,"limitDateList",void 0),o.dataBind=new Ox(n==null?void 0:n.dataBind),o.defaultValue=new wx(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:ie.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var a;o.rangeMin=(a=n==null?void 0:n.rangeMin)!==null&&a!==void 0?a:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:f("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F");var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:f("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F");var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Zy.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new b_(m)}))!==null&&O!==void 0?O:[],o}return t}(k);Et(Xy,"RuntimeRules",KV);function GV(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=Ge(t),YV(e,ZO()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function QV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function JV(e,t,n){return t&&JO(e.prototype,t),n&&JO(e,n),e}function Qy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Wi=Reflect.get:Wi=function(r,i,u){var l=tz(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Wi(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function ZV(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&&Jy(e,t)}function YV(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:GV(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(e,t)}function tz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function ez(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZO=function(){return!!e})()}var Zy=function(e){ZV(t,e);function t(n){QV(this,t);var o;return o=XV(this,t,[n]),Qy(o,"props",void 0),o.props=new Xy(n==null?void 0:n.props),o}return JV(t,[{key:"toDataBindModel",value:function(o){var r=Wi(Ge(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return f("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),t}(F);Qy(Zy,"controlFieldType",g.TIMESCOPE),Qy(Zy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function nz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oz(e,t,n){return t=Ki(t),lz(e,ew()?Reflect.construct(t,n||[],Ki(e).constructor):t.apply(e,n))}function rz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function iz(e,t,n){return t&&YO(e.prototype,t),n&&YO(e,n),e}function tw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(e)}function uz(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&&Yy(e,t)}function lz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:nz(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(e,t)}function cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ew=function(){return!!e})()}var az=function(e){uz(t,e);function t(n){rz(this,t);var o;return o=oz(this,t,[n]),tw(o,"props",void 0),o.props=new Xy(n==null?void 0:n.props),o}return iz(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(x);tw(az,"controlFieldType",g.TIMESCOPE);function fz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ts(e,t,n){return t=Gi(t),_z(e,nw()?Reflect.construct(t,n||[],Gi(e).constructor):t.apply(e,n))}function es(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(e)}function ns(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&&os(e,t)}function _z(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:fz(e)}function os(e,t){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(e,t)}function yz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nw=function(){return!!e})()}var sz=function(e){ns(t,e);function t(n){es(this,t);var o;return o=ts(this,t,[n]),te(o,"maxLength",{type:"number",min:0,message:f("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),te(o,"minLength",{type:"number",max:1e6,message:f("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),te(o,"defaultValue",{type:"string",max:200,min:0,message:f("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o}return t}(J),pz=function(e){ns(t,e);function t(n){es(this,t);var o;return o=ts(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o}return t}(j),Xi=function(e){ns(t,e);function t(n){es(this,t);var o;o=ts(this,t,[n]),te(o,"maxLength",void 0),te(o,"minLength",void 0),te(o,"defaultValue",void 0),te(o,"rowHeightSetting",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Zi.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o.rowHeightSetting=new Q0(n==null?void 0:n.rowHeightSetting),o}return t}(k);te(Xi,"Rules",sz),te(Xi,"RuntimeRules",pz);function dz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vz(e,t,n){return t=Ji(t),gz(e,rw()?Reflect.construct(t,n||[],Ji(e).constructor):t.apply(e,n))}function hz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ow(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bz(e,t,n){return t&&ow(e.prototype,t),n&&ow(e,n),e}function Qi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(e)}function mz(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&&rs(e,t)}function gz(e,t){return t&&(Oz(t)==="object"||typeof t=="function")?t:dz(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rs(e,t)}function Oz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rw=function(){return!!e})()}var Zi=function(e){mz(t,e);function t(n){hz(this,t);var o;return o=vz(this,t,[n]),Qi(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return bz(t,null,[{key:"controlName",get:function(){return f("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),t}(F);Qi(Zi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Qi(Zi,"controlFieldType",g.TEXT),Qi(Zi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function wz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $z(e,t,n){return t=Yi(t),Tz(e,lw()?Reflect.construct(t,n||[],Yi(e).constructor):t.apply(e,n))}function Pz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ez(e,t,n){return t&&iw(e.prototype,t),n&&iw(e,n),e}function uw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(e)}function Sz(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&&is(e,t)}function Tz(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:wz(e)}function is(e,t){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(e,t)}function Rz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lw=function(){return!!e})()}var Bz=function(e){Sz(t,e);function t(n){Pz(this,t);var o;return o=$z(this,t,[n]),uw(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return Ez(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(x);uw(Bz,"controlFieldType",g.TEXT);function Dz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function us(e,t,n){return t=tu(t),Az(e,cw()?Reflect.construct(t,n||[],tu(e).constructor):t.apply(e,n))}function ls(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(e)}function cs(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&&as(e,t)}function Az(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:Dz(e)}function as(e,t){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(e,t)}function Iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cw=function(){return!!e})()}var kz=function(e){cs(t,e);function t(n){ls(this,t);var o;return o=us(this,t,[n]),he(o,"maxLength",{type:"number",min:0,message:f("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),he(o,"minLength",{type:"number",max:1e6,message:f("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),he(o,"defaultValue",{type:"string",max:200,min:0,message:f("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o}return t}(J),Fz=function(e){cs(t,e);function t(n){ls(this,t);var o;return o=us(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o}return t}(j),eu=function(e){cs(t,e);function t(n){ls(this,t);var o;o=us(this,t,[n]),he(o,"maxLength",void 0),he(o,"minLength",void 0),he(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ru.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o}return t}(k);he(eu,"Rules",kz),he(eu,"RuntimeRules",Fz);function xz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mz(e,t,n){return t=ou(t),Nz(e,fw()?Reflect.construct(t,n||[],ou(e).constructor):t.apply(e,n))}function Lz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jz(e,t,n){return t&&aw(e.prototype,t),n&&aw(e,n),e}function nu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(e)}function Cz(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&&fs(e,t)}function Nz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:xz(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(e,t)}function Vz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fw=function(){return!!e})()}var ru=function(e){Cz(t,e);function t(n){Lz(this,t);var o;return o=Mz(this,t,[n]),nu(o,"props",void 0),o.props=new eu(n==null?void 0:n.props),o}return jz(t,null,[{key:"controlName",get:function(){return f("CMD.richText",null,"\u5BCC\u6587\u672C")}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),t}(F);nu(ru,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),nu(ru,"controlFieldType",g.TEXT),nu(ru,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function zz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hz(e,t,n){return t=iu(t),Kz(e,sw()?Reflect.construct(t,n||[],iu(e).constructor):t.apply(e,n))}function qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Uz(e,t,n){return t&&_w(e.prototype,t),n&&_w(e,n),e}function yw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(e)}function Wz(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&&_s(e,t)}function Kz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:zz(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(e,t)}function Gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sw=function(){return!!e})()}var Xz=function(e){Wz(t,e);function t(n){qz(this,t);var o;return o=Hz(this,t,[n]),yw(o,"props",void 0),o.props=new eu(n==null?void 0:n.props),o}return Uz(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(x);yw(Xz,"controlFieldType",g.TEXT);function Qz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pw(e,t,n){return t=uu(t),Jz(e,hw()?Reflect.construct(t,n||[],uu(e).constructor):t.apply(e,n))}function dw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(e)}function vw(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&&ys(e,t)}function Jz(e,t){return t&&(Zz(t)==="object"||typeof t=="function")?t:Qz(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ys(e,t)}function Zz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hw=function(){return!!e})()}var Yz=function(e){vw(t,e);function t(n){dw(this,t);var o;return o=pw(this,t,[n]),gt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ce),ss=function(e){vw(t,e);function t(n){dw(this,t);var o;o=pw(this,t,[n]),gt(o,"options",void 0),gt(o,"defaultShowOptions",void 0),gt(o,"optionConfig",void 0),gt(o,"defaultValue",void 0),gt(o,"datasourceBind",void 0),gt(o,"multistageFilling",void 0),gt(o,"allowCopyOptions",void 0),gt(o,"openMultistageFilling",void 0),gt(o,"viewFormModelType",void 0),gt(o,"canViewForm",void 0),gt(o,"formBind",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:vs.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Le(n==null?void 0:n.formBind),o}return t}(k);gt(ss,"Rules",Yz);function tH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eH(e,t,n){return t=lu(t),iH(e,mw()?Reflect.construct(t,n||[],lu(e).constructor):t.apply(e,n))}function nH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oH(e,t,n){return t&&bw(e.prototype,t),n&&bw(e,n),e}function ps(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lu(e)}function rH(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&&ds(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:tH(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mw=function(){return!!e})()}var vs=function(e){rH(t,e);function t(n){nH(this,t);var o;return o=eH(this,t,[n]),ps(o,"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return oH(t,null,[{key:"controlName",get:function(){return f("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),t}(F);ps(vs,"controlFieldType",g.VARCHAR),ps(vs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.DEFAULT_SHOW_OPTIONS,y.IS_SHOW_CAPTION_TIP,y.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[y.CAN_VIEW_FORM,y.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function lH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cH(e,t,n){return t=cu(t),yH(e,ww()?Reflect.construct(t,n||[],cu(e).constructor):t.apply(e,n))}function aH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fH(e,t,n){return t&&gw(e.prototype,t),n&&gw(e,n),e}function Ow(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(e)}function _H(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&&hs(e,t)}function yH(e,t){return t&&(sH(t)==="object"||typeof t=="function")?t:lH(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(e,t)}function sH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ww=function(){return!!e})()}var pH=function(e){_H(t,e);function t(n){aH(this,t);var o;return o=cH(this,t,[n]),Ow(o,"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return fH(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(x);Ow(pH,"controlFieldType",g.VARCHAR);function dH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bs(e,t,n){return t=au(t),vH(e,$w()?Reflect.construct(t,n||[],au(e).constructor):t.apply(e,n))}function ms(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function gs(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&&Os(e,t)}function vH(e,t){return t&&(hH(t)==="object"||typeof t=="function")?t:dH(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Os(e,t)}function hH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($w=function(){return!!e})()}var bH=function(e){gs(t,e);function t(n){ms(this,t);var o;return o=bs(this,t,[n]),Ot(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ce),mH=function(e){gs(t,e);function t(n){ms(this,t);var o;return o=bs(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),fu=function(e){gs(t,e);function t(n){ms(this,t);var o;o=bs(this,t,[n]),Ot(o,"options",void 0),Ot(o,"defaultShowOptions",void 0),Ot(o,"optionConfig",void 0),Ot(o,"defaultValue",void 0),Ot(o,"datasourceBind",void 0),Ot(o,"multistageFilling",void 0),Ot(o,"openMultistageFilling",void 0),Ot(o,"viewFormModelType",void 0),Ot(o,"canViewForm",void 0),Ot(o,"formBind",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Ps.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new Le(n==null?void 0:n.formBind),o}return t}(k);Ot(fu,"Rules",bH),Ot(fu,"RuntimeRules",mH);function gH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OH(e,t,n){return t=_u(t),EH(e,Ew()?Reflect.construct(t,n||[],_u(e).constructor):t.apply(e,n))}function wH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $H(e,t,n){return t&&Pw(e.prototype,t),n&&Pw(e,n),e}function ws(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(e)}function PH(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&&$s(e,t)}function EH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:gH(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(e,t)}function SH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ew=function(){return!!e})()}var Ps=function(e){PH(t,e);function t(n){wH(this,t);var o;return o=OH(this,t,[n]),ws(o,"props",void 0),o.props=new fu(n==null?void 0:n.props),o}return $H(t,null,[{key:"controlName",get:function(){return f("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),t}(F);ws(Ps,"controlFieldType",g.ARRAY),ws(Ps,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.DEFAULT_SHOW_OPTIONS,y.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[y.CAN_VIEW_FORM,y.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function TH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RH(e,t,n){return t=yu(t),IH(e,Rw()?Reflect.construct(t,n||[],yu(e).constructor):t.apply(e,n))}function BH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function DH(e,t,n){return t&&Sw(e.prototype,t),n&&Sw(e,n),e}function Tw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(e)}function AH(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&&Es(e,t)}function IH(e,t){return t&&(kH(t)==="object"||typeof t=="function")?t:TH(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function kH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rw=function(){return!!e})()}var FH=function(e){AH(t,e);function t(n){BH(this,t);var o;return o=RH(this,t,[n]),Tw(o,"props",void 0),o.props=new fu(n==null?void 0:n.props),o}return DH(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);Tw(FH,"controlFieldType",g.ARRAY);function xH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bw(e,t,n){return t=su(t),MH(e,Iw()?Reflect.construct(t,n||[],su(e).constructor):t.apply(e,n))}function Dw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(e)}function Aw(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&&Ss(e,t)}function MH(e,t){return t&&(LH(t)==="object"||typeof t=="function")?t:xH(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ss(e,t)}function LH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Iw=function(){return!!e})()}var jH=function(e){Aw(t,e);function t(n){Dw(this,t);var o;return o=Bw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Ts=function(e){Aw(t,e);function t(n){Dw(this,t);var o;o=Bw(this,t,[n]),ee(o,"showType",void 0),ee(o,"range",void 0),ee(o,"rangeOptions",void 0),ee(o,"multiple",void 0),ee(o,"defaultValueType",void 0),ee(o,"defaultValue",void 0),ee(o,"multistageFilling",void 0),ee(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Ds.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:f("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1");var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))})),o}return t}(k);ee(Ts,"RuntimeRules",jH);function CH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NH(e,t,n){return t=pu(t),qH(e,Fw()?Reflect.construct(t,n||[],pu(e).constructor):t.apply(e,n))}function VH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zH(e,t,n){return t&&kw(e.prototype,t),n&&kw(e,n),e}function Rs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pu(e)}function HH(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&&Bs(e,t)}function qH(e,t){return t&&(UH(t)==="object"||typeof t=="function")?t:CH(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(e,t)}function UH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fw=function(){return!!e})()}var Ds=function(e){HH(t,e);function t(n){VH(this,t);var o;return o=NH(this,t,[n]),Rs(o,"props",void 0),o.props=new Ts(n==null?void 0:n.props),o}return zH(t,null,[{key:"controlName",get:function(){return f("CMD.people",null,"\u4EBA\u5458")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),t}(F);Rs(Ds,"controlFieldType",g.EMPLOYEES),Rs(Ds,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.MULTIPLE,y.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function WH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KH(e,t,n){return t=du(t),JH(e,Lw()?Reflect.construct(t,n||[],du(e).constructor):t.apply(e,n))}function GH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XH(e,t,n){return t&&xw(e.prototype,t),n&&xw(e,n),e}function Mw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(e)}function QH(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&&As(e,t)}function JH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:WH(e)}function As(e,t){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(e,t)}function ZH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lw=function(){return!!e})()}var YH=function(e){QH(t,e);function t(n){GH(this,t);var o;return o=KH(this,t,[n]),Mw(o,"props",void 0),o.props=new Ts(n==null?void 0:n.props),o}return XH(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(x);Mw(YH,"controlFieldType",g.EMPLOYEES);function tq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t,n){return t=vu(t),eq(e,jw()?Reflect.construct(t,n||[],vu(e).constructor):t.apply(e,n))}function ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(e)}function Fs(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&&xs(e,t)}function eq(e,t){return t&&(nq(t)==="object"||typeof t=="function")?t:tq(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xs(e,t)}function nq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jw=function(){return!!e})()}var oq=10485760,rq=104857600,iq=1048576e3,uq=function(e){Fs(t,e);function t(n){ks(this,t);var o;return o=Is(this,t,[n]),St(o,"maxSize",{type:"number",min:0,max:iq,message:f("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}),o}return t}(J),lq=function(e){Fs(t,e);function t(n){ks(this,t);var o;return o=Is(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:f("CMD.attachmentLimitError",{max:n.maxLimit,min:n.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")}),o}return t}(j),hu=function(e){Fs(t,e);function t(n){ks(this,t);var o;o=Is(this,t,[n]),St(o,"defaultValue",void 0),St(o,"showType",void 0),St(o,"resultShowType",void 0),St(o,"attachmentAccept",void 0),St(o,"maxLimit",void 0),St(o,"minLimit",void 0),St(o,"isShowWatermark",void 0),St(o,"watermarkFx",void 0),St(o,"maxSize",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var c;o.maxLimit=(c=n==null?void 0:n.maxLimit)!==null&&c!==void 0?c:10;var a;o.minLimit=(a=n==null?void 0:n.minLimit)!==null&&a!==void 0?a:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:rq;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ho.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:f("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6");var b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var O;return o.watermarkFx=(O=n==null?void 0:n.watermarkFx)!==null&&O!==void 0?O:{},o}return t}(k);St(hu,"Rules",uq),St(hu,"RuntimeRules",lq);function cq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aq(e,t,n){return t=mu(t),sq(e,Nw()?Reflect.construct(t,n||[],mu(e).constructor):t.apply(e,n))}function fq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _q(e,t,n){return t&&Cw(e.prototype,t),n&&Cw(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 mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(e)}function yq(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&&Ms(e,t)}function sq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:cq(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nw=function(){return!!e})()}var ho=function(e){yq(t,e);function t(n){fq(this,t);var o;return o=aq(this,t,[n]),bu(o,"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return _q(t,null,[{key:"controlName",get:function(){return f("CMD.file",null,"\u9644\u4EF6")}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),t}(F);bu(ho,"controlEventKeys",["on_change"]),bu(ho,"controlFieldType",g.FILE),bu(ho,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function dq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vq(e,t,n){return t=gu(t),gq(e,Hw()?Reflect.construct(t,n||[],gu(e).constructor):t.apply(e,n))}function hq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bq(e,t,n){return t&&Vw(e.prototype,t),n&&Vw(e,n),e}function zw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(e)}function mq(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&&Ls(e,t)}function gq(e,t){return t&&(Oq(t)==="object"||typeof t=="function")?t:dq(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(e,t)}function Oq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hw=function(){return!!e})()}var wq=function(e){mq(t,e);function t(n){hq(this,t);var o;return o=vq(this,t,[n]),zw(o,"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return bq(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(x);zw(wq,"controlFieldType",g.FILE);function $q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pq(e,t,n){return t=Ou(t),Rq(e,Ww()?Reflect.construct(t,n||[],Ou(e).constructor):t.apply(e,n))}function Eq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Sq(e,t,n){return t&&qw(e.prototype,t),n&&qw(e,n),e}function Uw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function Tq(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&&js(e,t)}function Rq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:$q(e)}function js(e,t){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(e,t)}function Bq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ww=function(){return!!e})()}var Kw=function(e){Tq(t,e);function t(n){Eq(this,t);var o,r,i;o=Pq(this,t,[n]),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:t.controlName;var l;return o.props.placeholder=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&l!==void 0?l:f("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),o}return Sq(t,null,[{key:"controlName",get:function(){return f("CMD.image",null,"\u56FE\u7247")}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),t}(ho);Uw(Kw,"controlFieldType",g.IMAGE),Uw(Kw,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP,y.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Dq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cs(e,t,n){return t=wu(t),Fq(e,Gw()?Reflect.construct(t,n||[],wu(e).constructor):t.apply(e,n))}function Ns(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(e)}function Vs(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&&zs(e,t)}function Aq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){rt(e,r,n[r])})}return e}function Iq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function kq(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Iq(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Fq(e,t){return t&&(xq(t)==="object"||typeof t=="function")?t:Dq(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zs(e,t)}function xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gw=function(){return!!e})()}var Mq=function(e){Vs(t,e);function t(n){Ns(this,t);var o;o=Cs(this,t,[n]),rt(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}}),rt(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=f("CMD.pleaseEnterNumberRange",{max:r,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:f("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),o}return t}(Ce),Lq=function(e){Vs(t,e);function t(n){Ns(this,t);var o;o=Cs(this,t,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[kq(Aq({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:f(r===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:r,min:i},r===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],currency:{type:"string"}}}),o}return t}(j),$u=function(e){Vs(t,e);function t(n){Ns(this,t);var o;o=Cs(this,t,[n]),rt(o,"rangeMin",void 0),rt(o,"rangeMax",void 0),rt(o,"showUpperCase",void 0),rt(o,"submitSelectCurrency",void 0),rt(o,"micrometer",void 0),rt(o,"precision",void 0),rt(o,"unitPosition",void 0),rt(o,"optionConfig",void 0),rt(o,"dataBind",void 0),rt(o,"datasourceBind",void 0),rt(o,"defaultValue",void 0),rt(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c:2,o.dataBind=new mx(n==null?void 0:n.dataBind);var a;o.datasourceBind=new X((a=n==null?void 0:n.datasourceBind)!==null&&a!==void 0?a:{displayBoList:[new mf({value:"name"})]});var _;o.defaultValue=new gx((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:Pf.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=Gt(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Su.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var m;return o.showUpperCase=(m=n==null?void 0:n.showUpperCase)!==null&&m!==void 0?m:!1,o}return t}(k);rt($u,"Rules",Mq),rt($u,"RuntimeRules",Lq);function jq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cq(e,t,n){return t=Xe(t),Hq(e,Qw()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function Nq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Vq(e,t,n){return t&&Xw(e.prototype,t),n&&Xw(e,n),e}function Pu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Eu=Reflect.get:Eu=function(r,i,u){var l=qq(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Eu(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function zq(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&&Hs(e,t)}function Hq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:jq(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hs(e,t)}function qq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function Uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qw=function(){return!!e})()}var Su=function(e){zq(t,e);function t(n){Nq(this,t);var o;return o=Cq(this,t,[n]),Pu(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return Vq(t,[{key:"toDataBindModel",value:function(o){var r=Eu(Xe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,l=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=l}return r}}],[{key:"controlName",get:function(){return f("CMD.amount",null,"\u91D1\u989D")}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),t}(F);Pu(Su,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Pu(Su,"controlFieldType",g.MONEY),Pu(Su,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.SUBMIT_SELECT_CURRENCY,y.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[y.SHOW_UPPER_CASE,y.MICROMETER,y.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function Wq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kq(e,t,n){return t=Tu(t),Jq(e,Yw()?Reflect.construct(t,n||[],Tu(e).constructor):t.apply(e,n))}function Gq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Xq(e,t,n){return t&&Jw(e.prototype,t),n&&Jw(e,n),e}function Zw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function Qq(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&&qs(e,t)}function Jq(e,t){return t&&(Zq(t)==="object"||typeof t=="function")?t:Wq(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qs(e,t)}function Zq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yw=function(){return!!e})()}var Yq=function(e){Qq(t,e);function t(n){Gq(this,t);var o;return o=Kq(this,t,[n]),Zw(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return Xq(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(x);Zw(Yq,"controlFieldType",g.MONEY);function tU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Us(e,t,n){return t=Ru(t),eU(e,t$()?Reflect.construct(t,n||[],Ru(e).constructor):t.apply(e,n))}function Ws(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(e)}function Ks(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&&Gs(e,t)}function eU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:tU(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function nU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t$=function(){return!!e})()}var oU=function(e){Ks(t,e);function t(n){Ws(this,t);var o;return o=Us(this,t,[n]),ne(o,"totalScore",[{type:"number",required:!0,message:f("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:f("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}]),ne(o,"defaultValue",{type:"number",min:0,max:5,message:f("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=f("CMD.scoreDefaultValueRange",{max:n.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4"),o}return t}(J),rU=function(e){Ks(t,e);function t(n){Ws(this,t);var o;o=Us(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:f("CMD.scoreDefaultValueRange",{max:n.totalScore,min:r},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}),o}return t}(j),Bu=function(e){Ks(t,e);function t(n){Ws(this,t);var o,r;o=Us(this,t,[n]),ne(o,"totalScore",void 0),ne(o,"scoreType",void 0),ne(o,"isShowExplain",void 0),ne(o,"explain",void 0),ne(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:m_.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var c;o.explain=(c=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(p){return new g_(p)}))!==null&&c!==void 0?c:Array(o.totalScore).fill(void 0).map(function(){return new g_});var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Iu.controlName,o}return t}(k);ne(Bu,"Rules",oU),ne(Bu,"RuntimeRules",rU);function Xs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function iU(e){if(Array.isArray(e))return Xs(e)}function uU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lU(e,t,n){return t=Qe(t),sU(e,n$()?Reflect.construct(t,n||[],Qe(e).constructor):t.apply(e,n))}function cU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aU(e,t,n){return t&&e$(e.prototype,t),n&&e$(e,n),e}function Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Au(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Au=Reflect.get:Au=function(r,i,u){var l=pU(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Au(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(e)}function fU(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&&Qs(e,t)}function _U(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yU(){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,t){return t&&(vU(t)==="object"||typeof t=="function")?t:uU(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(e,t)}function pU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function dU(e){return iU(e)||_U(e)||hU(e)||yU()}function vU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hU(e,t){if(!!e){if(typeof e=="string")return Xs(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 Xs(e,t)}}function n$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n$=function(){return!!e})()}var Iu=function(e){fU(t,e);function t(n){cU(this,t);var o;return o=lU(this,t,[n]),Du(o,"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return aU(t,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,l=Array(u).fill(void 0).map(function(){return new g_});(i=this.props.explain).push.apply(i,dU(l))}}Au(Qe(t.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return f("CMD.score",null,"\u8BC4\u5206")}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),t}(F);Du(Iu,"controlEventKeys",["on_change","on_click"]),Du(Iu,"controlFieldType",g.DECIMAL),Du(Iu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function bU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mU(e,t,n){return t=ku(t),$U(e,i$()?Reflect.construct(t,n||[],ku(e).constructor):t.apply(e,n))}function gU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OU(e,t,n){return t&&o$(e.prototype,t),n&&o$(e,n),e}function r$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(e)}function wU(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&&Js(e,t)}function $U(e,t){return t&&(PU(t)==="object"||typeof t=="function")?t:bU(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(e,t)}function PU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(i$=function(){return!!e})()}var EU=function(e){wU(t,e);function t(n){gU(this,t);var o;return o=mU(this,t,[n]),r$(o,"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return OU(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(x);r$(EU,"controlFieldType",g.DECIMAL);function SU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u$(e,t,n){return t=xu(t),TU(e,a$()?Reflect.construct(t,n||[],xu(e).constructor):t.apply(e,n))}function l$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xu(e)}function c$(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&&Zs(e,t)}function TU(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:SU(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(e,t)}function RU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a$=function(){return!!e})()}var BU=function(e){c$(t,e);function t(n){l$(this,t);var o;if(o=u$(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:f("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:f("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:f("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),o.push(r)}return o}return t}(j),Ys=function(e){c$(t,e);function t(n){l$(this,t);var o;o=u$(this,t,[n]),Fu(o,"defaultValueType",void 0),Fu(o,"defaultValue",void 0),Fu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:np.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var l;o.defaultValue=new $x((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740"),o}return t}(k);Fu(Ys,"RuntimeRules",BU);function DU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AU(e,t,n){return t=Mu(t),xU(e,_$()?Reflect.construct(t,n||[],Mu(e).constructor):t.apply(e,n))}function IU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kU(e,t,n){return t&&f$(e.prototype,t),n&&f$(e,n),e}function tp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(e)}function FU(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&&ep(e,t)}function xU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:DU(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(e,t)}function MU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_$=function(){return!!e})()}var np=function(e){FU(t,e);function t(n){IU(this,t);var o;return o=AU(this,t,[n]),tp(o,"props",void 0),o.props=new Ys(n==null?void 0:n.props),o}return kU(t,null,[{key:"controlName",get:function(){return f("CMD.address",null,"\u5730\u5740")}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),t}(F);tp(np,"controlFieldType",g.ADDRESS),tp(np,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function LU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jU(e,t,n){return t=Lu(t),zU(e,p$()?Reflect.construct(t,n||[],Lu(e).constructor):t.apply(e,n))}function CU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function NU(e,t,n){return t&&y$(e.prototype,t),n&&y$(e,n),e}function s$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(e)}function VU(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&&op(e,t)}function zU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:LU(e)}function op(e,t){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(e,t)}function HU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p$=function(){return!!e})()}var qU=function(e){VU(t,e);function t(n){CU(this,t);var o;return o=jU(this,t,[n]),s$(o,"props",void 0),o.props=new Ys(n==null?void 0:n.props),o}return NU(t,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(x);s$(qU,"controlFieldType",g.ADDRESS);function UU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d$(e,t,n){return t=ju(t),WU(e,b$()?Reflect.construct(t,n||[],ju(e).constructor):t.apply(e,n))}function v$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(e)}function h$(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&&rp(e,t)}function WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:UU(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(e,t)}function KU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(b$=function(){return!!e})()}var GU=function(e){h$(t,e);function t(n){v$(this,t);var o;return o=d$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),ip=function(e){h$(t,e);function t(n){v$(this,t);var o;o=d$(this,t,[n]),Ft(o,"showType",void 0),Ft(o,"range",void 0),Ft(o,"defaultValueType",void 0),Ft(o,"multiple",void 0),Ft(o,"rangeOptions",void 0),Ft(o,"defaultValue",void 0),Ft(o,"displayLevel",void 0),Ft(o,"showSubDept",void 0),Ft(o,"multistageFilling",void 0),Ft(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Vu.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8");var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))})),o}return t}(k);Ft(ip,"RuntimeRules",GU);function XU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QU(e,t,n){return t=Je(t),tW(e,g$()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function JU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ZU(e,t,n){return t&&m$(e.prototype,t),n&&m$(e,n),e}function Cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Nu=Reflect.get:Nu=function(r,i,u){var l=eW(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Nu(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function YU(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&&up(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:XU(e)}function up(e,t){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(e,t)}function eW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function nW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(g$=function(){return!!e})()}var Vu=function(e){YU(t,e);function t(n){JU(this,t);var o;return o=QU(this,t,[n]),Cu(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return ZU(t,[{key:"toDataBindModel",value:function(o){var r=Nu(Je(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,l=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=l}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),t}(F);Cu(Vu,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Cu(Vu,"controlFieldType",g.DEPARTMENTS),Cu(Vu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.MULTIPLE,y.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function oW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e,t,n){return t=zu(t),cW(e,$$()?Reflect.construct(t,n||[],zu(e).constructor):t.apply(e,n))}function iW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uW(e,t,n){return t&&O$(e.prototype,t),n&&O$(e,n),e}function w$(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){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(e)}function lW(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&&lp(e,t)}function cW(e,t){return t&&(aW(t)==="object"||typeof t=="function")?t:oW(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lp(e,t)}function aW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($$=function(){return!!e})()}var fW=function(e){lW(t,e);function t(n){iW(this,t);var o;return o=rW(this,t,[n]),w$(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return uW(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(x);w$(fW,"controlFieldType",g.DEPARTMENTS);function _W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yW(e,t,n){return t=Hu(t),vW(e,P$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function sW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function dW(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&&cp(e,t)}function vW(e,t){return t&&(hW(t)==="object"||typeof t=="function")?t:_W(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(e,t)}function hW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(P$=function(){return!!e})()}var E$=function(e){dW(t,e);function t(n){sW(this,t);var o;o=yW(this,t,[n]),pW(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Wu.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:f("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"),o}return t}(k);function bW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mW(e,t,n){return t=Uu(t),$W(e,T$()?Reflect.construct(t,n||[],Uu(e).constructor):t.apply(e,n))}function gW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OW(e,t,n){return t&&S$(e.prototype,t),n&&S$(e,n),e}function qu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(e)}function wW(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&&ap(e,t)}function $W(e,t){return t&&(PW(t)==="object"||typeof t=="function")?t:bW(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function PW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(T$=function(){return!!e})()}var Wu=function(e){wW(t,e);function t(n){gW(this,t);var o;return o=mW(this,t,[n]),qu(o,"props",void 0),o.props=new E$(n==null?void 0:n.props),o}return OW(t,null,[{key:"controlName",get:function(){return f("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),t}(F);qu(Wu,"controlEventKeys",["on_change"]),qu(Wu,"controlFieldType",g.AUTO_NUMBER),qu(Wu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function EW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SW(e,t,n){return t=Ku(t),DW(e,D$()?Reflect.construct(t,n||[],Ku(e).constructor):t.apply(e,n))}function TW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RW(e,t,n){return t&&R$(e.prototype,t),n&&R$(e,n),e}function B$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ku(e)}function BW(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&&fp(e,t)}function DW(e,t){return t&&(AW(t)==="object"||typeof t=="function")?t:EW(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(e,t)}function AW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(D$=function(){return!!e})()}var IW=function(e){BW(t,e);function t(n){TW(this,t);var o;return o=SW(this,t,[n]),B$(o,"props",void 0),o.props=new E$(n==null?void 0:n.props),o}return RW(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(x);B$(IW,"controlFieldType",g.AUTO_NUMBER);function kW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _p(e,t,n){return t=Gu(t),FW(e,A$()?Reflect.construct(t,n||[],Gu(e).constructor):t.apply(e,n))}function yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(e)}function sp(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&&pp(e,t)}function FW(e,t){return t&&(xW(t)==="object"||typeof t=="function")?t:kW(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pp(e,t)}function xW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(A$=function(){return!!e})()}var MW=function(e){sp(t,e);function t(n){yp(this,t);var o;return o=_p(this,t,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return t}(J),LW=function(e){sp(t,e);function t(n){yp(this,t);var o;return o=_p(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:f("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}}),o}return t}(j),Xu=function(e){sp(t,e);function t(n){yp(this,t);var o;o=_p(this,t,[n]),xt(o,"precision",void 0),xt(o,"micrometer",void 0),xt(o,"showUpperCase",void 0),xt(o,"scriptSrc",void 0),xt(o,"scriptEcho",void 0),xt(o,"dataBind",void 0),xt(o,"defaultValue",void 0),xt(o,"unitPosition",void 0),xt(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new Px(n==null?void 0:n.dataBind),o.defaultValue=new Ex(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Zu.controlName;var c;o.unitPosition=(c=n==null?void 0:n.unitPosition)!==null&&c!==void 0?c:"right";var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var p;o.scriptSrc=(p=n==null?void 0:n.scriptSrc)!==null&&p!==void 0?p:"";var d;return o.calcOnMounted=(d=n==null?void 0:n.calcOnMounted)!==null&&d!==void 0?d:!1,o}return t}(k);xt(Xu,"Rules",MW),xt(Xu,"RuntimeRules",LW);function jW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CW(e,t,n){return t=Ze(t),HW(e,k$()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function NW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function VW(e,t,n){return t&&I$(e.prototype,t),n&&I$(e,n),e}function Qu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ju(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ju=Reflect.get:Ju=function(r,i,u){var l=qW(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ju(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function zW(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&&dp(e,t)}function HW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:jW(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(e,t)}function qW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function UW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k$=function(){return!!e})()}var Zu=function(e){zW(t,e);function t(n){NW(this,t);var o;return o=CW(this,t,[n]),Qu(o,"props",void 0),o.props=new Xu(n==null?void 0:n.props),o}return VW(t,[{key:"toDataBindModel",value:function(o){var r=Ju(Ze(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,l=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=l}return r}}],[{key:"controlName",get:function(){return f("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),t}(F);Qu(Zu,"controlEventKeys",["on_change"]),Qu(Zu,"controlFieldType",g.CALC),Qu(Zu,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[y.SHOW_UPPER_CASE,y.MICROMETER,y.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function WW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KW(e,t,n){return t=Yu(t),JW(e,M$()?Reflect.construct(t,n||[],Yu(e).constructor):t.apply(e,n))}function GW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XW(e,t,n){return t&&F$(e.prototype,t),n&&F$(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 Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(e)}function QW(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&&vp(e,t)}function JW(e,t){return t&&(ZW(t)==="object"||typeof t=="function")?t:WW(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(e,t)}function ZW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(M$=function(){return!!e})()}var YW=function(e){QW(t,e);function t(n){GW(this,t);var o;return o=KW(this,t,[n]),x$(o,"props",void 0),o.props=new Xu(n==null?void 0:n.props),o}return XW(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(x);x$(YW,"controlFieldType",g.CALC);function tK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L$(e,t,n){return t=tl(t),eK(e,N$()?Reflect.construct(t,n||[],tl(e).constructor):t.apply(e,n))}function j$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(e)}function C$(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&&hp(e,t)}function eK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:tK(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hp(e,t)}function nK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(N$=function(){return!!e})()}var oK=function(e){C$(t,e);function t(n){j$(this,t);var o;return o=L$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var l=u.every(function(c){return!c});return l?Promise.reject(f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}else return Promise.resolve()}}),o}return t}(j),bp=function(e){C$(t,e);function t(n){j$(this,t);var o;o=L$(this,t,[n]),Ye(o,"rangeMin",void 0),Ye(o,"rangeMax",void 0),Ye(o,"placeholderStart",void 0),Ye(o,"placeholderEnd",void 0),Ye(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:f("CMD.min",null,"\u6700\u5C0F\u503C");var c;o.placeholderEnd=(c=n==null?void 0:n.placeholderEnd)!==null&&c!==void 0?c:f("CMD.max",null,"\u6700\u5927\u503C");var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Op.controlName,o}return t}(k);Ye(bp,"RuntimeRules",oK);function rK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iK(e,t,n){return t=el(t),aK(e,z$()?Reflect.construct(t,n||[],el(e).constructor):t.apply(e,n))}function uK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lK(e,t,n){return t&&V$(e.prototype,t),n&&V$(e,n),e}function mp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(e)}function cK(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&&gp(e,t)}function aK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:rK(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function fK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z$=function(){return!!e})()}var Op=function(e){cK(t,e);function t(n){uK(this,t);var o;return o=iK(this,t,[n]),mp(o,"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return lK(t,null,[{key:"controlName",get:function(){return f("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),t}(F);mp(Op,"controlFieldType",g.DECIMAL_RANGE),mp(Op,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function _K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yK(e,t,n){return t=nl(t),vK(e,U$()?Reflect.construct(t,n||[],nl(e).constructor):t.apply(e,n))}function sK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pK(e,t,n){return t&&H$(e.prototype,t),n&&H$(e,n),e}function q$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(e)}function dK(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&&wp(e,t)}function vK(e,t){return t&&(hK(t)==="object"||typeof t=="function")?t:_K(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function hK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(U$=function(){return!!e})()}var bK=function(e){dK(t,e);function t(n){sK(this,t);var o;return o=yK(this,t,[n]),q$(o,"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return pK(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);q$(bK,"controlFieldType",g.DECIMAL_RANGE);function mK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W$(e,t,n){return t=ol(t),gK(e,X$()?Reflect.construct(t,n||[],ol(e).constructor):t.apply(e,n))}function K$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(e)}function G$(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&&$p(e,t)}function gK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:mK(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$p(e,t)}function OK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(X$=function(){return!!e})()}var wK=function(e){G$(t,e);function t(n){K$(this,t);var o;return o=W$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return t}(j),Pp=function(e){G$(t,e);function t(n){K$(this,t);var o,r;o=W$(this,t,[n]),Mt(o,"rangeMin",void 0),Mt(o,"rangeMax",void 0),Mt(o,"placeholderStart",void 0),Mt(o,"placeholderEnd",void 0),Mt(o,"dateType",void 0),Mt(o,"dateFormat",void 0),Mt(o,"commonTimeSetting",void 0),Mt(o,"setValueType",void 0),Mt(o,"defaultValue",void 0),Mt(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:ie.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:f("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F");var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:f("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F");var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Tp.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new b_(w)}))!==null&&m!==void 0?m:[],o}return t}(k);Mt(Pp,"RuntimeRules",wK);function $K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PK(e,t,n){return t=rl(t),RK(e,J$()?Reflect.construct(t,n||[],rl(e).constructor):t.apply(e,n))}function EK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SK(e,t,n){return t&&Q$(e.prototype,t),n&&Q$(e,n),e}function Ep(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(e)}function TK(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&&Sp(e,t)}function RK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:$K(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(e,t)}function BK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(J$=function(){return!!e})()}var Tp=function(e){TK(t,e);function t(n){EK(this,t);var o;return o=PK(this,t,[n]),Ep(o,"props",void 0),o.props=new Pp(n==null?void 0:n.props),o}return SK(t,null,[{key:"controlName",get:function(){return f("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),t}(F);Ep(Tp,"controlFieldType",g.ARRAY),Ep(Tp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function DK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AK(e,t,n){return t=il(t),xK(e,tP()?Reflect.construct(t,n||[],il(e).constructor):t.apply(e,n))}function IK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kK(e,t,n){return t&&Z$(e.prototype,t),n&&Z$(e,n),e}function Y$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(e)}function FK(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&&Rp(e,t)}function xK(e,t){return t&&(MK(t)==="object"||typeof t=="function")?t:DK(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function MK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tP=function(){return!!e})()}var LK=function(e){FK(t,e);function t(n){IK(this,t);var o;return o=AK(this,t,[n]),Y$(o,"props",void 0),o.props=new Pp(n==null?void 0:n.props),o}return kK(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);Y$(LK,"controlFieldType",g.ARRAY);function jK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bp(e,t,n){return t=ul(t),CK(e,eP()?Reflect.construct(t,n||[],ul(e).constructor):t.apply(e,n))}function Dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function Ap(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&&Ip(e,t)}function CK(e,t){return t&&(NK(t)==="object"||typeof t=="function")?t:jK(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ip(e,t)}function NK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eP=function(){return!!e})()}var VK=function(e){Ap(t,e);function t(n){Dp(this,t);var o;return o=Bp(this,t,[n]),o.dataBind={type:"any"},o}return t}(J),zK=function(e){Ap(t,e);function t(n){Dp(this,t);var o;return o=Bp(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(j),ll=function(e){Ap(t,e);function t(n){Dp(this,t);var o;o=Bp(this,t,[n]),tn(o,"controlExportName",void 0),tn(o,"permissions",void 0),tn(o,"defaultValue",void 0),tn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:mo.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var c;return o.isInlineEdit=(c=n==null?void 0:n.isInlineEdit)!==null&&c!==void 0?c:!1,o}return t}(k);tn(ll,"Rules",VK),tn(ll,"RuntimeRules",zK);function HK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qK(e,t,n){return t=cl(t),GK(e,oP()?Reflect.construct(t,n||[],cl(e).constructor):t.apply(e,n))}function UK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WK(e,t,n){return t&&nP(e.prototype,t),n&&nP(e,n),e}function bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(e)}function KK(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&&kp(e,t)}function GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:HK(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(e,t)}function XK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oP=function(){return!!e})()}var mo=function(e){KK(t,e);function t(n){UK(this,t);var o;return o=qK(this,t,[n]),bo(o,"props",void 0),o.props=new ll(n==null?void 0:n.props),o}return WK(t,null,[{key:"controlName",get:function(){return f("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),t}(F);bo(mo,"controlFieldType",g.ANY),bo(mo,"controlEventKeys",[]),bo(mo,"slots",["grid-table-toolbar-slot",S0.DEFAULT]),bo(mo,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE,y.IS_HIDE_CAPTION,y.REQUIRED,y.IS_SHOW_CAPTION_TIP,y.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function QK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JK(e,t,n){return t=al(t),eG(e,uP()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function ZK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function YK(e,t,n){return t&&rP(e.prototype,t),n&&rP(e,n),e}function iP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function tG(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&&Fp(e,t)}function eG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:QK(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fp(e,t)}function nG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uP=function(){return!!e})()}var oG=function(e){tG(t,e);function t(n){ZK(this,t);var o;return o=JK(this,t,[n]),iP(o,"props",void 0),o.props=new ll(n==null?void 0:n.props),o}return YK(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);iP(oG,"controlFieldType",g.ANY);function rG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lP(e,t,n){return t=fl(t),iG(e,fP()?Reflect.construct(t,n||[],fl(e).constructor):t.apply(e,n))}function cP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(e)}function aP(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&&xp(e,t)}function iG(e,t){return t&&(uG(t)==="object"||typeof t=="function")?t:rG(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(e,t)}function uG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fP=function(){return!!e})()}var lG=function(e){aP(t,e);function t(n){cP(this,t);var o;return o=lP(this,t,[n]),it(o,"listPageBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}]),it(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ce),Mp=function(e){aP(t,e);function t(n){cP(this,t);var o;o=lP(this,t,[n]),it(o,"options",void 0),it(o,"optionConfig",void 0),it(o,"defaultValue",void 0),it(o,"listPageBind",void 0),it(o,"datasourceBind",void 0),it(o,"multistageFilling",void 0),it(o,"viewFormModelType",void 0),it(o,"canViewForm",void 0),it(o,"formBind",void 0),it(o,"openMultistageFilling",void 0),it(o,"showSelectedDetail",void 0),it(o,"selectedContentConfig",void 0),it(o,"optionDisplayConfig",void 0),it(o,"canSearch",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new hf(n==null?void 0:n.listPageBind),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:sl.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.openMultistageFilling=(a=n==null?void 0:n.openMultistageFilling)!==null&&a!==void 0?a:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Of(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var d;o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new Le(n==null?void 0:n.formBind);var b;o.optionDisplayConfig=(b=n==null?void 0:n.optionDisplayConfig)!==null&&b!==void 0?b:[];var O;return o.canSearch=(O=n==null?void 0:n.canSearch)!==null&&O!==void 0?O:!1,o}return t}(k);it(Mp,"Rules",lG);function cG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aG(e,t,n){return t=en(t),sG(e,yP()?Reflect.construct(t,n||[],en(e).constructor):t.apply(e,n))}function fG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _G(e,t,n){return t&&_P(e.prototype,t),n&&_P(e,n),e}function _l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?yl=Reflect.get:yl=function(r,i,u){var l=pG(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},yl(e,t,n||e)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(e)}function yG(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&&Lp(e,t)}function sG(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:cG(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lp(e,t)}function pG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=en(e),e!==null););return e}function dG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yP=function(){return!!e})()}var sl=function(e){yG(t,e);function t(n){fG(this,t);var o;return o=aG(this,t,[n]),_l(o,"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return _G(t,[{key:"toDataBindModel",value:function(o){var r=yl(en(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.optionDisplayConfig;r.props.optionDisplayConfig=i}return r}}],[{key:"controlName",get:function(){return f("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),t}(F);_l(sl,"controlFieldType",g.VARCHAR),_l(sl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_SHOW_CAPTION_TIP,y.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[y.CAN_VIEW_FORM,y.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),_l(sl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function vG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hG(e,t,n){return t=pl(t),OG(e,dP()?Reflect.construct(t,n||[],pl(e).constructor):t.apply(e,n))}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mG(e,t,n){return t&&sP(e.prototype,t),n&&sP(e,n),e}function pP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(e)}function gG(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&&jp(e,t)}function OG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:vG(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jp(e,t)}function wG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dP=function(){return!!e})()}var $G=function(e){gG(t,e);function t(n){bG(this,t);var o;return o=hG(this,t,[n]),pP(o,"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return mG(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(x);pP($G,"controlFieldType",g.VARCHAR);function PG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EG(e,t,n){return t=dl(t),RG(e,vP()?Reflect.construct(t,n||[],dl(e).constructor):t.apply(e,n))}function SG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(e)}function TG(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&&Cp(e,t)}function RG(e,t){return t&&(BG(t)==="object"||typeof t=="function")?t:PG(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(e,t)}function BG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vP=function(){return!!e})()}var hP=function(e){TG(t,e);function t(n){return SG(this,t),EG(this,t,[n])}return t}(po);function DG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AG(e,t,n){return t=vl(t),xG(e,gP()?Reflect.construct(t,n||[],vl(e).constructor):t.apply(e,n))}function IG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kG(e,t,n){return t&&bP(e.prototype,t),n&&bP(e,n),e}function mP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(e)}function FG(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&&Np(e,t)}function xG(e,t){return t&&(MG(t)==="object"||typeof t=="function")?t:DG(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(e,t)}function MG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gP=function(){return!!e})()}var LG=function(e){FG(t,e);function t(n){IG(this,t);var o;return o=AG(this,t,[n]),mP(o,"props",void 0),o.props=new hP(n==null?void 0:n.props),o}return kG(t,null,[{key:"controlName",get:function(){return f("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlType",get:function(){return"search-input"}}]),t}(vo);mP(LG,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED]},{key:"super-setting",visible:!0}]);function jG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CG(e,t,n){return t=hl(t),HG(e,$P()?Reflect.construct(t,n||[],hl(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 OP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function VG(e,t,n){return t&&OP(e.prototype,t),n&&OP(e,n),e}function wP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(e)}function zG(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&&Vp(e,t)}function HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:jG(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(e,t)}function qG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($P=function(){return!!e})()}var UG=function(e){zG(t,e);function t(n){NG(this,t);var o;return o=CG(this,t,[n]),wP(o,"props",void 0),o.props=new hP(n==null?void 0:n.props),o}return VG(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(x);wP(UG,"controlFieldType",g.VARCHAR);function WG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zp(e,t,n){return t=bl(t),KG(e,PP()?Reflect.construct(t,n||[],bl(e).constructor):t.apply(e,n))}function Hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(e)}function qp(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&&Up(e,t)}function KG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:WG(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function GG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PP=function(){return!!e})()}var XG=function(e){qp(t,e);function t(n){Hp(this,t);var o;return o=zp(this,t,[n]),q(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Uo.call(o,n,Ee.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}]),o}return t}(J),QG=function(e){qp(t,e);function t(n){Hp(this,t);var o;return o=zp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),ml=function(e){qp(t,e);function t(n){Hp(this,t);var o,r;o=zp(this,t,[n]),q(o,"placeholder",void 0),q(o,"multiple",void 0),q(o,"canSearch",void 0),q(o,"levelType",void 0),q(o,"optionalLevel",void 0),q(o,"containsSubNode",void 0),q(o,"defaultDisplay",void 0),q(o,"isShowIncludeSub",void 0),q(o,"isDefaultCheckSub",void 0),q(o,"isShowFilterItem",void 0),q(o,"defaultCollapse",void 0),q(o,"defaultCollapseLevel",void 0),q(o,"optionConfig","datasource"),q(o,"datasourceBind",void 0),q(o,"filterItemDatasourceBind",void 0),q(o,"multistageFilling",void 0),q(o,"defaultValue",void 0),q(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ee.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var c;o.canSearch=(c=n==null?void 0:n.canSearch)!==null&&c!==void 0?c:!0;var a;o.levelType=(a=n==null?void 0:n.levelType)!==null&&a!==void 0?a:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new tb((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Ee.controlCustomAttributes});var $;o.filterItemDatasourceBind=new tb(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:Ee.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var T;o.multistageFilling=(T=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new st(A)}))!==null&&T!==void 0?T:[];var z;return o.defaultValue=(z=n==null?void 0:n.defaultValue)!==null&&z!==void 0?z:[],o}return t}(k);q(ml,"Rules",XG),q(ml,"RuntimeRules",QG);function JG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZG(e,t,n){return t=Ol(t),nX(e,SP()?Reflect.construct(t,n||[],Ol(e).constructor):t.apply(e,n))}function YG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tX(e,t,n){return t&&EP(e.prototype,t),n&&EP(e,n),e}function gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(e)}function eX(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&&Wp(e,t)}function nX(e,t){return t&&(oX(t)==="object"||typeof t=="function")?t:JG(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wp(e,t)}function oX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SP=function(){return!!e})()}var Ee=function(e){eX(t,e);function t(n){YG(this,t);var o;return o=ZG(this,t,[n]),gl(o,"props",void 0),o.props=new ml(n==null?void 0:n.props),o}return tX(t,null,[{key:"controlName",get:function(){return f("CMD.tree",null,"\u6811")}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),t}(F);gl(Ee,"controlEventKeys",["on_change","on_click"]),gl(Ee,"controlFieldType",g.ARRAY),gl(Ee,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.MULTIPLE,y.CAN_SEARCH,y.DEFAULT_DISPLAY,y.CONTAINS_SUB_NODE,y.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function rX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iX(e,t,n){return t=wl(t),aX(e,BP()?Reflect.construct(t,n||[],wl(e).constructor):t.apply(e,n))}function uX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lX(e,t,n){return t&&TP(e.prototype,t),n&&TP(e,n),e}function RP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function cX(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&&Kp(e,t)}function aX(e,t){return t&&(fX(t)==="object"||typeof t=="function")?t:rX(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(e,t)}function fX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BP=function(){return!!e})()}var _X=function(e){cX(t,e);function t(n){uX(this,t);var o;return o=iX(this,t,[n]),RP(o,"props",void 0),o.props=new ml(n==null?void 0:n.props),o}return lX(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(x);RP(_X,"controlFieldType",g.ARRAY);function yX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gp(e,t,n){return t=$l(t),sX(e,DP()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function Xp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function Qp(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&&Jp(e,t)}function sX(e,t){return t&&(pX(t)==="object"||typeof t=="function")?t:yX(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(e,t)}function pX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DP=function(){return!!e})()}var dX=function(e){Qp(t,e);function t(n){Xp(this,t);var o;return o=Gp(this,t,[n]),ut(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ut(o,"externalScope",{type:"any"}),Uo.call(o,n,go.controlCustomAttributes),n.externalType===se.ASSIGN&&(o.externalScope={type:"array",required:!0,message:f("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")}),o}return t}(J),vX=function(e){Qp(t,e);function t(n){Xp(this,t);var o;return o=Gp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Pl=function(e){Qp(t,e);function t(n){Xp(this,t);var o;o=Gp(this,t,[n]),ut(o,"showType",void 0),ut(o,"range",void 0),ut(o,"rangeOptions",void 0),ut(o,"multiple",void 0),ut(o,"defaultValueType",void 0),ut(o,"defaultValue",void 0),ut(o,"multistageFilling",void 0),ut(o,"datasourceBind",void 0),ut(o,"datasourceType",void 0),ut(o,"insideType",void 0),ut(o,"externalType",void 0),ut(o,"externalScope",void 0),ut(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:go.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:f("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1");var d;o.datasourceBind=new Vo((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:go.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:w_.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:$_.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:se.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new st($))})),o}return t}(k);ut(Pl,"Rules",dX),ut(Pl,"RuntimeRules",vX);function hX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bX(e,t,n){return t=El(t),wX(e,IP()?Reflect.construct(t,n||[],El(e).constructor):t.apply(e,n))}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gX(e,t,n){return t&&AP(e.prototype,t),n&&AP(e,n),e}function Zp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(e)}function OX(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&&Yp(e,t)}function wX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:hX(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yp(e,t)}function $X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IP=function(){return!!e})()}var go=function(e){OX(t,e);function t(n){mX(this,t);var o;return o=bX(this,t,[n]),Zp(o,"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return gX(t,null,[{key:"controlName",get:function(){return f("CMD.people",null,"\u4EBA\u5458")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(F);Zp(go,"controlFieldType",g.EMPLOYEES),Zp(go,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.MULTIPLE,y.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function PX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EX(e,t,n){return t=Sl(t),BX(e,xP()?Reflect.construct(t,n||[],Sl(e).constructor):t.apply(e,n))}function SX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function TX(e,t,n){return t&&kP(e.prototype,t),n&&kP(e,n),e}function FP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(e)}function RX(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&&td(e,t)}function BX(e,t){return t&&(DX(t)==="object"||typeof t=="function")?t:PX(e)}function td(e,t){return td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},td(e,t)}function DX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xP=function(){return!!e})()}var AX=function(e){RX(t,e);function t(n){SX(this,t);var o;return o=EX(this,t,[n]),FP(o,"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return TX(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(x);FP(AX,"controlFieldType",g.EMPLOYEES);function IX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MP(e,t,n){return t=Tl(t),kX(e,CP()?Reflect.construct(t,n||[],Tl(e).constructor):t.apply(e,n))}function LP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(e)}function jP(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&&ed(e,t)}function kX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:IX(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ed(e,t)}function FX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CP=function(){return!!e})()}var xX=function(e){jP(t,e);function t(n){LP(this,t);var o;return o=MP(this,t,[n]),zt(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:f("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator:function(c,a,_){if(i.type==="public"&&af(a.value)&&a.value.length===0){_(f("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}_()}},company:{type:"object",required:!0,validator:function(c,a,_){if(i.type==="public"&&i.signatureType.includes("company")&&af(a.value)&&a.value.length===0){_(f("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}_()}}}},r},{})}}},o}return t}(J),nd=function(e){jP(t,e);function t(n){LP(this,t);var o;o=MP(this,t,[n]),zt(o,"buttonType",void 0),zt(o,"content",void 0),zt(o,"showType",void 0),zt(o,"color",void 0),zt(o,"icon",void 0),zt(o,"command",""),zt(o,"isLoading",!1),zt(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Dl.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72");var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;return o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2",o.signatureConfig=new dj(n==null?void 0:n.signatureConfig),o}return t}(k);zt(nd,"Rules",xX);function MX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LX(e,t,n){return t=Bl(t),VX(e,VP()?Reflect.construct(t,n||[],Bl(e).constructor):t.apply(e,n))}function jX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CX(e,t,n){return t&&NP(e.prototype,t),n&&NP(e,n),e}function Rl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(e)}function NX(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&&od(e,t)}function VX(e,t){return t&&(zX(t)==="object"||typeof t=="function")?t:MX(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function zX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VP=function(){return!!e})()}var Dl=function(e){NX(t,e);function t(n){jX(this,t);var o;return o=LX(this,t,[n]),Rl(o,"props",void 0),o.props=new nd(n==null?void 0:n.props),o}return CX(t,null,[{key:"controlName",get:function(){return f("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),t}(F);Rl(Dl,"controlEventKeys",["on_click","on_click_finish"]),Rl(Dl,"controlFieldType",g.VARCHAR),Rl(Dl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function HX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qX(e,t,n){return t=Al(t),GX(e,qP()?Reflect.construct(t,n||[],Al(e).constructor):t.apply(e,n))}function UX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WX(e,t,n){return t&&zP(e.prototype,t),n&&zP(e,n),e}function HP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(e)}function KX(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&&rd(e,t)}function GX(e,t){return t&&(XX(t)==="object"||typeof t=="function")?t:HX(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(e,t)}function XX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qP=function(){return!!e})()}var QX=function(e){KX(t,e);function t(n){UX(this,t);var o;return o=qX(this,t,[n]),HP(o,"props",void 0),o.props=new nd(n==null?void 0:n.props),o}return WX(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);HP(QX,"controlFieldType",g.VARCHAR);function JX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function id(e,t,n){return t=Il(t),ZX(e,UP()?Reflect.construct(t,n||[],Il(e).constructor):t.apply(e,n))}function ud(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(e)}function ld(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&&cd(e,t)}function ZX(e,t){return t&&(YX(t)==="object"||typeof t=="function")?t:JX(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(e,t)}function YX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UP=function(){return!!e})()}var tQ=function(e){ld(t,e);function t(n){ud(this,t);var o;return o=id(this,t,[n]),lt(o,"content",{type:"string",required:!0,message:f("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")}),lt(o,"canAdd",void 0),lt(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,l){if(u.active&&!u.text){l(f("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}l()}},autoRename:{type:"object",validator:function(i,u,l){if(u.active&&!u.text){l(f("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(i,u,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(f("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}l()}},o}return t}(J),eQ=function(e){ld(t,e);function t(n){ud(this,t);var o;return o=id(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),kl=function(e){ld(t,e);function t(n){ud(this,t);var o;o=id(this,t,[n]),lt(o,"content",void 0),lt(o,"canAdd",void 0),lt(o,"addLocal",void 0),lt(o,"addOnline",void 0),lt(o,"canDownload",void 0),lt(o,"canEdit",void 0),lt(o,"canExport",void 0),lt(o,"canDelete",void 0),lt(o,"wpsSetting",void 0),lt(o,"maxSize",void 0),lt(o,"defaultValue",void 0),lt(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ml.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863");var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var c;o.addOnline=(c=n==null?void 0:n.addOnline)!==null&&c!==void 0?c:!0;var a;o.canEdit=(a=n==null?void 0:n.canEdit)!==null&&a!==void 0?a:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:oq;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new vj(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return t}(k);lt(kl,"Rules",tQ),lt(kl,"RuntimeRules",eQ);function nQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oQ(e,t,n){return t=xl(t),lQ(e,KP()?Reflect.construct(t,n||[],xl(e).constructor):t.apply(e,n))}function rQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function iQ(e,t,n){return t&&WP(e.prototype,t),n&&WP(e,n),e}function Fl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(e)}function uQ(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&&ad(e,t)}function lQ(e,t){return t&&(cQ(t)==="object"||typeof t=="function")?t:nQ(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(e,t)}function cQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KP=function(){return!!e})()}var Ml=function(e){uQ(t,e);function t(n){rQ(this,t);var o;return o=oQ(this,t,[n]),Fl(o,"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return iQ(t,null,[{key:"controlName",get:function(){return f("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),t}(F);Fl(Ml,"controlEventKeys",["on_change","on_wps_open"]),Fl(Ml,"controlFieldType",g.FILE),Fl(Ml,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_SHOW_CAPTION_TIP,y.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function aQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fQ(e,t,n){return t=Ll(t),pQ(e,QP()?Reflect.construct(t,n||[],Ll(e).constructor):t.apply(e,n))}function _Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yQ(e,t,n){return t&&GP(e.prototype,t),n&&GP(e,n),e}function XP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(e)}function sQ(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&&fd(e,t)}function pQ(e,t){return t&&(dQ(t)==="object"||typeof t=="function")?t:aQ(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(e,t)}function dQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QP=function(){return!!e})()}var vQ=function(e){sQ(t,e);function t(n){_Q(this,t);var o;return o=fQ(this,t,[n]),XP(o,"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return yQ(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(x);XP(vQ,"controlFieldType",g.FILE);function hQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _d(e,t,n){return t=jl(t),bQ(e,JP()?Reflect.construct(t,n||[],jl(e).constructor):t.apply(e,n))}function yd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(e)}function sd(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&&pd(e,t)}function bQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:hQ(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(e,t)}function mQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JP=function(){return!!e})()}var gQ=function(e){sd(t,e);function t(n){yd(this,t);var o;return o=_d(this,t,[n]),Q(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Q(o,"businessScope",{type:"any"}),Uo.call(o,n,on.controlCustomAttributes),n.businessType===se.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(J),OQ=function(e){sd(t,e);function t(n){yd(this,t);var o;return o=_d(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Cl=function(e){sd(t,e);function t(n){yd(this,t);var o;o=_d(this,t,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"defaultValueType",void 0),Q(o,"multiple",void 0),Q(o,"rangeOptions",void 0),Q(o,"defaultValue",void 0),Q(o,"displayLevel",void 0),Q(o,"showSubDept",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"businessType",void 0),Q(o,"businessScope",void 0),Q(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:on.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8");var O;o.datasourceBind=new Vo((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:on.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:mr.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:se.ALL;var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new st(P))})),o}return t}(k);Q(Cl,"Rules",gQ),Q(Cl,"RuntimeRules",OQ);function wQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Q(e,t,n){return t=nn(t),TQ(e,YP()?Reflect.construct(t,n||[],nn(e).constructor):t.apply(e,n))}function PQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function EQ(e,t,n){return t&&ZP(e.prototype,t),n&&ZP(e,n),e}function Nl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Vl=Reflect.get:Vl=function(r,i,u){var l=RQ(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Vl(e,t,n||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(e)}function SQ(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&&dd(e,t)}function TQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:wQ(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(e,t)}function RQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function BQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YP=function(){return!!e})()}var on=function(e){SQ(t,e);function t(n){PQ(this,t);var o;return o=$Q(this,t,[n]),Nl(o,"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return EQ(t,[{key:"toDataBindModel",value:function(o){var r=Vl(nn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,l=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=l}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(F);Nl(on,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Nl(on,"controlFieldType",g.DEPARTMENTS),Nl(on,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.MULTIPLE,y.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function DQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AQ(e,t,n){return t=zl(t),xQ(e,nE()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function IQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kQ(e,t,n){return t&&tE(e.prototype,t),n&&tE(e,n),e}function eE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(e)}function FQ(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&&vd(e,t)}function xQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:DQ(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(e,t)}function MQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nE=function(){return!!e})()}var LQ=function(e){FQ(t,e);function t(n){IQ(this,t);var o;return o=AQ(this,t,[n]),eE(o,"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return kQ(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(x);eE(LQ,"controlFieldType",g.DEPARTMENTS);function jQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hd(e,t,n){return t=Hl(t),CQ(e,oE()?Reflect.construct(t,n||[],Hl(e).constructor):t.apply(e,n))}function bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(e)}function md(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&&gd(e,t)}function CQ(e,t){return t&&(NQ(t)==="object"||typeof t=="function")?t:jQ(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(e,t)}function NQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oE=function(){return!!e})()}var VQ=function(e){md(t,e);function t(n){bd(this,t);var o;return o=hd(this,t,[n]),V(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),V(o,"businessScope",{type:"any"}),Uo.call(o,n,Oo.controlCustomAttributes),n.businessType===se.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(J),zQ=function(e){md(t,e);function t(n){bd(this,t);var o;return o=hd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),ql=function(e){md(t,e);function t(n){bd(this,t);var o;o=hd(this,t,[n]),V(o,"showType",void 0),V(o,"range",void 0),V(o,"defaultValueType",void 0),V(o,"multiple",void 0),V(o,"rangeOptions",void 0),V(o,"defaultValue",void 0),V(o,"displayLevel",void 0),V(o,"showSubDept",void 0),V(o,"multistageFilling",void 0),V(o,"datasourceBind",void 0),V(o,"listPageBind",void 0),V(o,"datasourceType",void 0),V(o,"businessType",void 0),V(o,"businessScope",void 0),V(o,"organizingFunction",void 0),V(o,"organizationView",void 0),V(o,"openMultistageFilling",void 0),V(o,"showSelectedDetail",void 0),V(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all",o.listPageBind=new hf(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Oo.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7");var O;o.datasourceBind=new hx((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:Oo.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:mr.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:se.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new Of(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(z){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new st(z))})),o}return t}(k);V(ql,"Rules",VQ),V(ql,"RuntimeRules",zQ);function HQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qQ(e,t,n){return t=rn(t),GQ(e,iE()?Reflect.construct(t,n||[],rn(e).constructor):t.apply(e,n))}function UQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WQ(e,t,n){return t&&rE(e.prototype,t),n&&rE(e,n),e}function Od(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ul=Reflect.get:Ul=function(r,i,u){var l=XQ(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ul(e,t,n||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(e)}function KQ(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&&wd(e,t)}function GQ(e,t){return t&&(QQ(t)==="object"||typeof t=="function")?t:HQ(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wd(e,t)}function XQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function QQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iE=function(){return!!e})()}var Oo=function(e){KQ(t,e);function t(n){UQ(this,t);var o;return o=qQ(this,t,[n]),Od(o,"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return WQ(t,[{key:"toDataBindModel",value:function(o){var r=Ul(rn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,l=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=l}return r}}],[{key:"controlName",get:function(){return f("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(F);Od(Oo,"controlFieldType",g.DEPARTMENTS),Od(Oo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_HIDE_CAPTION,y.MULTIPLE,y.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function JQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZQ(e,t,n){return t=Wl(t),nJ(e,cE()?Reflect.construct(t,n||[],Wl(e).constructor):t.apply(e,n))}function YQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tJ(e,t,n){return t&&uE(e.prototype,t),n&&uE(e,n),e}function lE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(e)}function eJ(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&&$d(e,t)}function nJ(e,t){return t&&(oJ(t)==="object"||typeof t=="function")?t:JQ(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(e,t)}function oJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cE=function(){return!!e})()}var rJ=function(e){eJ(t,e);function t(n){YQ(this,t);var o;return o=ZQ(this,t,[n]),lE(o,"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return tJ(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(x);lE(rJ,"controlFieldType",g.DEPARTMENTS);function iJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pd(e,t,n){return t=Kl(t),uJ(e,aE()?Reflect.construct(t,n||[],Kl(e).constructor):t.apply(e,n))}function Ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(e)}function Sd(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&&Td(e,t)}function uJ(e,t){return t&&(lJ(t)==="object"||typeof t=="function")?t:iJ(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function lJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aE=function(){return!!e})()}var cJ=function(e){Sd(t,e);function t(n){Ed(this,t);var o;return o=Pd(this,t,[n]),o.dataBind={type:"any"},o}return t}(J),aJ=function(e){Sd(t,e);function t(n){Ed(this,t);var o;return o=Pd(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(j),Gl=function(e){Sd(t,e);function t(n){Ed(this,t);var o;o=Pd(this,t,[n]),un(o,"controlExportName",void 0),un(o,"permissions",void 0),un(o,"defaultValue",void 0),un(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Jl.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var c;return o.isInlineEdit=(c=n==null?void 0:n.isInlineEdit)!==null&&c!==void 0?c:!1,o}return t}(k);un(Gl,"Rules",cJ),un(Gl,"RuntimeRules",aJ);function fJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _J(e,t,n){return t=Ql(t),dJ(e,_E()?Reflect.construct(t,n||[],Ql(e).constructor):t.apply(e,n))}function yJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sJ(e,t,n){return t&&fE(e.prototype,t),n&&fE(e,n),e}function Xl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(e)}function pJ(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&&Rd(e,t)}function dJ(e,t){return t&&(vJ(t)==="object"||typeof t=="function")?t:fJ(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(e,t)}function vJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_E=function(){return!!e})()}var Jl=function(e){pJ(t,e);function t(n){yJ(this,t);var o;return o=_J(this,t,[n]),Xl(o,"props",void 0),o.props=new Gl(n==null?void 0:n.props),o}return sJ(t,null,[{key:"controlName",get:function(){return f("CMD.vuePage",null,"Vue\u9875\u9762")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return s.VUE_PAGE}}]),t}(F);Xl(Jl,"controlFieldType",g.ANY),Xl(Jl,"controlEventKeys",[]),Xl(Jl,"setting",[]);function hJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bJ(e,t,n){return t=Zl(t),wJ(e,pE()?Reflect.construct(t,n||[],Zl(e).constructor):t.apply(e,n))}function mJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gJ(e,t,n){return t&&yE(e.prototype,t),n&&yE(e,n),e}function sE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(e)}function OJ(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&&Bd(e,t)}function wJ(e,t){return t&&($J(t)==="object"||typeof t=="function")?t:hJ(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bd(e,t)}function $J(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pE=function(){return!!e})()}var PJ=function(e){OJ(t,e);function t(n){mJ(this,t);var o;return o=bJ(this,t,[n]),sE(o,"props",void 0),o.props=new Gl(n==null?void 0:n.props),o}return gJ(t,null,[{key:"controlType",get:function(){return s.VUE_PAGE}}]),t}(x);sE(PJ,"controlFieldType",g.ANY);function EJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SJ(e,t,n){return t=Yl(t),AJ(e,vE()?Reflect.construct(t,n||[],Yl(e).constructor):t.apply(e,n))}function TJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RJ(e,t,n){return t&&dE(e.prototype,t),n&&dE(e,n),e}function BJ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(e)}function DJ(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&&Dd(e,t)}function AJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:EJ(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(e,t)}function IJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vE=function(){return!!e})()}var kJ=function(e){DJ(t,e);function t(n){return TJ(this,t),SJ(this,t,[n])}return RJ(t,null,[{key:"controlName",get:function(){return f("CMD.grid",null,"\u753B\u5E03")}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),t}(Y);BJ(kJ,"excludes",[s.GRID]);function FJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xJ(e,t,n){return t=tc(t),jJ(e,bE()?Reflect.construct(t,n||[],tc(e).constructor):t.apply(e,n))}function MJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(e)}function LJ(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&&Ad(e,t)}function jJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:FJ(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(e,t)}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bE=function(){return!!e})()}var NJ=24,wo=function(e){LJ(t,e);function t(n){MJ(this,t);var o;o=xJ(this,t,[n]),hE(o,"span",void 0),hE(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:NJ;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(Z);function VJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zJ(e,t,n){return t=ec(t),WJ(e,gE()?Reflect.construct(t,n||[],ec(e).constructor):t.apply(e,n))}function HJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qJ(e,t,n){return t&&mE(e.prototype,t),n&&mE(e,n),e}function Id(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(e)}function UJ(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&&kd(e,t)}function WJ(e,t){return t&&(KJ(t)==="object"||typeof t=="function")?t:VJ(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function KJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gE=function(){return!!e})()}var $o=function(e){UJ(t,e);function t(n){HJ(this,t);var o;return o=zJ(this,t,[n]),Id(o,"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return qJ(t,null,[{key:"controlName",get:function(){return f("CMD.col",null,"\u6805\u683C\u5217")}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),t}(Y);Id($o,"excludes",[s.COL,s.SUBTABLE,s.SUBTABLE_COLUMN,s.GRID_LAYOUT_CONTAINER,s.DIVIDER]),Id($o,"childrenMaxLength",1);function GJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XJ(e,t,n){return t=nc(t),tZ(e,wE()?Reflect.construct(t,n||[],nc(e).constructor):t.apply(e,n))}function QJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function JJ(e,t,n){return t&&OE(e.prototype,t),n&&OE(e,n),e}function ZJ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(e)}function YJ(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&&Fd(e,t)}function tZ(e,t){return t&&(eZ(t)==="object"||typeof t=="function")?t:GJ(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(e,t)}function eZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wE=function(){return!!e})()}var nZ=function(e){YJ(t,e);function t(n){QJ(this,t);var o;return o=XJ(this,t,[n]),ZJ(o,"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return JJ(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(Pe),$E={Designer:$o,Runtime:nZ,Property:wo};function oZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rZ(e,t,n){return t=oc(t),lZ(e,EE()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function iZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(e)}function uZ(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&&xd(e,t)}function lZ(e,t){return t&&(cZ(t)==="object"||typeof t=="function")?t:oZ(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(e,t)}function cZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EE=function(){return!!e})()}var Md=function(e){uZ(t,e);function t(n){iZ(this,t);var o;o=rZ(this,t,[n]),PE(o,"layoutMode",void 0),PE(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return t}(Z);function aZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fZ(e,t,n){return t=rc(t),pZ(e,TE()?Reflect.construct(t,n||[],rc(e).constructor):t.apply(e,n))}function _Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yZ(e,t,n){return t&&SE(e.prototype,t),n&&SE(e,n),e}function Ld(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(e)}function sZ(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&&jd(e,t)}function pZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:aZ(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function dZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TE=function(){return!!e})()}var Cd=function(e){sZ(t,e);function t(n){_Z(this,t);var o;return o=fZ(this,t,[n]),Ld(o,"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return yZ(t,null,[{key:"controlName",get:function(){return f("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Y);Ld(Cd,"excludes",[s.ROW]),Ld(Cd,"setting",[{key:"col-setting",visible:!0}]);function vZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hZ(e,t,n){return t=ic(t),wZ(e,BE()?Reflect.construct(t,n||[],ic(e).constructor):t.apply(e,n))}function bZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mZ(e,t,n){return t&&RE(e.prototype,t),n&&RE(e,n),e}function gZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(e)}function OZ(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&&Nd(e,t)}function wZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:vZ(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(e,t)}function $Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BE=function(){return!!e})()}var PZ=function(e){OZ(t,e);function t(n){bZ(this,t);var o;return o=hZ(this,t,[n]),gZ(o,"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return mZ(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(Pe);function EZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SZ(e,t,n){return t=uc(t),DZ(e,AE()?Reflect.construct(t,n||[],uc(e).constructor):t.apply(e,n))}function TZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function RZ(e,t,n){return t&&DE(e.prototype,t),n&&DE(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}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(e)}function BZ(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&&zd(e,t)}function DZ(e,t){return t&&(AZ(t)==="object"||typeof t=="function")?t:EZ(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(e,t)}function AZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AE=function(){return!!e})()}var IZ=4,lc=function(e){BZ(t,e);function t(n){return TZ(this,t),SZ(this,t,[n])}return RZ(t,null,[{key:"controlName",get:function(){return f("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),t}(Cd);Vd(lc,"excludes",[s.GRID_ROW]),Vd(lc,"setting",[]),Vd(lc,"childrenMaxLength",IZ);function kZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(e,t,n){return t=cc(t),jZ(e,kE()?Reflect.construct(t,n||[],cc(e).constructor):t.apply(e,n))}function xZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MZ(e,t,n){return t&&IE(e.prototype,t),n&&IE(e,n),e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(e)}function LZ(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&&Hd(e,t)}function jZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:kZ(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(e,t)}function CZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kE=function(){return!!e})()}var NZ=function(e){LZ(t,e);function t(n){return xZ(this,t),FZ(this,t,[n])}return MZ(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(PZ);function VZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t,n){return t=ac(t),UZ(e,FE()?Reflect.construct(t,n||[],ac(e).constructor):t.apply(e,n))}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(e)}function qZ(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&&qd(e,t)}function UZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:VZ(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function WZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FE=function(){return!!e})()}var KZ=function(e){qZ(t,e);function t(n){return HZ(this,t),zZ(this,t,[n])}return t}(Md),GZ={Designer:lc,Runtime:NZ,Property:KZ};function XZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xE(e,t,n){return t=fc(t),QZ(e,jE()?Reflect.construct(t,n||[],fc(e).constructor):t.apply(e,n))}function ME(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(e)}function LE(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&&Ud(e,t)}function QZ(e,t){return t&&(JZ(t)==="object"||typeof t=="function")?t:XZ(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function JZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jE=function(){return!!e})()}var ZZ=function(e){LE(t,e);function t(){ME(this,t);var n;return n=xE(this,t,arguments),Po(n,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),n}return t}(Z.Rules),CE=function(e){LE(t,e);function t(n){ME(this,t);var o;o=xE(this,t,[n]),Po(o,"caption",void 0),Po(o,"isHideCaption",void 0),Po(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:f("CMD.cardGroup",null,"\u5206\u7EC4");var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return t}(Z);Po(CE,"Rules",ZZ);function YZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tY(e,t,n){return t=_c(t),rY(e,VE()?Reflect.construct(t,n||[],_c(e).constructor):t.apply(e,n))}function eY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nY(e,t,n){return t&&NE(e.prototype,t),n&&NE(e,n),e}function Wd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(e)}function oY(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&&Kd(e,t)}function rY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:YZ(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(e,t)}function iY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VE=function(){return!!e})()}var zE=function(e){oY(t,e);function t(n){eY(this,t);var o;return o=tY(this,t,[n]),Wd(o,"props",void 0),o.props=new CE(n==null?void 0:n.props),o}return nY(t,null,[{key:"controlName",get:function(){return f("CMD.cardGroup",null,"\u5206\u7EC4")}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),t}(Y);Wd(zE,"setting",[{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Wd(zE,"excludes",[s.CARD_GROUP]);function uY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HE(e,t,n){return t=yc(t),lY(e,WE()?Reflect.construct(t,n||[],yc(e).constructor):t.apply(e,n))}function qE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(e)}function UE(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&&Gd(e,t)}function lY(e,t){return t&&(cY(t)==="object"||typeof t=="function")?t:uY(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(e,t)}function cY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WE=function(){return!!e})()}var aY=function(e){UE(t,e);function t(n){qE(this,t);var o;return o=HE(this,t,[n]),Ht(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ht(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),Ht(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),sc=function(e){UE(t,e);function t(n){qE(this,t);var o;o=HE(this,t,[n]),Ht(o,"metaAutoWidth",void 0),Ht(o,"caption",void 0),Ht(o,"fixed",void 0),Ht(o,"isShowCaptionTip",void 0),Ht(o,"captionTip",void 0),Ht(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var c;return o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1,o.metaAutoWidth=new J0(n==null?void 0:n.metaAutoWidth),o}return t}(Z);Ht(sc,"Rules",aY);function fY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Y(e,t,n){return t=pc(t),pY(e,KE()?Reflect.construct(t,n||[],pc(e).constructor):t.apply(e,n))}function yY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(e)}function sY(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&&Xd(e,t)}function pY(e,t){return t&&(dY(t)==="object"||typeof t=="function")?t:fY(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(e,t)}function dY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KE=function(){return!!e})()}var Lt=function(e){sY(t,e);function t(n){yY(this,t);var o;return o=_Y(this,t,[n]),Se(o,"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return t}(Y);Se(Lt,"controlName",f("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C")),Se(Lt,"controlType","subtable-column"),Se(Lt,"controlIcon","subtable-column"),Se(Lt,"childrenMaxLength",1),Se(Lt,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT,s.GRID_LAYOUT_CONTAINER]),Se(Lt,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"common-setting",showItems:[y.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function vY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hY(e,t,n){return t=dc(t),gY(e,XE()?Reflect.construct(t,n||[],dc(e).constructor):t.apply(e,n))}function bY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(e)}function mY(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&&Qd(e,t)}function gY(e,t){return t&&(OY(t)==="object"||typeof t=="function")?t:vY(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qd(e,t)}function OY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XE=function(){return!!e})()}var QE=function(e){mY(t,e);function t(n){bY(this,t);var o;return o=hY(this,t,[n]),GE(o,"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return t}(Pe);GE(QE,"controlType","subtable-column");var wY={Designer:Lt,Runtime:QE,Property:sc};function $Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PY(e,t,n){return t=vc(t),TY(e,JE()?Reflect.construct(t,n||[],vc(e).constructor):t.apply(e,n))}function EY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function SY(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&&Jd(e,t)}function TY(e,t){return t&&(RY(t)==="object"||typeof t=="function")?t:$Y(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function RY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JE=function(){return!!e})()}var BY=function(e){SY(t,e);function t(n){return EY(this,t),PY(this,t,[n])}return t}(Z);function DY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AY(e,t,n){return t=hc(t),FY(e,ZE()?Reflect.construct(t,n||[],hc(e).constructor):t.apply(e,n))}function IY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hc(e)}function kY(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&&Zd(e,t)}function FY(e,t){return t&&(xY(t)==="object"||typeof t=="function")?t:DY(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(e,t)}function xY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZE=function(){return!!e})()}var ln=function(e){kY(t,e);function t(n){IY(this,t);var o;return o=AY(this,t,[n]),Te(o,"props",void 0),o.props=new BY(n==null?void 0:n.props),o}return t}(Y);Te(ln,"controlName",f("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C")),Te(ln,"controlType","subtable-row"),Te(ln,"controlIcon","subtable-row"),Te(ln,"childrenMaxLength",1),Te(ln,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.SUBTABLE_ROW,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Te(ln,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0}]);function MY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t,n){return t=bc(t),NY(e,YE()?Reflect.construct(t,n||[],bc(e).constructor):t.apply(e,n))}function jY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(e)}function CY(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&&Yd(e,t)}function NY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:MY(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function VY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YE=function(){return!!e})()}var tS=function(e){CY(t,e);function t(n){jY(this,t);var o;o=LY(this,t,[n]),Tt(o,"widthType",void 0),Tt(o,"width",void 0),Tt(o,"caption",void 0),Tt(o,"fieldCode",void 0),Tt(o,"fieldType",void 0),Tt(o,"fieldName",void 0),Tt(o,"datasourceBind",void 0),Tt(o,"fixed",void 0),Tt(o,"textCleanFormart",void 0),Tt(o,"decimalKeepPrecision",void 0),Tt(o,"timestampDateType",void 0),Tt(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var c;o.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:g.VARCHAR;var a;o.fieldName=(a=n==null?void 0:n.fieldName)!==null&&a!==void 0?a:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:ie.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return t}(Z);function zY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HY(e,t,n){return t=mc(t),WY(e,eS()?Reflect.construct(t,n||[],mc(e).constructor):t.apply(e,n))}function qY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(e)}function UY(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&&tv(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:zY(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function KY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eS=function(){return!!e})()}var cn=function(e){UY(t,e);function t(n){qY(this,t);var o;return o=HY(this,t,[n]),Re(o,"props",void 0),o.props=new tS(n==null?void 0:n.props),o}return t}(Y);Re(cn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Re(cn,"controlType","gridtable-column"),Re(cn,"controlIcon","gridtable-column"),Re(cn,"childrenMaxLength",1),Re(cn,"excludes",[s.GRID_TABLE,s.GRID_TABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Re(cn,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function GY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XY(e,t,n){return t=gc(t),ZY(e,oS()?Reflect.construct(t,n||[],gc(e).constructor):t.apply(e,n))}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gc(e)}function JY(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&&ev(e,t)}function ZY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:GY(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(e,t)}function YY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oS=function(){return!!e})()}var ttt=function(e){JY(t,e);function t(n){QY(this,t);var o;return o=XY(this,t,[n]),nS(o,"props",void 0),o.props=new tS(n==null?void 0:n.props),o}return t}(Pe);nS(ttt,"controlType","gridtable-column");function ett(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ntt(e,t,n){return t=Oc(t),itt(e,iS()?Reflect.construct(t,n||[],Oc(e).constructor):t.apply(e,n))}function ott(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(e)}function rtt(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&&nv(e,t)}function itt(e,t){return t&&(utt(t)==="object"||typeof t=="function")?t:ett(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function utt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iS=function(){return!!e})()}var ltt=function(e){rtt(t,e);function t(n){ott(this,t);var o;o=ntt(this,t,[n]),rS(o,"childMinWidth",void 0),rS(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return t}(Z);function ctt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function att(e,t,n){return t=wc(t),stt(e,lS()?Reflect.construct(t,n||[],wc(e).constructor):t.apply(e,n))}function ftt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _tt(e,t,n){return t&&uS(e.prototype,t),n&&uS(e,n),e}function ov(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function ytt(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&&rv(e,t)}function stt(e,t){return t&&(ptt(t)==="object"||typeof t=="function")?t:ctt(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(e,t)}function ptt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lS=function(){return!!e})()}var cS=function(e){ytt(t,e);function t(n){ftt(this,t);var o;return o=att(this,t,[n]),ov(o,"props",void 0),o.props=new ltt(n==null?void 0:n.props),o}return _tt(t,null,[{key:"controlName",get:function(){return f("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),t}(Y);ov(cS,"excludes",[s.GRID_LAYOUT_CONTAINER,s.CARD_GROUP,s.TAB]),ov(cS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function dtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vtt(e,t,n){return t=$c(t),gtt(e,aS()?Reflect.construct(t,n||[],$c(e).constructor):t.apply(e,n))}function htt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function btt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function mtt(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&&iv(e,t)}function gtt(e,t){return t&&(Ott(t)==="object"||typeof t=="function")?t:dtt(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function Ott(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aS=function(){return!!e})()}var wtt=function(e){mtt(t,e);function t(n){htt(this,t);var o;o=vtt(this,t,[n]),btt(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return t}(Z);function $tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fS(e,t,n){return t=Pc(t),Ptt(e,sS()?Reflect.construct(t,n||[],Pc(e).constructor):t.apply(e,n))}function _S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(e)}function yS(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&&lv(e,t)}function Ptt(e,t){return t&&(Ett(t)==="object"||typeof t=="function")?t:$tt(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(e,t)}function Ett(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sS=function(){return!!e})()}var Stt=function(e){yS(t,e);function t(n){_S(this,t);var o;return o=fS(this,t,[n]),uv(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),o}return t}(W),pS=function(e){yS(t,e);function t(n){_S(this,t);var o;o=fS(this,t,[n]),uv(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Bc.controlName,o}return t}(Z);uv(pS,"Rules",Stt);function Ttt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rtt(e,t,n){return t=Ec(t),Itt(e,vS()?Reflect.construct(t,n||[],Ec(e).constructor):t.apply(e,n))}function Btt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Dtt(e,t,n){return t&&dS(e.prototype,t),n&&dS(e,n),e}function cv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(e)}function Att(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&&av(e,t)}function Itt(e,t){return t&&(ktt(t)==="object"||typeof t=="function")?t:Ttt(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function ktt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vS=function(){return!!e})()}var Sc=function(e){Att(t,e);function t(n){Btt(this,t);var o;return o=Rtt(this,t,[n]),cv(o,"props",void 0),o.props=new pS(n==null?void 0:n.props),o}return Dtt(t,null,[{key:"controlName",get:function(){return f("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),t}(Y);cv(Sc,"excludes",[s.TAB]),cv(Sc,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"super-setting",visible:!0}]);function Ftt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xtt(e,t,n){return t=Rc(t),Ctt(e,bS()?Reflect.construct(t,n||[],Rc(e).constructor):t.apply(e,n))}function Mtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ltt(e,t,n){return t&&hS(e.prototype,t),n&&hS(e,n),e}function Tc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(e)}function jtt(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&&fv(e,t)}function Ctt(e,t){return t&&(Ntt(t)==="object"||typeof t=="function")?t:Ftt(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(e,t)}function Ntt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bS=function(){return!!e})()}var Bc=function(e){jtt(t,e);function t(n){Mtt(this,t);var o;o=xtt(this,t,[n]),Tc(o,"props",void 0),o.props=new wtt(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new Sc,new Sc],o}return Ltt(t,null,[{key:"controlName",get:function(){return f("CMD.tab",null,"\u6807\u7B7E\u9875")}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),t}(Y);Tc(Bc,"excludes",[s.TAB]),Tc(Bc,"controlEventKeys",["on_change_tab"]),Tc(Bc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Vtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ztt(e,t,n){return t=Dc(t),Utt(e,mS()?Reflect.construct(t,n||[],Dc(e).constructor):t.apply(e,n))}function Htt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function qtt(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&&_v(e,t)}function Utt(e,t){return t&&(Wtt(t)==="object"||typeof t=="function")?t:Vtt(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(e,t)}function Wtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mS=function(){return!!e})()}var Ktt=function(e){qtt(t,e);function t(n){return Htt(this,t),ztt(this,t,[n])}return t}(Z);function Gtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xtt(e,t,n){return t=Ac(t),Ytt(e,wS()?Reflect.construct(t,n||[],Ac(e).constructor):t.apply(e,n))}function Qtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Jtt(e,t,n){return t&&gS(e.prototype,t),n&&gS(e,n),e}function OS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ac(e)}function Ztt(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&&yv(e,t)}function Ytt(e,t){return t&&(tet(t)==="object"||typeof t=="function")?t:Gtt(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function tet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wS=function(){return!!e})()}var eet=function(e){Ztt(t,e);function t(n){Qtt(this,t);var o;return o=Xtt(this,t,[n]),OS(o,"props",void 0),o.props=new Ktt({}),o.children=(n==null?void 0:n.children)||[new $o({props:new wo({span:12})}),new $o({props:new wo({span:12})})],o}return Jtt(t,null,[{key:"controlName",get:function(){return f("CMD.toolbox",null,"\u5DE5\u5177\u680F")}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),t}(Y);OS(eet,"excludes",[s.GRID_ROW,s.ROW,s.GRID,s.SUBTABLE,s.TAB,s.TOOLBOX]);function net(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t,n){return t=Ic(t),oet(e,$S()?Reflect.construct(t,n||[],Ic(e).constructor):t.apply(e,n))}function pv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(e)}function dv(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&&vv(e,t)}function oet(e,t){return t&&(ret(t)==="object"||typeof t=="function")?t:net(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(e,t)}function ret(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($S=function(){return!!e})()}var PS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(PS||(PS={}));var iet=function(e){dv(t,e);function t(n){pv(this,t);var o;return o=sv(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}($e),uet=function(e){dv(t,e);function t(n){pv(this,t);var o;if(o=sv(this,t,[n]),H(o,"triggerFieldCode",{type:"any"}),H(o,"datasourceBind",{type:"any"}),H(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:f("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:f("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),jf.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return t}(W),Eo=function(e){dv(t,e);function t(n){pv(this,t);var o;o=sv(this,t,[n]),H(o,"datasourceBind",void 0),H(o,"isLoading",void 0),H(o,"isShowSubList",void 0),H(o,"triggerType",void 0),H(o,"triggerFieldCode",void 0),H(o,"sublistPage",void 0),H(o,"isShowJoinRelation",void 0),H(o,"joinRelation",void 0),H(o,"showType",void 0),H(o,"showFullScreen",void 0),H(o,"isFixedHeader",void 0),H(o,"selectionType",void 0),H(o,"isShowSelection",void 0),H(o,"isAllLoaded",void 0),H(o,"countType",void 0),H(o,"countLimit",void 0),H(o,"rowStyle",void 0),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var r;o.isLoading=(r=n==null?void 0:n.isLoading)!==null&&r!==void 0?r:!1;var i;o.isShowSubList=(i=n==null?void 0:n.isShowSubList)!==null&&i!==void 0?i:!1;var u;o.triggerType=(u=n==null?void 0:n.triggerType)!==null&&u!==void 0?u:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new sx(n==null?void 0:n.sublistPage);var c;o.isShowJoinRelation=(c=n==null?void 0:n.isShowJoinRelation)!==null&&c!==void 0?c:!1,o.joinRelation=new dx(n==null?void 0:n.joinRelation);var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var p;o.selectionType=(p=n==null?void 0:n.selectionType)!==null&&p!==void 0?p:"multiple";var d;o.isFixedHeader=(d=n==null?void 0:n.isFixedHeader)!==null&&d!==void 0?d:!1;var b;o.isShowSelection=(b=n==null?void 0:n.isShowSelection)!==null&&b!==void 0?b:!1;var O;o.isAllLoaded=(O=n==null?void 0:n.isAllLoaded)!==null&&O!==void 0?O:!0,o.countType=n==null?void 0:n.countType;var m;return o.countLimit=(m=n==null?void 0:n.countLimit)!==null&&m!==void 0?m:1e5,o.rowStyle=new Ax(n==null?void 0:n.rowStyle),o}return t}(Z);H(Eo,"Rules",uet),H(Eo,"RuntimeRules",iet);function cet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aet(e,t,n){return t=kc(t),set(e,SS()?Reflect.construct(t,n||[],kc(e).constructor):t.apply(e,n))}function fet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ES(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _et(e,t,n){return t&&ES(e.prototype,t),n&&ES(e,n),e}function So(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kc(e)}function yet(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&&hv(e,t)}function set(e,t){return t&&(pet(t)==="object"||typeof t=="function")?t:cet(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hv(e,t)}function pet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SS=function(){return!!e})()}var To=function(e){yet(t,e);function t(n){fet(this,t);var o;return o=aet(this,t,[n]),So(o,"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return _et(t,null,[{key:"controlName",get:function(){return f("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Y);So(To,"slotPosition",{left:"list-view-left-slot"}),So(To,"excludes",[s.ROW]),So(To,"controlEventKeys",["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"]),So(To,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function det(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vet(e,t,n){return t=Fc(t),Oet(e,RS()?Reflect.construct(t,n||[],Fc(e).constructor):t.apply(e,n))}function het(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bet(e,t,n){return t&&TS(e.prototype,t),n&&TS(e,n),e}function met(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fc(e)}function get(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&&bv(e,t)}function Oet(e,t){return t&&(wet(t)==="object"||typeof t=="function")?t:det(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(e,t)}function wet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RS=function(){return!!e})()}var $et=function(e){get(t,e);function t(n){het(this,t);var o;return o=vet(this,t,[n]),met(o,"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return bet(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(Pe),Pet={Designer:To,Runtime:$et,Property:Eo};function Eet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BS(e,t,n){return t=xc(t),Tet(e,IS()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function DS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(e)}function AS(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&&mv(e,t)}function Tet(e,t){return t&&(Ret(t)==="object"||typeof t=="function")?t:Eet(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mv(e,t)}function Ret(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IS=function(){return!!e})()}var Bet=function(e){AS(t,e);function t(n){DS(this,t);var o;return o=BS(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}($e),Mc=function(e){AS(t,e);function t(n){DS(this,t);var o;o=BS(this,t,[n]),be(o,"save",void 0),be(o,"cancel",void 0),be(o,"saveAs",void 0),be(o,"print",void 0),be(o,"custom",void 0),be(o,"isLoading",void 0),be(o,"datasourceBind",void 0);var r;o.save=new le((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:f("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1});var i;o.cancel=new le((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:f("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1});var u;o.saveAs=new le((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:f("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1});var l;o.print=new le((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:f("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1});var c;o.custom=((c=n==null?void 0:n.custom)!==null&&c!==void 0?c:[]).map(function(_){return new le(_)});var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return t}(Z);be(Mc,"RuntimeRules",Bet);function Det(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aet(e,t,n){return t=Lc(t),xet(e,xS()?Reflect.construct(t,n||[],Lc(e).constructor):t.apply(e,n))}function Iet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ket(e,t,n){return t&&kS(e.prototype,t),n&&kS(e,n),e}function FS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(e)}function Fet(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&&gv(e,t)}function xet(e,t){return t&&(Met(t)==="object"||typeof t=="function")?t:Det(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function Met(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xS=function(){return!!e})()}var MS=function(e){Fet(t,e);function t(n){Iet(this,t);var o;return o=Aet(this,t,[n]),FS(o,"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return ket(t,null,[{key:"controlName",get:function(){return f("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}},{key:"controlType",get:function(){return"data-view"}}]),t}(Y);FS(MS,"excludes",[]);function Let(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jet(e,t,n){return t=jc(t),Het(e,jS()?Reflect.construct(t,n||[],jc(e).constructor):t.apply(e,n))}function Cet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Net(e,t,n){return t&&LS(e.prototype,t),n&&LS(e,n),e}function Vet(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(e)}function zet(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&&Ov(e,t)}function Het(e,t){return t&&(qet(t)==="object"||typeof t=="function")?t:Let(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ov(e,t)}function qet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jS=function(){return!!e})()}var Uet=function(e){zet(t,e);function t(n){Cet(this,t);var o;return o=jet(this,t,[n]),Vet(o,"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return Net(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(Pe),Wet={Designer:MS,Runtime:Uet,Property:Mc};function Ket(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Get(e,t,n){return t=Cc(t),Jet(e,CS()?Reflect.construct(t,n||[],Cc(e).constructor):t.apply(e,n))}function Xet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(e)}function Qet(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&&$v(e,t)}function Jet(e,t){return t&&(Zet(t)==="object"||typeof t=="function")?t:Ket(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function Zet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CS=function(){return!!e})()}var Yet=function(e){Qet(t,e);function t(n){Xet(this,t);var o;o=Get(this,t,[n]),wv(o,"position",void 0),wv(o,"opacity",void 0),wv(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return t}(Z);function tnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ent(e,t,n){return t=Vc(t),int(e,VS()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function nnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ont(e,t,n){return t&&NS(e.prototype,t),n&&NS(e,n),e}function Nc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function rnt(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&&Pv(e,t)}function int(e,t){return t&&(unt(t)==="object"||typeof t=="function")?t:tnt(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(e,t)}function unt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VS=function(){return!!e})()}var Ev=function(e){rnt(t,e);function t(n){nnt(this,t);var o;o=ent(this,t,[n]),Nc(o,"props",void 0);var r;return o.props=new Yet((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return ont(t,null,[{key:"controlName",get:function(){return f("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),t}(Y);Nc(Ev,"slotPosition",{default:"action-bar-slot"}),Nc(Ev,"excludes",[]),Nc(Ev,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"super-setting",visible:!0}]);function lnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sv(e,t,n){return t=zc(t),cnt(e,zS()?Reflect.construct(t,n||[],zc(e).constructor):t.apply(e,n))}function Tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(e)}function Rv(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&&Bv(e,t)}function cnt(e,t){return t&&(ant(t)==="object"||typeof t=="function")?t:lnt(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(e,t)}function ant(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zS=function(){return!!e})()}var fnt=function(e){Rv(t,e);function t(n){Tv(this,t);var o;return o=Sv(this,t,[n]),B(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),B(o,"limitRows",[{type:"number",required:!0,message:f("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:f("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}]),B(o,"formKey",{type:"string",required:!1,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),B(o,"maxHeight",{type:"number",required:!0,message:f("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")}),B(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),B(o,"mobileRowCaption",{type:"string",required:!1,message:f("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return t}(W),_nt=function(e){Rv(t,e);function t(n){Tv(this,t);var o;return o=Sv(this,t,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")},{type:"array",validator:function(i,u,l){u.length<n.limitRows&&l(f("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),l()},message:f("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")}),o}return t}($e),Dv=function(e){Rv(t,e);function t(n,o){Tv(this,t);var r;r=Sv(this,t,[n,o,t.mode]),B(r,"caption",void 0),B(r,"labelPosition",void 0),B(r,"isHideCaption",void 0),B(r,"isShowCaptionTip",void 0),B(r,"captionTip",void 0),B(r,"defaultState",void 0),B(r,"limitRows",void 0),B(r,"maxRows",void 0),B(r,"defaultRows",void 0),B(r,"datasourceBind",void 0),B(r,"printMode",void 0),B(r,"openType",void 0),B(r,"formKey",void 0),B(r,"useCustomHeight",void 0),B(r,"maxHeight",void 0),B(r,"canAdd",void 0),B(r,"canDelete",void 0),B(r,"canCheck",void 0),B(r,"canEdit",void 0),B(r,"canImport",void 0),B(r,"importConfig",void 0),B(r,"canExport",void 0),B(r,"exportConfig",void 0),B(r,"canClear",void 0),B(r,"isPaste",void 0),B(r,"mobileShowType",void 0),B(r,"mobileDefaultNum",void 0),B(r,"dataStorageDoc",void 0),B(r,"serverPagination",void 0),B(r,"fixedColumn",void 0),B(r,"mobileRowCaption",void 0),B(r,"mobileIsTile",void 0),B(r,"sortable",void 0),B(r,"sortKey",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:Uc.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var l;r.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var c;r.labelPosition=(c=o==null?void 0:o.labelPosition)!==null&&c!==void 0?c:"top";var a;r.openType=(a=o==null?void 0:o.openType)!==null&&a!==void 0?a:"default";var _;r.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;r.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:gj;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var m;r.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new X(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var P;r.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var S;r.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var T;r.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var z;r.canExport=(z=o==null?void 0:o.canExport)!==null&&z!==void 0?z:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ct;r.serverPagination=(ct=o==null?void 0:o.serverPagination)!==null&&ct!==void 0?ct:!1;var D;r.isShowCaptionTip=(D=o==null?void 0:o.isShowCaptionTip)!==null&&D!==void 0?D:!1;var qt;r.captionTip=(qt=o==null?void 0:o.captionTip)!==null&&qt!==void 0?qt:"";var xo;r.mobileShowType=(xo=o==null?void 0:o.mobileShowType)!==null&&xo!==void 0?xo:"list";var Un;r.mobileDefaultNum=(Un=o==null?void 0:o.mobileDefaultNum)!==null&&Un!==void 0?Un:10;var ke;r.dataStorageDoc=(ke=o==null?void 0:o.dataStorageDoc)!==null&&ke!==void 0?ke:new ax;var Ut;r.fixedColumn=(Ut=o==null?void 0:o.fixedColumn)!==null&&Ut!==void 0?Ut:[];var d0;r.mobileRowCaption=(d0=o==null?void 0:o.mobileRowCaption)!==null&&d0!==void 0?d0:f("CMD.detailed",null,"\u660E\u7EC6");var v0;r.mobileIsTile=(v0=o==null?void 0:o.mobileIsTile)!==null&&v0!==void 0?v0:!1;var h0;r.isPaste=(h0=o==null?void 0:o.isPaste)!==null&&h0!==void 0?h0:!1;var b0;r.pageSize=(b0=o==null?void 0:o.pageSize)!==null&&b0!==void 0?b0:10;var m0;r.pageSizeOptions=(m0=o==null?void 0:o.pageSizeOptions)!==null&&m0!==void 0?m0:[10,20,50,100],r.importConfig=new bj(o==null?void 0:o.importConfig),r.exportConfig=new mj(o==null?void 0:o.exportConfig);var g0;r.sortable=(g0=o==null?void 0:o.sortable)!==null&&g0!==void 0?g0:!1;var O0;return r.sortKey=(O0=o==null?void 0:o.sortKey)!==null&&O0!==void 0?O0:{},r}return t}(Xf);B(Dv,"Rules",fnt),B(Dv,"RuntimeRules",_nt);function ynt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function snt(e,t,n){return t=qc(t),hnt(e,qS()?Reflect.construct(t,n||[],qc(e).constructor):t.apply(e,n))}function pnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dnt(e,t,n){return t&&HS(e.prototype,t),n&&HS(e,n),e}function Hc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(e)}function vnt(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&&Av(e,t)}function hnt(e,t){return t&&(bnt(t)==="object"||typeof t=="function")?t:ynt(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Av(e,t)}function bnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qS=function(){return!!e})()}var Uc=function(e){vnt(t,e);function t(n){pnt(this,t);var o,r;return o=snt(this,t,[n]),Hc(o,"props",void 0),o.props=new Dv(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new Lt,new Lt,new Lt]),o}return dnt(t,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Lt,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return f("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),t}(Zf);Hc(Uc,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Hc(Uc,"slotPosition",{toolbar:"subtable-toolbar-slot"}),Hc(Uc,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE,y.IS_SHOW_CAPTION_TIP,y.IS_PASTE,y.SERVER_PAGINATION,y.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function mnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gnt(e,t,n){return t=Wc(t),$nt(e,US()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function Ont(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(e)}function wnt(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&&Iv(e,t)}function $nt(e,t){return t&&(Pnt(t)==="object"||typeof t=="function")?t:mnt(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(e,t)}function Pnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function US(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(US=function(){return!!e})()}var Ent=function(e){wnt(t,e);function t(n,o){Ont(this,t);var r;r=gnt(this,t,[n,o]),Ro(r,"isFixedHeader",void 0),Ro(r,"selectionType",void 0),Ro(r,"isShowToolbar",void 0),Ro(r,"isShowSelection",void 0),Ro(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var l;r.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var c;r.isShowCustomColumns=(c=o==null?void 0:o.isShowCustomColumns)!==null&&c!==void 0?c:!0;var a;return r.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[10,20,50,100,500],r}return t}(Xf);function Snt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t,n){return t=Kc(t),Rnt(e,XS()?Reflect.construct(t,n||[],Kc(e).constructor):t.apply(e,n))}function KS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tnt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(e)}function GS(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&&kv(e,t)}function Rnt(e,t){return t&&(Bnt(t)==="object"||typeof t=="function")?t:Snt(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(e,t)}function Bnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XS=function(){return!!e})()}var Dnt=function(e){GS(t,e);function t(n){KS(this,t);var o;return o=WS(this,t,[n]),o.caption.required=!1,o}return t}(Vt),Fv=function(e){GS(t,e);function t(n){KS(this,t);var o,r,i;o=WS(this,t,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:an.controlName;var c;o.width=(c=n==null?void 0:n.width)!==null&&c!==void 0?c:60;var a;o.autoWidth.minWidth=(a=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&a!==void 0?a:60;var _;o.autoWidth.flex=(_=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return t}(U);Tnt(Fv,"Rules",Dnt);function Ant(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Int(e,t,n){return t=Gc(t),xnt(e,QS()?Reflect.construct(t,n||[],Gc(e).constructor):t.apply(e,n))}function knt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(e)}function Fnt(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&&xv(e,t)}function xnt(e,t){return t&&(Mnt(t)==="object"||typeof t=="function")?t:Ant(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function Mnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QS=function(){return!!e})()}var an=function(e){Fnt(t,e);function t(n){knt(this,t);var o;return o=Int(this,t,[n]),Bo(o,"props",void 0),o.props=new Fv(n==null?void 0:n.props),o}return t}(et);Bo(an,"controlType","order-column"),Bo(an,"controlName",f("CMD.order",null,"\u5E8F\u53F7")),Bo(an,"controlIcon","order-column"),Bo(an,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function Lnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jnt(e,t,n){return t=Xc(t),Vnt(e,JS()?Reflect.construct(t,n||[],Xc(e).constructor):t.apply(e,n))}function Cnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(e)}function Nnt(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&&Lv(e,t)}function Vnt(e,t){return t&&(znt(t)==="object"||typeof t=="function")?t:Lnt(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(e,t)}function znt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JS=function(){return!!e})()}var ZS=function(e){Nnt(t,e);function t(n){Cnt(this,t);var o;return o=jnt(this,t,[n]),Mv(o,"props",void 0),o.props=new Fv(n==null?void 0:n.props),o}return t}(nt);Mv(ZS,"controlType","order-column"),Mv(ZS,"controlFieldType",g.DECIMAL);function Hnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qnt(e,t,n){return t=Qc(t),Knt(e,tT()?Reflect.construct(t,n||[],Qc(e).constructor):t.apply(e,n))}function Unt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(e)}function Wnt(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&&jv(e,t)}function Knt(e,t){return t&&(Gnt(t)==="object"||typeof t=="function")?t:Hnt(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(e,t)}function Gnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tT=function(){return!!e})()}var eT=function(e){Wnt(t,e);function t(n){Unt(this,t);var o,r;o=qnt(this,t,[n]),YS(o,"showType",void 0),YS(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var u;o.autoWidth.minWidth=(u=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&u!==void 0?u:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:fn.controlName;var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"icon";var a;return o.limit=(a=n==null?void 0:n.limit)!==null&&a!==void 0?a:3,o}return t}(U);function Xnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nT(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function Qnt(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){nT(i,o,r,u,l,"next",c)}function l(c){nT(i,o,r,u,l,"throw",c)}u(void 0)})}}function Jnt(e,t,n){return t=Be(t),eot(e,rT()?Reflect.construct(t,n||[],Be(e).constructor):t.apply(e,n))}function Znt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ynt(e,t,n){return t&&oT(e.prototype,t),n&&oT(e,n),e}function Do(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ao(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ao=Reflect.get:Ao=function(r,i,u){var l=not(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ao(e,t,n||e)}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Be(e)}function tot(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&&Cv(e,t)}function eot(e,t){return t&&(oot(t)==="object"||typeof t=="function")?t:Xnt(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(e,t)}function not(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Be(e),e!==null););return e}function oot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rT=function(){return!!e})()}function rot(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var fn=function(e){tot(t,e);function t(n){Znt(this,t);var o;return o=Jnt(this,t,[n]),Do(o,"props",void 0),o.props=new eT(n==null?void 0:n.props),o}return Ynt(t,[{key:"toDataBindModel",value:function(){var o=Ao(Be(t.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===vi.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,l=function(){return Ao(Be(t.prototype),"validate",i)};return Qnt(function(){return rot(this,function(c){switch(c.label){case 0:return[4,l().call(u,o,r)];case 1:return c.sent(),[4,Promise.all(u.children.map(function(a){return a.validate(o,r)}))];case 2:return c.sent(),[2,!0]}})})()}}]),t}(et);Do(fn,"controlType","operation-column"),Do(fn,"controlName",f("CMD.operation",null,"\u64CD\u4F5C")),Do(fn,"controlIcon","operation-column"),Do(fn,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function iot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uot(e,t,n){return t=Jc(t),aot(e,iT()?Reflect.construct(t,n||[],Jc(e).constructor):t.apply(e,n))}function lot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(e)}function cot(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&&Vv(e,t)}function aot(e,t){return t&&(fot(t)==="object"||typeof t=="function")?t:iot(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(e,t)}function fot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iT=function(){return!!e})()}var uT=function(e){cot(t,e);function t(n){lot(this,t);var o;return o=uot(this,t,[n]),Nv(o,"props",void 0),o.props=new eT(n==null?void 0:n.props),o}return t}(nt);Nv(uT,"controlType","operation-column"),Nv(uT,"controlFieldType",g.FILE);function _ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lT(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function yot(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){lT(i,o,r,u,l,"next",c)}function l(c){lT(i,o,r,u,l,"throw",c)}u(void 0)})}}function sot(e,t,n){return t=De(t),Oot(e,aT()?Reflect.construct(t,n||[],De(e).constructor):t.apply(e,n))}function pot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dot(e,t,n){return t&&cT(e.prototype,t),n&&cT(e,n),e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Io(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Io=Reflect.get:Io=function(r,i,u){var l=wot(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Io(e,t,n||e)}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(e)}function vot(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&&zv(e,t)}function hot(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function bot(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){oe(e,r,n[r])})}return e}function mot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function got(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mot(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Oot(e,t){return t&&($ot(t)==="object"||typeof t=="function")?t:_ot(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zv(e,t)}function wot(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=De(e),e!==null););return e}function $ot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aT=function(){return!!e})()}function Pot(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Eot=1e4,Zc=function(t){vot(n,t);function n(o){pot(this,n);var r;r=sot(this,n,[o]),oe(r,"props",void 0),oe(r,"children",void 0),oe(r,"excludes",void 0),oe(r,"childrenMaxLength",void 0);var i=hot(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Ent(r,o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(r.props.headers=[new an,new fn]),r.excludes=Rt(u),r.childrenMaxLength=l,r}return dot(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toSchema",value:function(){var r=Io(De(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return got(bot({},r),{children:i})}},{key:"validate",value:function(r,i){var u=this,l=this,c=function(){return Io(De(n.prototype),"validate",u)};return yot(function(){return Pot(this,function(a){switch(a.label){case 0:return[4,c().call(l,r,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(r,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return f("CMD.gridTable",null,"\u8868\u683C")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(Zf);oe(Zc,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),oe(Zc,"setting",[{key:"list-fixed-header",visible:!0}]),oe(Zc,"excludes",[]),oe(Zc,"childrenMaxLength",Eot);function Sot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fT(e,t,n){return t=Yc(t),Tot(e,sT()?Reflect.construct(t,n||[],Yc(e).constructor):t.apply(e,n))}function _T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(e)}function yT(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&&Hv(e,t)}function Tot(e,t){return t&&(Rot(t)==="object"||typeof t=="function")?t:Sot(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(e,t)}function Rot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sT=function(){return!!e})()}var Bot=function(e){yT(t,e);function t(n){_T(this,t);var o;return o=fT(this,t,[n]),ye.call(o,n),o}return t}(jb),qv=function(e){yT(t,e);function t(n){_T(this,t);var o;o=fT(this,t,[n]),me(o,"optionConfig",void 0),me(o,"datasourceBind",void 0),me(o,"showLinkOperation",void 0),me(o,"linkOperationOption",void 0),me(o,"options",void 0),me(o,"lineEllipsis",void 0),me(o,"dictionaryTagConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:yn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.options=Gt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.dictionaryTagConfig=(a=n==null?void 0:n.dictionaryTagConfig)!==null&&a!==void 0?a:{isTag:!1},o}return t}(U);me(qv,"Rules",Bot);function Dot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aot(e,t,n){return t=ta(t),Fot(e,pT()?Reflect.construct(t,n||[],ta(e).constructor):t.apply(e,n))}function Iot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(e)}function kot(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&&Uv(e,t)}function Fot(e,t){return t&&(xot(t)==="object"||typeof t=="function")?t:Dot(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(e,t)}function xot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pT=function(){return!!e})()}var yn=function(e){kot(t,e);function t(n){Iot(this,t);var o;return o=Aot(this,t,[n]),_n(o,"props",void 0),o.props=new qv(n==null?void 0:n.props),o}return t}(et);_n(yn,"controlType","varchar-column"),_n(yn,"controlName",f("CMD.varchar",null,"\u77ED\u6587\u672C")),_n(yn,"controlIcon","varchar-column"),_n(yn,"controlFieldType",g.VARCHAR),_n(yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function Mot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lot(e,t,n){return t=ea(t),Not(e,dT()?Reflect.construct(t,n||[],ea(e).constructor):t.apply(e,n))}function jot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(e)}function Cot(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&&Kv(e,t)}function Not(e,t){return t&&(Vot(t)==="object"||typeof t=="function")?t:Mot(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(e,t)}function Vot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dT=function(){return!!e})()}var vT=function(e){Cot(t,e);function t(n){jot(this,t);var o;return o=Lot(this,t,[n]),Wv(o,"props",void 0),o.props=new qv(n==null?void 0:n.props),o}return t}(nt);Wv(vT,"controlType","varchar-column"),Wv(vT,"controlFieldType",g.VARCHAR);function zot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hT(e,t,n){return t=na(t),Hot(e,gT()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function bT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(e)}function mT(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&&Gv(e,t)}function Hot(e,t){return t&&(qot(t)==="object"||typeof t=="function")?t:zot(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(e,t)}function qot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gT=function(){return!!e})()}var Uot=function(e){mT(t,e);function t(n){bT(this,t);var o;return o=hT(this,t,[n]),ye.call(o,n),o}return t}(Vt),Xv=function(e){mT(t,e);function t(n){bT(this,t);var o;o=hT(this,t,[n]),ko(o,"escapeHTML",void 0),ko(o,"showLinkOperation",void 0),ko(o,"linkOperationOption",void 0),ko(o,"lineEllipsis",void 0);var r;o.escapeHTML=(r=n==null?void 0:n.escapeHTML)!==null&&r!==void 0?r:!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:dn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(U);ko(Xv,"Rules",Uot);function Wot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kot(e,t,n){return t=pn(t),Jot(e,wT()?Reflect.construct(t,n||[],pn(e).constructor):t.apply(e,n))}function Got(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Xot(e,t,n){return t&&OT(e.prototype,t),n&&OT(e,n),e}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?oa=Reflect.get:oa=function(r,i,u){var l=Zot(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},oa(e,t,n||e)}function pn(e){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(e)}function Qot(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&&Qv(e,t)}function Jot(e,t){return t&&(Yot(t)==="object"||typeof t=="function")?t:Wot(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(e,t)}function Zot(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pn(e),e!==null););return e}function Yot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wT=function(){return!!e})()}var dn=function(e){Qot(t,e);function t(n){Got(this,t);var o;return o=Kot(this,t,[n]),sn(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return Xot(t,[{key:"toDataBindModel",value:function(o){var r=oa(pn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(et);sn(dn,"controlType","text-column"),sn(dn,"controlName",f("CMD.long",null,"\u957F\u6587\u672C")),sn(dn,"controlIcon","text-column"),sn(dn,"controlFieldType",g.TEXT),sn(dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function trt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ert(e,t,n){return t=ra(t),rrt(e,$T()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function nrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function ort(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&&Zv(e,t)}function rrt(e,t){return t&&(irt(t)==="object"||typeof t=="function")?t:trt(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(e,t)}function irt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($T=function(){return!!e})()}var PT=function(e){ort(t,e);function t(n){nrt(this,t);var o;return o=ert(this,t,[n]),Jv(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return t}(nt);Jv(PT,"controlType","text-column"),Jv(PT,"controlFieldType",g.TEXT);function urt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ET(e,t,n){return t=ia(t),lrt(e,RT()?Reflect.construct(t,n||[],ia(e).constructor):t.apply(e,n))}function ST(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(e)}function TT(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&&Yv(e,t)}function lrt(e,t){return t&&(crt(t)==="object"||typeof t=="function")?t:urt(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(e,t)}function crt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RT=function(){return!!e})()}var art=function(e){TT(t,e);function t(n){ST(this,t);var o;return o=ET(this,t,[n]),ye.call(o,n),o}return t}(Vt),th=function(e){TT(t,e);function t(n){ST(this,t);var o;o=ET(this,t,[n]),re(o,"optionConfig",void 0),re(o,"datasourceBind",void 0),re(o,"showLinkOperation",void 0),re(o,"linkOperationOption",void 0),re(o,"options",void 0),re(o,"precision",void 0),re(o,"micrometer",void 0),re(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:bn.controlName;var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var a;o.options=Gt((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(U);re(th,"Rules",art);function frt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _rt(e,t,n){return t=hn(t),drt(e,DT()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function yrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function srt(e,t,n){return t&&BT(e.prototype,t),n&&BT(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 ua(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ua=Reflect.get:ua=function(r,i,u){var l=vrt(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ua(e,t,n||e)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(e)}function prt(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&&eh(e,t)}function drt(e,t){return t&&(hrt(t)==="object"||typeof t=="function")?t:frt(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eh(e,t)}function vrt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hn(e),e!==null););return e}function hrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DT=function(){return!!e})()}var bn=function(e){prt(t,e);function t(n){yrt(this,t);var o;return o=_rt(this,t,[n]),vn(o,"props",void 0),o.props=new th(n==null?void 0:n.props),o}return srt(t,[{key:"toDataBindModel",value:function(o){var r=ua(hn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,l=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=l}return r}}]),t}(et);vn(bn,"controlType","decimal-column"),vn(bn,"controlName",f("CMD.decimal",null,"\u6570\u503C")),vn(bn,"controlIcon","decimal-column"),vn(bn,"controlFieldType",g.DECIMAL),vn(bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[y.MICROMETER,y.PRECISION,y.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function brt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mrt(e,t,n){return t=la(t),wrt(e,AT()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function grt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(e)}function Ort(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&&oh(e,t)}function wrt(e,t){return t&&($rt(t)==="object"||typeof t=="function")?t:brt(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(e,t)}function $rt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AT=function(){return!!e})()}var IT=function(e){Ort(t,e);function t(n){grt(this,t);var o;return o=mrt(this,t,[n]),nh(o,"props",void 0),o.props=new th(n==null?void 0:n.props),o}return t}(nt);nh(IT,"controlType","decimal-column"),nh(IT,"controlFieldType",g.DECIMAL);function Prt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kT(e,t,n){return t=aa(t),Ert(e,MT()?Reflect.construct(t,n||[],aa(e).constructor):t.apply(e,n))}function FT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ca(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(e)}function xT(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&&rh(e,t)}function Ert(e,t){return t&&(Srt(t)==="object"||typeof t=="function")?t:Prt(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(e,t)}function Srt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MT=function(){return!!e})()}var Trt=function(e){xT(t,e);function t(n){FT(this,t);var o;return o=kT(this,t,[n]),ye.call(o,n),o}return t}(Vt),ih=function(e){xT(t,e);function t(n){FT(this,t);var o;o=kT(this,t,[n]),ca(o,"dateType",void 0),ca(o,"showLinkOperation",void 0),ca(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:ie.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:On.controlName,o}return t}(U);ca(ih,"Rules",Trt);function Rrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Brt(e,t,n){return t=gn(t),krt(e,jT()?Reflect.construct(t,n||[],gn(e).constructor):t.apply(e,n))}function Drt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Art(e,t,n){return t&<(e.prototype,t),n&<(e,n),e}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?fa=Reflect.get:fa=function(r,i,u){var l=Frt(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},fa(e,t,n||e)}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(e)}function Irt(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&&uh(e,t)}function krt(e,t){return t&&(xrt(t)==="object"||typeof t=="function")?t:Rrt(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(e,t)}function Frt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gn(e),e!==null););return e}function xrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jT=function(){return!!e})()}var On=function(e){Irt(t,e);function t(n){Drt(this,t);var o;return o=Brt(this,t,[n]),mn(o,"props",void 0),o.props=new ih(n==null?void 0:n.props),o}return Art(t,[{key:"toDataBindModel",value:function(o){var r=fa(gn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(et);mn(On,"controlType","timescope-column"),mn(On,"controlName",f("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")),mn(On,"controlIcon","timescope-column"),mn(On,"controlFieldType",g.TIMESCOPE),mn(On,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function Mrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lrt(e,t,n){return t=_a(t),Nrt(e,CT()?Reflect.construct(t,n||[],_a(e).constructor):t.apply(e,n))}function jrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function Crt(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&&ch(e,t)}function Nrt(e,t){return t&&(Vrt(t)==="object"||typeof t=="function")?t:Mrt(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(e,t)}function Vrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CT=function(){return!!e})()}var NT=function(e){Crt(t,e);function t(n){jrt(this,t);var o;return o=Lrt(this,t,[n]),lh(o,"props",void 0),o.props=new ih(n==null?void 0:n.props),o}return t}(nt);lh(NT,"controlType","timescope-column"),lh(NT,"controlFieldType",g.TIMESCOPE);function zrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VT(e,t,n){return t=sa(t),Hrt(e,qT()?Reflect.construct(t,n||[],sa(e).constructor):t.apply(e,n))}function zT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ya(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(e)}function HT(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&&ah(e,t)}function Hrt(e,t){return t&&(qrt(t)==="object"||typeof t=="function")?t:zrt(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(e,t)}function qrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qT=function(){return!!e})()}var Urt=function(e){HT(t,e);function t(n){zT(this,t);var o;return o=VT(this,t,[n]),ye.call(o,n),o}return t}(Vt),fh=function(e){HT(t,e);function t(n){zT(this,t);var o;o=VT(this,t,[n]),ya(o,"dateType",void 0),ya(o,"showLinkOperation",void 0),ya(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:ie.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pn.controlName,o}return t}(U);ya(fh,"Rules",Urt);function Wrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Krt(e,t,n){return t=$n(t),Jrt(e,WT()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}function Grt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Xrt(e,t,n){return t&&UT(e.prototype,t),n&&UT(e,n),e}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?pa=Reflect.get:pa=function(r,i,u){var l=Zrt(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},pa(e,t,n||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(e)}function Qrt(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&&_h(e,t)}function Jrt(e,t){return t&&(Yrt(t)==="object"||typeof t=="function")?t:Wrt(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(e,t)}function Zrt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function Yrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WT=function(){return!!e})()}var Pn=function(e){Qrt(t,e);function t(n){Grt(this,t);var o;return o=Krt(this,t,[n]),wn(o,"props",void 0),o.props=new fh(n==null?void 0:n.props),o}return Xrt(t,[{key:"toDataBindModel",value:function(o){var r=pa($n(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(et);wn(Pn,"controlType","timestamp-column"),wn(Pn,"controlName",f("CMD.timestamp",null,"\u65E5\u671F")),wn(Pn,"controlIcon","timestamp-column"),wn(Pn,"controlFieldType",g.TIMESTAMP),wn(Pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function tit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eit(e,t,n){return t=da(t),rit(e,KT()?Reflect.construct(t,n||[],da(e).constructor):t.apply(e,n))}function nit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(e)}function oit(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&&sh(e,t)}function rit(e,t){return t&&(iit(t)==="object"||typeof t=="function")?t:tit(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(e,t)}function iit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KT=function(){return!!e})()}var GT=function(e){oit(t,e);function t(n){nit(this,t);var o;return o=eit(this,t,[n]),yh(o,"props",void 0),o.props=new fh(n==null?void 0:n.props),o}return t}(nt);yh(GT,"controlType","timestamp-column"),yh(GT,"controlFieldType",g.TIMESTAMP);function uit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XT(e,t,n){return t=va(t),lit(e,ZT()?Reflect.construct(t,n||[],va(e).constructor):t.apply(e,n))}function QT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function En(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(e)}function JT(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&&ph(e,t)}function lit(e,t){return t&&(cit(t)==="object"||typeof t=="function")?t:uit(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(e,t)}function cit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZT=function(){return!!e})()}var ait=function(e){JT(t,e);function t(n){QT(this,t);var o;return o=XT(this,t,[n]),ye.call(o,n),o}return t}(jb),dh=function(e){JT(t,e);function t(n){QT(this,t);var o;o=XT(this,t,[n]),En(o,"optionConfig",void 0),En(o,"datasourceBind",void 0),En(o,"showLinkOperation",void 0),En(o,"linkOperationOption",void 0),En(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Tn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var l;return o.options=Gt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return t}(U);En(dh,"Rules",ait);function fit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _it(e,t,n){return t=ha(t),pit(e,YT()?Reflect.construct(t,n||[],ha(e).constructor):t.apply(e,n))}function yit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(e)}function sit(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&&vh(e,t)}function pit(e,t){return t&&(dit(t)==="object"||typeof t=="function")?t:fit(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vh(e,t)}function dit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YT=function(){return!!e})()}var Tn=function(e){sit(t,e);function t(n){yit(this,t);var o;return o=_it(this,t,[n]),Sn(o,"props",void 0),o.props=new dh(n==null?void 0:n.props),o}return t}(et);Sn(Tn,"controlType","array-column"),Sn(Tn,"controlName",f("CMD.array",null,"\u6570\u7EC4")),Sn(Tn,"controlIcon","array-column"),Sn(Tn,"controlFieldType",g.ARRAY),Sn(Tn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function vit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hit(e,t,n){return t=ba(t),git(e,tR()?Reflect.construct(t,n||[],ba(e).constructor):t.apply(e,n))}function bit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(e)}function mit(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&&bh(e,t)}function git(e,t){return t&&(Oit(t)==="object"||typeof t=="function")?t:vit(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bh(e,t)}function Oit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tR=function(){return!!e})()}var eR=function(e){mit(t,e);function t(n){bit(this,t);var o;return o=hit(this,t,[n]),hh(o,"props",void 0),o.props=new dh(n==null?void 0:n.props),o}return t}(nt);hh(eR,"controlType","array-column"),hh(eR,"controlFieldType",g.ARRAY);function wit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $it(e,t,n){return t=ma(t),Tit(e,nR()?Reflect.construct(t,n||[],ma(e).constructor):t.apply(e,n))}function Pit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eit(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(e)}function Sit(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&&mh(e,t)}function Tit(e,t){return t&&(Rit(t)==="object"||typeof t=="function")?t:wit(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(e,t)}function Rit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nR=function(){return!!e})()}var oR=function(e){Sit(t,e);function t(n){Pit(this,t);var o;o=$it(this,t,[n]),Eit(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Dn.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return t}(U);function Bit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dit(e,t,n){return t=Bn(t),Fit(e,iR()?Reflect.construct(t,n||[],Bn(e).constructor):t.apply(e,n))}function Ait(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Iit(e,t,n){return t&&rR(e.prototype,t),n&&rR(e,n),e}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ga(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ga=Reflect.get:ga=function(r,i,u){var l=xit(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ga(e,t,n||e)}function Bn(e){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(e)}function kit(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&&gh(e,t)}function Fit(e,t){return t&&(Mit(t)==="object"||typeof t=="function")?t:Bit(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(e,t)}function xit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bn(e),e!==null););return e}function Mit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iR=function(){return!!e})()}var Dn=function(e){kit(t,e);function t(n){Ait(this,t);var o;return o=Dit(this,t,[n]),Rn(o,"props",void 0),o.props=new oR(n==null?void 0:n.props),o}return Iit(t,[{key:"toDataBindModel",value:function(o){var r=ga(Bn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(et);Rn(Dn,"controlType","department-column"),Rn(Dn,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Rn(Dn,"controlIcon","department-column"),Rn(Dn,"controlFieldType",g.DEPARTMENTS),Rn(Dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function Lit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jit(e,t,n){return t=Oa(t),Vit(e,uR()?Reflect.construct(t,n||[],Oa(e).constructor):t.apply(e,n))}function Cit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(e)}function Nit(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&&wh(e,t)}function Vit(e,t){return t&&(zit(t)==="object"||typeof t=="function")?t:Lit(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function zit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uR=function(){return!!e})()}var lR=function(e){Nit(t,e);function t(n){Cit(this,t);var o;return o=jit(this,t,[n]),Oh(o,"props",void 0),o.props=new oR(n==null?void 0:n.props),o}return t}(nt);Oh(lR,"controlType","department-column"),Oh(lR,"controlFieldType",g.DEPARTMENTS);function Hit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cR(e,t,n){return t=wa(t),qit(e,_R()?Reflect.construct(t,n||[],wa(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 $h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function fR(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&&Ph(e,t)}function qit(e,t){return t&&(Uit(t)==="object"||typeof t=="function")?t:Hit(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(e,t)}function Uit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_R=function(){return!!e})()}var Wit=function(e){fR(t,e);function t(n){aR(this,t);var o;return o=cR(this,t,[n]),ye.call(o,n),o}return t}(Vt),Eh=function(e){fR(t,e);function t(n){aR(this,t);var o;o=cR(this,t,[n]),$h(o,"showLinkOperation",void 0),$h(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:In.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(U);$h(Eh,"Rules",Wit);function Kit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Git(e,t,n){return t=$a(t),Jit(e,yR()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function Xit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function An(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(e)}function Qit(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&&Sh(e,t)}function Jit(e,t){return t&&(Zit(t)==="object"||typeof t=="function")?t:Kit(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(e,t)}function Zit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yR=function(){return!!e})()}var In=function(e){Qit(t,e);function t(n){Xit(this,t);var o;return o=Git(this,t,[n]),An(o,"props",void 0),o.props=new Eh(n==null?void 0:n.props),o}return t}(et);An(In,"controlType","auto-number-column"),An(In,"controlName",f("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")),An(In,"controlIcon","auto-number-column"),An(In,"controlFieldType",g.AUTO_NUMBER),An(In,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function Yit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tut(e,t,n){return t=Pa(t),out(e,sR()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function eut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Th(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(e)}function nut(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&&Rh(e,t)}function out(e,t){return t&&(rut(t)==="object"||typeof t=="function")?t:Yit(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(e,t)}function rut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sR=function(){return!!e})()}var pR=function(e){nut(t,e);function t(n){eut(this,t);var o;return o=tut(this,t,[n]),Th(o,"props",void 0),o.props=new Eh(n==null?void 0:n.props),o}return t}(nt);Th(pR,"controlType","auto-number-column"),Th(pR,"controlFieldType",g.AUTO_NUMBER);function iut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uut(e,t,n){return t=Ea(t),aut(e,dR()?Reflect.construct(t,n||[],Ea(e).constructor):t.apply(e,n))}function lut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(e)}function cut(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&&Bh(e,t)}function aut(e,t){return t&&(fut(t)==="object"||typeof t=="function")?t:iut(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(e,t)}function fut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dR=function(){return!!e})()}var vR=function(e){cut(t,e);function t(n){lut(this,t);var o;o=uut(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fn.controlName,o}return t}(U);function _ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yut(e,t,n){return t=Sa(t),dut(e,hR()?Reflect.construct(t,n||[],Sa(e).constructor):t.apply(e,n))}function sut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(e)}function put(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&&Dh(e,t)}function dut(e,t){return t&&(vut(t)==="object"||typeof t=="function")?t:_ut(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(e,t)}function vut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hR=function(){return!!e})()}var Fn=function(e){put(t,e);function t(n){sut(this,t);var o;return o=yut(this,t,[n]),kn(o,"props",void 0),o.props=new vR(n==null?void 0:n.props),o}return t}(et);kn(Fn,"controlType","file-column"),kn(Fn,"controlName",f("CMD.file",null,"\u9644\u4EF6")),kn(Fn,"controlIcon","file-column"),kn(Fn,"controlFieldType",g.FILE),kn(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function hut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function but(e,t,n){return t=Ta(t),Out(e,bR()?Reflect.construct(t,n||[],Ta(e).constructor):t.apply(e,n))}function mut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ah(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(e)}function gut(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&&Ih(e,t)}function Out(e,t){return t&&(wut(t)==="object"||typeof t=="function")?t:hut(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(e,t)}function wut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bR=function(){return!!e})()}var mR=function(e){gut(t,e);function t(n){mut(this,t);var o;return o=but(this,t,[n]),Ah(o,"props",void 0),o.props=new vR(n==null?void 0:n.props),o}return t}(nt);Ah(mR,"controlType","file-column"),Ah(mR,"controlFieldType",g.FILE);function $ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Put(e,t,n){return t=Ra(t),Tut(e,gR()?Reflect.construct(t,n||[],Ra(e).constructor):t.apply(e,n))}function Eut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(e)}function Sut(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&&kh(e,t)}function Tut(e,t){return t&&(Rut(t)==="object"||typeof t=="function")?t:$ut(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(e,t)}function Rut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gR=function(){return!!e})()}var OR=function(e){Sut(t,e);function t(n){Eut(this,t);var o;o=Put(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mn.controlName,o}return t}(U);function But(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dut(e,t,n){return t=Ba(t),kut(e,wR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function Aut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(e)}function Iut(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&&Fh(e,t)}function kut(e,t){return t&&(Fut(t)==="object"||typeof t=="function")?t:But(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(e,t)}function Fut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wR=function(){return!!e})()}var Mn=function(e){Iut(t,e);function t(n){Aut(this,t);var o;return o=Dut(this,t,[n]),xn(o,"props",void 0),o.props=new OR(n==null?void 0:n.props),o}return t}(et);xn(Mn,"controlType","image-column"),xn(Mn,"controlName",f("CMD.image",null,"\u56FE\u7247")),xn(Mn,"controlIcon","image-column"),xn(Mn,"controlFieldType",g.IMAGE),xn(Mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function xut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mut(e,t,n){return t=Da(t),Cut(e,$R()?Reflect.construct(t,n||[],Da(e).constructor):t.apply(e,n))}function Lut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(e)}function jut(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&&Mh(e,t)}function Cut(e,t){return t&&(Nut(t)==="object"||typeof t=="function")?t:xut(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mh(e,t)}function Nut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($R=function(){return!!e})()}var PR=function(e){jut(t,e);function t(n){Lut(this,t);var o;return o=Mut(this,t,[n]),xh(o,"props",void 0),o.props=new OR(n==null?void 0:n.props),o}return t}(nt);xh(PR,"controlType","image-column"),xh(PR,"controlFieldType",g.IMAGE);function Vut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zut(e,t,n){return t=Aa(t),Uut(e,ER()?Reflect.construct(t,n||[],Aa(e).constructor):t.apply(e,n))}function Hut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(e)}function qut(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&&Lh(e,t)}function Uut(e,t){return t&&(Wut(t)==="object"||typeof t=="function")?t:Vut(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(e,t)}function Wut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ER(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ER=function(){return!!e})()}var SR=function(e){qut(t,e);function t(n){Hut(this,t);var o;o=zut(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:jn.controlName,o}return t}(U);function Kut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gut(e,t,n){return t=Ia(t),Jut(e,TR()?Reflect.construct(t,n||[],Ia(e).constructor):t.apply(e,n))}function Xut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(e)}function Qut(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&&jh(e,t)}function Jut(e,t){return t&&(Zut(t)==="object"||typeof t=="function")?t:Kut(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(e,t)}function Zut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TR=function(){return!!e})()}var jn=function(e){Qut(t,e);function t(n){Xut(this,t);var o;return o=Gut(this,t,[n]),Ln(o,"props",void 0),o.props=new SR(n==null?void 0:n.props),o}return t}(et);Ln(jn,"controlType","people-column"),Ln(jn,"controlName",f("CMD.people",null,"\u4EBA\u5458")),Ln(jn,"controlIcon","people-column"),Ln(jn,"controlFieldType",g.EMPLOYEES),Ln(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Yut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tlt(e,t,n){return t=ka(t),olt(e,RR()?Reflect.construct(t,n||[],ka(e).constructor):t.apply(e,n))}function elt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ch(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(e)}function nlt(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&&Nh(e,t)}function olt(e,t){return t&&(rlt(t)==="object"||typeof t=="function")?t:Yut(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function rlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RR=function(){return!!e})()}var BR=function(e){nlt(t,e);function t(n){elt(this,t);var o;return o=tlt(this,t,[n]),Ch(o,"props",void 0),o.props=new SR(n==null?void 0:n.props),o}return t}(nt);Ch(BR,"controlType","people-column"),Ch(BR,"controlFieldType",g.EMPLOYEES);function ilt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DR(e,t,n){return t=Fa(t),ult(e,kR()?Reflect.construct(t,n||[],Fa(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 Vh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(e)}function IR(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&&zh(e,t)}function ult(e,t){return t&&(llt(t)==="object"||typeof t=="function")?t:ilt(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(e,t)}function llt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kR=function(){return!!e})()}var clt=function(e){IR(t,e);function t(n){AR(this,t);var o;return o=DR(this,t,[n]),ye.call(o,n),o}return t}(Vt),Hh=function(e){IR(t,e);function t(n){AR(this,t);var o;o=DR(this,t,[n]),Vh(o,"showLinkOperation",void 0),Vh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(U);Vh(Hh,"Rules",clt);function alt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function flt(e,t,n){return t=xa(t),slt(e,FR()?Reflect.construct(t,n||[],xa(e).constructor):t.apply(e,n))}function _lt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function ylt(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&&qh(e,t)}function slt(e,t){return t&&(plt(t)==="object"||typeof t=="function")?t:alt(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(e,t)}function plt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FR=function(){return!!e})()}var Nn=function(e){ylt(t,e);function t(n){_lt(this,t);var o;return o=flt(this,t,[n]),Cn(o,"props",void 0),o.props=new Hh(n==null?void 0:n.props),o}return t}(et);Cn(Nn,"controlType","location-column"),Cn(Nn,"controlName",f("CMD.location",null,"\u5730\u5740")),Cn(Nn,"controlIcon","location-column"),Cn(Nn,"controlFieldType",g.ADDRESS),Cn(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function dlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vlt(e,t,n){return t=Ma(t),mlt(e,xR()?Reflect.construct(t,n||[],Ma(e).constructor):t.apply(e,n))}function hlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(e)}function blt(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&&Wh(e,t)}function mlt(e,t){return t&&(glt(t)==="object"||typeof t=="function")?t:dlt(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(e,t)}function glt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xR=function(){return!!e})()}var MR=function(e){blt(t,e);function t(n){hlt(this,t);var o;return o=vlt(this,t,[n]),Uh(o,"props",void 0),o.props=new Hh(n==null?void 0:n.props),o}return t}(nt);Uh(MR,"controlType","location-column"),Uh(MR,"controlFieldType",g.ADDRESS);function Olt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LR(e,t,n){return t=ja(t),wlt(e,NR()?Reflect.construct(t,n||[],ja(e).constructor):t.apply(e,n))}function jR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function La(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(e)}function CR(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&&Kh(e,t)}function wlt(e,t){return t&&($lt(t)==="object"||typeof t=="function")?t:Olt(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(e,t)}function $lt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NR=function(){return!!e})()}var Plt=function(e){CR(t,e);function t(n){jR(this,t);var o;return o=LR(this,t,[n]),La(o,"sortFieldCode",{type:"string",message:f("pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return t}(Vt),Gh=function(e){CR(t,e);function t(n){jR(this,t);var o;o=LR(this,t,[n]),La(o,"fieldCodeList",void 0),La(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:ge.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return t}(U);La(Gh,"Rules",Plt);function Elt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Slt(e,t,n){return t=Vn(t),Alt(e,zR()?Reflect.construct(t,n||[],Vn(e).constructor):t.apply(e,n))}function Tlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Rlt(e,t,n){return t&&VR(e.prototype,t),n&&VR(e,n),e}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ca(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ca=Reflect.get:Ca=function(r,i,u){var l=Ilt(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ca(e,t,n||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(e)}function Blt(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&&Xh(e,t)}function Dlt(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Alt(e,t){return t&&(klt(t)==="object"||typeof t=="function")?t:Elt(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(e,t)}function Ilt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}function klt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zR=function(){return!!e})()}var Flt=1,ge=function(t){Blt(n,t);function n(o){Tlt(this,n);var r;r=Slt(this,n,[o]),jt(r,"excludes",void 0),jt(r,"childrenMaxLength",void 0),jt(r,"props",void 0),jt(r,"children",void 0);var i=Dlt(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Gh(o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Rt(u),r.childrenMaxLength=l,r}return Rlt(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(r){var i=Ca(Vn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(et);jt(ge,"controlType","custom-column"),jt(ge,"controlName",f("CMD.custom",null,"\u81EA\u5B9A\u4E49")),jt(ge,"controlIcon","custom-column"),jt(ge,"slots",["column-column-slot"]),jt(ge,"excludes",[]),jt(ge,"childrenMaxLength",Flt),jt(ge,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function xlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mlt(e,t,n){return t=Na(t),Clt(e,HR()?Reflect.construct(t,n||[],Na(e).constructor):t.apply(e,n))}function Llt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Na(e)}function jlt(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&&Jh(e,t)}function Clt(e,t){return t&&(Nlt(t)==="object"||typeof t=="function")?t:xlt(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jh(e,t)}function Nlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HR=function(){return!!e})()}var Vlt=function(e){jlt(t,e);function t(n){Llt(this,t);var o;return o=Mlt(this,t,[n]),Qh(o,"props",void 0),Qh(o,"children",void 0),o.props=new Gh(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(nt);Qh(Vlt,"controlType","custom-column");function zlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hlt(e,t,n){return t=Va(t),Klt(e,qR()?Reflect.construct(t,n||[],Va(e).constructor):t.apply(e,n))}function qlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ult(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Va(e)}function Wlt(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&&Zh(e,t)}function Klt(e,t){return t&&(Glt(t)==="object"||typeof t=="function")?t:zlt(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(e,t)}function Glt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qR=function(){return!!e})()}var UR=function(e){Wlt(t,e);function t(n){qlt(this,t);var o;o=Hlt(this,t,[n]),Ult(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ae.controlName;var i;return o.datasourceBind=new Vo((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Ae.controlCustomAttributes}),o}return t}(U);function Xlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qlt(e,t,n){return t=za(t),tct(e,KR()?Reflect.construct(t,n||[],za(e).constructor):t.apply(e,n))}function Jlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Zlt(e,t,n){return t&&WR(e.prototype,t),n&&WR(e,n),e}function zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},za(e)}function Ylt(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&&Yh(e,t)}function tct(e,t){return t&&(ect(t)==="object"||typeof t=="function")?t:Xlt(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(e,t)}function ect(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KR=function(){return!!e})()}var Ae=function(e){Ylt(t,e);function t(n){Jlt(this,t);var o;return o=Qlt(this,t,[n]),zn(o,"props",void 0),o.props=new UR(n==null?void 0:n.props),o}return Zlt(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(et);zn(Ae,"controlType","employee-column"),zn(Ae,"controlName",f("CMD.employee",null,"\u4EBA\u5458")),zn(Ae,"controlIcon","employee-column"),zn(Ae,"controlFieldType",g.EMPLOYEES),zn(Ae,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function nct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oct(e,t,n){return t=Ha(t),uct(e,GR()?Reflect.construct(t,n||[],Ha(e).constructor):t.apply(e,n))}function rct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ha(e)}function ict(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&&e0(e,t)}function uct(e,t){return t&&(lct(t)==="object"||typeof t=="function")?t:nct(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(e,t)}function lct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GR=function(){return!!e})()}var XR=function(e){ict(t,e);function t(n){rct(this,t);var o;return o=oct(this,t,[n]),t0(o,"props",void 0),o.props=new UR(n==null?void 0:n.props),o}return t}(nt);t0(XR,"controlType","employee-column"),t0(XR,"controlFieldType",g.EMPLOYEES);function cct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function act(e,t,n){return t=qa(t),yct(e,QR()?Reflect.construct(t,n||[],qa(e).constructor):t.apply(e,n))}function fct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qa(e)}function _ct(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&&o0(e,t)}function yct(e,t){return t&&(sct(t)==="object"||typeof t=="function")?t:cct(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o0(e,t)}function sct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QR=function(){return!!e})()}var JR=function(e){_ct(t,e);function t(n){fct(this,t);var o;o=act(this,t,[n]),n0(o,"lineEllipsis",void 0),n0(o,"showLinkOperation",void 0),n0(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Hn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return t}(U);function pct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dct(e,t,n){return t=Ua(t),bct(e,ZR()?Reflect.construct(t,n||[],Ua(e).constructor):t.apply(e,n))}function vct(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}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ua(e)}function hct(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&&r0(e,t)}function bct(e,t){return t&&(mct(t)==="object"||typeof t=="function")?t:pct(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r0(e,t)}function mct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZR=function(){return!!e})()}var Hn=function(e){hct(t,e);function t(n){vct(this,t);var o;return o=dct(this,t,[n]),Ie(o,"props",void 0),Ie(o,"children",void 0),o.props=new JR(n==null?void 0:n.props),o}return t}(et);Ie(Hn,"controlType","approval-status-column"),Ie(Hn,"controlName",f("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001")),Ie(Hn,"controlIcon","approval-status-column"),Ie(Hn,"excludes",[]),Ie(Hn,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function gct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oct(e,t,n){return t=Wa(t),Pct(e,YR()?Reflect.construct(t,n||[],Wa(e).constructor):t.apply(e,n))}function wct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wa(e)}function $ct(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&&u0(e,t)}function Pct(e,t){return t&&(Ect(t)==="object"||typeof t=="function")?t:gct(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u0(e,t)}function Ect(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YR=function(){return!!e})()}var Sct=function(e){$ct(t,e);function t(n){wct(this,t);var o;return o=Oct(this,t,[n]),i0(o,"props",void 0),i0(o,"children",void 0),o.props=new JR(n==null?void 0:n.props),o}return t}(nt);i0(Sct,"controlType","approval-status-column");function Tct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tB(e,t,n){return t=Ka(t),Rct(e,oB()?Reflect.construct(t,n||[],Ka(e).constructor):t.apply(e,n))}function eB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ka(e)}function nB(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&&l0(e,t)}function Rct(e,t){return t&&(Bct(t)==="object"||typeof t=="function")?t:Tct(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l0(e,t)}function Bct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oB=function(){return!!e})()}var Dct=function(e){nB(t,e);function t(n){eB(this,t);var o;return o=tB(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}($e),c0=function(e){nB(t,e);function t(n){eB(this,t);var o;o=tB(this,t,[n]),wt(o,"search",void 0),wt(o,"cancel",void 0),wt(o,"searchType",void 0),wt(o,"labelPosition",void 0),wt(o,"viewType",void 0),wt(o,"isLoading",void 0),wt(o,"custom",void 0),wt(o,"queryTypeMap",void 0),wt(o,"childMinWidth",void 0),wt(o,"colGap",void 0),wt(o,"viewConfig",void 0),wt(o,"simpleConfig",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var l;o.search=new le((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:f("CMD.query",null,"\u67E5\u8BE2"),isShow:!0});var c;o.cancel=new le((c=n==null?void 0:n.cancel)!==null&&c!==void 0?c:{content:f("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0});var a;o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(w){return new le(w)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var b;o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24;var O;o.viewConfig=(O=n==null?void 0:n.viewConfig)!==null&&O!==void 0?O:[];var m;return o.simpleConfig=(m=n==null?void 0:n.simpleConfig)!==null&&m!==void 0?m:[],o}return t}(l_);wt(c0,"RuntimeRules",Dct);function Act(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ict(e,t,n){return t=Xa(t),xct(e,rB()?Reflect.construct(t,n||[],Xa(e).constructor):t.apply(e,n))}function kct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(e)}function Fct(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&&a0(e,t)}function xct(e,t){return t&&(Mct(t)==="object"||typeof t=="function")?t:Act(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a0(e,t)}function Mct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rB=function(){return!!e})()}var f0=function(e){Fct(t,e);function t(n){kct(this,t);var o;return o=Ict(this,t,[n]),Ga(o,"props",void 0),o.props=new c0(n==null?void 0:n.props),o}return t}(m7);Ga(f0,"controlType","simple-search"),Ga(f0,"slotPosition",{default:"search"}),Ga(f0,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Lct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jct(e,t,n){return t=Qa(t),Vct(e,iB()?Reflect.construct(t,n||[],Qa(e).constructor):t.apply(e,n))}function Cct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qa(e)}function Nct(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&&y0(e,t)}function Vct(e,t){return t&&(zct(t)==="object"||typeof t=="function")?t:Lct(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y0(e,t)}function zct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iB=function(){return!!e})()}var Hct=function(e){Nct(t,e);function t(n){Cct(this,t);var o;o=jct(this,t,[n]),_0(o,"props",void 0),_0(o,"children",void 0),o.props=new c0(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return t}(S7);_0(Hct,"controlType","simple-search");function fft(e){return e}f("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C");const qct=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];nat(t==null?void 0:t.events),Qct(o),Jct(o);const r=Xct(o),i=Zct(r,t);let u=we(C(i,l=>Gct(l,t)));return n?u:u[0]},Uct=[s.DIVIDER,s.TEXT,s.TITLE,s.LINK,s.BUTTON,"list-btn-export-list","list-btn-export-record"],Wct=["subtable","grid-table"],Kct=["simple-search"];function Gct(e,t){var r,i,u,l,c,a;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Uct.includes(n.type)?n.controlType="base":n.controlType="form",Wct.includes(n.type)&&(n.controlType="list"),Kct.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),ft((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),ft((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),ft((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(l=e.attachment_format)==null?void 0:l.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(ft(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ft(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const _=n.props.entry_type||n.props.entryType;n.props.openType=_==="subpage"?"modal":"default",((a=n.children[0])==null?void 0:a.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((p,d)=>{const b=new wY.Designer;b.props.caption=ft(p.field_name)?p.field_name.zh:p.field_name;const O=b.toSchema();O.id=p.header_id;const m=n.children[0].children[d].children[0];return m&&(O.children=[m]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(_=>{_.label=ft(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=e),e.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(p=>{const d=new $E.Designer;d.props.span=_;const b=d.toSchema();return b.children.push(p),b})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const _=n==null?void 0:n.children[0],p=n==null?void 0:n.children[1],d={};_&&(uB(n,t),d.result=_.props.data_bind,n.id=_.id,n.props=_.props,n.props.script_src=_.props.script_src,n.props.script_echo=_.props.script_echo,n.props.precision=_.props.precision,n.props.micrometer=_.props.is_show_money,n.props.showUpperCase=_.props.is_show_chn),p&&(d.unit=p.props.data_bind,n.props.default_value={unit:p.props.value}),n.props.dataBind=d,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const _=n==null?void 0:n.children[0],p=n==null?void 0:n.children[1],d={},b={};_&&(uB(n,t),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=Me(_.props.range_min),n.props.range_max=Me(_.props.range_max),b.amount=Me(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=ft(_.props.caption)?_.props.caption.zh:_.props.caption,n.props.is_hide_caption=_.props.is_hide_caption,n.props.showUpperCase=_.props.is_show_chn),p&&(d.currency=p.props.data_bind,b.currency=p.props.value,n.props.datasourceBind=p.props.datasource_bind,n.props.options=p.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=d,n.props.defaultValue=b,delete n.children}if(e.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],p=n==null?void 0:n.children[1];n.props.placeholderStart=ft(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=ft(e.props.caption)?e.props.caption.zh:e.props.caption;const d={};_&&(d.min=_.props.data_bind),p&&(d.max=p.props.data_bind),n.props.dataBind=d,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=ft(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=Me(e.props.range_min),n.props.range_max=Me(e.props.range_max),n.props.defaultValue=Me(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),oat(n,t==null?void 0:t.control_events),n}function uB(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const l=u.show_controls.findIndex(a=>a===r),c=u.hide_controls.findIndex(a=>a===r);l>-1&&u.show_controls.splice(l,1,i),c>-1&&u.hide_controls.splice(c,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Xct(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new Wet.Designer().toSchema();return o.children=e,[o]}function Qct(e){e.forEach(t=>{t.children&&eat(t.children)})}function Jct(e){e.forEach(t=>{var o,r;if(!(t&&t.children))return;const n=t.children;for(let i=0;i<n.length;i++){const u=n[i],l=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&l&&["group-panel","subtable","tab"].includes(l.type)&&n.splice(i,1,l)}})}function Zct(e,t){var b,O,m,w,h,$,P,S;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:o,children:r}=n,[i,u,l]=r;Yct(i),l.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,tat(l,u);const c=(m=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?m:t==null?void 0:t.dataCode,a=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:c)?`${c}_selectMore`:void 0,_=(P=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?P:[],p=new Pet.Designer;p.props.datasourceBind=new X({dataCode:c,svcCode:a,orders:jF(_)}),p.props.isShowSubList=o.is_show_sublist,p.props.triggerType=o.timing_type,p.props.triggerFieldCode=o.ctrl_field_code,(S=o==null?void 0:o.sublist_page)==null||S.sublists.forEach(T=>{T.title=ft(T.title)?T.title.zh:T.title}),p.props.sublistPage=o.sublist_page;const d=p.toSchema();return d.children.push(i,l),[d]}function Yct(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=ft(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(r=(o=t.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function tat(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ft(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=ft(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new X({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function eat(e){var n;let t=null;for(let o=0;o<e.length;o++){const r=e[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){t=r.children[0];continue}t&&(t.children.push(r),e.splice(o,1),o--)}}}function nat(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function oat(e,t){var o;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(r=>{!e.props.events[r].length||(t[e.id]||(t[e.id]={}),t[e.id][r]||(t[e.id][r]=[]),t[e.id][r].push(...e.props.events[r].map(i=>i.name)))}),(o=t[e.id])!=null&&o.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const rat=(e,t)=>{const n=Array.isArray(e);let r=we(C(n?e:[e],i=>iat(i)));return n?r:r[0]};function iat(e,t){return e.type===s.LIST_VIEW&&e.children.find(o=>o.type===s.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new At({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const uat=(e,t)=>{const n=Array.isArray(e);let r=we(C(n?e:[e],i=>lat(i)));return n?r:r[0]};function lat(e,t){return[s.BUTTON,s.CREATE_FORM_LIST_BUTTON,s.BATCH_SUBMISSION_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.EXPORT_LIST_BUTTON,s.FORM_SELECT_BUTTON,s.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===s.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===s.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const cat=(e,t)=>{const n=Array.isArray(e);let r=we(C(n?e:[e],i=>aat(i)));return n?r:r[0]};function aat(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const fat=(e,t)=>{const n=Array.isArray(e);let r=we(C(n?e:[e],i=>yat(i)));return n?r:r[0]},_at=[s.ROW,s.TAB,s.SUBTABLE,s.GRID_ROW,s.CARD_GROUP];function yat(e,t){return e.type===s.TAB_PANE&&(e.children=e.children.map(n=>{if(_at.includes(n.type))return n;const o=new GZ.Designer,r=new $E.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const sat=(e,t)=>{const n=Array.isArray(e);let r=we(C(n?e:[e],i=>pat(i)));return n?r:r[0]};function pat(e,t){return e.type===s.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===s.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const dat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>vat(i));return n?r:r[0]};function vat(e,t){return e.type===s.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const hat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>bat(i));return n?r:r[0]};function Oe(e,t){e.field_code&&(e.field_type=t)}function bat(e,t){var o;const n={[s.TITLE]:g.AUTO_NUMBER,[s.ADDRESS]:g.ADDRESS,[s.ATTACHMENT]:g.FILE,[s.AUTO_NUMBER]:g.AUTO_NUMBER,[s.CHECKBOX]:g.ARRAY,[s.DATE_PICKER]:g.TIMESTAMP,[s.DEPARTMENT]:g.DEPARTMENTS,[s.DEPARTMENT2]:g.DEPARTMENTS,[s.EMPLOYEE]:g.EMPLOYEES,[s.EMPLOYEE2]:g.EMPLOYEES,[s.IMAGE]:g.IMAGE,[s.INPUT]:g.VARCHAR,[s.NUMBER]:g.DECIMAL,[s.RADIO]:g.VARCHAR,[s.RICH_TEXT]:g.TEXT,[s.SCORE]:g.DECIMAL,[s.SELECT]:g.VARCHAR,[s.SELECT_MULTIPLE]:g.ARRAY,[s.SELECT_RELATION]:g.VARCHAR,[s.TEXTAREA]:g.TEXT,[s.TREE]:g.ARRAY,[s.SEARCH_DATE_RANGE]:g.ARRAY,[s.SEARCH_INPUT]:g.VARCHAR,[s.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(e.type)&&Oe(e.props.data_bind,n[e.type]),e.type===s.AMOUNT&&(Oe(e.props.data_bind.amount,g.DECIMAL),Oe(e.props.data_bind.currency,g.VARCHAR)),e.type===s.CALC&&(Oe(e.props.data_bind.result,g.DECIMAL),Oe(e.props.data_bind.unit,g.VARCHAR)),e.type===s.DATE_RANGE&&(Oe(e.props.data_bind.min,g.TIMESTAMP),Oe(e.props.data_bind.max,g.TIMESTAMP)),e.type===s.VUE_FORM_ITEM&&Oe(e.props.data_bind,(o=e.field_type)!=null?o:g.ANY),e}const mat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>gat(i));return n?r:r[0]};function gat(e,t){return e.type===s.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===s.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const Oat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>wat(i));return n?r:r[0]};function wat(e,t){return e.type===s.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var o,r;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const $at=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Pat(i));return n?r:r[0]};function Pat(e,t){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Eat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Sat(i));return n?r:r[0]};function Sat(e,t){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Tat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Rat(i));return n?r:r[0]};function Rat(e,t){return e.type===s.TITLE&&e.props.config.push(Zt.ShowTitle),e.type===s.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,l,c,a,_,p,d,b,O,m,w,h,$,P,S,T,z,A,ct;if(n.type===s.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const D=new by.Designer;Object.defineProperty(D,"id",{value:"listPageCheckBtnId"}),D.props.code="view",D.props.icon="iconliulan1",D.props.command="view",D.props.content=(i=n.props)==null?void 0:i.check.content,D.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,D.props.openType=(l=n.props)==null?void 0:l.check.open_type,D.props.formKey=(c=n.props)==null?void 0:c.check.form_key,(a=n.props)!=null&&a.check.is_show&&n.children.push(D.toSchema()),(_=n.props)==null||delete _.check}if(((p=n.props)==null?void 0:p.edit)!==void 0){const D=new by.Designer;Object.defineProperty(D,"id",{value:"listPageEditBtnId"}),D.props.code="edit",D.props.icon="iconbianji1",D.props.command="edit",D.props.content=(d=n.props)==null?void 0:d.edit.content,D.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,D.props.openType=(O=n.props)==null?void 0:O.edit.open_type,D.props.formKey=(m=n.props)==null?void 0:m.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(D.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const D=new by.Designer;Object.defineProperty(D,"id",{value:"listPageDeleteBtnId"}),D.props.code="delete",D.props.icon="iconlajitong",D.props.command="delete",D.props.content=(P=n.props)==null?void 0:P.delete.content,D.props.priorityProcess=(S=n.props)==null?void 0:S.delete.priority_process,D.props.openType=(T=n.props)==null?void 0:T.delete.open_type,D.props.formKey=(z=n.props)==null?void 0:z.delete.form_key,D.props.needConfirm=!0,D.props.confirmMessage=f("CMD.deleteConfirm",null,"\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F"),(A=n.props)!=null&&A.delete.is_show&&n.children.push(D.toSchema()),(ct=n.props)==null||delete ct.delete}}}),[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===s.SUBTABLE&&e.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Bat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Dat(i,t));return n?r:r[0]};function Dat(e,t){e.type===s.SUBTABLE&&e.props.headers.map(o=>{var i;o.props.meta_auto_width=new J0,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;const r=(i=o.children)==null?void 0:i[0];r&&r.type===s.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[s.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[s.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[s.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[s.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[s.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in n&&n[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===s.GRID_TABLE&&e.props.headers.forEach(o=>{o.type===s.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new df)}),e.type===s.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Aat(t),e}function Aat(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let n,o,r;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(s0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),e.listeners[t].splice(r,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Iat()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(s0())}}}function Iat(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[s0()]}}function s0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const kat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Fat(i,t));return n?r:r[0]};function Fat(e,t){if(e.type===s.LIST_VIEW){if(e.props.is_show_selection===!1){const n=[s.BATCH_SUBMISSION_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT,s.BATCH_DELETE_LIST_BUTTON];e.children.forEach(o=>{o.type===s.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(e.props.is_show_selection=!0,o.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===s.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===s.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===s.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===s.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===s.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new wf),e}const xat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Mat(i));return n?r:r[0]};function Mat(e,t){const n={[s.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]};return e.type in n&&n[e.type].forEach(r=>{e.props[r.key]===void 0&&(e.props[r.key]=r.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1),[s.LIST_PAGE_BTN_BATCH_PRINT_RECORD,s.EXPORT_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.CREATE_FORM_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.BATCH_DELETE_LIST_BUTTON,s.BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===s.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function Lat(e,t){var n,o;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const r=(o=(n=t==null?void 0:t.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(t.events.did_init=r,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const jat=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=Cat(u);return r[u.id]=u,l});return Lat(r,t),n?i:i[0]};function Cat(e,t){var n,o,r;if(e.type===s.TEXTAREA){const i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(n=e.props.line_ellipsis)!=null?n:4,maxRows:(o=e.props.max_rows)!=null?o:20,fiexdRow:(r=e.props.line_ellipsis)!=null?r:4};if(e.props.row_height_setting=we(new Q0({pc:i,mobile:i})),e.type===s.ORGANIZATION_SELECTION){const u=e.props.selected_content_config,l=u==null?void 0:u.display_bo_list;l&&l.forEach(c=>{c.value==="org_type_code"&&(c.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),c.value==="org_pattern_code"&&(c.label=f("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}e.type===s.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}const Nat=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=Vat(u);return r[u.id]=u,l});return zat(r,t),n?i:i[0]};function Vat(e,t){return e}function zat(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(n=>{var i,u,l,c,a;const o=t==null?void 0:t.listeners[n],r=e[n];(r==null?void 0:r.type)===s.BUTTON&&(["draft","form_submit","save"].includes((u=(i=r.props)==null?void 0:i.opt_obj)==null?void 0:u.opt_type)&&(o==null||o.map(_=>{var p,d,b,O;(p=_==null?void 0:_.cases)==null||p.map(m=>{var w;(w=m==null?void 0:m.handlers)==null||w.map(h=>{var $,P,S,T;(h==null?void 0:h.method)==="optPage"&&h.params.operation==="refresh"&&(h.params.operation="close"),(h==null?void 0:h.method)==="openPage"&&((T=(S=(P=($=h.params)==null?void 0:$.options)==null?void 0:P.link)==null?void 0:S.fx)==null?void 0:T.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(h.id="optPage",h.method="optPage",h.params={operation:"close"})})}),((O=(b=(d=_==null?void 0:_.cases)==null?void 0:d[0])==null?void 0:b.handlers)==null?void 0:O.length)===1&&_.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((c=(l=r.props)==null?void 0:l.opt_obj)==null?void 0:c.opt_type)&&((a=t.dataModelExtend)==null?void 0:a.process_status_enum_type)==="business"&&(o==null||o.map(_=>{_.cases[0].handlers.map(p=>{(p==null?void 0:p.method)==="optPage"&&p.params.operation==="close"&&(p.params.operation="edit")})})))})}const Hat=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=qat(u);return r[u.id]=u,l});return Uat(r,t),n?i:i[0]};function qat(e,t){if(e.type===s.ORGANIZATION_SELECTION){const n=e.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),r.value==="org_pattern_code"&&(r.label=f("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}return e}function Uat(e,t){var n,o;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const r=(o=(n=t==null?void 0:t.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(t.events.did_init=r,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Wat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Kat(i));return n?r:r[0]};function Kat(e,t){var n,o;if(e.type===s.SIMPLE_SEARCH&&(e.props.view_config===void 0&&(e.props.view_config=(n=e.children)==null?void 0:n.map(r=>{var i;return(i=r.props)==null?void 0:i.data_bind})),e.props.simple_config===void 0&&(e.props.simple_config=(o=e.children)==null?void 0:o.map(r=>{var i;return(i=r.props)==null?void 0:i.data_bind}))),e.type===s.ORGANIZATION_SELECTION){const r=e.props.selected_content_config,i=r==null?void 0:r.display_bo_list;i&&i.forEach(u=>{u.value==="org_type_code"&&(u.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),u.value==="org_pattern_code"&&(u.label=f("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}return e}const Gat=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Xat(i));return tft(r),Qat(r),n?r:r[0]};function Xat(e,t){return e.type===s.SIMPLE_SEARCH&&e.children.forEach(n=>{if(n.type===s.SELECT||n.type===s.SELECT_MULTIPLE){const o=n;o.props.option_config==="datasource"&&(o.props.default_show_options=!1)}}),e}function Qat(e){var t,n;if(e[0].type===s.LIST_VIEW){const o=e[0].props;let r={type:(t=o.row_style_type)!=null?t:"none",interval:{color:(n=o.row_style_bg_color)!=null?n:""},rules:[]};o.row_style_rules&&(o.row_style_rules.forEach(i=>{const u=i.id;let l={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},c;if(o.row_style_rules_script){const a=o.row_style_rules_script.find(_=>_.id===u);a&&(c=Yat(i.filters,a.script))}i.settings=[l],i.script=c,delete i.color}),r.rules=o.row_style_rules),o.row_style=r,delete o.row_style_type,delete o.row_style_bg_color,delete o.row_style_rules,delete o.row_style_rules_script}}function lB(e,t){return t||(t={}),e.forEach(n=>{if(n.children)lB(n.children,t);else{const o=n.left_variable_bo;switch(o.type){case"people":case"department":case"array":case"timestamp":let r=o.value;t[r]=o;break}}}),t}function Jat(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(n=>n.replace(/^\s+|\s+$/gm,""))}function Zat(e){let t="",n="";if(e[0]==="!")t="is_empty";else{const o=e.match(/(===|!=|>|>=|<|<=)/);if(o){const r=o[0];switch(r){case"===":t="op_equal";break;case"!=":t="op_no_equal";break;case">":t="op_greater";break;case">=":t="op_greater_equal";break;case"<":t="op_less";break;case"<=":t="op_less_equal";break;default:t="is_not_empty";break}n=e.split(r)[1]||""}else t="is_not_empty"}return{operate:t,value:n}}function Yat(e,t){const n=lB(e);return Jat(t).forEach(r=>{Object.keys(n).forEach(i=>{if(r.indexOf(`params.data.data_value_map['${i}']`)>-1){const c=n[i].type,{operate:a,value:_}=Zat(r);let p=`SpecialMatch(data, sys, '${i}', '${c}', '${a}', ${_||"''"})`;t=t.replace(r,p)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function tft(e){if(e[0].type===s.LIST_VIEW){const t=e[0].children.find(n=>n.type===s.GRID_TABLE);if(t){const n=t.props.headers,o=t.props.footers,r={};o&&o.length>0&&o.forEach(i=>{const u=i.id.replace("foot_",""),l=i.children;l&&l.length>0&&i.children[0].type!==s.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),r[u]=i}),n.forEach(i=>{const u=r[i.id];if(u){const l=u.children;if(!l||l.length===0)return;const c=i.children||[];i.children=[].concat(c,l)}}),t.props.footers=[]}}return e}const eft=(e,t)=>{const n=Array.isArray(e);let r=nft(n?e:[e],t);return n?r:r[0]};function nft(e,t){const n=rft(t);return n.length>0&&(oft(n,t),cB(n,e)),e}function cB(e,t){if(t){const n=t.length;for(let o=n-1;o>=0;o--){const r=t[o],i=r.id;e.indexOf(i)>-1?t.splice(o,1):cB(e,r.children)}}}function oft(e,t){const n=(t==null?void 0:t.permission_controls)||[];for(let o=n.length-1;o>=0;o--){const r=n[o].control_id;e.indexOf(r)>-1&&n.splice(o,1)}}function rft(e){const t=[],n=e==null?void 0:e.listeners;return n&&Object.keys(n).forEach(o=>{n[o].forEach(r=>{!r.cases||r.cases.forEach(i=>{!i.handlers||i.handlers.forEach(u=>{var l;if(!!u&&u.method==="openPage"){const c=(l=u.params)==null?void 0:l.relation_control_id;c&&t.push(c)}})})})}),t}var aB={"v1.0":qct,"v2.0":rat,"v2.1":uat,"v2.2":cat,"v2.3":fat,"v2.4":sat,"v2.5":dat,"v2.6":hat,"v2.7":mat,"v2.8":Oat,"v2.9":$at,"v2.10":Eat,"v3.0":Tat,"v3.1":Bat,"v3.2":kat,"v3.3":xat,"v3.4":jat,"v3.5":Nat,"v3.6":Hat,"v3.7":Wat,"v3.8":Gat,"v3.10":eft,"v3.11":()=>{}};const fB=(e,t)=>{const n=_B(e),o=_B(t),r=n.pop(),i=o.pop(),u=pB(n,o);return u!==0?u:r&&i?pB(r.split("."),i.split(".")):r||i?r?-1:1:0},Ja=(e,t,n)=>{cft(n);const o=fB(e,t);return dB[n].includes(o)},ift=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,_B=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(ift);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},yB=e=>e==="*"||e==="x"||e==="X",sB=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},uft=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],lft=(e,t)=>{if(yB(e)||yB(t))return 0;const[n,o]=uft(sB(e),sB(t));return n>o?1:n<o?-1:0},pB=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=lft(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},dB={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},vB=Object.keys(dB),cft=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(vB.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${vB.join("|")}`)};function p0(e){return e.replace(/^v/,"")}const qn=Object.keys(aB).map(e=>p0(e)).sort(fB),Fo=qn[qn.length-1];class aft{constructor(t,n=Fo){this.schemaVersion=t,this.toVersion=n,Ja(n,Fo,">")?Xn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${Fo}`):(!qn.includes(p0(n))||!qn.includes(p0(t)))&&Xn(`Version Builder: Please give me a valid version number, The valid version is: ${qn.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(Ja(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,l)=>{var p;const c=(p=l[u+1])!=null?p:this.toVersion;Lo(`Version Builder: current version: ${i}, nextVersion: ${c}`);const a=aB[i];let _=r;if(typeof a=="function"){const d=a(r,n);d&&(_=d)}return _},t);return Lo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return qn.filter(t=>Ja(t,this.schemaVersion,">=")&&Ja(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Fo}static get version(){return Fo}}Fe.VersionBuilder=aft,Object.defineProperty(Fe,"__esModule",{value:!0})});
|
|
1
|
+
(function(An,Gr){typeof exports=="object"&&typeof module!="undefined"?Gr(exports):typeof define=="function"&&define.amd?define(["exports"],Gr):(An=typeof globalThis!="undefined"?globalThis:An||self,Gr(An.modelDrivenUpgrade={}))})(this,function(An){"use strict";var Gr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",OB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",wB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",$B="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",PB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",RB="{caption}\u5FC5\u586B",SB="\u8BF7\u8F93\u5165\u6807\u9898",EB="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",TB="\u8BF7\u8F93\u5165\u884C\u6807\u9898",BB="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",IB="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",DB="\u8BF7\u7ED1\u5B9A\u8868\u5355",AB="\u8BF7\u7ED1\u5B9A\u5217\u8868",xB="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",kB="\u8BF7\u8F93\u5165\u663E\u793A\u503C",FB="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",CB="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",MB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",LB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",NB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",jB="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",VB="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",zB="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",HB="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",qB="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",UB="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",WB="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",KB="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",GB="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",XB="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",QB="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",JB="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ZB="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",YB="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",e3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",t3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",n3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",r3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",o3="\u8BF7\u9009\u62E9\u7701",i3="\u8BF7\u9009\u62E9\u5E02",u3="\u8BF7\u9009\u62E9\u533A",c3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",l3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",a3="\u8BF7\u8F93\u5165\u5217\u5BBD",f3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",s3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",_3="\u8BF7\u9009\u62E9\u63A7\u4EF6",y3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",p3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",d3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",v3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",h3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",b3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",m3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",g3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",O3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",w3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",P3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",R3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",S3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",E3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",T3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",B3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",I3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",D3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",A3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",x3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",k3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",F3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",C3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",M3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",L3="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",N3="\u6279\u91CF\u5220\u9664",j3="\u6279\u91CF\u6253\u5370",V3="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",z3="\u6309\u94AE",H3="\u521B\u5EFA\u5355\u636E",q3="\u4EEA\u8868\u76D8",U3="\u5206\u5272\u7EBF",W3="\u5BFC\u51FA",K3="\u8868\u5355\u64CD\u4F5C",G3="\u5BFC\u5165",X3="\u53D1\u7968\u8BC6\u522B",Q3="\u94FE\u63A5",J3="\u5217\u8868\u9009\u62E9",Z3="\u5217\u8868\u89C6\u56FE",Y3="\u64CD\u4F5C\u6309\u94AE",e1="\u5206\u9875",t1="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",n1="\u8BF4\u660E\u6587\u5B57",r1="\u6587\u5B57\u8BC6\u522B",o1="\u6807\u9898\u7EC4\u4EF6",i1="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",u1="\u6570\u7EC4",c1="\u81EA\u52A8\u7F16\u53F7",l1="\u81EA\u5B9A\u4E49",a1="\u6570\u503C",f1="\u90E8\u95E8",s1="\u4EBA\u5458",_1="\u9644\u4EF6",y1="\u56FE\u7247",p1="\u5730\u5740",d1="\u64CD\u4F5C",v1="\u5E8F\u53F7",h1="\u4EBA\u5458",b1="\u957F\u6587\u672C",m1="\u65E5\u671F\u533A\u95F4",g1="\u65E5\u671F",O1="\u77ED\u6587\u672C",w1="\u6362\u884C\u5BB9\u5668Wrap",$1="\u8868\u683C",P1="\u660E\u7EC6\u5B50\u8868",R1="\u5730\u5740",S1="\u91D1\u989D",E1="\u8BA1\u7B97\u516C\u5F0F",T1="\u591A\u9009",B1="\u7535\u5B50\u7B7E\u7AE0",I1="\u5355\u884C\u6587\u672C",D1="\u6570\u5B57",A1="\u4E1A\u52A1\u7EC4\u7EC7",x1="\u5355\u9009",k1="\u5BCC\u6587\u672C",F1="\u8BC4\u5206",C1="\u6570\u5B57\u533A\u95F4",M1="\u4E0B\u62C9\u5355\u9009",L1="\u4E0B\u62C9\u591A\u9009",N1="\u5173\u8054\u5355\u9009",j1="\u591A\u884C\u6587\u672C",V1="\u6811",z1="Vue\u5BB9\u5668",H1="Vue\u9875\u9762",q1="\u5728\u7EBF\u6587\u6863",U1="\u6309\u94AE\u64CD\u4F5C\u680F",W1="\u9AD8\u7EA7\u5BB9\u5668",K1="\u5206\u7EC4",G1="\u6805\u683C\u5217",X1="\u6570\u636E\u5BB9\u5668",Q1="\u753B\u5E03",J1="\u6362\u884C\u5BB9\u5668",Z1="\u6805\u683C\u7B49\u5206\u884C",Y1="\u5217\u8868\u5BB9\u5668",eI="\u81EA\u7531\u9875\u9762",tI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",nI="\u5B9A\u4F4D\u5BB9\u5668",rI="\u6805\u683C\u5E03\u5C40",oI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",iI="\u660E\u7EC6\u5B50\u8868\u884C",uI="\u6807\u7B7E\u9875",cI="\u6807\u7B7E\u5355\u5143",lI="\u5DE5\u5177\u680F",aI="\u6279\u91CF\u63D0\u4EA4",fI="\u5BFC\u51FA\u8BB0\u5F55",sI="\u5217\u8868\u89C6\u56FE",_I="\u7ED3\u675F\u65F6\u95F4",yI="\u5F00\u59CB\u65F6\u95F4",pI="\u5355\u4F4D",dI="\u7ED3\u679C",vI="\u5E01\u79CD",hI="\u7ED3\u675F\u65E5\u671F",bI="\u5F00\u59CB\u65E5\u671F",mI="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",gI="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",OI="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",wI="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",$I="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",PI="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",RI="\u8BF7\u9009\u62E9",SI="\u8BF7\u9009\u62E9\u7EC4\u7EC7",EI="\u8BF7\u9009\u62E9\u90E8\u95E8",TI="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",BI="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",II="\u8BF7\u9009\u62E9\u5730\u5740",DI="\u5F39\u7A97\u786E\u8BA4\u65F6",AI="\u6807\u7B7E\u9875\u5207\u6362\u65F6",xI="\u884C\u9009\u4E2D\u65F6",kI="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",FI="\u884C\u5220\u9664\u524D",CI="\u884C\u70B9\u51FB\u65F6",MI="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",LI="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",NI="\u91CD\u547D\u540D\u65F6",jI="\u4FDD\u5B58\u6587\u4EF6\u65F6",VI="\u6253\u5F00\u6587\u4EF6\u65F6",zI="\u83B7\u53D6\u7126\u70B9\u65F6",HI="\u5931\u53BB\u7126\u70B9\u65F6",qI="\u7528\u6237\u8F93\u5165\u65F6",UI="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",WI="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",KI="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",GI="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",XI="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",QI="\u641C\u7D22\u65F6",JI="\u503C\u53D1\u751F\u53D8\u5316\u65F6",ZI="\u6267\u884C\u5B8C\u6210\u65F6",YI="\u70B9\u51FB\u65F6",eD="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",tD="\u8BF7\u8F93\u5165\u65E5\u671F",nD="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",rD="\u8BF7\u8F93\u5165",oD="\u9ED8\u8BA4\u6A21\u7248",iD="\u5DE6\u53F3\u5E03\u5C40",uD="\u4E0A\u4E0B\u5E03\u5C40",cD="\u53EA\u8BFB",lD="\u5FC5\u586B",aD="\u63D0\u793A\u6587\u5B57",fD="\u9690\u85CF\u6807\u9898",sD="\u6807\u9898\u5FC5\u586B",_D="\u7EC4\u7EC7\u5F62\u6001",yD="\u4E1A\u52A1\u7C7B\u578B",pD="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",dD="\u9690\u85CF",vD="\u6D41\u7A0B\u72B6\u6001",hD="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",bD="\u5220\u9664",mD="\u7F16\u8F91",gD="\u67E5\u770B",OD="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",wD="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",$D="\u5145\u6EE1\u6574\u884C",PD="\u6700\u5C0F\u503C",RD="\u6700\u5927\u503C",SD="\u65B0\u5EFA\u6587\u6863",ED="\u91CD\u7F6E",TD="\u67E5\u8BE2",BD="\u660E\u7EC6",ID="\u6253\u5370",DD="\u4FDD\u5B58\u8349\u7A3F",AD="\u4FDD\u5B58",xD="\u53D6\u6D88",kD="\u4E0A\u4F20\u56FE\u7247",FD="\u53D1\u8D77\u7B7E\u7F72",CD="\u4E0A\u4F20\u9644\u4EF6",MD="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",LD="\u5F15\u7528\u5217\u8868",ND={isNotNumber:Gr,isNotString:OB,isNotObject:wB,isNotArray:$B,isNotBoolean:PB,runtimeRequired:RB,pleaseEnterCaption:SB,pleaseEnterCaptionTip:EB,pleaseEnterRowCaption:TB,pleaseEnterPlaceholder:BB,pleaseEnterFieldCode:IB,pleaseEnterForm:DB,pleaseEnterList:AB,pleaseEnterProcess:xB,pleaseEnterLabel:kB,pleaseEnterValue:FB,bizKeyNotBindFiled:CB,pleaseSelectOneField:MB,pleaseEnterNumberRange:LB,pleaseEnterAValueGreaterThanMin:NB,pleaseEnterAValueLessThanMax:jB,numberRangeSetError:VB,stringRangeError:zB,attachmentMaxSize:HB,pleaseEnterTotalScoreSetting:qB,theTotalScoreMustNotBeLessThan1:UB,scoreDefaultValueRange:WB,attachmentLimitError:KB,PleaseReselectTheOptionalQuantity:GB,TheMaximumLengthIsGreaterThanTheMinimumLength:XB,TheMinimumLengthIsGreaterThanTheMaximumLength:QB,PleaseSelectTheCorrectOptionSettings:JB,optionIdIsRepeat:ZB,optionIsRequired:YB,pleaseEnterDataCode:e3,pleaseEnterValueFieldCode:t3,pleaseEnterSvcCode:n3,pleaseBindAtLeastOneDisplayValue:r3,pleaseSelectProvince:o3,pleaseSelectCity:i3,pleaseSelectDistrict:u3,limitRowsCannotBeLessThan0:c3,TheNumberOfRowsCannotBeLessThanMinRows:l3,pleaseEnterColumnWidth:a3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:f3,pleaseCompleteAllRulesAndConditions:s3,pleaseSelectControl:_3,pleaseSelectAtLeastOneColumn:y3,pleaseSelectFillBackMode:p3,pleaseSelectDashboard:d3,rootNodeIsRequired:v3,theViewNameCannotBeEmpty:h3,pleaseSelectOcrType:b3,pleaseSelectAtLeastOneFieldToFillIn:m3,pleaseChooseAtLeastOne:g3,pleaseEnterButtonContent:O3,pleaseEnterDataCodeInDataSetting:w3,pleaseEnterValueFieldCodeInDataSetting:$3,pleaseEnterSvcCodeInDataSetting:P3,pleaseBindAtLeastOneDisplayValueInDataSetting:R3,rootNodeIsRequiredInDataSetting:S3,pleaseEnterMaxHeight:E3,pleaseEnterWatermark:T3,pleaseEnterFileName:B3,pleaseUploadAtLeastOnePrintTemplate:I3,pleaseAssignBusiness:D3,pleaseAssignExternal:A3,pleaseEnterAliasCode:x3,pleaseSelectDataCode:k3,pleaseSelectSvcCode:F3,pleaseSelectJoinFieldCode:C3,pleaseSelectMainFieldCode:M3,pleaseSelectSortFieldCode:L3,batchDeleteButton:N3,batchPrintListButton:j3,batchPrintRecordList:V3,button:z3,createFormListButton:H3,dashboard:q3,divider:U3,exportListButton:W3,formSelectButton:K3,importRecordListButton:G3,invoiceCheckButton:X3,link:Q3,listSelectButton:J3,ListViewSelect:Z3,operationButton:Y3,pagination:e1,submissionRecordListButton:t1,text:n1,textOcrButton:r1,title:o1,approvalStatusColumn:i1,array:u1,autoNumber:c1,custom:l1,decimal:a1,department:f1,employee:s1,file:_1,image:y1,location:p1,operation:d1,order:v1,people:h1,long:b1,timescope:m1,timestamp:g1,varchar:O1,gridLayoutWrap:w1,gridTable:$1,subTable:P1,address:R1,amount:S1,calc:E1,checkBox:T1,electronicSignature:B1,input:I1,number:D1,organizationSelection:A1,radio:x1,richText:k1,score:F1,searchNumberRange:C1,select:M1,selectMultiple:L1,selectRelation:N1,textarea:j1,tree:V1,vueFormItem:z1,vuePage:H1,WPS:q1,actionBar:U1,advancedContainer:W1,cardGroup:K1,col:G1,dataView:X1,grid:Q1,gridLayoutContainer:J1,gridRow:Z1,listView:Y1,page:eI,position:tI,positioningContainer:nI,row:rI,subtableColumn:oI,subtableRow:iI,tab:uI,tabPane:cI,toolbox:lI,batchSubmissionListButton:aI,exportRecordListButton:fI,listViewSelect:sI,endTime:_I,startTime:yI,unit:pI,result:dI,currency:vI,endDate:hI,startDate:bI,pleaseSelectCompanyName:mI,pleaseSelectPhoneOrEmail:gI,pleaseSelectSignType:OI,pleaseSelectSigner:wI,pleaseSelectOnlyOne:$I,pleaseSelectSignFile:PI,pleaseSelect:RI,pleaseSelectOrg:SI,pleaseSelectDept:EI,pleaseSelectEndDate:TI,pleaseSelectStartDate:BI,pleaseChooseAddress:II,modalConfirm:DI,tabChange:AI,rowSelected:xI,listDataImport:kI,rowDelete:FI,rowClick:CI,cellRender:MI,onClickBtn:LI,rename:NI,onSaveFile:jI,onOpenFile:VI,onFocus:zI,onBlur:HI,onInput:qI,listDataAdd:UI,listDataDelete:WI,listDataBack:KI,listDataCreate:GI,listDataChange:XI,search:QI,valueChange:JI,finished:ZI,click:YI,pleaseEnterNameorEmail:eD,pleaseEnterDate:tD,pleaseEnterAutonumber:nD,pleaseEnter:rD,defaultTemplate:oD,left:iD,top:uD,default:"\u666E\u901A",readonly:cD,required:lD,textTip:aD,hideCaption:fD,titleRequired:sD,organizationalForm:_D,businessType:yD,deleteConfirm:pD,hide:dD,processStatus:vD,approvedDocuments:hD,delete:bD,edit:mD,view:gD,loadCtrlErrorTip:OD,loadCtrlError:wD,fullLine:$D,min:PD,max:RD,createWPS:SD,reset:ED,query:TD,detailed:BD,print:ID,draft:DD,save:AD,cancel:xD,uploadImg:kD,signature:FD,uploadFile:CD,linkContent:MD,referenceList:LD},jD="Please enter a number",VD="Please enter a string",zD="Please enter an object",HD="Please enter an array",qD="Please enter a boolean",UD="{caption} Required",WD="Please enter the title",KD="Please enter the bubble prompt",GD="Please enter the row title",XD="Please enter the prompt text",QD="Please bind data items",JD="Please bind the form",ZD="Please bind the list",YD="Please bind the process",e2="Please enter the displayed value",t2="Please enter the stored value",n2="The document number is not bound to the data item",r2="Please select at least one display field",o2="Please enter a value greater than or equal to {min} and less than or equal to {max}",i2="Please enter a value greater than or equal to {min}",u2="Please enter a value less than or equal to {max}",c2="The value range is set incorrectly",l2="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",a2="The attachment size must be between 0MB and 1000MB",f2="Please fill in the total score setting",s2="The total score cannot be less than 1",_2="The default value must be between {min} and {max}",y2="The number of attachment uploads exceeds the limit",p2="Please re-select the optional quantity",d2="The maximum length of the control must be greater than the minimum length",v2="The minimum length of the control must be less than the maximum length",h2="Please select the correct option setting",b2="Option ID cannot be repeated",m2="Please enter at least one option",g2="Please bind the data source",O2="Please bind the stored value",w2="Please bind the service",$2="At least one display value must be bound",P2="Please select a province",R2="Please select a city",S2="Please select a district",E2="The minimum number of lines to fill in cannot be less than 0",T2="The number of rows cannot be less than {min} rows",B2="Please enter the column width",I2="Please set the logical relationship of all rule conditions",D2="Please complete all rules and conditions",A2="please select control",x2="Please select the dashboard",k2="View name cannot be empty",F2="Please select recognition type",C2="Please select at least one field to fill in",M2="Please select at least one",L2="Please enter the button title",N2="Please bind the business model in the data settings",j2="Please bind storage values in data settings",V2="Please bind the service in the data settings",z2="Please bind at least one display value in the data settings",H2="Please select the root node in the data settings",q2="Please enter the maximum height",U2="The input content cannot be empty",W2="Watermark cannot be empty",K2="File name cannot be empty",G2="Please upload at least one printing template!\uFF01",X2="Please select a specific business department",Q2="Please select a specified external organization",J2="Please enter a sub table alias",Z2="Please select the associated table to set the business model",Y2="Please select the association table to set the binding service",eA="Select associated sub table fields",tA="Please select the associated main table field",nA="Please select the sort field",rA="\u6279\u91CF\u5220\u9664",oA="\u6279\u91CF\u6253\u5370",iA="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",uA="\u6309\u94AE",cA="\u521B\u5EFA\u5355\u636E",lA="\u4EEA\u8868\u76D8",aA="\u5206\u5272\u7EBF",fA="\u5BFC\u51FA",sA="\u8868\u5355\u64CD\u4F5C",_A="\u5BFC\u5165",yA="\u53D1\u7968\u8BC6\u522B",pA="\u94FE\u63A5",dA="\u5217\u8868\u9009\u62E9",vA="\u5217\u8868\u89C6\u56FE",hA="\u64CD\u4F5C\u6309\u94AE",bA="\u5206\u9875",mA="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",gA="\u8BF4\u660E\u6587\u5B57",OA="\u6587\u5B57\u8BC6\u522B",wA="\u6807\u9898\u7EC4\u4EF6",$A="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",PA="\u6570\u7EC4",RA="\u81EA\u52A8\u7F16\u53F7",SA="\u81EA\u5B9A\u4E49",EA="\u6570\u503C",TA="\u90E8\u95E8",BA="\u4EBA\u5458",IA="\u9644\u4EF6",DA="\u56FE\u7247",AA="\u5730\u5740",xA="\u64CD\u4F5C",kA="\u5E8F\u53F7",FA="\u4EBA\u5458",CA="\u957F\u6587\u672C",MA="\u65E5\u671F\u533A\u95F4",LA="\u65E5\u671F",NA="\u77ED\u6587\u672C",jA="\u6362\u884C\u5BB9\u5668Wrap",VA="\u8868\u683C",zA="\u660E\u7EC6\u5B50\u8868",HA="\u5730\u5740",qA="\u91D1\u989D",UA="\u8BA1\u7B97\u516C\u5F0F",WA="\u591A\u9009",KA="\u7535\u5B50\u7B7E\u7AE0",GA="\u5355\u884C\u6587\u672C",XA="\u6570\u5B57",QA="\u4E1A\u52A1\u7EC4\u7EC7",JA="\u5355\u9009",ZA="\u5BCC\u6587\u672C",YA="\u8BC4\u5206",e5="\u6570\u5B57\u533A\u95F4",t5="\u4E0B\u62C9\u5355\u9009",n5="\u4E0B\u62C9\u591A\u9009",r5="\u5173\u8054\u5355\u9009",o5="\u591A\u884C\u6587\u672C",i5="\u6811",u5="Vue\u5BB9\u5668",c5="Vue\u9875\u9762",l5="\u5728\u7EBF\u6587\u6863",a5="\u6309\u94AE\u64CD\u4F5C\u680F",f5="\u9AD8\u7EA7\u5BB9\u5668",s5="\u5206\u7EC4",_5="\u6805\u683C\u5217",y5="\u6570\u636E\u5BB9\u5668",p5="\u753B\u5E03",d5="\u6362\u884C\u5BB9\u5668",v5="\u6805\u683C\u7B49\u5206\u884C",h5="\u5217\u8868\u5BB9\u5668",b5="\u81EA\u7531\u9875\u9762",m5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",g5="\u5B9A\u4F4D\u5BB9\u5668",O5="\u6805\u683C\u5E03\u5C40",w5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",$5="\u660E\u7EC6\u5B50\u8868\u884C",P5="\u6807\u7B7E\u9875",R5="\u6807\u7B7E\u5355\u5143",S5="\u5DE5\u5177\u680F",E5="\u6279\u91CF\u63D0\u4EA4",T5="\u5BFC\u51FA\u8BB0\u5F55",B5="\u5217\u8868\u89C6\u56FE",I5="\u5F15\u7528\u5217\u8868",D5={isNotNumber:jD,isNotString:VD,isNotObject:zD,isNotArray:HD,isNotBoolean:qD,runtimeRequired:UD,pleaseEnterCaption:WD,pleaseEnterCaptionTip:KD,pleaseEnterRowCaption:GD,pleaseEnterPlaceholder:XD,pleaseEnterFieldCode:QD,pleaseEnterForm:JD,pleaseEnterList:ZD,pleaseEnterProcess:YD,pleaseEnterLabel:e2,pleaseEnterValue:t2,bizKeyNotBindFiled:n2,pleaseSelectOneField:r2,pleaseEnterNumberRange:o2,pleaseEnterAValueGreaterThanMin:i2,pleaseEnterAValueLessThanMax:u2,numberRangeSetError:c2,stringRangeError:l2,attachmentMaxSize:a2,pleaseEnterTotalScoreSetting:f2,theTotalScoreMustNotBeLessThan1:s2,scoreDefaultValueRange:_2,attachmentLimitError:y2,PleaseReselectTheOptionalQuantity:p2,TheMaximumLengthIsGreaterThanTheMinimumLength:d2,TheMinimumLengthIsGreaterThanTheMaximumLength:v2,PleaseSelectTheCorrectOptionSettings:h2,optionIdIsRepeat:b2,optionIsRequired:m2,pleaseEnterDataCode:g2,pleaseEnterValueFieldCode:O2,pleaseEnterSvcCode:w2,pleaseBindAtLeastOneDisplayValue:$2,pleaseSelectProvince:P2,pleaseSelectCity:R2,pleaseSelectDistrict:S2,limitRowsCannotBeLessThan0:E2,TheNumberOfRowsCannotBeLessThanMinRows:T2,pleaseEnterColumnWidth:B2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:I2,pleaseCompleteAllRulesAndConditions:D2,pleaseSelectControl:A2,pleaseSelectDashboard:x2,theViewNameCannotBeEmpty:k2,pleaseSelectOcrType:F2,pleaseSelectAtLeastOneFieldToFillIn:C2,pleaseChooseAtLeastOne:M2,pleaseEnterButtonContent:L2,pleaseEnterDataCodeInDataSetting:N2,pleaseEnterValueFieldCodeInDataSetting:j2,pleaseEnterSvcCodeInDataSetting:V2,pleaseBindAtLeastOneDisplayValueInDataSetting:z2,rootNodeIsRequiredInDataSetting:H2,pleaseEnterMaxHeight:q2,pleaseEnter:U2,pleaseEnterWatermark:W2,pleaseEnterFileName:K2,pleaseUploadAtLeastOnePrintTemplate:G2,pleaseAssignBusiness:X2,pleaseAssignExternal:Q2,pleaseEnterAliasCode:J2,pleaseSelectDataCode:Z2,pleaseSelectSvcCode:Y2,pleaseSelectJoinFieldCode:eA,pleaseSelectMainFieldCode:tA,pleaseSelectSortFieldCode:nA,batchDeleteButton:rA,batchPrintListButton:oA,batchPrintRecordList:iA,button:uA,createFormListButton:cA,dashboard:lA,divider:aA,exportListButton:fA,formSelectButton:sA,importRecordListButton:_A,invoiceCheckButton:yA,link:pA,listSelectButton:dA,ListViewSelect:vA,operationButton:hA,pagination:bA,submissionRecordListButton:mA,text:gA,textOcrButton:OA,title:wA,approvalStatusColumn:$A,array:PA,autoNumber:RA,custom:SA,decimal:EA,department:TA,employee:BA,file:IA,image:DA,location:AA,operation:xA,order:kA,people:FA,long:CA,timescope:MA,timestamp:LA,varchar:NA,gridLayoutWrap:jA,gridTable:VA,subTable:zA,address:HA,amount:qA,calc:UA,checkBox:WA,electronicSignature:KA,input:GA,number:XA,organizationSelection:QA,radio:JA,richText:ZA,score:YA,searchNumberRange:e5,select:t5,selectMultiple:n5,selectRelation:r5,textarea:o5,tree:i5,vueFormItem:u5,vuePage:c5,WPS:l5,actionBar:a5,advancedContainer:f5,cardGroup:s5,col:_5,dataView:y5,grid:p5,gridLayoutContainer:d5,gridRow:v5,listView:h5,page:b5,position:m5,positioningContainer:g5,row:O5,subtableColumn:w5,subtableRow:$5,tab:P5,tabPane:R5,toolbox:S5,batchSubmissionListButton:E5,exportRecordListButton:T5,listViewSelect:B5,referenceList:I5},A5="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",x5="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",k5="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",F5="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",C5="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",M5="{caption}\u5FC5\u9808",L5="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",N5="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",j5="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",V5="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",z5="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",H5="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",q5="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",U5="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",W5="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",K5="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",G5="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",X5="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q5="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",J5="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Z5="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Y5="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ex="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tx="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",nx="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rx="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ox="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ix="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",ux="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cx="\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",lx="\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",ax="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fx="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",sx="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",_x="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yx="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",px="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dx="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",vx="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hx="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bx="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mx="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gx="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ox="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wx="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$x="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Px="please select control",Rx="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sx="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ex="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Tx="\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",Bx="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ix="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Dx="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ax="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",xx="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",kx="\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",Fx="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Cx="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mx="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Lx="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Nx="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",jx="\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",Vx="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zx="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Hx="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qx="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ux="\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",Wx="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Kx="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Gx="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xx="\u6279\u91CF\u5220\u9664",Qx="\u6279\u91CF\u6253\u5370",Jx="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Zx="\u6309\u94AE",Yx="\u521B\u5EFA\u5355\u636E",ek="\u4EEA\u8868\u76D8",tk="\u5206\u5272\u7EBF",nk="\u5BFC\u51FA",rk="\u8868\u5355\u64CD\u4F5C",ok="\u5BFC\u5165",ik="\u53D1\u7968\u8BC6\u522B",uk="\u94FE\u63A5",ck="\u5217\u8868\u9009\u62E9",lk="\u5217\u8868\u89C6\u56FE",ak="\u64CD\u4F5C\u6309\u94AE",fk="\u5206\u9875",sk="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",_k="\u8BF4\u660E\u6587\u5B57",yk="\u6587\u5B57\u8BC6\u522B",pk="\u6807\u9898\u7EC4\u4EF6",dk="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",vk="\u6570\u7EC4",hk="\u81EA\u52A8\u7F16\u53F7",bk="\u81EA\u5B9A\u4E49",mk="\u6570\u503C",gk="\u90E8\u95E8",Ok="\u4EBA\u5458",wk="\u9644\u4EF6",$k="\u56FE\u7247",Pk="\u5730\u5740",Rk="\u64CD\u4F5C",Sk="\u5E8F\u53F7",Ek="\u4EBA\u5458",Tk="\u957F\u6587\u672C",Bk="\u65E5\u671F\u533A\u95F4",Ik="\u65E5\u671F",Dk="\u77ED\u6587\u672C",Ak="\u6362\u884C\u5BB9\u5668Wrap",xk="\u8868\u683C",kk="\u660E\u7EC6\u5B50\u8868",Fk="\u5730\u5740",Ck="\u91D1\u989D",Mk="\u8BA1\u7B97\u516C\u5F0F",Lk="\u591A\u9009",Nk="\u7535\u5B50\u7B7E\u7AE0",jk="\u5355\u884C\u6587\u672C",Vk="\u6570\u5B57",zk="\u4E1A\u52A1\u7EC4\u7EC7",Hk="\u5355\u9009",qk="\u5BCC\u6587\u672C",Uk="\u8BC4\u5206",Wk="\u6570\u5B57\u533A\u95F4",Kk="\u4E0B\u62C9\u5355\u9009",Gk="\u4E0B\u62C9\u591A\u9009",Xk="\u5173\u8054\u5355\u9009",Qk="\u591A\u884C\u6587\u672C",Jk="\u6811",Zk="Vue\u5BB9\u5668",Yk="Vue\u9875\u9762",e6="\u5728\u7EBF\u6587\u6863",t6="\u6309\u94AE\u64CD\u4F5C\u680F",n6="\u9AD8\u7EA7\u5BB9\u5668",r6="\u5206\u7EC4",o6="\u6805\u683C\u5217",i6="\u6570\u636E\u5BB9\u5668",u6="\u753B\u5E03",c6="\u6362\u884C\u5BB9\u5668",l6="\u6805\u683C\u7B49\u5206\u884C",a6="\u5217\u8868\u5BB9\u5668",f6="\u81EA\u7531\u9875\u9762",s6="\u5B9A\u4F4D\u5B50\u5BB9\u5668",_6="\u5B9A\u4F4D\u5BB9\u5668",y6="\u6805\u683C\u5E03\u5C40",p6="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",d6="\u660E\u7EC6\u5B50\u8868\u884C",v6="\u6807\u7B7E\u9875",h6="\u6807\u7B7E\u5355\u5143",b6="\u5DE5\u5177\u680F",m6="\u6279\u91CF\u63D0\u4EA4",g6="\u5BFC\u51FA\u8BB0\u5F55",O6="\u5217\u8868\u89C6\u56FE",w6="\u5F15\u7528\u5217\u8868",$6={isNotNumber:A5,isNotString:x5,isNotObject:k5,isNotArray:F5,isNotBoolean:C5,runtimeRequired:M5,pleaseEnterCaption:L5,pleaseEnterCaptionTip:N5,pleaseEnterRowCaption:j5,pleaseEnterPlaceholder:V5,pleaseEnterFieldCode:z5,pleaseEnterForm:H5,pleaseEnterList:q5,pleaseEnterProcess:U5,pleaseEnterLabel:W5,pleaseEnterValue:K5,bizKeyNotBindFiled:G5,pleaseSelectOneField:X5,pleaseEnterNumberRange:Q5,pleaseEnterAValueGreaterThanMin:J5,pleaseEnterAValueLessThanMax:Z5,numberRangeSetError:Y5,stringRangeError:ex,attachmentMaxSize:tx,pleaseEnterTotalScoreSetting:nx,theTotalScoreMustNotBeLessThan1:rx,scoreDefaultValueRange:ox,attachmentLimitError:ix,PleaseReselectTheOptionalQuantity:ux,TheMaximumLengthIsGreaterThanTheMinimumLength:cx,TheMinimumLengthIsGreaterThanTheMaximumLength:lx,PleaseSelectTheCorrectOptionSettings:ax,optionIdIsRepeat:fx,optionIsRequired:sx,pleaseEnterDataCode:_x,pleaseEnterValueFieldCode:yx,pleaseEnterSvcCode:px,pleaseBindAtLeastOneDisplayValue:dx,pleaseSelectProvince:vx,pleaseSelectCity:hx,pleaseSelectDistrict:bx,limitRowsCannotBeLessThan0:mx,TheNumberOfRowsCannotBeLessThanMinRows:gx,pleaseEnterColumnWidth:Ox,pleaseSetTheLogicalRelationshipOfAllRuleConditions:wx,pleaseCompleteAllRulesAndConditions:$x,pleaseSelectControl:Px,pleaseSelectDashboard:Rx,theViewNameCannotBeEmpty:Sx,pleaseSelectOcrType:Ex,pleaseSelectAtLeastOneFieldToFillIn:Tx,pleaseChooseAtLeastOne:Bx,pleaseEnterButtonContent:Ix,pleaseEnterDataCodeInDataSetting:Dx,pleaseEnterValueFieldCodeInDataSetting:Ax,pleaseEnterSvcCodeInDataSetting:xx,pleaseBindAtLeastOneDisplayValueInDataSetting:kx,rootNodeIsRequiredInDataSetting:Fx,pleaseEnterMaxHeight:Cx,pleaseEnter:Mx,pleaseEnterWatermark:Lx,pleaseEnterFileName:Nx,pleaseUploadAtLeastOnePrintTemplate:jx,pleaseAssignBusiness:Vx,pleaseAssignExternal:zx,pleaseEnterAliasCode:Hx,pleaseSelectDataCode:qx,pleaseSelectSvcCode:Ux,pleaseSelectJoinFieldCode:Wx,pleaseSelectMainFieldCode:Kx,pleaseSelectSortFieldCode:Gx,batchDeleteButton:Xx,batchPrintListButton:Qx,batchPrintRecordList:Jx,button:Zx,createFormListButton:Yx,dashboard:ek,divider:tk,exportListButton:nk,formSelectButton:rk,importRecordListButton:ok,invoiceCheckButton:ik,link:uk,listSelectButton:ck,ListViewSelect:lk,operationButton:ak,pagination:fk,submissionRecordListButton:sk,text:_k,textOcrButton:yk,title:pk,approvalStatusColumn:dk,array:vk,autoNumber:hk,custom:bk,decimal:mk,department:gk,employee:Ok,file:wk,image:$k,location:Pk,operation:Rk,order:Sk,people:Ek,long:Tk,timescope:Bk,timestamp:Ik,varchar:Dk,gridLayoutWrap:Ak,gridTable:xk,subTable:kk,address:Fk,amount:Ck,calc:Mk,checkBox:Lk,electronicSignature:Nk,input:jk,number:Vk,organizationSelection:zk,radio:Hk,richText:qk,score:Uk,searchNumberRange:Wk,select:Kk,selectMultiple:Gk,selectRelation:Xk,textarea:Qk,tree:Jk,vueFormItem:Zk,vuePage:Yk,WPS:e6,actionBar:t6,advancedContainer:n6,cardGroup:r6,col:o6,dataView:i6,grid:u6,gridLayoutContainer:c6,gridRow:l6,listView:a6,page:f6,position:s6,positioningContainer:_6,row:y6,subtableColumn:p6,subtableRow:d6,tab:v6,tabPane:h6,toolbox:b6,batchSubmissionListButton:m6,exportRecordListButton:g6,listViewSelect:O6,referenceList:w6},Es={zhCN:ND,enUS:D5,jaJP:$6},pm;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(pm||(pm={}));var dm;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(dm||(dm={}));var Ts,P6=(Ts=window.localStorage.getItem("locale"))!==null&&Ts!==void 0?Ts:"zh-CN",xn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(xn||(xn={}));var vm;(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"})(vm||(vm={}));var p;(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"})(p||(p={}));var hm;(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"})(hm||(hm={}));var g;(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"})(g||(g={}));var qt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(qt||(qt={}));var bm={DEFAULT:"default"},mm="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",R6=mm+"0123456789";function yt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?mm:R6,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Bs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function S6(e){if(Array.isArray(e))return Bs(e)}function E6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ko(e,t,r){return $m()?Ko=Reflect.construct:Ko=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&Qr(a,u.prototype),a},Ko.apply(null,arguments)}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xr(e)}function Om(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&&Qr(e,t)}function T6(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function B6(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function I6(){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 D6(e,t){return t&&(A6(t)==="object"||typeof t=="function")?t:E6(e)}function Qr(e,t){return Qr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qr(e,t)}function wm(e){return S6(e)||B6(e)||x6(e)||I6()}function A6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x6(e,t){if(!!e){if(typeof e=="string")return Bs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bs(e,t)}}function Is(e){var t=typeof Map=="function"?new Map:void 0;return Is=function(n){if(n===null||!T6(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Ko(n,arguments,Xr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Qr(o,n)},Is(e)}function $m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pm(e){var t=$m();return function(){var n=Xr(e),o;if(t){var i=Xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D6(this,o)}}var Ds=console;function As(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Ds).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(wm(o)))}function Go(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Ds).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(wm(o)))}function k6(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xs=function(e){Om(r,e);var t=Pm(r);function r(n){gm(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?k6(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Is(Error)),F6=function(e){Om(r,e);var t=Pm(r);function r(n){gm(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(xs);function Jr(e){throw new xs(e)}function Rm(e){throw new F6(e)}function C6(e){Ds.error(new xs(e))}const s=(e,t,r)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=e.split(".");let o;const i=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((c,l)=>{l===0?o=i[c]:o&&(o=o[c])});let u="";return o&&(u=o),t&&Object.keys(t).forEach(c=>{const l=t[c];u=u.replace(new RegExp(`\\{\\s*${c}\\s*\\}`,"g"),l)}),u||(r?u=r:u=e),u};function M6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L6(e,t,r){return t&&Sm(e.prototype,t),r&&Sm(e,r),e}function N6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Em=function(){function e(){M6(this,e)}return L6(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o;return s("CMD."+r,n,Es==null||(o=Es[P6.split("-").join("")])===null||o===void 0?void 0:o[r])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(r,n){}}]),e}();N6(Em,"$i18n",Em.resetI18n());function j6(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){As("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===l.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var V6=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ks={exports:{}};(function(e){(function(t){var r=function(v,$,P){if(!a($)||y($)||d($)||m($)||l($))return $;var E,T=0,j=0;if(f($))for(E=[],j=$.length;T<j;T++)E.push(r(v,$[T],P));else{E={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(E[v(A,P)]=r(v,$[A],P))}return E},n=function(v,$){$=$||{};var P=$.separator||"_",E=$.split||/(?=[A-Z])/;return v.split(E).join(P)},o=function(v){return O(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var $=o(v);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(v,$){return n(v,$).toLowerCase()},c=Object.prototype.toString,l=function(v){return typeof v=="function"},a=function(v){return v===Object(v)},f=function(v){return c.call(v)=="[object Array]"},y=function(v){return c.call(v)=="[object Date]"},d=function(v){return c.call(v)=="[object RegExp]"},m=function(v){return c.call(v)=="[object Boolean]"},O=function(v){return v=v-0,v===v},b=function(v,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?v:function(E,T){return P(E,v,T)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,$){return r(b(o,$),v)},decamelizeKeys:function(v,$){return r(b(u,$),v,$)},pascalizeKeys:function(v,$){return r(b(i,$),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(V6)})(ks);var Tm={};Object.defineProperty(Tm,"__esModule",{value:!0});function Fs(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Fs(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Fs(n)}return t}}var z6=Tm.default=Fs;function H6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ye(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":H6(e))==="object"?z6(e):e}function we(e){return Bm(e)&&"zh"in e}function Bm(e){return Object.prototype.toString.call(e)==="[object Object]"}function Cs(e){return Array.isArray(e)}function kn(e){return isNaN(parseFloat(e))?"":Number(e)}function q6(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function V(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=V(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=V(n.footers,t)),t(o)})),r}function U6(e){return ks.exports.camelizeKeys(e)}function Ut(e){return ks.exports.decamelizeKeys(e)}function Ms(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function W6(e){if(Array.isArray(e))return Ms(e)}function Im(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function K6(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Im(i,n,o,u,c,"next",l)}function c(l){Im(i,n,o,u,c,"throw",l)}u(void 0)})}}function G6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X6(e,t,r){return t&&Dm(e.prototype,t),r&&Dm(e,r),e}function Am(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q6(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function J6(){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 Ls(e){return W6(e)||Q6(e)||Z6(e)||J6()}function Z6(e,t){if(!!e){if(typeof e=="string")return Ms(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ms(e,t)}}function Y6(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var eF=function(){function e(){G6(this,e),Am(this,"_events",new Map),Am(this,"debug",!1)}return X6(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return K6(function(){var c,l,a,f,y,d,m,O,b,w,v,$;return Y6(this,function(P){switch(P.label){case 0:if(c=u._events.get(r),l=[],!c)return[3,10];a=c.slice(),f=!0,y=!1,d=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),m=a[Symbol.iterator](),P.label=2;case 2:if(f=(O=m.next()).done)return[3,7];if(b=O.value,!c.includes(b))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Go.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Ls(o))),[4,b.apply(null,Ls(o))];case 4:return w=P.sent(),u.debug&&Go.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ls(o),[w])),l.push(w),w===!1?[3,7]:[3,6];case 5:return v=P.sent(),C6(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),y=!0,d=$,[3,10];case 9:try{!f&&m.return!=null&&m.return()}finally{if(y)throw d}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function tF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nF(e,t,r){return t&&xm(e.prototype,t),r&&xm(e,r),e}function rF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oF=[{key:"on_click",name:s("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:s("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:s("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:s("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:s("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:s("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:s("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:s("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:s("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:s("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:s("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:s("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:s("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:s("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:s("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:s("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:s("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:s("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:s("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:s("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:s("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:s("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:s("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"}],iF=function(){function e(){tF(this,e)}return nF(e,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],o=r.eventKeys;n=n.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=r.customEvents.map(function(u){var c=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(c=u.namespace+":"+u.key),{key:c,code:u.key,name:u.name}});return n=n.concat(i),n}}]),e}();rF(iF,"events",oF);function Ns(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function uF(e){if(Array.isArray(e))return Ns(e)}function cF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lF(){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 km(e){return uF(e)||cF(e)||aF(e)||lF()}function aF(e,t){if(!!e){if(typeof e=="string")return Ns(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ns(e,t)}}function js(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Fm(e,t,r){r!=="Runtime"&&(e.parent=t,js(e,"parent"))}function fF(e,t,r){e.forEach(function(n){Fm(n,t,r)})}var Cm=Symbol("targetKey");function Mm(e){var t;return(t=e[Cm])!==null&&t!==void 0?t:e}function Lm(e,t,r){return fF(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),l=2;l<u;l++)c[l-2]=arguments[l];var a;return i===Cm?o:(a=Reflect).get.apply(a,[o,i].concat(km(c)))},set:function(o,i,u){for(var c=arguments.length,l=new Array(c>3?c-3:0),a=3;a<c;a++)l[a-3]=arguments[a];var f;if(Cs(e)&&i==="length"&&u===e.length)return!0;var y=(f=Reflect).set.apply(f,[o,i,u].concat(km(l)));return Bm(u)&&Fm(u,t,r),y}})}function Et(e,t,r,n,o){var i=n!=null?n:e,u=Lm(Mm(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(l){u=Lm(Mm(l),i,o)},enumerable:!0})}function sF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _F(e,t,r){return t&&Nm(e.prototype,t),r&&Nm(e,r),e}function Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var jm=[],Xo=function(){function e(t){sF(this,e),Wt(this,"registeredControlTypes",new Set),Wt(this,"controlConfigMap",new Map),Wt(this,"_controls",[]),Wt(this,"_type",void 0),this._type=t,this._initControls(t)}return _F(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Jr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(As("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===xn.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===xn.FORM}},{key:"isListControl",value:function(r){return r.controlType===xn.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===xn.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var l=n(c);l&&(c=l)}var a;return u.mode==="Runtime"?(a=c,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(c),a}else Jr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),js(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,c=n.instanceMap;if(!(!u||!c)){var l=u[i],a=c[i];if(!(!l&&!a)){var f=a.findIndex(function(m){return m==r}),y=c[l]||[],d;return y.length!==a.length?d=y[0]:d=y[f],d}}}}),js(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Jr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(l){return l.Designer.controlType===o.controlType});return c>-1&&(As("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Wt(Xo,"staticControlsRuntimeRules",new Map),Wt(Xo,"staticControls",jm),Wt(Xo,"staticRegisteredTypes",new Set(jm.map(function(e){return e.Designer.controlType}))),Wt(Xo,"staticRegisteredConfigs",new Map);function N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function et(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&&Vs(e,t)}function yF(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:N(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}function pF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tt(e){var t=dF();return function(){var n=Qo(e),o;if(t){var i=Qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yF(this,o)}}var nt=function e(t){S(this,e),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},zs=function e(t){S(this,e),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Vm=function e(t){S(this,e),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var r;this.rowHeightType=(r=t==null?void 0:t.rowHeightType)!==null&&r!==void 0?r:"fixed";var n;this.minRows=(n=t==null?void 0:t.minRows)!==null&&n!==void 0?n:4;var o;this.maxRows=(o=t==null?void 0:t.maxRows)!==null&&o!==void 0?o:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},zm=function e(t){S(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Vm(t==null?void 0:t.pc),this.mobile=new Vm(t==null?void 0:t.mobile)},Hs=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o;o=t.call(this,n),h(N(o),"width",void 0),h(N(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(zs),Hm=function e(t){S(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Hs(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Hs(t==null?void 0:t.mobile):new Hs({width:130,minWidth:180})},vF=function e(t){S(this,e),h(this,"type",void 0),h(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Fn=function e(t){S(this,e),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},hF=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o;o=t.call(this,n),h(N(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Fn),qm=function e(t){S(this,e),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:""},qs=function e(t){S(this,e);var r;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new qm(u)}))!==null&&i!==void 0?i:[]},bF=function e(t){S(this,e),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:g.VARCHAR},mF=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o;o=t.call(this,n),h(N(o),"title",void 0),h(N(o),"svcCode",void 0),h(N(o),"isOpenFilter",void 0),h(N(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(Fn),gF=function e(t){S(this,e);var r,n;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Fn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new bF(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new mF(u)}))!==null&&i!==void 0?i:[]},OF=function e(t){S(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},Zr=function e(t){S(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Us=function e(t){var r=this;S(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:yt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var l,a=new e(c);(l=r.children)===null||l===void 0||l.push(a)}else{var f,y=new Jo(c);(f=r.children)===null||f===void 0||f.push(y)}}))},Jo=function e(t){S(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:yt();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new OF(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Zr(t==null?void 0:t.rightVariableBo)},wF=function e(t){S(this,e),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new ne(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Te=function e(t){S(this,e),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Ws=function e(t){S(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},$F=function e(t){S(this,e),h(this,"columnName",void 0),h(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function Ks(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new Us(c):new Jo(c)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new Us(c):new Jo(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(c){return new $F(c)}))!==null&&u!==void 0?u:[]}var ne=function e(t){var r=this;S(this,e),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var y;(y=r.displayBoList)===null||y===void 0||y.push(new Ws(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var l;this.showOrder=(l=t==null?void 0:t.showOrder)!==null&&l!==void 0?l:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Ks.call(this,t)},Gs=function e(t){S(this,e),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Tt=function e(t){S(this,e),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},Um=function e(t){S(this,e);var r;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new Ws(u)}))!==null&&i!==void 0?i:[]},Zo=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o,i;o=t.call(this,n),h(N(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new Um(c)}))!==null&&u!==void 0?u:[],o}return r}(ne),PF=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o,i;o=t.call(this,n),h(N(o),"attributes",void 0),h(N(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new Um(l)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(ne),Wm=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o;o=t.call(this,n),h(N(o),"rootNode",void 0),h(N(o),"filterCode",void 0),o.rootNode=new Zr(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(Zo),Km=function e(t){S(this,e);var r;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Te(u)}))!==null&&i!==void 0?i:[]},Gm=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o;return o=t.call(this,n),h(N(o),"filters",void 0),h(N(o),"viewFilters",void 0),h(N(o),"orders",void 0),Ks.call(N(o),n),o}return r}(Km),Xm=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o;o=t.call(this,n),h(N(o),"mode",void 0),h(N(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(Km),Xs=function e(t){S(this,e),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},RF=function e(t){S(this,e),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:yt(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label};function Bt(e){var t;return(t=e==null?void 0:e.map(function(r){return new RF(r)}))!==null&&t!==void 0?t:[]}var Qs=function e(){S(this,e)},SF=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o;return o=t.call(this),h(N(o),"amount",void 0),h(N(o),"currency",void 0),o.amount=new nt(n==null?void 0:n.amount),o.currency=new nt(n==null?void 0:n.currency),o}return r}(Qs),EF=function e(t){S(this,e),h(this,"amount",void 0),h(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},TF=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o;return o=t.call(this),h(N(o),"min",void 0),h(N(o),"max",void 0),o.min=new nt(n==null?void 0:n.min),o.max=new nt(n==null?void 0:n.max),o}return r}(Qs),BF=function e(t){S(this,e),h(this,"min",void 0),h(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},IF=function e(t){S(this,e),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},DF=function(e){et(r,e);var t=tt(r);function r(n){S(this,r);var o;return o=t.call(this),h(N(o),"result",void 0),h(N(o),"unit",void 0),o.result=new nt(n==null?void 0:n.result),o.unit=new nt(n==null?void 0:n.unit),o}return r}(Qs),AF=function e(t){S(this,e),h(this,"result",void 0),h(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},Js;(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"})(Js||(Js={}));var _;(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"})(_||(_={}));var Zs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Zs||(Zs={}));var Kt=function e(t){S(this,e),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},xF=function e(t){S(this,e);var r;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:yt(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new qm(u)}))!==null&&i!==void 0?i:[],Ks.call(this,t)},kF=function e(t){S(this,e),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},FF=function e(t){S(this,e),h(this,"optCode",void 0),h(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},CF=function e(t){S(this,e);var r,n;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:yt();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new Us(l):new Jo(l)}))!==null&&u!==void 0?u:[];var c;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(c=t==null||(n=t.settings)===null||n===void 0?void 0:n.map(function(l){return new MF(l)}))!==null&&c!==void 0?c:[]:[],this.script=t==null?void 0:t.script},MF=function e(t){S(this,e),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var r;this.type=(r=t.type)!==null&&r!==void 0?r:"background";var n;this.fieldCodes=(n=t.fieldCodes)!==null&&n!==void 0?n:[];var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme";var i;this.scope=(i=t.scope)!==null&&i!==void 0?i:"row"},LF=function e(t){S(this,e);var r;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"none";var o;this.interval=(o=t==null?void 0:t.interval)!==null&&o!==void 0?o:{color:""};var i;this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(i=t==null||(r=t.rules)===null||r===void 0?void 0:r.map(function(u){return new CF(u)}))!==null&&i!==void 0?i:[]:[]};function NF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ys(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yo(e,t,r){return Qm()?Yo=Reflect.construct:Yo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&eo(a,u.prototype),a},Yo.apply(null,arguments)}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function jF(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&&eo(e,t)}function VF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function zF(e,t){return t&&(HF(t)==="object"||typeof t=="function")?t:NF(e)}function eo(e,t){return eo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eo(e,t)}function HF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e_(e){var t=typeof Map=="function"?new Map:void 0;return e_=function(n){if(n===null||!VF(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Yo(n,arguments,Yr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),eo(o,n)},e_(e)}function Qm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qF(e){var t=Qm();return function(){var n=Yr(e),o;if(t){var i=Yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zF(this,o)}}var Z=function e(t){Ys(this,e),It(this,"isHide",{type:"boolean"})},pn=function(e){jF(r,e);var t=qF(r);function r(n){return Ys(this,r),t.call(this)}return r}(e_(Array)),Y=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ys(this,e),It(this,"isHide",void 0),It(this,"className",void 0),It(this,"style",void 0),It(this,"caption",void 0),It(this,"defaultState",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new kF(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};It(Y,"mode",void 0),It(Y,"Rules",Z),It(Y,"RuntimeRules",pn);function pt(){return pt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pt.apply(this,arguments)}function UF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function t_(e){return t_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},t_(e)}function ei(e,t){return ei=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ei(e,t)}function WF(){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 ti(e,t,r){return WF()?ti=Reflect.construct:ti=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&ei(a,u.prototype),a},ti.apply(null,arguments)}function KF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function n_(e){var t=typeof Map=="function"?new Map:void 0;return n_=function(n){if(n===null||!KF(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return ti(n,arguments,t_(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ei(o,n)},n_(e)}var GF=/%[sdj%]/g,Jm=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Jm=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function r_(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function xe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(GF,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return c}});return u}return o}function XF(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function te(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||XF(t)&&typeof e=="string"&&!e)}function QF(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function Zm(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function JF(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Ym=function(e){UF(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(n_(Error));function ZF(e,t,r,n){if(t.first){var o=new Promise(function(y,d){var m=function(w){return n(w),w.length?d(new Ym(w,r_(w))):y()},O=JF(e);Zm(O,r,m)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,l=0,a=[],f=new Promise(function(y,d){var m=function(b){if(a.push.apply(a,b),l++,l===c)return n(a),a.length?d(new Ym(a,r_(a))):y()};u.length||(n(a),y()),u.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?Zm(b,r,m):QF(b,r,m)})});return f.catch(function(y){return y}),f}function eg(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 tg(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=pt(pt({},e[r]),n):e[r]=n}}return e}function ng(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||te(t,i||e.type))&&n.push(xe(o.messages.required,e.fullField))}function YF(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(xe(o.messages.whitespace,e.fullField))}var o_={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},to={integer:function(t){return to.number(t)&&parseInt(t,10)===t},float:function(t){return to.number(t)&&!to.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){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"&&!to.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(o_.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(o_.url)},hex:function(t){return typeof t=="string"&&!!t.match(o_.hex)}};function eC(e,t,r,n,o){if(e.required&&t===void 0){ng(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?to[u](t)||n.push(xe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(xe(o.messages.types[u],e.fullField,e.type))}function tC(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,y=typeof t=="number",d=typeof t=="string",m=Array.isArray(t);if(y?f="number":d?f="string":m&&(f="array"),!f)return!1;m&&(a=t.length),d&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(xe(o.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(xe(o.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(xe(o.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(xe(o.messages[f].range,e.fullField,e.min,e.max))}var Cn="enum";function nC(e,t,r,n,o){e[Cn]=Array.isArray(e[Cn])?e[Cn]:[],e[Cn].indexOf(t)===-1&&n.push(xe(o.messages[Cn],e.fullField,e[Cn].join(", ")))}function rC(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(xe(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(xe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var x={required:ng,whitespace:YF,type:eC,range:tC,enum:nC,pattern:rC};function oC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"string")&&!e.required)return r();x.required(e,t,n,i,o,"string"),te(t,"string")||(x.type(e,t,n,i,o),x.range(e,t,n,i,o),x.pattern(e,t,n,i,o),e.whitespace===!0&&x.whitespace(e,t,n,i,o))}r(i)}function iC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x.type(e,t,n,i,o)}r(i)}function uC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),te(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function cC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x.type(e,t,n,i,o)}r(i)}function lC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();x.required(e,t,n,i,o),te(t)||x.type(e,t,n,i,o)}r(i)}function aC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function fC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function sC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();x.required(e,t,n,i,o,"array"),t!=null&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function _C(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x.type(e,t,n,i,o)}r(i)}var yC="enum";function pC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x[yC](e,t,n,i,o)}r(i)}function dC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"string")&&!e.required)return r();x.required(e,t,n,i,o),te(t,"string")||x.pattern(e,t,n,i,o)}r(i)}function vC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"date")&&!e.required)return r();if(x.required(e,t,n,i,o),!te(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),x.type(e,c,n,i,o),c&&x.range(e,c.getTime(),n,i,o)}}r(i)}function hC(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;x.required(e,t,n,i,o,u),r(i)}function i_(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(te(t,i)&&!e.required)return r();x.required(e,t,n,u,o,i),te(t,i)||x.type(e,t,n,u,o)}r(u)}function bC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();x.required(e,t,n,i,o)}r(i)}var no={string:oC,method:iC,number:uC,boolean:cC,regexp:lC,integer:aC,float:fC,array:sC,object:_C,enum:pC,pattern:dC,date:vC,url:i_,hex:i_,email:i_,required:hC,any:bC};function u_(){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 c_=u_();function Gt(e){this.rules=null,this._messages=c_,this.define(e)}Gt.prototype={messages:function(t){return t&&(this._messages=tg(u_(),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 r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function l(b){var w,v=[],$={};function P(E){if(Array.isArray(E)){var T;v=(T=v).concat.apply(T,E)}else v.push(E)}for(w=0;w<b.length;w++)P(b[w]);v.length?$=r_(v):(v=null,$=null),c(v,$)}if(u.messages){var a=this.messages();a===c_&&(a=u_()),tg(a,u.messages),u.messages=a}else u.messages=this.messages();var f,y,d={},m=u.keys||Object.keys(this.rules);m.forEach(function(b){f=o.rules[b],y=i[b],f.forEach(function(w){var v=w;typeof v.transform=="function"&&(i===t&&(i=pt({},i)),y=i[b]=v.transform(y)),typeof v=="function"?v={validator:v}:v=pt({},v),v.validator=o.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=o.getType(v),v.validator&&(d[b]=d[b]||[],d[b].push({rule:v,value:y,source:i,field:b}))})});var O={};return ZF(d,u,function(b,w){var v=b.rule,$=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");$=$&&(v.required||!v.required&&b.value),v.field=b.field;function P(j,A){return pt(pt({},A),{},{fullField:v.fullField+"."+j})}function E(j){j===void 0&&(j=[]);var A=j;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&Gt.warning("async-validator:",A),A.length&&v.message!==void 0&&(A=[].concat(v.message)),A=A.map(eg(v)),u.first&&A.length)return O[v.field]=1,w(A);if(!$)w(A);else{if(v.required&&!b.value)return v.message!==void 0?A=[].concat(v.message).map(eg(v)):u.error&&(A=[u.error(v,xe(u.messages.required,v.field))]),w(A);var K={};if(v.defaultField)for(var D in b.value)b.value.hasOwnProperty(D)&&(K[D]=v.defaultField);K=pt(pt({},K),b.rule.fields);for(var Rt in K)if(K.hasOwnProperty(Rt)){var Wo=Array.isArray(K[Rt])?K[Rt]:[K[Rt]];K[Rt]=Wo.map(P.bind(null,Rt))}var Kr=new Gt(K);Kr.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Kr.validate(b.value,b.rule.options||u,function(Dn){var St=[];A&&A.length&&St.push.apply(St,A),Dn&&Dn.length&&St.push.apply(St,Dn),w(St.length?St:null)})}}var T;v.asyncValidator?T=v.asyncValidator(v,b.value,E,b.source,u):v.validator&&(T=v.validator(v,b.value,E,b.source,u),T===!0?E():T===!1?E(v.message||v.field+" fails"):T instanceof Array?E(T):T instanceof Error&&E(T.message)),T&&T.then&&T.then(function(){return E()},function(j){return E(j)})},function(b){l(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!no.hasOwnProperty(t.type))throw new Error(xe("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?no.required:no[this.getType(t)]||!1}},Gt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");no[t]=r},Gt.warning=Jm,Gt.messages=c_,Gt.validators=no;var mC={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 gC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Gt(e);return r.messages(Object.assign(mC,t)),r}var OC=new eF;function l_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function wC(e){if(Array.isArray(e))return e}function $C(e){if(Array.isArray(e))return l_(e)}function rg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function og(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){rg(i,n,o,u,c,"next",l)}function c(l){rg(i,n,o,u,c,"throw",l)}u(void 0)})}}function PC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ig(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RC(e,t,r){return t&&ig(e.prototype,t),r&&ig(e,r),e}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ug(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function cg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function SC(){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 EC(){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 lg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){M(e,o,r[o])})}return e}function TC(e){return wC(e)||cg(e)||ag(e)||SC()}function a_(e){return $C(e)||cg(e)||ag(e)||EC()}function BC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ag(e,t){if(!!e){if(typeof e=="string")return l_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l_(e,t)}}function fg(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L=function(){function t(r){var n=this;PC(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"slots",void 0),M(this,"slotPosition",void 0),M(this,"updateSetting",_g),M(this,"removeSetting",sg),this._callControlHooks("preInstance",r);var o=ug(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,l=o.controlFieldType,a=o.controlEventKeys,f=o.controlCustomEvents,y=o.name,d=o.setting,m=o.slots,O=o.slotPosition;i&&u&&c||Rm("The ".concat(y," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:yt(10),this.name=i,this.icon=u;var w;this.type=(w=r==null?void 0:r.type)!==null&&w!==void 0?w:c,this.props=new Y(r==null?void 0:r.props,(ug(this,t)?this.constructor:void 0).controlName);var v;this.controlType=(v=r==null?void 0:r.controlType)!==null&&v!==void 0?v:"base",this.setting=Ye(d);var $;this.fieldType=($=r==null?void 0:r.fieldType)!==null&&$!==void 0?$:l,this.eventKeys=Ye(a),this.customEvents=Ye(f),this.slots=Ye(m),this.slotPosition=Ye(O),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return RC(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=TC(o),l=c[0],a=c.slice(1);return(u=OC).emit.apply(u,[l,this].concat(a_(a)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),j6(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return og(function(){var o,i,u;return fg(this,function(c){switch(c.label){case 0:return o=lg({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return og(function(){var u,c,l,a;return fg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:lg({},i.rules),Array.isArray(o)&&o.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),l=gC(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,l=c.dataBind,a=c.datasourceBind,f=c.optionConfig,y=c.caption,d=c.required,m=c.maxLength,O=c.options,b=c.encrypted,w=c.encryptedMode;if(!(!o&&!l&&!a)){var v={parentId:n,fieldType:o,controlId:i,caption:y,type:u,props:{}};switch(l&&(v.dataBind=l),f){case"datasource":case void 0:a&&(v.datasourceBind=a);break;case"custom":v.props.options=O;break}return d!==void 0&&(v.required=d),m!==void 0&&(v.maxLength=m),b!==void 0&&(v.encrypted=b),w!==void 0&&(v.encryptedMode=w),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ye(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,a_(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();M(L,"mode","Designer"),M(L,"slots",void 0),M(L,"slotPosition",void 0),M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",sg),M(L,"updateSettingItem",_g);function sg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var c,l;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function _g(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":BC(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,a_(t.showItems))}}}})}function IC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DC(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var dt=function(){function t(r){IC(this,t),ke(this,"id",void 0),ke(this,"type",void 0),ke(this,"controlType",void 0),ke(this,"props",void 0),ke(this,"fieldType",void 0),ke(this,"customEvents",[]),ke(this,"pageStatus",void 0),ke(this,"parent",null);var n=AC(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||Rm("The ".concat(u," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:yt(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new Y(r==null?void 0:r.props),this.customEvents=c;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var d;this.pageStatus=(d=r==null?void 0:r.pageStatus)!==null&&d!==void 0?d:Zs.UNKNOWN}return DC(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();ke(dt,"mode","Runtime"),ke(dt,"controlType","control"),ke(dt,"controlFieldType",void 0),ke(dt,"__is_control__",!0),ke(dt,"controlCustomEvents",[]);function f_(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:s("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:s("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:s("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(s("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=q6(i);i.length!==u.length?o(s("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):o()},message:s("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:s("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:s("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:s("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:s("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(r,n,o){n.length===0&&o(s("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),o()},message:s("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:s("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:s("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:s("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function ni(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:s(r?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B":"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:s(r?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C":"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:s(r?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1":"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},attributes:[{type:"array",message:s("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:s("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:s("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:s("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(o,i,u){i.length===0&&u(s(r?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:s(r?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}]}}}],orders:[{type:"array",message:s("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:s("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:s("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function xC(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ri(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function ii(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&&s_(e,t)}function kC(e,t){return t&&(FC(t)==="object"||typeof t=="function")?t:H(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function FC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ui(e){var t=CC();return function(){var n=oi(e),o;if(t){var i=oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kC(this,o)}}var ue=function(e){ii(r,e);var t=ui(r);function r(n){ri(this,r);var o;o=t.call(this,n),q(H(o),"dataBind",{}),q(H(o),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),q(H(o),"isHideCaption",{type:"boolean"}),q(H(o),"labelPosition",{type:"enum",enum:["top","left"]}),q(H(o),"defaultState",{type:"enum",enum:["default","readonly"]}),q(H(o),"required",{type:"boolean"}),q(H(o),"captionTip",{type:"string",required:!1,message:s("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var i={fieldCode:{type:"string",required:!0,message:s("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:s("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(xC(n.dataBind))o.dataBind={type:"object",required:!0,fields:Ye(i),message:s("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var u={type:"object",required:!0,fields:{},message:s("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Ye(i),message:s("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),z=function(e){ii(r,e);var t=ui(r);function r(n){ri(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:s("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),o}return r}(pn),k=function(e){ii(r,e);var t=ui(r);function r(n){ri(this,r);var o;o=t.call(this,n),q(H(o),"caption",void 0),q(H(o),"isHideCaption",void 0),q(H(o),"isShowCaptionTip",void 0),q(H(o),"captionTip",void 0),q(H(o),"labelPosition",void 0),q(H(o),"dataBind",void 0),q(H(o),"defaultValue",void 0),q(H(o),"placeholder",void 0),q(H(o),"defaultState",void 0),q(H(o),"required",void 0),q(H(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"";var d;o.required=(d=n==null?void 0:n.required)!==null&&d!==void 0?d:!1;var m;o.requiredMessage=(m=n==null?void 0:n.requiredMessage)!==null&&m!==void 0?m:"",o.dataBind=new nt(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(Y);q(k,"Rules",ue),q(k,"RuntimeRules",z);var Mn=function(e){ii(r,e);var t=ui(r);function r(n){ri(this,r);var o;return o=t.call(this,n),q(H(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:s("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),q(H(o),"options",[{type:"array",message:s("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),q(H(o),"datasourceBind",[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),f_.call(H(o),n),o}return r}(ue);function __(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ci(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function LC(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&&y_(e,t)}function NC(e,t){return t&&(jC(t)==="object"||typeof t=="function")?t:__(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}function jC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zC(e){var t=VC();return function(){var n=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NC(this,o)}}var F=function(e){LC(r,e);var t=zC(r);function r(n){MC(this,r);var o;return o=t.call(this,n),ci(__(o),"controlType","form"),ci(__(o),"props",void 0),o.props=new k(n==null?void 0:n.props),o}return r}(L);ci(F,"controlEventKeys",["on_change","on_focus","on_blur"]),ci(F,"controlCustomAttributes",void 0);function ai(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function qC(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&&d_(e,t)}function UC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:ai(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}function WC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GC(e){var t=KC();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UC(this,o)}}var C=function(e){qC(r,e);var t=GC(r);function r(n){HC(this,r);var o;return o=t.call(this,n),p_(ai(o),"controlType","form"),p_(ai(o),"props",void 0),p_(ai(o),"value",void 0),o.props=new k(n==null?void 0:n.props),o}return r}(dt);function XC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(e)}function JC(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&&v_(e,t)}function ZC(e,t){return t&&(YC(t)==="object"||typeof t=="function")?t:XC(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}function YC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tM(e){var t=eM();return function(){var n=si(e),o;if(t){var i=si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZC(this,o)}}var ce=function(e){JC(r,e);var t=tM(r);function r(n){return QC(this,r),t.call(this,n)}return r}(Y);function h_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function nM(e){if(Array.isArray(e))return h_(e)}function dn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function rM(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){pg(i,n,o,u,c,"next",l)}function c(l){pg(i,n,o,u,c,"throw",l)}u(void 0)})}}function oM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iM(e,t,r){return t&&dg(e.prototype,t),r&&dg(e,r),e}function Xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ln(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ln=Reflect.get:Ln=function(o,i,u){var c=pM(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ln(e,t,r||e)}function Qt(e){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qt(e)}function uM(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&&b_(e,t)}function cM(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function lM(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function aM(){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 fM(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Xt(e,o,r[o])})}return e}function sM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function _M(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sM(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function yM(e,t){return t&&(dM(t)==="object"||typeof t=="function")?t:dn(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}function pM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qt(e),e!==null););return e}function vg(e){return nM(e)||lM(e)||vM(e)||aM()}function dM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vM(e,t){if(!!e){if(typeof e=="string")return h_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h_(e,t)}}function hM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bM(e){var t=hM();return function(){var n=Qt(e),o;if(t){var i=Qt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yM(this,o)}}function mM(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var gM=1e4,le=function(t){uM(n,t);var r=bM(n);function n(o){oM(this,n);var i;i=r.call(this,o),Xt(dn(i),"controlType","layout"),Xt(dn(i),"children",void 0),Xt(dn(i),"excludes",void 0),Xt(dn(i),"childrenMaxLength",void 0),Xt(dn(i),"props",void 0);var u=cM(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new ce(o==null?void 0:o.props),Et(dn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Ye(c),i.childrenMaxLength=l,i}return iM(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,l=this,a=function(){return Ln(Qt(n.prototype),"validate",c)};return rM(function(){return mM(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(y){return y.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=Ln(Qt(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(l,a){var f=a.toDataBindModel(i);if(Array.isArray(f)){var y=f.filter(function(d){return!!d});return vg(l).concat(vg(y))}return f&&l.push(f),l},c)}},{key:"toSchema",value:function(){var i=Ln(Qt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var l=c.toSchema();return l});return _M(fM({},i),{children:u})}}]),n}(L);Xt(le,"excludes",!1),Xt(le,"childrenMaxLength",gM);function ro(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function wM(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&&g_(e,t)}function $M(e,t){return t&&(PM(t)==="object"||typeof t=="function")?t:ro(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function PM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SM(e){var t=RM();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $M(this,o)}}var vn=function(e){wM(r,e);var t=SM(r);function r(n){OM(this,r);var o;return o=t.call(this,n),m_(ro(o),"controlType","layout"),m_(ro(o),"children",void 0),m_(ro(o),"props",void 0),o.props=new ce(n==null?void 0:n.props),Et(ro(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(dt);function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function TM(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&&O_(e,t)}function BM(e,t){return t&&(IM(t)==="object"||typeof t=="function")?t:Dt(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}function IM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AM(e){var t=DM();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BM(this,o)}}var w_=function(e){TM(r,e);var t=AM(r);function r(n,o,i){EM(this,r);var u;u=t.call(this,o),Nn(Dt(u),"headers",void 0),Nn(Dt(u),"footers",void 0),Nn(Dt(u),"pageIndex",void 0),Nn(Dt(u),"pageSize",void 0),Nn(Dt(u),"pageSizeOptions",void 0),Nn(Dt(u),"totalCount",void 0),Et(Dt(u),"headers",o==null?void 0:o.headers,n,i),Et(Dt(u),"footers",o==null?void 0:o.footers,n);var c;u.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var l;u.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var a;u.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var f;return u.totalCount=(f=o==null?void 0:o.totalCount)!==null&&f!==void 0?f:0,u}return r}(Y);function $_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xM(e){if(Array.isArray(e))return $_(e)}function pi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function kM(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){hg(i,n,o,u,c,"next",l)}function c(l){hg(i,n,o,u,c,"throw",l)}u(void 0)})}}function FM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CM(e,t,r){return t&&bg(e.prototype,t),r&&bg(e,r),e}function di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jn=Reflect.get:jn=function(o,i,u){var c=zM(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},jn(e,t,r||e)}function Jt(e){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jt(e)}function MM(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&&P_(e,t)}function LM(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function NM(){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 mg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){di(e,o,r[o])})}return e}function jM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function gg(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jM(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function VM(e,t){return t&&(HM(t)==="object"||typeof t=="function")?t:pi(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function zM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jt(e),e!==null););return e}function Og(e){return xM(e)||LM(e)||qM(e)||NM()}function HM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qM(e,t){if(!!e){if(typeof e=="string")return $_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $_(e,t)}}function UM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WM(e){var t=UM();return function(){var n=Jt(e),o;if(t){var i=Jt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VM(this,o)}}function KM(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var R_=function(e){MM(r,e);var t=WM(r);function r(n){FM(this,r);var o;return o=t.call(this,n),di(pi(o),"controlType","list"),di(pi(o),"props",void 0),o.props=new w_(pi(o),n==null?void 0:n.props,"Designer"),o}return CM(r,[{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return jn(Jt(r.prototype),"validate",u)};return kM(function(){return KM(this,function(a){switch(a.label){case 0:return[4,l().call(c,o)];case 1:return a.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=jn(Jt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,l){var a=l.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(y){return!!y});return Og(c).concat(Og(f))}return a&&c.push(a),c},i)}},{key:"toSchema",value:function(){var o=jn(Jt(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return gg(mg({},o),{props:gg(mg({},this.props),{headers:i})})}}]),r}(L);di(R_,"controlFieldType",g.LIST);function re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function E_(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&&T_(e,t)}function GM(e,t){return t&&(XM(t)==="object"||typeof t=="function")?t:re(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}function XM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B_(e){var t=QM();return function(){var n=vi(e),o;if(t){var i=vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GM(this,o)}}var vt=function(e){E_(r,e);var t=B_(r);function r(n){S_(this,r);var o;return o=t.call(this,n),ae(re(o),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),ae(re(o),"width",{type:"number",required:!1,message:s("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),o.width.required=n.widthType==="px",o}return r}(Z),ee=function(e){E_(r,e);var t=B_(r);function r(n){S_(this,r);var o;o=t.call(this,n),ae(re(o),"widthType",void 0),ae(re(o),"width",void 0),ae(re(o),"caption",void 0),ae(re(o),"dataBind",void 0),ae(re(o),"autoWidth",void 0),ae(re(o),"fixed",void 0),ae(re(o),"sort",void 0),ae(re(o),"align",void 0),ae(re(o),"colSpan",void 0),ae(re(o),"autoHeight",void 0),ae(re(o),"children",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new zs(n==null?void 0:n.autoWidth),o.dataBind=new nt(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return r}(Y);ae(ee,"Rules",vt);var wg=function(e){E_(r,e);var t=B_(r);function r(n){S_(this,r);var o;return o=t.call(this,n),ae(re(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:s("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),ae(re(o),"options",[{type:"array",message:s("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),ae(re(o),"datasourceBind",[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),f_.call(re(o),n),o}return r}(vt);function oo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZM(e,t,r){return t&&$g(e.prototype,t),r&&$g(e,r),e}function hi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bi=Reflect.get:bi=function(o,i,u){var c=oL(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},bi(e,t,r||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(e)}function YM(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&&I_(e,t)}function eL(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){hi(e,o,r[o])})}return e}function tL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function nL(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tL(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function rL(e,t){return t&&(iL(t)==="object"||typeof t=="function")?t:oo(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function oL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}function iL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cL(e){var t=uL();return function(){var n=Vn(e),o;if(t){var i=Vn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rL(this,o)}}var fe=function(e){YM(r,e);var t=cL(r);function r(n){JM(this,r);var o;return o=t.call(this,n),hi(oo(o),"controlType","column"),hi(oo(o),"props",void 0),hi(oo(o),"children",void 0),o.props=new ee(n==null?void 0:n.props),Et(oo(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return ZM(r,[{key:"toSchema",value:function(){var o=bi(Vn(r.prototype),"toSchema",this).call(this);return nL(eL({},o),{children:this.children?this.children.map(function(i){return i.toSchema()}):[]})}}]),r}(L);function io(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function aL(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&&A_(e,t)}function fL(e,t){return t&&(sL(t)==="object"||typeof t=="function")?t:io(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}function sL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _L(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yL(e){var t=_L();return function(){var n=mi(e),o;if(t){var i=mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fL(this,o)}}var se=function(e){aL(r,e);var t=yL(r);function r(n){lL(this,r);var o;return o=t.call(this,n),D_(io(o),"controlType","column"),D_(io(o),"props",void 0),D_(io(o),"children",void 0),o.props=new ee(n==null?void 0:n.props),Et(io(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(dt);function Pg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function vL(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&&x_(e,t)}function hL(e,t){return t&&(bL(t)==="object"||typeof t=="function")?t:Pg(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function bL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gL(e){var t=mL();return function(){var n=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hL(this,o)}}var k_=function(e){vL(r,e);var t=gL(r);function r(n){pL(this,r);var o;return o=t.call(this,n),dL(Pg(o),"dataBind",void 0),o.dataBind=new nt(n==null?void 0:n.dataBind),o}return r}(ce);function F_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function wL(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&&C_(e,t)}function $L(e,t){return t&&(PL(t)==="object"||typeof t=="function")?t:F_(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}function PL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SL(e){var t=RL();return function(){var n=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $L(this,o)}}var EL=function(e){wL(r,e);var t=SL(r);function r(n){OL(this,r);var o;return o=t.call(this,n),Rg(F_(o),"controlType","search"),Rg(F_(o),"props",void 0),o.props=new k_(n==null?void 0:n.props),o}return r}(le);function M_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function BL(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&&L_(e,t)}function IL(e,t){return t&&(DL(t)==="object"||typeof t=="function")?t:M_(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function DL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xL(e){var t=AL();return function(){var n=wi(e),o;if(t){var i=wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IL(this,o)}}var kL=function(e){BL(r,e);var t=xL(r);function r(n){TL(this,r);var o;return o=t.call(this,n),Sg(M_(o),"controlType","search"),Sg(M_(o),"props",void 0),o.props=new k_(n==null?void 0:n.props),o}return r}(vn);function Zt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:s("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}function hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function CL(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&&N_(e,t)}function ML(e,t){return t&&(LL(t)==="object"||typeof t=="function")?t:hn(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function LL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jL(e){var t=NL();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ML(this,o)}}var VL=function(e){CL(r,e);var t=jL(r);function r(n){FL(this,r);var o;o=t.call(this,n),zn(hn(o),"content",void 0),zn(hn(o),"fontSize",void 0),zn(hn(o),"color",void 0),zn(hn(o),"icon",void 0),zn(hn(o),"align",void 0),zn(hn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:s("CMD.text",null,"\u8BF4\u660E\u6587\u5B57");var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"",o}return r}(Y);function Eg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HL(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),e}function Bg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function qL(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&&j_(e,t)}function UL(e,t){return t&&(WL(t)==="object"||typeof t=="function")?t:Eg(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}function WL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GL(e){var t=KL();return function(){var n=Pi(e),o;if(t){var i=Pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UL(this,o)}}var XL=function(e){qL(r,e);var t=GL(r);function r(n){zL(this,r);var o;return o=t.call(this,n),Bg(Eg(o),"props",void 0),o.props=new VL(n==null?void 0:n.props),o}return HL(r,null,[{key:"controlName",get:function(){return s("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(L);Bg(XL,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Ri(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function JL(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&&z_(e,t)}function ZL(e,t){return t&&(YL(t)==="object"||typeof t=="function")?t:Ri(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}function YL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tN(e){var t=eN();return function(){var n=Si(e),o;if(t){var i=Si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZL(this,o)}}var nN=function(e){JL(r,e);var t=tN(r);function r(n){QL(this,r);var o;o=t.call(this,n),V_(Ri(o),"content",void 0),V_(Ri(o),"url",void 0),V_(Ri(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:s("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5");var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(Y);function Ig(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oN(e,t,r){return t&&Dg(e.prototype,t),r&&Dg(e,r),e}function H_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function iN(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&&q_(e,t)}function uN(e,t){return t&&(cN(t)==="object"||typeof t=="function")?t:Ig(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}function cN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aN(e){var t=lN();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uN(this,o)}}var Ag=function(e){iN(r,e);var t=aN(r);function r(n){rN(this,r);var o;return o=t.call(this,n),H_(Ig(o),"props",void 0),o.props=new nN(n==null?void 0:n.props),o}return oN(r,null,[{key:"controlName",get:function(){return s("CMD.link",null,"\u94FE\u63A5")}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(L);H_(Ag,"controlEventKeys",["on_click"]),H_(Ag,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function sN(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&&U_(e,t)}function _N(e,t){return t&&(yN(t)==="object"||typeof t=="function")?t:ht(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function yN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dN(e){var t=pN();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _N(this,o)}}var Fe=function(e){sN(r,e);var t=dN(r);function r(n){fN(this,r);var o;o=t.call(this,n),At(ht(o),"content",void 0),At(ht(o),"buttonType",void 0),At(ht(o),"showType",void 0),At(ht(o),"color",void 0),At(ht(o),"icon",void 0),At(ht(o),"defaultState",void 0),At(ht(o),"command",void 0),At(ht(o),"isLoading",void 0),At(ht(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:s("CMD.button",null,"\u6309\u94AE");var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var d;o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1;var m;return o.optObj=new FF((m=n==null?void 0:n.optObj)!==null&&m!==void 0?m:{}),o}return r}(Y);function xg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hN(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}function Bi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function bN(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&&W_(e,t)}function mN(e,t){return t&&(gN(t)==="object"||typeof t=="function")?t:xg(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function gN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ON(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wN(e){var t=ON();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mN(this,o)}}var $e=function(e){bN(r,e);var t=wN(r);function r(n){vN(this,r);var o;return o=t.call(this,n),Bi(xg(o),"props",void 0),o.props=new Fe(n==null?void 0:n.props),o}return hN(r,null,[{key:"controlName",get:function(){return s("CMD.button",null,"\u6309\u94AE")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(L);Bi($e,"slots",["grid-table-toolbar-slot","action-bar-slot",bm.DEFAULT]),Bi($e,"controlEventKeys",["on_click"]),Bi($e,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(xt||(xt={}));var Fg;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Fg||(Fg={}));var Cg;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Cg||(Cg={}));var K_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:yt(8),value:["",""]};Ce(this,e),R(this,"dateConfigType",void 0),R(this,"dateLimitType",void 0),R(this,"id",void 0),R(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},G_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(G_||(G_={}));var X_=function e(t){Ce(this,e),R(this,"id",void 0),R(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:yt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},Q_;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(Q_||(Q_={}));var Mg=function e(t){Ce(this,e),R(this,"type",void 0),R(this,"person",void 0),R(this,"signatureType",void 0),R(this,"telephone",void 0),R(this,"company",void 0),R(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Zr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Zr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new Zr((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},$N=function e(t){Ce(this,e);var r;R(this,"fileControl",void 0),R(this,"undersignedList",void 0),R(this,"statusControl",void 0),R(this,"completeControl",void 0),R(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(l){return new Mg(l)}))!==null&&o!==void 0?o:[new Mg];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},Di=function e(t){Ce(this,e),R(this,"id",void 0),R(this,"appId",void 0),R(this,"dataCode",void 0),R(this,"svcCode",void 0),R(this,"name",void 0),R(this,"fieldList",void 0),R(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:yt(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},Lg=function e(t){Ce(this,e),R(this,"active",void 0),R(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},PN=function e(t){Ce(this,e),R(this,"types",void 0),R(this,"history",void 0),R(this,"collaborativeRecord",void 0),R(this,"logicToDelete",void 0),R(this,"watermark",void 0),R(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Lg(t==null?void 0:t.watermark),this.autoRename=new Lg(t==null?void 0:t.autoRename)},Ng=function e(t){Ce(this,e),R(this,"appId",void 0),R(this,"dataCode",void 0),R(this,"formKey",void 0),R(this,"orders",void 0),R(this,"filters",void 0),R(this,"isRelation",void 0);var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.orders=(i=t==null?void 0:t.orders)!==null&&i!==void 0?i:[];var u;this.filters=(u=t==null?void 0:t.filters)!==null&&u!==void 0?u:[];var c;this.isRelation=(c=t==null?void 0:t.isRelation)!==null&&c!==void 0?c:!1},jg=function e(t){Ce(this,e),R(this,"type",void 0),R(this,"row",void 0),R(this,"height",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"auto";var n;this.row=(n=t==null?void 0:t.row)!==null&&n!==void 0?n:20,this.height=t==null?void 0:t.height},RN=function e(t){Ce(this,e),R(this,"dataCode",void 0),this.dataCode=t.dataCode},SN=function e(t){Ce(this,e);var r;R(this,"templateType",void 0),R(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new RN(i)}))!==null&&o!==void 0?o:[]},EN=function e(t){Ce(this,e);var r;R(this,"templateType",void 0),R(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new Di(i)}))!==null&&o!==void 0?o:[new Di({id:"default",name:s("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},TN=480;function Ai(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var BN=function e(t){Ce(this,e),R(this,"fileId",void 0),R(this,"fileName",void 0),R(this,"ruleName",void 0),R(this,"isDefault",void 0),R(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Vg;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Vg||(Vg={}));var J_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(J_||(J_={}));var xi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(xi||(xi={}));var Yt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Yt||(Yt={}));var Z_;(function(e){e.ALL="all",e.ADMIN="admin"})(Z_||(Z_={}));function Y_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function DN(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&&ey(e,t)}function AN(e,t){return t&&(xN(t)==="object"||typeof t=="function")?t:Y_(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function xN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FN(e){var t=kN();return function(){var n=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AN(this,o)}}var CN=function(e){DN(r,e);var t=FN(r);function r(n){IN(this,r);var o;o=t.call(this,n),zg(Y_(o),"color",void 0),zg(Y_(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:Q_.SOLID,o}return r}(Y);function Hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LN(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function Ug(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function NN(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&&ty(e,t)}function jN(e,t){return t&&(VN(t)==="object"||typeof t=="function")?t:Hg(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}function VN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HN(e){var t=zN();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jN(this,o)}}var qN=function(e){NN(r,e);var t=HN(r);function r(n){MN(this,r);var o;return o=t.call(this,n),Ug(Hg(o),"props",void 0),o.props=new CN(n==null?void 0:n.props),o}return LN(r,null,[{key:"controlName",get:function(){return s("CMD.divider",null,"\u5206\u5272\u7EBF")}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(L);Ug(qN,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]}]);function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function Kg(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&&ny(e,t)}function UN(e,t){return t&&(WN(t)==="object"||typeof t=="function")?t:en(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}function WN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gg(e){var t=KN();return function(){var n=Ci(e),o;if(t){var i=Ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UN(this,o)}}var GN=function(e){Kg(r,e);var t=Gg(r);function r(n){Wg(this,r);var o;return o=t.call(this,n),tn(en(o),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),tn(en(o),"dataBind",{type:"any"}),tn(en(o),"config",{type:"array"}),n.config.includes(xt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:s("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:s("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:s("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:s("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")}),o}return r}(Z),Xg=function(e){Kg(r,e);var t=Gg(r);function r(n){Wg(this,r);var o;o=t.call(this,n),tn(en(o),"dataBind",void 0),tn(en(o),"caption",void 0),tn(en(o),"config",void 0),tn(en(o),"position",void 0),o.dataBind=new nt(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[xt.ShowSubmitUser,xt.ShowSubmitDept,xt.ShowSubmitTime,xt.ShowCurrentApprovar,xt.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:uo==null?void 0:uo.controlName)!==null&&c!==void 0?c:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}(Y);tn(Xg,"Rules",GN);function Qg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QN(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(e,r),e}function ry(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function JN(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&&oy(e,t)}function ZN(e,t){return t&&(YN(t)==="object"||typeof t=="function")?t:Qg(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function YN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t7(e){var t=e7();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZN(this,o)}}var uo=function(e){JN(r,e);var t=t7(r);function r(n){XN(this,r);var o;return o=t.call(this,n),ry(Qg(o),"props",void 0),o.props=new Xg(n==null?void 0:n.props),o}return QN(r,null,[{key:"controlName",get:function(){return s("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(L);ry(uo,"controlFieldType",g.AUTO_NUMBER),ry(uo,"setting",[{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function Li(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function Yg(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&&iy(e,t)}function n7(e,t){return t&&(r7(t)==="object"||typeof t=="function")?t:Li(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function r7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eO(e){var t=o7();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n7(this,o)}}var i7=function(e){Yg(r,e);var t=eO(r);function r(n){Zg(this,r);var o;return o=t.call(this,n),Ni(Li(o),"formKey",{type:"string",required:!0,message:s("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return r}(Z),tO=function(e){Yg(r,e);var t=eO(r);function r(n){Zg(this,r);var o;o=t.call(this,n),Ni(Li(o),"formKey",void 0),Ni(Li(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:co.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:co.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}(Fe);Ni(tO,"Rules",i7);function nO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c7(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function l7(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&&uy(e,t)}function a7(e,t){return t&&(f7(t)==="object"||typeof t=="function")?t:nO(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}function f7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _7(e){var t=s7();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a7(this,o)}}var co=function(e){l7(r,e);var t=_7(r);function r(n){u7(this,r);var o;return o=t.call(this,n),Vi(nO(o),"props",void 0),o.props=new tO(n==null?void 0:n.props),o}return c7(r,null,[{key:"controlName",get:function(){return s("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}($e);Vi(co,"slots",["grid-table-toolbar-slot"]),Vi(co,"controlEventKeys",["on_click","on_click_finish"]),Vi(co,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function iO(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&&cy(e,t)}function y7(e,t){return t&&(p7(t)==="object"||typeof t=="function")?t:Hn(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}function p7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uO(e){var t=d7();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y7(this,o)}}var v7=function(e){iO(r,e);var t=uO(r);function r(n){oO(this,r);var o;return o=t.call(this,n),qn(Hn(o),"processKey",[{type:"string",message:s("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:s("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]),o}return r}(Z),cO=function(e){iO(r,e);var t=uO(r);function r(n){oO(this,r);var o;o=t.call(this,n),qn(Hn(o),"processKey",void 0),qn(Hn(o),"initiatorMode",void 0),qn(Hn(o),"fieldCode",void 0),qn(Hn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:lo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:lo.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return r}(Fe);qn(cO,"Rules",v7);function lO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b7(e,t,r){return t&&aO(e.prototype,t),r&&aO(e,r),e}function qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function m7(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&&ly(e,t)}function g7(e,t){return t&&(O7(t)==="object"||typeof t=="function")?t:lO(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}function O7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $7(e){var t=w7();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var lo=function(e){m7(r,e);var t=$7(r);function r(n){h7(this,r);var o;return o=t.call(this,n),qi(lO(o),"props",void 0),o.props=new cO(n==null?void 0:n.props),o}return b7(r,null,[{key:"controlName",get:function(){return s("batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}($e);qi(lo,"slots",["grid-table-toolbar-slot"]),qi(lo,"controlEventKeys",["on_click","on_click_finish"]),qi(lo,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function P7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function S7(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&&ay(e,t)}function E7(e,t){return t&&(T7(t)==="object"||typeof t=="function")?t:P7(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}function T7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I7(e){var t=B7();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E7(this,o)}}var D7=function(e){S7(r,e);var t=I7(r);function r(n){R7(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ao.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ao.controlIcon,o}return r}(Fe);function fO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x7(e,t,r){return t&&sO(e.prototype,t),r&&sO(e,r),e}function Ki(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function k7(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&&fy(e,t)}function F7(e,t){return t&&(C7(t)==="object"||typeof t=="function")?t:fO(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function C7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L7(e){var t=M7();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F7(this,o)}}var ao=function(e){k7(r,e);var t=L7(r);function r(n){A7(this,r);var o;return o=t.call(this,n),Ki(fO(o),"props",void 0),o.props=new D7(n==null?void 0:n.props),o}return x7(r,null,[{key:"controlName",get:function(){return s("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}($e);Ki(ao,"slots",["grid-table-toolbar-slot"]),Ki(ao,"controlEventKeys",["on_click"]),Ki(ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function sy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function j7(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&&_y(e,t)}function V7(e,t){return t&&(z7(t)==="object"||typeof t=="function")?t:sy(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}function z7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q7(e){var t=H7();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V7(this,o)}}var U7=function(e){j7(r,e);var t=q7(r);function r(n){N7(this,r);var o,i;o=t.call(this,n),_O(sy(o),"templateList",void 0),_O(sy(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:fo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:fo.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(f){return new Di(f)}))!==null&&a!==void 0?a:[new Di({id:"default",name:s("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Fe);function yO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K7(e,t,r){return t&&pO(e.prototype,t),r&&pO(e,r),e}function Qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function G7(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&&yy(e,t)}function X7(e,t){return t&&(Q7(t)==="object"||typeof t=="function")?t:yO(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function Q7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z7(e){var t=J7();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X7(this,o)}}var fo=function(e){G7(r,e);var t=Z7(r);function r(n){W7(this,r);var o;return o=t.call(this,n),Qi(yO(o),"props",void 0),o.props=new U7(n==null?void 0:n.props),o}return K7(r,null,[{key:"controlName",get:function(){return s("CMD.exportListButton",null,"\u5BFC\u51FA")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}($e);Qi(fo,"slots",["grid-table-toolbar-slot"]),Qi(fo,"controlEventKeys",["on_click","on_click_finish"]),Qi(fo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Y7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function tj(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&&py(e,t)}function nj(e,t){return t&&(rj(t)==="object"||typeof t=="function")?t:Y7(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}function rj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ij(e){var t=oj();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nj(this,o)}}var uj=function(e){tj(r,e);var t=ij(r);function r(n){ej(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:so.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:so.controlIcon,o}return r}(Fe);function dO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lj(e,t,r){return t&&vO(e.prototype,t),r&&vO(e,r),e}function Yi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function aj(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&&dy(e,t)}function fj(e,t){return t&&(sj(t)==="object"||typeof t=="function")?t:dO(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}function sj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _j(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yj(e){var t=_j();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fj(this,o)}}var so=function(e){aj(r,e);var t=yj(r);function r(n){cj(this,r);var o;return o=t.call(this,n),Yi(dO(o),"props",void 0),o.props=new uj(n==null?void 0:n.props),o}return lj(r,null,[{key:"controlName",get:function(){return s("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}($e);Yi(so,"slots",["grid-table-toolbar-slot"]),Yi(so,"controlEventKeys",["on_click"]),Yi(so,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function vy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function pj(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&&by(e,t)}function dj(e,t){return t&&(vj(t)==="object"||typeof t=="function")?t:vy(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}function vj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bj(e){var t=hj();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dj(this,o)}}var mj=function e(t){hO(this,e),hy(this,"dataCode",void 0),this.dataCode=t.dataCode},gj=function(e){pj(r,e);var t=bj(r);function r(n){hO(this,r);var o,i;o=t.call(this,n),hy(vy(o),"canImportList",void 0),hy(vy(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:_o.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:_o.controlIcon;var l;o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new mj(f)}))!==null&&l!==void 0?l:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return r}(Fe);function bO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wj(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function $j(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&&my(e,t)}function Pj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:bO(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}function Rj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ej(e){var t=Sj();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pj(this,o)}}var _o=function(e){$j(r,e);var t=Ej(r);function r(n){Oj(this,r);var o;return o=t.call(this,n),nu(bO(o),"props",void 0),o.props=new gj(n==null?void 0:n.props),o}return wj(r,null,[{key:"controlName",get:function(){return s("CMD.importRecordListButton",null,"\u5BFC\u5165")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}($e);nu(_o,"slots",["grid-table-toolbar-slot"]),nu(_o,"controlEventKeys",["on_click","on_click_finish"]),nu(_o,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function ou(){return{dataCode:{type:"string",required:!0,message:s("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:s("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:s("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function OO(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&&gy(e,t)}function wO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){kt(e,o,r[o])})}return e}function Tj(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:nn(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}function Bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ij(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $O(e){var t=Ij();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tj(this,o)}}var Dj=function(e){OO(r,e);var t=$O(r);function r(n){gO(this,r);var o;return o=t.call(this,n),kt(nn(o),"fillPayload",{type:"object",fields:wO({},ou())}),kt(nn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:s("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),kt(nn(o),"fillBack",{type:"object",fields:wO({mode:{type:"string",required:!0,message:s("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},ou())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:s("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}),o}return r}(Z),PO=function(e){OO(r,e);var t=$O(r);function r(n){gO(this,r);var o;o=t.call(this,n),kt(nn(o),"fillPayload",void 0),kt(nn(o),"formBind",void 0),kt(nn(o),"fillBack",void 0),kt(nn(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:cu.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:cu.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new Gm(n==null?void 0:n.fillPayload),o.formBind=new hF(n==null?void 0:n.formBind),o.fillBack=new Xm(n==null?void 0:n.fillBack),o}return r}(Fe);kt(PO,"Rules",Dj);function RO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xj(e,t,r){return t&&SO(e.prototype,t),r&&SO(e,r),e}function Oy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function kj(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&&wy(e,t)}function Fj(e,t){return t&&(Cj(t)==="object"||typeof t=="function")?t:RO(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function Cj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lj(e){var t=Mj();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fj(this,o)}}var cu=function(e){kj(r,e);var t=Lj(r);function r(n){Aj(this,r);var o;return o=t.call(this,n),Oy(RO(o),"props",void 0),o.props=new PO(n==null?void 0:n.props),o}return xj(r,null,[{key:"controlName",get:function(){return s("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}($e);Oy(cu,"controlEventKeys",["on_click","on_click_finish"]),Oy(cu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function TO(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&&$y(e,t)}function BO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ue(e,o,r[o])})}return e}function Nj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:rt(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}function jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IO(e){var t=Vj();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nj(this,o)}}var zj=function(e){TO(r,e);var t=IO(r);function r(n){EO(this,r);var o;return o=t.call(this,n),Ue(rt(o),"fillPayload",{type:"object",fields:BO({},ou())}),Ue(rt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:s("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:s("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}),Ue(rt(o),"fillBack",{type:"object",fields:BO({mode:{type:"string",required:!0,message:s("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},ou())}),o}return r}(Z),DO=function(e){TO(r,e);var t=IO(r);function r(n){EO(this,r);var o;o=t.call(this,n),Ue(rt(o),"fillPayload",void 0),Ue(rt(o),"listPageBind",void 0),Ue(rt(o),"disableFilling",void 0),Ue(rt(o),"fillBack",void 0),Ue(rt(o),"showSelectedDetail",void 0),Ue(rt(o),"isSelectedRowFill",void 0),Ue(rt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:fu.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:fu.controlIcon,o.fillPayload=new Gm(n==null?void 0:n.fillPayload),o.listPageBind=new qs(n==null?void 0:n.listPageBind),o.fillBack=new Xm(n==null?void 0:n.fillBack);var c;o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new Gs(n==null?void 0:n.selectedContentConfig);var l;o.isSelectedRowFill=(l=n==null?void 0:n.isSelectedRowFill)!==null&&l!==void 0?l:!1;var a;return o.disableFilling=(a=n==null?void 0:n.disableFilling)!==null&&a!==void 0?a:!0,o}return r}(Fe);Ue(DO,"Rules",zj);function AO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qj(e,t,r){return t&&xO(e.prototype,t),r&&xO(e,r),e}function Py(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function Uj(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&&Ry(e,t)}function Wj(e,t){return t&&(Kj(t)==="object"||typeof t=="function")?t:AO(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function Kj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xj(e){var t=Gj();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wj(this,o)}}var fu=function(e){Uj(r,e);var t=Xj(r);function r(n){Hj(this,r);var o;return o=t.call(this,n),Py(AO(o),"props",void 0),o.props=new DO(n==null?void 0:n.props),o}return qj(r,null,[{key:"controlName",get:function(){return s("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}($e);Py(fu,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Py(fu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Qj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function Ey(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&&Ty(e,t)}function Jj(e,t){return t&&(Zj(t)==="object"||typeof t=="function")?t:Qj(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}function Zj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function By(e){var t=Yj();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jj(this,o)}}var e8=function(e){Ey(r,e);var t=By(r);function r(n){return Sy(this,r),t.call(this,n)}return r}(Z),t8=function(e){Ey(r,e);var t=By(r);function r(n){return Sy(this,r),t.call(this,n)}return r}(pn),Iy=function(e){Ey(r,e);var t=By(r);function r(n){return Sy(this,r),t.call(this,n)}return r}(Y);kO(Iy,"Rules",e8),kO(Iy,"RuntimeRules",t8);function FO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r8(e,t,r){return t&&CO(e.prototype,t),r&&CO(e,r),e}function MO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function o8(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&&Dy(e,t)}function i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:FO(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function u8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l8(e){var t=c8();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i8(this,o)}}var a8=function(e){o8(r,e);var t=l8(r);function r(n){n8(this,r);var o;return o=t.call(this,n),MO(FO(o),"props",void 0),o.props=new Iy(n==null?void 0:n.props),o}return r8(r,null,[{key:"controlName",get:function(){return s("CMD.pagination",null,"\u5206\u9875")}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(L);MO(a8,"setting",[]);function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function NO(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&&Ay(e,t)}function f8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:We(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}function s8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jO(e){var t=_8();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f8(this,o)}}var y8=function(e){NO(r,e);var t=jO(r);function r(n){LO(this,r);var o;return o=t.call(this,n),Ke(We(o),"dashboardKey",{type:"string",required:!0,message:s("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")}),Ke(We(o),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ke(We(o),"isHideCaption",{type:"boolean"}),Ke(We(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ke(We(o),"captionTip",{type:"string",required:!1,message:s("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),VO=function(e){NO(r,e);var t=jO(r);function r(n){LO(this,r);var o;o=t.call(this,n),Ke(We(o),"dashboardKey",void 0),Ke(We(o),"caption",void 0),Ke(We(o),"isHideCaption",void 0),Ke(We(o),"isShowCaptionTip",void 0),Ke(We(o),"captionTip",void 0),Ke(We(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return r}(Y);Ke(VO,"Rules",y8);function zO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d8(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function qO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function v8(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&&xy(e,t)}function h8(e,t){return t&&(b8(t)==="object"||typeof t=="function")?t:zO(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}function b8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g8(e){var t=m8();return function(){var n=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h8(this,o)}}var O8=function(e){v8(r,e);var t=g8(r);function r(n){p8(this,r);var o;return o=t.call(this,n),qO(zO(o),"props",void 0),o.props=new VO(n==null?void 0:n.props),o}return d8(r,null,[{key:"controlName",get:function(){return s("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(L);qO(O8,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function WO(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&&ky(e,t)}function w8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:yo(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function $8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KO(e){var t=P8();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w8(this,o)}}var R8=function(e){WO(r,e);var t=KO(r);function r(n){UO(this,r);var o;return o=t.call(this,n),po(yo(o),"showType",{type:"enum",enum:["select","tabs"]}),po(yo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:s("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:s("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}),o}return r}(Z),GO=function(e){WO(r,e);var t=KO(r);function r(n){UO(this,r);var o,i;o=t.call(this,n),po(yo(o),"showType",void 0),po(yo(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new xF(l)}))!==null&&c!==void 0?c:[],o}return r}(Y);po(GO,"Rules",R8);function XO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E8(e,t,r){return t&&QO(e.prototype,t),r&&QO(e,r),e}function JO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function T8(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&&Fy(e,t)}function B8(e,t){return t&&(I8(t)==="object"||typeof t=="function")?t:XO(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}function I8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A8(e){var t=D8();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B8(this,o)}}var x8=function(e){T8(r,e);var t=A8(r);function r(n){S8(this,r);var o;return o=t.call(this,n),JO(XO(o),"props",void 0),o.props=new GO(n==null?void 0:n.props),o}return E8(r,null,[{key:"controlName",get:function(){return s("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(L);JO(x8,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function YO(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&&Cy(e,t)}function k8(e,t){return t&&(F8(t)==="object"||typeof t=="function")?t:Be(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}function F8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ew(e){var t=C8();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k8(this,o)}}var M8=function(e){YO(r,e);var t=ew(r);function r(n){ZO(this,r);var o;return o=t.call(this,n),Ie(Be(o),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ie(Be(o),"isHideCaption",{type:"boolean"}),Ie(Be(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ie(Be(o),"ocrType",{type:"string",required:!0,message:s("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")}),Ie(Be(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l(s("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),Ie(Be(o),"captionTip",{type:"string",required:!1,message:s("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),tw=function(e){YO(r,e);var t=ew(r);function r(n){ZO(this,r);var o,i;o=t.call(this,n),Ie(Be(o),"caption",void 0),Ie(Be(o),"isHideCaption",void 0),Ie(Be(o),"isShowCaptionTip",void 0),Ie(Be(o),"captionTip",void 0),Ie(Be(o),"labelPosition",void 0),Ie(Be(o),"ocrType",void 0),Ie(Be(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:vo.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:vo.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:vo.controlIcon;var m;o.ocrType=(m=n==null?void 0:n.ocrType)!==null&&m!==void 0?m:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Te(b)}))!==null&&O!==void 0?O:[],o}return r}(Fe);Ie(tw,"Rules",M8);function nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N8(e,t,r){return t&&rw(e.prototype,t),r&&rw(e,r),e}function My(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function j8(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&&Ly(e,t)}function V8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:nw(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}function z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q8(e){var t=H8();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V8(this,o)}}var vo=function(e){j8(r,e);var t=q8(r);function r(n){L8(this,r);var o;return o=t.call(this,n),My(nw(o),"props",void 0),o.props=new tw(n==null?void 0:n.props),o}return N8(r,null,[{key:"controlName",get:function(){return s("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}($e);My(vo,"controlEventKeys",["on_click","on_click_finish"]),My(vo,"setting",[{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ow(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function iw(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&&Ny(e,t)}function U8(e,t){return t&&(W8(t)==="object"||typeof t=="function")?t:De(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function W8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uw(e){var t=K8();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U8(this,o)}}var G8=function(e){iw(r,e);var t=uw(r);function r(n){ow(this,r);var o;return o=t.call(this,n),Ae(De(o),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ae(De(o),"isHideCaption",{type:"boolean"}),Ae(De(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ae(De(o),"invoiceCheck",{type:"boolean"}),Ae(De(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l(s("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),Ae(De(o),"captionTip",{type:"string",required:!1,message:s("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),cw=function(e){iw(r,e);var t=uw(r);function r(n){ow(this,r);var o,i;o=t.call(this,n),Ae(De(o),"caption",void 0),Ae(De(o),"isHideCaption",void 0),Ae(De(o),"isShowCaptionTip",void 0),Ae(De(o),"captionTip",void 0),Ae(De(o),"labelPosition",void 0),Ae(De(o),"invoiceCheck",void 0),Ae(De(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ho.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:ho.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:ho.controlIcon;var m;o.invoiceCheck=(m=n==null?void 0:n.invoiceCheck)!==null&&m!==void 0?m:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Te(b)}))!==null&&O!==void 0?O:[],o}return r}(Fe);Ae(cw,"Rules",G8);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q8(e,t,r){return t&&aw(e.prototype,t),r&&aw(e,r),e}function jy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function J8(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&&Vy(e,t)}function Z8(e,t){return t&&(Y8(t)==="object"||typeof t=="function")?t:lw(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function Y8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t9(e){var t=e9();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z8(this,o)}}var ho=function(e){J8(r,e);var t=t9(r);function r(n){X8(this,r);var o;return o=t.call(this,n),jy(lw(o),"props",void 0),o.props=new cw(n==null?void 0:n.props),o}return Q8(r,null,[{key:"controlName",get:function(){return s("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}($e);jy(ho,"controlEventKeys",["on_click","on_click_finish"]),jy(ho,"setting",[{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ou(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function sw(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&&zy(e,t)}function n9(e,t){return t&&(r9(t)==="object"||typeof t=="function")?t:Ou(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}function r9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _w(e){var t=o9();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n9(this,o)}}var i9=function(e){sw(r,e);var t=_w(r);function r(){fw(this,r);var n;return n=t.apply(this,arguments),wu(Ou(n),"printTemplates",{type:"array",min:1,required:!0,message:s("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}),n}return r}(Z),yw=function(e){sw(r,e);var t=_w(r);function r(n){fw(this,r);var o,i;o=t.call(this,n),wu(Ou(o),"printTemplates",void 0),wu(Ou(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:bo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:bo.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new BN(f)}))!==null&&l!==void 0?l:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}(Fe);wu(yw,"Rules",i9);function pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c9(e,t,r){return t&&dw(e.prototype,t),r&&dw(e,r),e}function Pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function l9(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&&Hy(e,t)}function a9(e,t){return t&&(f9(t)==="object"||typeof t=="function")?t:pw(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}function f9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _9(e){var t=s9();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a9(this,o)}}var bo=function(e){l9(r,e);var t=_9(r);function r(n){u9(this,r);var o;return o=t.call(this,n),Pu(pw(o),"props",void 0),o.props=new yw(n==null?void 0:n.props),o}return c9(r,null,[{key:"controlName",get:function(){return s("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}($e);Pu(bo,"slots",["grid-table-toolbar-slot"]),Pu(bo,"controlEventKeys",["on_click","on_click_finish"]),Pu(bo,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function y9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function d9(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&&qy(e,t)}function v9(e,t){return t&&(h9(t)==="object"||typeof t=="function")?t:y9(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}function h9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m9(e){var t=b9();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v9(this,o)}}var g9=function(e){d9(r,e);var t=m9(r);function r(n){p9(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:mo.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mo.controlIcon,o}return r}(Fe);function vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w9(e,t,r){return t&&hw(e.prototype,t),r&&hw(e,r),e}function Eu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function $9(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&&Uy(e,t)}function P9(e,t){return t&&(R9(t)==="object"||typeof t=="function")?t:vw(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}function R9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E9(e){var t=S9();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P9(this,o)}}var mo=function(e){$9(r,e);var t=E9(r);function r(n){O9(this,r);var o;return o=t.call(this,n),Eu(vw(o),"props",void 0),o.props=new g9(n==null?void 0:n.props),o}return w9(r,null,[{key:"controlName",get:function(){return s("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}($e);Eu(mo,"slots",["grid-table-toolbar-slot"]),Eu(mo,"controlEventKeys",["on_click"]),Eu(mo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function mw(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&&Wy(e,t)}function T9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:Pe(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function B9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gw(e){var t=I9();return function(){var n=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T9(this,o)}}var D9=function(e){mw(r,e);var t=gw(r);function r(n){bw(this,r);var o;return o=t.call(this,n),Re(Pe(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:s("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return r}(Z),Iu=function(e){mw(r,e);var t=gw(r);function r(n){bw(this,r);var o;o=t.call(this,n),Re(Pe(o),"content",void 0),Re(Pe(o),"code",void 0),Re(Pe(o),"command",void 0),Re(Pe(o),"color",void 0),Re(Pe(o),"icon",void 0),Re(Pe(o),"formKey",void 0),Re(Pe(o),"openType",void 0),Re(Pe(o),"needConfirm",void 0),Re(Pe(o),"confirmMessage",void 0),Re(Pe(o),"options",void 0),Re(Pe(o),"defaultState",void 0),Re(Pe(o),"priorityProcess",void 0),Re(Pe(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:s("CMD.button",null,"\u6309\u94AE"),o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return r}(Y);Re(Iu,"Rules",D9);function Ow(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x9(e,t,r){return t&&ww(e.prototype,t),r&&ww(e,r),e}function Ky(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function k9(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&&Gy(e,t)}function F9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:Ow(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L9(e){var t=M9();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F9(this,o)}}var Au=function(e){k9(r,e);var t=L9(r);function r(n){A9(this,r);var o;return o=t.call(this,n),Ky(Ow(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return x9(r,null,[{key:"controlName",get:function(){return s("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(L);Ky(Au,"controlEventKeys",["on_click"]),Ky(Au,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function $w(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j9(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(e,r),e}function V9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function z9(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&&Xy(e,t)}function H9(e,t){return t&&(q9(t)==="object"||typeof t=="function")?t:$w(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}function q9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W9(e){var t=U9();return function(){var n=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H9(this,o)}}var K9=function(e){z9(r,e);var t=W9(r);function r(n){N9(this,r);var o;return o=t.call(this,n),V9($w(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return j9(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(dt),Qy={Designer:Au,Runtime:K9,Property:Iu};function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function X9(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&&Jy(e,t)}function Q9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:Ft(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}function J9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y9(e){var t=Z9();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q9(this,o)}}var e4=function(e){X9(r,e);var t=Y9(r);function r(n){G9(this,r);var o;o=t.call(this,n),rn(Ft(o),"content",void 0),rn(Ft(o),"buttonType",void 0),rn(Ft(o),"showType",void 0),rn(Ft(o),"color",void 0),rn(Ft(o),"icon",void 0),rn(Ft(o),"defaultState",void 0),rn(Ft(o),"command",void 0),rn(Ft(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:go.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:go.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var d;o.command=(d=n==null?void 0:n.command)!==null&&d!==void 0?d:"custom";var m;return o.isLoading=(m=n==null?void 0:n.isLoading)!==null&&m!==void 0?m:!1,o}return r}(Y);function Rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n4(e,t,r){return t&&Sw(e.prototype,t),r&&Sw(e,r),e}function Fu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function r4(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&&Zy(e,t)}function o4(e,t){return t&&(i4(t)==="object"||typeof t=="function")?t:Rw(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function i4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c4(e){var t=u4();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o4(this,o)}}var go=function(e){r4(r,e);var t=c4(r);function r(n){t4(this,r);var o;return o=t.call(this,n),Fu(Rw(o),"props",void 0),o.props=new e4(n==null?void 0:n.props),o}return n4(r,null,[{key:"controlName",get:function(){return s("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(L);Fu(go,"slots",["grid-table-toolbar-slot"]),Fu(go,"controlEventKeys",["on_click"]),Fu(go,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function bn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ew(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function Tw(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&&Yy(e,t)}function l4(e,t){return t&&(a4(t)==="object"||typeof t=="function")?t:bn(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}function a4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bw(e){var t=f4();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l4(this,o)}}var s4=function(e){Tw(r,e);var t=Bw(r);function r(n){Ew(this,r);var o;return o=t.call(this,n),mn(bn(o),"actionSetting",{type:"object",fields:{dataCode:{type:"string",required:!0,message:s("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:s("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),o}return r}(Z),Lu=function(e){Tw(r,e);var t=Bw(r);function r(n){Ew(this,r);var o;o=t.call(this,n),mn(bn(o),"isShowSimpleSearch",void 0),mn(bn(o),"isShowToolbar",void 0),mn(bn(o),"actionSetting",void 0),mn(bn(o),"listHeightSetting",void 0),mn(bn(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ju.controlName;var u;o.isShowSimpleSearch=(u=n==null?void 0:n.isShowSimpleSearch)!==null&&u!==void 0?u:!0;var c;o.isShowToolbar=(c=n==null?void 0:n.isShowToolbar)!==null&&c!==void 0?c:!0;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var a;o.actionSetting=(a=new Ng(n==null?void 0:n.actionSetting))!==null&&a!==void 0?a:new Ng;var f;return o.listHeightSetting=(f=new jg(n==null?void 0:n.listHeightSetting))!==null&&f!==void 0?f:new jg,o}return r}(Y);mn(Lu,"Rules",s4);function Iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y4(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function ep(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function p4(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&&tp(e,t)}function d4(e,t){return t&&(v4(t)==="object"||typeof t=="function")?t:Iw(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function v4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b4(e){var t=h4();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d4(this,o)}}var ju=function(e){p4(r,e);var t=b4(r);function r(n){_4(this,r);var o;return o=t.call(this,n),ep(Iw(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return y4(r,null,[{key:"controlName",get:function(){return s("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"reference-list"}}]),r}(L);ep(ju,"controlEventKeys",["on_list_rowclick"]),ep(ju,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_SIMPLE_SEARCH,_.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function Aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g4(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function O4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function w4(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&&np(e,t)}function $4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:Aw(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function P4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S4(e){var t=R4();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $4(this,o)}}var E4=function(e){w4(r,e);var t=S4(r);function r(n){m4(this,r);var o;return o=t.call(this,n),O4(Aw(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return g4(r,null,[{key:"controlType",get:function(){return"reference-list"}}]),r}(dt),T4={Designer:ju,Runtime:E4,Property:Lu};function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function op(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&&ip(e,t)}function B4(e,t){return t&&(I4(t)==="object"||typeof t=="function")?t:bt(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function I4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function up(e){var t=D4();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B4(this,o)}}var A4=function(e){op(r,e);var t=up(r);function r(n){rp(this,r);var o;return o=t.call(this,n),ot(bt(o),"maxLength",{type:"number",min:0,message:s("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),ot(bt(o),"minLength",{type:"number",max:200,message:s("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),ot(bt(o),"defaultValue",[{type:"string",max:200,min:0,message:s("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=s("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o.defaultValue[1].pattern=Ai(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),x4=function(e){op(r,e);var t=up(r);function r(n){rp(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:s("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:n.maxLength,min:n.minLength,message:s("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ai(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),Oo=function(e){op(r,e);var t=up(r);function r(n){rp(this,r);var o;o=t.call(this,n),ot(bt(o),"maxLength",void 0),ot(bt(o),"minLength",void 0),ot(bt(o),"regularRules",void 0),ot(bt(o),"defaultValue",void 0),ot(bt(o),"encrypted",void 0),ot(bt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new Xs(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:wo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:s("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(k);ot(Oo,"Rules",A4),ot(Oo,"RuntimeRules",x4);function kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F4(e,t,r){return t&&Fw(e.prototype,t),r&&Fw(e,r),e}function Hu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function C4(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&&cp(e,t)}function M4(e,t){return t&&(L4(t)==="object"||typeof t=="function")?t:kw(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(e,t)}function L4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j4(e){var t=N4();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M4(this,o)}}var wo=function(e){C4(r,e);var t=j4(r);function r(n){k4(this,r);var o;return o=t.call(this,n),Hu(kw(o),"props",void 0),o.props=new Oo(n==null?void 0:n.props),o}return F4(r,null,[{key:"controlName",get:function(){return s("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(F);Hu(wo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Hu(wo,"controlFieldType",g.VARCHAR),Hu(wo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function Cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z4(e,t,r){return t&&Mw(e.prototype,t),r&&Mw(e,r),e}function Lw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function H4(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&&lp(e,t)}function q4(e,t){return t&&(U4(t)==="object"||typeof t=="function")?t:Cw(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function U4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K4(e){var t=W4();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q4(this,o)}}var G4=function(e){H4(r,e);var t=K4(r);function r(n){V4(this,r);var o;return o=t.call(this,n),Lw(Cw(o),"props",void 0),o.props=new Oo(n==null?void 0:n.props),o}return z4(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(C);Lw(G4,"controlFieldType",g.VARCHAR);function me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ap(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function fp(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&&sp(e,t)}function X4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:me(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function Q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _p(e){var t=J4();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X4(this,o)}}var Z4=function(e){fp(r,e);var t=_p(r);function r(n){ap(this,r);var o;o=t.call(this,n),_e(me(o),"limitMax",{type:"number",min:void 0,message:s("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Mn),Y4=function(e){fp(r,e);var t=_p(r);function r(n){ap(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(z),Ku=function(e){fp(r,e);var t=_p(r);function r(n){ap(this,r);var o;o=t.call(this,n),_e(me(o),"checkboxMode",void 0),_e(me(o),"options",void 0),_e(me(o),"optionsOrder",void 0),_e(me(o),"limitMax",void 0),_e(me(o),"limitMin",void 0),_e(me(o),"otherOption",void 0),_e(me(o),"optionConfig",void 0),_e(me(o),"optionsFormat",void 0),_e(me(o),"defaultShowOptions",void 0),_e(me(o),"datasourceBind",void 0),_e(me(o),"multistageFilling",void 0),_e(me(o),"interreaction",void 0),_e(me(o),"defaultValue",void 0),_e(me(o),"openMultistageFilling",void 0);var i;o.options=Bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Qu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Te($))})),o}return r}(k);_e(Ku,"Rules",Z4),_e(Ku,"RuntimeRules",Y4);function Nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tV(e,t,r){return t&&jw(e.prototype,t),r&&jw(e,r),e}function Gu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function nV(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&&yp(e,t)}function rV(e,t){return t&&(oV(t)==="object"||typeof t=="function")?t:Nw(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function oV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uV(e){var t=iV();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rV(this,o)}}var Qu=function(e){nV(r,e);var t=uV(r);function r(n){eV(this,r);var o;return o=t.call(this,n),Gu(Nw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return tV(r,null,[{key:"controlName",get:function(){return s("CMD.checkBox",null,"\u591A\u9009")}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(F);Gu(Qu,"controlEventKeys",["on_change","on_click"]),Gu(Qu,"controlFieldType",g.ARRAY),Gu(Qu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lV(e,t,r){return t&&zw(e.prototype,t),r&&zw(e,r),e}function Hw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function aV(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&&pp(e,t)}function fV(e,t){return t&&(sV(t)==="object"||typeof t=="function")?t:Vw(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}function sV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yV(e){var t=_V();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fV(this,o)}}var pV=function(e){aV(r,e);var t=yV(r);function r(n){cV(this,r);var o;return o=t.call(this,n),Hw(Vw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return lV(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(C);Hw(pV,"controlFieldType",g.ARRAY);function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function Uw(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&&dp(e,t)}function dV(e,t){return t&&(vV(t)==="object"||typeof t=="function")?t:Me(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}function vV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ww(e){var t=hV();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dV(this,o)}}var bV=function(e){Uw(r,e);var t=Ww(r);function r(n){return qw(this,r),t.call(this,n)}return r}(Mn),vp=function(e){Uw(r,e);var t=Ww(r);function r(n){qw(this,r);var o;o=t.call(this,n),Le(Me(o),"radioMode",void 0),Le(Me(o),"options",void 0),Le(Me(o),"optionConfig",void 0),Le(Me(o),"optionsFormat",void 0),Le(Me(o),"defaultShowOptions",void 0),Le(Me(o),"otherOption",void 0),Le(Me(o),"optionsOrder",void 0),Le(Me(o),"datasourceBind",void 0),Le(Me(o),"multistageFilling",void 0),Le(Me(o),"interreaction",void 0),Le(Me(o),"defaultValue",void 0),Le(Me(o),"openMultistageFilling",void 0);var i;o.options=Bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:tc.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Te(w))})),o}return r}(k);Le(vp,"Rules",bV);function Kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gV(e,t,r){return t&&Gw(e.prototype,t),r&&Gw(e,r),e}function Yu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function OV(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&&hp(e,t)}function wV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:Kw(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function $V(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RV(e){var t=PV();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wV(this,o)}}var tc=function(e){OV(r,e);var t=RV(r);function r(n){mV(this,r);var o;return o=t.call(this,n),Yu(Kw(o),"props",void 0),o.props=new vp(n==null?void 0:n.props),o}return gV(r,null,[{key:"controlName",get:function(){return s("CMD.radio",null,"\u5355\u9009")}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(F);Yu(tc,"controlEventKeys",["on_change","on_click"]),Yu(tc,"controlFieldType",g.VARCHAR),Yu(tc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EV(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(e,r),e}function Jw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function TV(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&&bp(e,t)}function BV(e,t){return t&&(IV(t)==="object"||typeof t=="function")?t:Xw(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function IV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AV(e){var t=DV();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BV(this,o)}}var xV=function(e){TV(r,e);var t=AV(r);function r(n){SV(this,r);var o;return o=t.call(this,n),Jw(Xw(o),"props",void 0),o.props=new vp(n==null?void 0:n.props),o}return EV(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(C);Jw(xV,"controlFieldType",g.VARCHAR);function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function gp(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&&Op(e,t)}function kV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:Se(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}function FV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wp(e){var t=CV();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kV(this,o)}}var MV=function(e){gp(r,e);var t=wp(r);function r(n){mp(this,r);var o;o=t.call(this,n),ge(Se(o),"defaultValue",[{type:"number",min:0,max:200,message:s("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}]),ge(Se(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=s("CMD.pleaseEnterNumberRange",{max:i,min:u},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:s("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),o.defaultValue[1].pattern=Ai(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),LV=function(e){gp(r,e);var t=wp(r);function r(n){mp(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:s(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":u===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:u},i===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":u===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ai(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),oc=function(e){gp(r,e);var t=wp(r);function r(n){mp(this,r);var o;o=t.call(this,n),ge(Se(o),"rangeMin",void 0),ge(Se(o),"rangeMax",void 0),ge(Se(o),"numberType",void 0),ge(Se(o),"percentageFormat",void 0),ge(Se(o),"micrometer",void 0),ge(Se(o),"precision",void 0),ge(Se(o),"showUpperCase",void 0),ge(Se(o),"isShowUnit",void 0),ge(Se(o),"unitPosition",void 0),ge(Se(o),"unit",void 0),ge(Se(o),"defaultValue",void 0),ge(Se(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var y;o.showUpperCase=(y=n==null?void 0:n.showUpperCase)!==null&&y!==void 0?y:!1;var d;o.isShowUnit=(d=n==null?void 0:n.isShowUnit)!==null&&d!==void 0?d:!1;var m;o.unitPosition=(m=n==null?void 0:n.unitPosition)!==null&&m!==void 0?m:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:cc.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:s("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new Xs(n==null?void 0:n.regularRules),o}return r}(k);ge(oc,"Rules",MV),ge(oc,"RuntimeRules",LV);function Zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jV(e,t,r){return t&&Yw(e.prototype,t),r&&Yw(e,r),e}function ic(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?uc=Reflect.get:uc=function(o,i,u){var c=HV(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},uc(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function VV(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&&$p(e,t)}function zV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:Zw(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function HV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}function qV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WV(e){var t=UV();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zV(this,o)}}var cc=function(e){VV(r,e);var t=WV(r);function r(n){NV(this,r);var o;return o=t.call(this,n),ic(Zw(o),"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return jV(r,[{key:"toDataBindModel",value:function(o){var i=uc(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return s("CMD.number",null,"\u6570\u5B57")}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(F);ic(cc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ic(cc,"controlFieldType",g.DECIMAL),ic(cc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_UNIT,_.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function e$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GV(e,t,r){return t&&t$(e.prototype,t),r&&t$(e,r),e}function n$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function XV(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&&Pp(e,t)}function QV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:e$(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}function JV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YV(e){var t=ZV();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QV(this,o)}}var ez=function(e){XV(r,e);var t=YV(r);function r(n){KV(this,r);var o;return o=t.call(this,n),n$(e$(o),"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return GV(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(C);n$(ez,"controlFieldType",g.DECIMAL);function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function nz(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&&Rp(e,t)}function rz(e,t){return t&&(oz(t)==="object"||typeof t=="function")?t:Ct(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function oz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uz(e){var t=iz();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rz(this,o)}}var r$=function(e){nz(r,e);var t=uz(r);function r(n){tz(this,r);var o,i;o=t.call(this,n),on(Ct(o),"dateType",void 0),on(Ct(o),"dateFormat",void 0),on(Ct(o),"commonTimeSetting",void 0),on(Ct(o),"setValueType",void 0),on(Ct(o),"defaultValue",void 0),on(Ct(o),"limitDateList",void 0),on(Ct(o),"allowDateRange",void 0),on(Ct(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:qt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Tp.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:s("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F");var d;o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"";var m;o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new K_(w)}))!==null&&m!==void 0?m:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var b;return o.filterWeekend=(b=n==null?void 0:n.filterWeekend)!==null&&b!==void 0?b:!1,o}return r}(k);function o$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lz(e,t,r){return t&&i$(e.prototype,t),r&&i$(e,r),e}function Sp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fc=Reflect.get:fc=function(o,i,u){var c=sz(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},fc(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function az(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&&Ep(e,t)}function fz(e,t){return t&&(_z(t)==="object"||typeof t=="function")?t:o$(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function sz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}function _z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pz(e){var t=yz();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fz(this,o)}}var Tp=function(e){az(r,e);var t=pz(r);function r(n){cz(this,r);var o;return o=t.call(this,n),Sp(o$(o),"props",void 0),o.props=new r$(n==null?void 0:n.props),o}return lz(r,[{key:"toDataBindModel",value:function(o){var i=fc(Wn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return s("CMD.timestamp",null,"\u65E5\u671F")}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(F);Sp(Tp,"controlFieldType",g.TIMESTAMP),Sp(Tp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function u$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vz(e,t,r){return t&&c$(e.prototype,t),r&&c$(e,r),e}function l$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function hz(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&&Bp(e,t)}function bz(e,t){return t&&(mz(t)==="object"||typeof t=="function")?t:u$(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}function mz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oz(e){var t=gz();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bz(this,o)}}var wz=function(e){hz(r,e);var t=Oz(r);function r(n){dz(this,r);var o;return o=t.call(this,n),l$(u$(o),"props",void 0),o.props=new r$(n==null?void 0:n.props),o}return vz(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(C);l$(wz,"controlFieldType",g.TIMESTAMP);function Ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function f$(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&&Ip(e,t)}function $z(e,t){return t&&(Pz(t)==="object"||typeof t=="function")?t:Ge(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function Pz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s$(e){var t=Rz();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $z(this,o)}}var Sz=function(e){f$(r,e);var t=s$(r);function r(n){a$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(z),Dp=function(e){f$(r,e);var t=s$(r);function r(n){a$(this,r);var o,i;o=t.call(this,n),Xe(Ge(o),"dataBind",void 0),Xe(Ge(o),"rangeMin",void 0),Xe(Ge(o),"rangeMax",void 0),Xe(Ge(o),"placeholderStart",void 0),Xe(Ge(o),"placeholderEnd",void 0),Xe(Ge(o),"dateFormat",void 0),Xe(Ge(o),"commonTimeSetting",void 0),Xe(Ge(o),"dateType",void 0),Xe(Ge(o),"setValueType",void 0),Xe(Ge(o),"defaultValue",void 0),Xe(Ge(o),"limitDateList",void 0),o.dataBind=new TF(n==null?void 0:n.dataBind),o.defaultValue=new BF(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:qt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:s("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F");var m;o.placeholderEnd=(m=n==null?void 0:n.placeholderEnd)!==null&&m!==void 0?m:s("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F");var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:kp.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new K_(w)}))!==null&&b!==void 0?b:[],o}return r}(k);Xe(Dp,"RuntimeRules",Sz);function _$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tz(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function Ap(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yc=Reflect.get:yc=function(o,i,u){var c=Dz(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},yc(e,t,r||e)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function Bz(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&&xp(e,t)}function Iz(e,t){return t&&(Az(t)==="object"||typeof t=="function")?t:_$(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function Dz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kn(e),e!==null););return e}function Az(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kz(e){var t=xz();return function(){var n=Kn(e),o;if(t){var i=Kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iz(this,o)}}var kp=function(e){Bz(r,e);var t=kz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),Ap(_$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return Tz(r,[{key:"toDataBindModel",value:function(o){var i=yc(Kn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return s("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(F);Ap(kp,"controlFieldType",g.TIMESCOPE),Ap(kp,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function p$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cz(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function v$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function Mz(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&&Fp(e,t)}function Lz(e,t){return t&&(Nz(t)==="object"||typeof t=="function")?t:p$(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function Nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vz(e){var t=jz();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lz(this,o)}}var zz=function(e){Mz(r,e);var t=Vz(r);function r(n){Fz(this,r);var o;return o=t.call(this,n),v$(p$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return Cz(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(C);v$(zz,"controlFieldType",g.TIMESCOPE);function un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function Mp(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&&Lp(e,t)}function Hz(e,t){return t&&(qz(t)==="object"||typeof t=="function")?t:un(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function qz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Np(e){var t=Uz();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hz(this,o)}}var Wz=function(e){Mp(r,e);var t=Np(r);function r(n){Cp(this,r);var o;return o=t.call(this,n),Mt(un(o),"maxLength",{type:"number",min:0,message:s("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),Mt(un(o),"minLength",{type:"number",max:1e6,message:s("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),Mt(un(o),"defaultValue",{type:"string",max:200,min:0,message:s("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=s("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o}return r}(ue),Kz=function(e){Mp(r,e);var t=Np(r);function r(n){Cp(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:s("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o}return r}(z),vc=function(e){Mp(r,e);var t=Np(r);function r(n){Cp(this,r);var o;o=t.call(this,n),Mt(un(o),"maxLength",void 0),Mt(un(o),"minLength",void 0),Mt(un(o),"defaultValue",void 0),Mt(un(o),"rowHeightSetting",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:mc.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:s("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o.rowHeightSetting=new zm(n==null?void 0:n.rowHeightSetting),o}return r}(k);Mt(vc,"Rules",Wz),Mt(vc,"RuntimeRules",Kz);function h$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xz(e,t,r){return t&&b$(e.prototype,t),r&&b$(e,r),e}function hc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function Qz(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&&jp(e,t)}function Jz(e,t){return t&&(Zz(t)==="object"||typeof t=="function")?t:h$(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function Zz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eH(e){var t=Yz();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jz(this,o)}}var mc=function(e){Qz(r,e);var t=eH(r);function r(n){Gz(this,r);var o;return o=t.call(this,n),hc(h$(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return Xz(r,null,[{key:"controlName",get:function(){return s("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(F);hc(mc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),hc(mc,"controlFieldType",g.TEXT),hc(mc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nH(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function O$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function rH(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&&Vp(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:m$(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cH(e){var t=uH();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oH(this,o)}}var lH=function(e){rH(r,e);var t=cH(r);function r(n){tH(this,r);var o;return o=t.call(this,n),O$(m$(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return nH(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(C);O$(lH,"controlFieldType",g.TEXT);function gn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function Hp(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&&qp(e,t)}function aH(e,t){return t&&(fH(t)==="object"||typeof t=="function")?t:gn(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function fH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Up(e){var t=sH();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aH(this,o)}}var _H=function(e){Hp(r,e);var t=Up(r);function r(n){zp(this,r);var o;return o=t.call(this,n),cn(gn(o),"maxLength",{type:"number",min:0,message:s("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),cn(gn(o),"minLength",{type:"number",max:1e6,message:s("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),cn(gn(o),"defaultValue",{type:"string",max:200,min:0,message:s("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=s("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o}return r}(ue),yH=function(e){Hp(r,e);var t=Up(r);function r(n){zp(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:s("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o}return r}(z),wc=function(e){Hp(r,e);var t=Up(r);function r(n){zp(this,r);var o;o=t.call(this,n),cn(gn(o),"maxLength",void 0),cn(gn(o),"minLength",void 0),cn(gn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Rc.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:s("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o}return r}(k);cn(wc,"Rules",_H),cn(wc,"RuntimeRules",yH);function w$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dH(e,t,r){return t&&$$(e.prototype,t),r&&$$(e,r),e}function $c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function vH(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&&Wp(e,t)}function hH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:w$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function bH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gH(e){var t=mH();return function(){var n=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hH(this,o)}}var Rc=function(e){vH(r,e);var t=gH(r);function r(n){pH(this,r);var o;return o=t.call(this,n),$c(w$(o),"props",void 0),o.props=new wc(n==null?void 0:n.props),o}return dH(r,null,[{key:"controlName",get:function(){return s("CMD.richText",null,"\u5BCC\u6587\u672C")}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(F);$c(Rc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),$c(Rc,"controlFieldType",g.TEXT),$c(Rc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wH(e,t,r){return t&&R$(e.prototype,t),r&&R$(e,r),e}function S$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function $H(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&&Kp(e,t)}function PH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:P$(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function RH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EH(e){var t=SH();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PH(this,o)}}var TH=function(e){$H(r,e);var t=EH(r);function r(n){OH(this,r);var o;return o=t.call(this,n),S$(P$(o),"props",void 0),o.props=new wc(n==null?void 0:n.props),o}return wH(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(C);S$(TH,"controlFieldType",g.TEXT);function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function T$(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&&Gp(e,t)}function BH(e,t){return t&&(IH(t)==="object"||typeof t=="function")?t:Ne(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}function IH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B$(e){var t=DH();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BH(this,o)}}var AH=function(e){T$(r,e);var t=B$(r);function r(n){E$(this,r);var o;return o=t.call(this,n),je(Ne(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:s("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Mn),Xp=function(e){T$(r,e);var t=B$(r);function r(n){E$(this,r);var o;o=t.call(this,n),je(Ne(o),"options",void 0),je(Ne(o),"defaultShowOptions",void 0),je(Ne(o),"optionConfig",void 0),je(Ne(o),"defaultValue",void 0),je(Ne(o),"datasourceBind",void 0),je(Ne(o),"multistageFilling",void 0),je(Ne(o),"allowCopyOptions",void 0),je(Ne(o),"openMultistageFilling",void 0),je(Ne(o),"viewFormModelType",void 0),je(Ne(o),"canViewForm",void 0),je(Ne(o),"formBind",void 0);var i;o.options=Bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Zp.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:s("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var y;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var d;o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Te(b))}));var m;o.canViewForm=(m=n==null?void 0:n.canViewForm)!==null&&m!==void 0?m:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new Fn(n==null?void 0:n.formBind),o}return r}(k);je(Xp,"Rules",AH);function I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kH(e,t,r){return t&&D$(e.prototype,t),r&&D$(e,r),e}function Qp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function FH(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&&Jp(e,t)}function CH(e,t){return t&&(MH(t)==="object"||typeof t=="function")?t:I$(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}function MH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NH(e){var t=LH();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CH(this,o)}}var Zp=function(e){FH(r,e);var t=NH(r);function r(n){xH(this,r);var o;return o=t.call(this,n),Qp(I$(o),"props",void 0),o.props=new Xp(n==null?void 0:n.props),o}return kH(r,null,[{key:"controlName",get:function(){return s("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(F);Qp(Zp,"controlFieldType",g.VARCHAR),Qp(Zp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP,_.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function A$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VH(e,t,r){return t&&x$(e.prototype,t),r&&x$(e,r),e}function k$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function zH(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&&Yp(e,t)}function HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:A$(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WH(e){var t=UH();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HH(this,o)}}var KH=function(e){zH(r,e);var t=WH(r);function r(n){jH(this,r);var o;return o=t.call(this,n),k$(A$(o),"props",void 0),o.props=new Xp(n==null?void 0:n.props),o}return VH(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(C);k$(KH,"controlFieldType",g.VARCHAR);function Qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function td(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&&nd(e,t)}function GH(e,t){return t&&(XH(t)==="object"||typeof t=="function")?t:Qe(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function XH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rd(e){var t=QH();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GH(this,o)}}var JH=function(e){td(r,e);var t=rd(r);function r(n){ed(this,r);var o;return o=t.call(this,n),Ve(Qe(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:s("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Mn),ZH=function(e){td(r,e);var t=rd(r);function r(n){ed(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Dc=function(e){td(r,e);var t=rd(r);function r(n){ed(this,r);var o;o=t.call(this,n),Ve(Qe(o),"options",void 0),Ve(Qe(o),"defaultShowOptions",void 0),Ve(Qe(o),"optionConfig",void 0),Ve(Qe(o),"defaultValue",void 0),Ve(Qe(o),"datasourceBind",void 0),Ve(Qe(o),"multistageFilling",void 0),Ve(Qe(o),"openMultistageFilling",void 0),Ve(Qe(o),"viewFormModelType",void 0),Ve(Qe(o),"canViewForm",void 0),Ve(Qe(o),"formBind",void 0);var i;o.options=Bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ud.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:s("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Te(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var m;return o.viewFormModelType=(m=n==null?void 0:n.viewFormModelType)!==null&&m!==void 0?m:"window",o.formBind=new Fn(n==null?void 0:n.formBind),o}return r}(k);Ve(Dc,"Rules",JH),Ve(Dc,"RuntimeRules",ZH);function F$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eq(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function od(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function tq(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&&id(e,t)}function nq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:F$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iq(e){var t=oq();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nq(this,o)}}var ud=function(e){tq(r,e);var t=iq(r);function r(n){YH(this,r);var o;return o=t.call(this,n),od(F$(o),"props",void 0),o.props=new Dc(n==null?void 0:n.props),o}return eq(r,null,[{key:"controlName",get:function(){return s("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(F);od(ud,"controlFieldType",g.ARRAY),od(ud,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cq(e,t,r){return t&&L$(e.prototype,t),r&&L$(e,r),e}function N$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function lq(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&&cd(e,t)}function aq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:M$(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _q(e){var t=sq();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aq(this,o)}}var yq=function(e){lq(r,e);var t=_q(r);function r(n){uq(this,r);var o;return o=t.call(this,n),N$(M$(o),"props",void 0),o.props=new Dc(n==null?void 0:n.props),o}return cq(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(C);N$(yq,"controlFieldType",g.ARRAY);function Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function V$(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&&ld(e,t)}function pq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:Lt(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}function dq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z$(e){var t=vq();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pq(this,o)}}var hq=function(e){V$(r,e);var t=z$(r);function r(n){j$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),ad=function(e){V$(r,e);var t=z$(r);function r(n){j$(this,r);var o;o=t.call(this,n),Nt(Lt(o),"showType",void 0),Nt(Lt(o),"range",void 0),Nt(Lt(o),"rangeOptions",void 0),Nt(Lt(o),"multiple",void 0),Nt(Lt(o),"defaultValueType",void 0),Nt(Lt(o),"defaultValue",void 0),Nt(Lt(o),"multistageFilling",void 0),Nt(Lt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:_d.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:s("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1");var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Te(O))})),o}return r}(k);Nt(ad,"RuntimeRules",hq);function H$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mq(e,t,r){return t&&q$(e.prototype,t),r&&q$(e,r),e}function fd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function gq(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&&sd(e,t)}function Oq(e,t){return t&&(wq(t)==="object"||typeof t=="function")?t:H$(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function wq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pq(e){var t=$q();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oq(this,o)}}var _d=function(e){gq(r,e);var t=Pq(r);function r(n){bq(this,r);var o;return o=t.call(this,n),fd(H$(o),"props",void 0),o.props=new ad(n==null?void 0:n.props),o}return mq(r,null,[{key:"controlName",get:function(){return s("CMD.people",null,"\u4EBA\u5458")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(F);fd(_d,"controlFieldType",g.EMPLOYEES),fd(_d,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function U$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sq(e,t,r){return t&&W$(e.prototype,t),r&&W$(e,r),e}function K$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function Eq(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&&yd(e,t)}function Tq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:U$(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function Bq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dq(e){var t=Iq();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tq(this,o)}}var Aq=function(e){Eq(r,e);var t=Dq(r);function r(n){Rq(this,r);var o;return o=t.call(this,n),K$(U$(o),"props",void 0),o.props=new ad(n==null?void 0:n.props),o}return Sq(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(C);K$(Aq,"controlFieldType",g.EMPLOYEES);function it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function dd(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&&vd(e,t)}function xq(e,t){return t&&(kq(t)==="object"||typeof t=="function")?t:it(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function kq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hd(e){var t=Fq();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xq(this,o)}}var Cq=10485760,Mq=104857600,Lq=1048576e3,Nq=function(e){dd(r,e);var t=hd(r);function r(n){pd(this,r);var o;return o=t.call(this,n),Je(it(o),"maxSize",{type:"number",min:0,max:Lq,message:s("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}),o}return r}(ue),jq=function(e){dd(r,e);var t=hd(r);function r(n){pd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:s("CMD.attachmentLimitError",{max:n.maxLimit,min:n.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")}),o}return r}(z),Lc=function(e){dd(r,e);var t=hd(r);function r(n){pd(this,r);var o;o=t.call(this,n),Je(it(o),"defaultValue",void 0),Je(it(o),"showType",void 0),Je(it(o),"resultShowType",void 0),Je(it(o),"attachmentAccept",void 0),Je(it(o),"maxLimit",void 0),Je(it(o),"minLimit",void 0),Je(it(o),"isShowWatermark",void 0),Je(it(o),"watermarkFx",void 0),Je(it(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var y;o.maxSize=(y=n==null?void 0:n.maxSize)!==null&&y!==void 0?y:Mq;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:$o.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:s("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6");var O;o.isShowWatermark=(O=n==null?void 0:n.isShowWatermark)!==null&&O!==void 0?O:!1;var b;return o.watermarkFx=(b=n==null?void 0:n.watermarkFx)!==null&&b!==void 0?b:{},o}return r}(k);Je(Lc,"Rules",Nq),Je(Lc,"RuntimeRules",jq);function G$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zq(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function Nc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function Hq(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&&bd(e,t)}function qq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:G$(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}function Uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kq(e){var t=Wq();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qq(this,o)}}var $o=function(e){Hq(r,e);var t=Kq(r);function r(n){Vq(this,r);var o;return o=t.call(this,n),Nc(G$(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return zq(r,null,[{key:"controlName",get:function(){return s("CMD.file",null,"\u9644\u4EF6")}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(F);Nc($o,"controlEventKeys",["on_change"]),Nc($o,"controlFieldType",g.FILE),Nc($o,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Q$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xq(e,t,r){return t&&J$(e.prototype,t),r&&J$(e,r),e}function Z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function Qq(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&&md(e,t)}function Jq(e,t){return t&&(Zq(t)==="object"||typeof t=="function")?t:Q$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function Zq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eU(e){var t=Yq();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jq(this,o)}}var tU=function(e){Qq(r,e);var t=eU(r);function r(n){Gq(this,r);var o;return o=t.call(this,n),Z$(Q$(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return Xq(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(C);Z$(tU,"controlFieldType",g.FILE);function nU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oU(e,t,r){return t&&Y$(e.prototype,t),r&&Y$(e,r),e}function eP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function iU(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&&gd(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:nU(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function cU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aU(e){var t=lU();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uU(this,o)}}var tP=function(e){iU(r,e);var t=aU(r);function r(n){rU(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var l;return o.props.placeholder=(l=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&l!==void 0?l:s("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),o}return oU(r,null,[{key:"controlName",get:function(){return s("CMD.image",null,"\u56FE\u7247")}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}($o);eP(tP,"controlFieldType",g.IMAGE),eP(tP,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Od(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(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&&$d(e,t)}function fU(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ye(e,o,r[o])})}return e}function sU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function _U(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sU(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function yU(e,t){return t&&(pU(t)==="object"||typeof t=="function")?t:Ee(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}function pU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pd(e){var t=dU();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yU(this,o)}}var vU=function(e){wd(r,e);var t=Pd(r);function r(n){Od(this,r);var o;o=t.call(this,n),ye(Ee(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:s("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}}),ye(Ee(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=s("CMD.pleaseEnterNumberRange",{max:i,min:u},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:s("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),o}return r}(Mn),hU=function(e){wd(r,e);var t=Pd(r);function r(n){Od(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[_U(fU({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:s(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":u===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:u},i===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":u===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],currency:{type:"string"}}}),o}return r}(z),qc=function(e){wd(r,e);var t=Pd(r);function r(n){Od(this,r);var o;o=t.call(this,n),ye(Ee(o),"rangeMin",void 0),ye(Ee(o),"rangeMax",void 0),ye(Ee(o),"showUpperCase",void 0),ye(Ee(o),"submitSelectCurrency",void 0),ye(Ee(o),"micrometer",void 0),ye(Ee(o),"precision",void 0),ye(Ee(o),"unitPosition",void 0),ye(Ee(o),"optionConfig",void 0),ye(Ee(o),"dataBind",void 0),ye(Ee(o),"datasourceBind",void 0),ye(Ee(o),"defaultValue",void 0),ye(Ee(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new SF(n==null?void 0:n.dataBind);var f;o.datasourceBind=new ne((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new Ws({value:"name"})]});var y;o.defaultValue=new EF((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:Js.CNY});var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right",o.options=Bt(n==null?void 0:n.options);var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Kc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:s("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var w;return o.showUpperCase=(w=n==null?void 0:n.showUpperCase)!==null&&w!==void 0?w:!1,o}return r}(k);ye(qc,"Rules",vU),ye(qc,"RuntimeRules",hU);function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mU(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function Uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Wc=Reflect.get:Wc=function(o,i,u){var c=wU(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Wc(e,t,r||e)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gn(e)}function gU(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&&Rd(e,t)}function OU(e,t){return t&&($U(t)==="object"||typeof t=="function")?t:nP(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function wU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gn(e),e!==null););return e}function $U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RU(e){var t=PU();return function(){var n=Gn(e),o;if(t){var i=Gn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OU(this,o)}}var Kc=function(e){gU(r,e);var t=RU(r);function r(n){bU(this,r);var o;return o=t.call(this,n),Uc(nP(o),"props",void 0),o.props=new qc(n==null?void 0:n.props),o}return mU(r,[{key:"toDataBindModel",value:function(o){var i=Wc(Gn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return s("CMD.amount",null,"\u91D1\u989D")}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(F);Uc(Kc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Uc(Kc,"controlFieldType",g.MONEY),Uc(Kc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.SUBMIT_SELECT_CURRENCY,_.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function oP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EU(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function uP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function TU(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&&Sd(e,t)}function BU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:oP(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function IU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AU(e){var t=DU();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BU(this,o)}}var xU=function(e){TU(r,e);var t=AU(r);function r(n){SU(this,r);var o;return o=t.call(this,n),uP(oP(o),"props",void 0),o.props=new qc(n==null?void 0:n.props),o}return EU(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(C);uP(xU,"controlFieldType",g.MONEY);function ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function Td(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&&Bd(e,t)}function kU(e,t){return t&&(FU(t)==="object"||typeof t=="function")?t:ln(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function FU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Id(e){var t=CU();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kU(this,o)}}var MU=function(e){Td(r,e);var t=Id(r);function r(n){Ed(this,r);var o;return o=t.call(this,n),jt(ln(o),"totalScore",[{type:"number",required:!0,message:s("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:s("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}]),jt(ln(o),"defaultValue",{type:"number",min:0,max:5,message:s("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=s("CMD.scoreDefaultValueRange",{max:n.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4"),o}return r}(ue),LU=function(e){Td(r,e);var t=Id(r);function r(n){Ed(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:s("CMD.scoreDefaultValueRange",{max:n.totalScore,min:i},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}),o}return r}(z),Qc=function(e){Td(r,e);var t=Id(r);function r(n){Ed(this,r);var o,i;o=t.call(this,n),jt(ln(o),"totalScore",void 0),jt(ln(o),"scoreType",void 0),jt(ln(o),"isShowExplain",void 0),jt(ln(o),"explain",void 0),jt(ln(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:G_.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var a;o.explain=(a=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(d){return new X_(d)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new X_});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Yc.controlName,o}return r}(k);jt(Qc,"Rules",MU),jt(Qc,"RuntimeRules",LU);function Dd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function NU(e){if(Array.isArray(e))return Dd(e)}function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VU(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function Jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zc=Reflect.get:Zc=function(o,i,u){var c=WU(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Zc(e,t,r||e)}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function zU(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&&Ad(e,t)}function HU(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qU(){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 UU(e,t){return t&&(GU(t)==="object"||typeof t=="function")?t:cP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function WU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xn(e),e!==null););return e}function KU(e){return NU(e)||HU(e)||XU(e)||qU()}function GU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XU(e,t){if(!!e){if(typeof e=="string")return Dd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Dd(e,t)}}function QU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JU(e){var t=QU();return function(){var n=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UU(this,o)}}var Yc=function(e){zU(r,e);var t=JU(r);function r(n){jU(this,r);var o;return o=t.call(this,n),Jc(cP(o),"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return VU(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,l=Array(c).fill(void 0).map(function(){return new X_});(u=this.props.explain).push.apply(u,KU(l))}}Zc(Xn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return s("CMD.score",null,"\u8BC4\u5206")}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(F);Jc(Yc,"controlEventKeys",["on_change","on_click"]),Jc(Yc,"controlFieldType",g.DECIMAL),Jc(Yc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function aP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YU(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function sP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function eW(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&&xd(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:aP(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function nW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oW(e){var t=rW();return function(){var n=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tW(this,o)}}var iW=function(e){eW(r,e);var t=oW(r);function r(n){ZU(this,r);var o;return o=t.call(this,n),sP(aP(o),"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return YU(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(C);sP(iW,"controlFieldType",g.DECIMAL);function tl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function yP(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&&kd(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:tl(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function cW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pP(e){var t=lW();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uW(this,o)}}var aW=function(e){yP(r,e);var t=pP(r);function r(n){_P(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:s("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:s("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:s("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),o.push(i)}return o}return r}(z),Fd=function(e){yP(r,e);var t=pP(r);function r(n){_P(this,r);var o;o=t.call(this,n),nl(tl(o),"defaultValueType",void 0),nl(tl(o),"defaultValue",void 0),nl(tl(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ld.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var l;o.defaultValue=new IF((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:s("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740"),o}return r}(k);nl(Fd,"RuntimeRules",aW);function dP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sW(e,t,r){return t&&vP(e.prototype,t),r&&vP(e,r),e}function Cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function _W(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&&Md(e,t)}function yW(e,t){return t&&(pW(t)==="object"||typeof t=="function")?t:dP(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function pW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vW(e){var t=dW();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yW(this,o)}}var Ld=function(e){_W(r,e);var t=vW(r);function r(n){fW(this,r);var o;return o=t.call(this,n),Cd(dP(o),"props",void 0),o.props=new Fd(n==null?void 0:n.props),o}return sW(r,null,[{key:"controlName",get:function(){return s("CMD.address",null,"\u5730\u5740")}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(F);Cd(Ld,"controlFieldType",g.ADDRESS),Cd(Ld,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function hP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bW(e,t,r){return t&&bP(e.prototype,t),r&&bP(e,r),e}function mP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function mW(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&&Nd(e,t)}function gW(e,t){return t&&(OW(t)==="object"||typeof t=="function")?t:hP(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}function OW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $W(e){var t=wW();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gW(this,o)}}var PW=function(e){mW(r,e);var t=$W(r);function r(n){hW(this,r);var o;return o=t.call(this,n),mP(hP(o),"props",void 0),o.props=new Fd(n==null?void 0:n.props),o}return bW(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(C);mP(PW,"controlFieldType",g.ADDRESS);function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function OP(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&&jd(e,t)}function RW(e,t){return t&&(SW(t)==="object"||typeof t=="function")?t:ut(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function SW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wP(e){var t=EW();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RW(this,o)}}var TW=function(e){OP(r,e);var t=wP(r);function r(n){gP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Vd=function(e){OP(r,e);var t=wP(r);function r(n){gP(this,r);var o;o=t.call(this,n),ct(ut(o),"showType",void 0),ct(ut(o),"range",void 0),ct(ut(o),"defaultValueType",void 0),ct(ut(o),"multiple",void 0),ct(ut(o),"rangeOptions",void 0),ct(ut(o),"defaultValue",void 0),ct(ut(o),"displayLevel",void 0),ct(ut(o),"showSubDept",void 0),ct(ut(o),"multistageFilling",void 0),ct(ut(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:al.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:s("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8");var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Te(w))})),o}return r}(k);ct(Vd,"RuntimeRules",TW);function $P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IW(e,t,r){return t&&PP(e.prototype,t),r&&PP(e,r),e}function cl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ll=Reflect.get:ll=function(o,i,u){var c=xW(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ll(e,t,r||e)}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qn(e)}function DW(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&&zd(e,t)}function AW(e,t){return t&&(kW(t)==="object"||typeof t=="function")?t:$P(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function xW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qn(e),e!==null););return e}function kW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CW(e){var t=FW();return function(){var n=Qn(e),o;if(t){var i=Qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AW(this,o)}}var al=function(e){DW(r,e);var t=CW(r);function r(n){BW(this,r);var o;return o=t.call(this,n),cl($P(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return IW(r,[{key:"toDataBindModel",value:function(o){var i=ll(Qn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(F);cl(al,"controlName",s("CMD.department",null,"\u90E8\u95E8")),cl(al,"controlFieldType",g.DEPARTMENTS),cl(al,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function RP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LW(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function EP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function NW(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&&Hd(e,t)}function jW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:RP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function VW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HW(e){var t=zW();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jW(this,o)}}var qW=function(e){NW(r,e);var t=HW(r);function r(n){MW(this,r);var o;return o=t.call(this,n),EP(RP(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return LW(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(C);EP(qW,"controlFieldType",g.DEPARTMENTS);function TP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(e)}function KW(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&&qd(e,t)}function GW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:TP(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function XW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JW(e){var t=QW();return function(){var n=sl(e),o;if(t){var i=sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GW(this,o)}}var BP=function(e){KW(r,e);var t=JW(r);function r(n){UW(this,r);var o;o=t.call(this,n),WW(TP(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:pl.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:s("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"),o}return r}(k);function IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YW(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function _l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function eK(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&&Ud(e,t)}function tK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:IP(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}function nK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oK(e){var t=rK();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tK(this,o)}}var pl=function(e){eK(r,e);var t=oK(r);function r(n){ZW(this,r);var o;return o=t.call(this,n),_l(IP(o),"props",void 0),o.props=new BP(n==null?void 0:n.props),o}return YW(r,null,[{key:"controlName",get:function(){return s("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(F);_l(pl,"controlEventKeys",["on_change"]),_l(pl,"controlFieldType",g.AUTO_NUMBER),_l(pl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function AP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uK(e,t,r){return t&&xP(e.prototype,t),r&&xP(e,r),e}function kP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function cK(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&&Wd(e,t)}function lK(e,t){return t&&(aK(t)==="object"||typeof t=="function")?t:AP(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function aK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sK(e){var t=fK();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lK(this,o)}}var _K=function(e){cK(r,e);var t=sK(r);function r(n){iK(this,r);var o;return o=t.call(this,n),kP(AP(o),"props",void 0),o.props=new BP(n==null?void 0:n.props),o}return uK(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(C);kP(_K,"controlFieldType",g.AUTO_NUMBER);function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function Gd(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&&Xd(e,t)}function yK(e,t){return t&&(pK(t)==="object"||typeof t=="function")?t:mt(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function pK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qd(e){var t=dK();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yK(this,o)}}var vK=function(e){Gd(r,e);var t=Qd(r);function r(n){Kd(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(ue),hK=function(e){Gd(r,e);var t=Qd(r);function r(n){Kd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:s("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:s("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}}),o}return r}(z),hl=function(e){Gd(r,e);var t=Qd(r);function r(n){Kd(this,r);var o;o=t.call(this,n),lt(mt(o),"precision",void 0),lt(mt(o),"micrometer",void 0),lt(mt(o),"showUpperCase",void 0),lt(mt(o),"scriptSrc",void 0),lt(mt(o),"scriptEcho",void 0),lt(mt(o),"dataBind",void 0),lt(mt(o),"defaultValue",void 0),lt(mt(o),"unitPosition",void 0),lt(mt(o),"calcOnMounted",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new DF(n==null?void 0:n.dataBind),o.defaultValue=new AF(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:gl.controlName;var a;o.unitPosition=(a=n==null?void 0:n.unitPosition)!==null&&a!==void 0?a:"right";var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:s("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var y;o.scriptEcho=(y=n==null?void 0:n.scriptEcho)!==null&&y!==void 0?y:[];var d;o.scriptSrc=(d=n==null?void 0:n.scriptSrc)!==null&&d!==void 0?d:"";var m;return o.calcOnMounted=(m=n==null?void 0:n.calcOnMounted)!==null&&m!==void 0?m:!1,o}return r}(k);lt(hl,"Rules",vK),lt(hl,"RuntimeRules",hK);function FP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mK(e,t,r){return t&&CP(e.prototype,t),r&&CP(e,r),e}function bl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ml=Reflect.get:ml=function(o,i,u){var c=wK(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ml(e,t,r||e)}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(e)}function gK(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&&Jd(e,t)}function OK(e,t){return t&&($K(t)==="object"||typeof t=="function")?t:FP(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function wK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jn(e),e!==null););return e}function $K(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RK(e){var t=PK();return function(){var n=Jn(e),o;if(t){var i=Jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OK(this,o)}}var gl=function(e){gK(r,e);var t=RK(r);function r(n){bK(this,r);var o;return o=t.call(this,n),bl(FP(o),"props",void 0),o.props=new hl(n==null?void 0:n.props),o}return mK(r,[{key:"toDataBindModel",value:function(o){var i=ml(Jn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return s("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(F);bl(gl,"controlEventKeys",["on_change"]),bl(gl,"controlFieldType",g.CALC),bl(gl,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function MP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EK(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function NP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function TK(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&&Zd(e,t)}function BK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:MP(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function IK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AK(e){var t=DK();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BK(this,o)}}var xK=function(e){TK(r,e);var t=AK(r);function r(n){SK(this,r);var o;return o=t.call(this,n),NP(MP(o),"props",void 0),o.props=new hl(n==null?void 0:n.props),o}return EK(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(C);NP(xK,"controlFieldType",g.CALC);function Zn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function VP(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&&Yd(e,t)}function kK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:Zn(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function FK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zP(e){var t=CK();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kK(this,o)}}var MK=function(e){VP(r,e);var t=zP(r);function r(n){jP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,c){if(n.required){var l=c.every(function(a){return!a});return l?Promise.reject(s("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}else return Promise.resolve()}}),o}return r}(z),ev=function(e){VP(r,e);var t=zP(r);function r(n){jP(this,r);var o;o=t.call(this,n),Yn(Zn(o),"rangeMin",void 0),Yn(Zn(o),"rangeMax",void 0),Yn(Zn(o),"placeholderStart",void 0),Yn(Zn(o),"placeholderEnd",void 0),Yn(Zn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:s("CMD.min",null,"\u6700\u5C0F\u503C");var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:s("CMD.max",null,"\u6700\u5927\u503C");var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:rv.controlName,o}return r}(k);Yn(ev,"RuntimeRules",MK);function HP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NK(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function tv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function jK(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&&nv(e,t)}function VK(e,t){return t&&(zK(t)==="object"||typeof t=="function")?t:HP(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function zK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qK(e){var t=HK();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VK(this,o)}}var rv=function(e){jK(r,e);var t=qK(r);function r(n){LK(this,r);var o;return o=t.call(this,n),tv(HP(o),"props",void 0),o.props=new ev(n==null?void 0:n.props),o}return NK(r,null,[{key:"controlName",get:function(){return s("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(F);tv(rv,"controlFieldType",g.DECIMAL_RANGE),tv(rv,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function UP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WK(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function KP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function KK(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&&ov(e,t)}function GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:UP(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function XK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JK(e){var t=QK();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GK(this,o)}}var ZK=function(e){KK(r,e);var t=JK(r);function r(n){UK(this,r);var o;return o=t.call(this,n),KP(UP(o),"props",void 0),o.props=new ev(n==null?void 0:n.props),o}return WK(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(C);KP(ZK,"controlFieldType",g.DECIMAL_RANGE);function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(e)}function XP(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&&iv(e,t)}function YK(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:at(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function eG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QP(e){var t=tG();return function(){var n=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YK(this,o)}}var nG=function(e){XP(r,e);var t=QP(r);function r(n){GP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(z),uv=function(e){XP(r,e);var t=QP(r);function r(n){GP(this,r);var o,i;o=t.call(this,n),ft(at(o),"rangeMin",void 0),ft(at(o),"rangeMax",void 0),ft(at(o),"placeholderStart",void 0),ft(at(o),"placeholderEnd",void 0),ft(at(o),"dateType",void 0),ft(at(o),"dateFormat",void 0),ft(at(o),"commonTimeSetting",void 0),ft(at(o),"setValueType",void 0),ft(at(o),"defaultValue",void 0),ft(at(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:qt.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var d;o.rangeMax=(d=n==null?void 0:n.rangeMax)!==null&&d!==void 0?d:"";var m;o.placeholderStart=(m=n==null?void 0:n.placeholderStart)!==null&&m!==void 0?m:s("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F");var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:s("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F");var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:av.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new K_(v)}))!==null&&w!==void 0?w:[],o}return r}(k);ft(uv,"RuntimeRules",nG);function JP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oG(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function cv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function iG(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&&lv(e,t)}function uG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:JP(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function cG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aG(e){var t=lG();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uG(this,o)}}var av=function(e){iG(r,e);var t=aG(r);function r(n){rG(this,r);var o;return o=t.call(this,n),cv(JP(o),"props",void 0),o.props=new uv(n==null?void 0:n.props),o}return oG(r,null,[{key:"controlName",get:function(){return s("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(F);cv(av,"controlFieldType",g.ARRAY),cv(av,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function YP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sG(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function tR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function _G(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&&fv(e,t)}function yG(e,t){return t&&(pG(t)==="object"||typeof t=="function")?t:YP(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function pG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vG(e){var t=dG();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yG(this,o)}}var hG=function(e){_G(r,e);var t=vG(r);function r(n){fG(this,r);var o;return o=t.call(this,n),tR(YP(o),"props",void 0),o.props=new uv(n==null?void 0:n.props),o}return sG(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(C);tR(hG,"controlFieldType",g.ARRAY);function Po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function _v(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&&yv(e,t)}function bG(e,t){return t&&(mG(t)==="object"||typeof t=="function")?t:Po(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function mG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pv(e){var t=gG();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bG(this,o)}}var OG=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),wG=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(z),Bl=function(e){_v(r,e);var t=pv(r);function r(n){sv(this,r);var o;o=t.call(this,n),er(Po(o),"controlExportName",void 0),er(Po(o),"permissions",void 0),er(Po(o),"defaultValue",void 0),er(Po(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:So.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(k);er(Bl,"Rules",OG),er(Bl,"RuntimeRules",wG);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PG(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function Ro(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function RG(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&&dv(e,t)}function SG(e,t){return t&&(EG(t)==="object"||typeof t=="function")?t:nR(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function EG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BG(e){var t=TG();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SG(this,o)}}var So=function(e){RG(r,e);var t=BG(r);function r(n){$G(this,r);var o;return o=t.call(this,n),Ro(nR(o),"props",void 0),o.props=new Bl(n==null?void 0:n.props),o}return PG(r,null,[{key:"controlName",get:function(){return s("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(F);Ro(So,"controlFieldType",g.ANY),Ro(So,"controlEventKeys",[]),Ro(So,"slots",["grid-table-toolbar-slot",bm.DEFAULT]),Ro(So,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.REQUIRED,_.IS_SHOW_CAPTION_TIP,_.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function oR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DG(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}function uR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function AG(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&&vv(e,t)}function xG(e,t){return t&&(kG(t)==="object"||typeof t=="function")?t:oR(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function kG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CG(e){var t=FG();return function(){var n=Dl(e),o;if(t){var i=Dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xG(this,o)}}var MG=function(e){AG(r,e);var t=CG(r);function r(n){IG(this,r);var o;return o=t.call(this,n),uR(oR(o),"props",void 0),o.props=new Bl(n==null?void 0:n.props),o}return DG(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(C);uR(MG,"controlFieldType",g.ANY);function pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(e)}function lR(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&&hv(e,t)}function LG(e,t){return t&&(NG(t)==="object"||typeof t=="function")?t:pe(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}function NG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aR(e){var t=jG();return function(){var n=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LG(this,o)}}var VG=function(e){lR(r,e);var t=aR(r);function r(n){cR(this,r);var o;return o=t.call(this,n),de(pe(o),"listPageBind",[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:s("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:s("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}]),de(pe(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:s("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Mn),bv=function(e){lR(r,e);var t=aR(r);function r(n){cR(this,r);var o;o=t.call(this,n),de(pe(o),"options",void 0),de(pe(o),"optionConfig",void 0),de(pe(o),"defaultValue",void 0),de(pe(o),"listPageBind",void 0),de(pe(o),"datasourceBind",void 0),de(pe(o),"multistageFilling",void 0),de(pe(o),"viewFormModelType",void 0),de(pe(o),"canViewForm",void 0),de(pe(o),"formBind",void 0),de(pe(o),"openMultistageFilling",void 0),de(pe(o),"showSelectedDetail",void 0),de(pe(o),"selectedContentConfig",void 0),de(pe(o),"optionDisplayConfig",void 0),de(pe(o),"canSearch",void 0);var i;o.options=Bt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new qs(n==null?void 0:n.listPageBind),o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Fl.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:s("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1;var y;o.showSelectedDetail=(y=n==null?void 0:n.showSelectedDetail)!==null&&y!==void 0?y:!1,o.selectedContentConfig=new Gs(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Te(w))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var m;o.viewFormModelType=(m=n==null?void 0:n.viewFormModelType)!==null&&m!==void 0?m:"window",o.formBind=new Fn(n==null?void 0:n.formBind);var O;o.optionDisplayConfig=(O=n==null?void 0:n.optionDisplayConfig)!==null&&O!==void 0?O:[];var b;return o.canSearch=(b=n==null?void 0:n.canSearch)!==null&&b!==void 0?b:!1,o}return r}(k);de(bv,"Rules",VG);function fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HG(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function xl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kl=Reflect.get:kl=function(o,i,u){var c=WG(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},kl(e,t,r||e)}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(e)}function qG(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&&mv(e,t)}function UG(e,t){return t&&(KG(t)==="object"||typeof t=="function")?t:fR(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function WG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tr(e),e!==null););return e}function KG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XG(e){var t=GG();return function(){var n=tr(e),o;if(t){var i=tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UG(this,o)}}var Fl=function(e){qG(r,e);var t=XG(r);function r(n){zG(this,r);var o;return o=t.call(this,n),xl(fR(o),"props",void 0),o.props=new bv(n==null?void 0:n.props),o}return HG(r,[{key:"toDataBindModel",value:function(o){var i=kl(tr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.optionDisplayConfig;i.props.optionDisplayConfig=u}return i}}],[{key:"controlName",get:function(){return s("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(F);xl(Fl,"controlFieldType",g.VARCHAR),xl(Fl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),xl(Fl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JG(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function pR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function ZG(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&&gv(e,t)}function YG(e,t){return t&&(eX(t)==="object"||typeof t=="function")?t:_R(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function eX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nX(e){var t=tX();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YG(this,o)}}var rX=function(e){ZG(r,e);var t=nX(r);function r(n){QG(this,r);var o;return o=t.call(this,n),pR(_R(o),"props",void 0),o.props=new bv(n==null?void 0:n.props),o}return JG(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(C);pR(rX,"controlFieldType",g.VARCHAR);function oX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function uX(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&&Ov(e,t)}function cX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:oX(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function lX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fX(e){var t=aX();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cX(this,o)}}var dR=function(e){uX(r,e);var t=fX(r);function r(n){return iX(this,r),t.call(this,n)}return r}(Oo);function vR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _X(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function bR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function yX(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&&wv(e,t)}function pX(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:vR(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function dX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hX(e){var t=vX();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pX(this,o)}}var bX=function(e){yX(r,e);var t=hX(r);function r(n){sX(this,r);var o;return o=t.call(this,n),bR(vR(o),"props",void 0),o.props=new dR(n==null?void 0:n.props),o}return _X(r,null,[{key:"controlName",get:function(){return s("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlType",get:function(){return"search-input"}}]),r}(wo);bR(bX,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED]},{key:"super-setting",visible:!0}]);function mR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gX(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function OR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function OX(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&&$v(e,t)}function wX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:mR(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function $X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RX(e){var t=PX();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wX(this,o)}}var SX=function(e){OX(r,e);var t=RX(r);function r(n){mX(this,r);var o;return o=t.call(this,n),OR(mR(o),"props",void 0),o.props=new dR(n==null?void 0:n.props),o}return gX(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(C);OR(SX,"controlFieldType",g.VARCHAR);function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function Rv(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&&Sv(e,t)}function EX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:Q(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function TX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ev(e){var t=BX();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EX(this,o)}}var IX=function(e){Rv(r,e);var t=Ev(r);function r(n){Pv(this,r);var o;return o=t.call(this,n),J(Q(o),"datasourceBind",[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ni.call(Q(o),n,On.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:s("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}]),o}return r}(ue),DX=function(e){Rv(r,e);var t=Ev(r);function r(n){Pv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Vl=function(e){Rv(r,e);var t=Ev(r);function r(n){Pv(this,r);var o,i;o=t.call(this,n),J(Q(o),"placeholder",void 0),J(Q(o),"multiple",void 0),J(Q(o),"canSearch",void 0),J(Q(o),"levelType",void 0),J(Q(o),"optionalLevel",void 0),J(Q(o),"containsSubNode",void 0),J(Q(o),"defaultDisplay",void 0),J(Q(o),"isShowIncludeSub",void 0),J(Q(o),"isDefaultCheckSub",void 0),J(Q(o),"isShowFilterItem",void 0),J(Q(o),"defaultCollapse",void 0),J(Q(o),"defaultCollapseLevel",void 0),J(Q(o),"optionConfig","datasource"),J(Q(o),"datasourceBind",void 0),J(Q(o),"filterItemDatasourceBind",void 0),J(Q(o),"multistageFilling",void 0),J(Q(o),"defaultValue",void 0),J(Q(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:On.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:s("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var y;o.optionalLevel=(y=n==null?void 0:n.optionalLevel)!==null&&y!==void 0?y:1;var d;o.containsSubNode=(d=n==null?void 0:n.containsSubNode)!==null&&d!==void 0?d:!1;var m;o.isShowFilterItem=(m=n==null?void 0:n.isShowFilterItem)!==null&&m!==void 0?m:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var b;o.isDefaultCheckSub=(b=n==null?void 0:n.isDefaultCheckSub)!==null&&b!==void 0?b:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var $;o.datasourceBind=new Wm(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:On.controlCustomAttributes});var P;o.filterItemDatasourceBind=new Wm((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:On.controlCustomAttributes});var E;o.openMultistageFilling=(E=n==null?void 0:n.openMultistageFilling)!==null&&E!==void 0?E:!1;var T;o.defaultDisplay=(T=n==null?void 0:n.defaultDisplay)!==null&&T!==void 0?T:!1;var j;o.multistageFilling=(j=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(K){return new Te(K)}))!==null&&j!==void 0?j:[];var A;return o.defaultValue=(A=n==null?void 0:n.defaultValue)!==null&&A!==void 0?A:[],o}return r}(k);J(Vl,"Rules",IX),J(Vl,"RuntimeRules",DX);function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xX(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function kX(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&&Tv(e,t)}function FX(e,t){return t&&(CX(t)==="object"||typeof t=="function")?t:wR(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function CX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LX(e){var t=MX();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FX(this,o)}}var On=function(e){kX(r,e);var t=LX(r);function r(n){AX(this,r);var o;return o=t.call(this,n),zl(wR(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return xX(r,null,[{key:"controlName",get:function(){return s("CMD.tree",null,"\u6811")}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(F);zl(On,"controlEventKeys",["on_change","on_click"]),zl(On,"controlFieldType",g.ARRAY),zl(On,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.CAN_SEARCH,_.DEFAULT_DISPLAY,_.CONTAINS_SUB_NODE,_.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jX(e,t,r){return t&&RR(e.prototype,t),r&&RR(e,r),e}function SR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function VX(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&&Bv(e,t)}function zX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:PR(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function HX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=qX();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zX(this,o)}}var WX=function(e){VX(r,e);var t=UX(r);function r(n){NX(this,r);var o;return o=t.call(this,n),SR(PR(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return jX(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(C);SR(WX,"controlFieldType",g.ARRAY);function ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function Dv(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&&Av(e,t)}function KX(e,t){return t&&(GX(t)==="object"||typeof t=="function")?t:ve(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function GX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xv(e){var t=XX();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KX(this,o)}}var QX=function(e){Dv(r,e);var t=xv(r);function r(n){Iv(this,r);var o;return o=t.call(this,n),he(ve(o),"datasourceBind",[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),he(ve(o),"externalScope",{type:"any"}),ni.call(ve(o),n,Eo.controlCustomAttributes),n.externalType===Yt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:s("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")}),o}return r}(ue),JX=function(e){Dv(r,e);var t=xv(r);function r(n){Iv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Wl=function(e){Dv(r,e);var t=xv(r);function r(n){Iv(this,r);var o;o=t.call(this,n),he(ve(o),"showType",void 0),he(ve(o),"range",void 0),he(ve(o),"rangeOptions",void 0),he(ve(o),"multiple",void 0),he(ve(o),"defaultValueType",void 0),he(ve(o),"defaultValue",void 0),he(ve(o),"multistageFilling",void 0),he(ve(o),"datasourceBind",void 0),he(ve(o),"datasourceType",void 0),he(ve(o),"insideType",void 0),he(ve(o),"externalType",void 0),he(ve(o),"externalScope",void 0),he(ve(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Eo.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:s("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1");var m;o.datasourceBind=new Zo((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:Eo.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:J_.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:Z_.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Yt.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new Te(P))})),o}return r}(k);he(Wl,"Rules",QX),he(Wl,"RuntimeRules",JX);function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YX(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function kv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function eQ(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&&Fv(e,t)}function tQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:ER(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function nQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oQ(e){var t=rQ();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tQ(this,o)}}var Eo=function(e){eQ(r,e);var t=oQ(r);function r(n){ZX(this,r);var o;return o=t.call(this,n),kv(ER(o),"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return YX(r,null,[{key:"controlName",get:function(){return s("CMD.people",null,"\u4EBA\u5458")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(F);kv(Eo,"controlFieldType",g.EMPLOYEES),kv(Eo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function BR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uQ(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function DR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function cQ(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&&Cv(e,t)}function lQ(e,t){return t&&(aQ(t)==="object"||typeof t=="function")?t:BR(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}function aQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sQ(e){var t=fQ();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lQ(this,o)}}var _Q=function(e){cQ(r,e);var t=sQ(r);function r(n){iQ(this,r);var o;return o=t.call(this,n),DR(BR(o),"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return uQ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(C);DR(_Q,"controlFieldType",g.EMPLOYEES);function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function xR(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&&Mv(e,t)}function yQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:gt(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function pQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kR(e){var t=dQ();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yQ(this,o)}}var vQ=function(e){xR(r,e);var t=kR(r);function r(n){AR(this,r);var o;return o=t.call(this,n),Ot(gt(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:s("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:s("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:s("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:s("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator:function(a,f,y){if(u.type==="public"&&Cs(f.value)&&f.value.length===0){y(s("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}y()}},company:{type:"object",required:!0,validator:function(a,f,y){if(u.type==="public"&&u.signatureType.includes("company")&&Cs(f.value)&&f.value.length===0){y(s("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}y()}}}},i},{})}}},o}return r}(ue),Lv=function(e){xR(r,e);var t=kR(r);function r(n){AR(this,r);var o;o=t.call(this,n),Ot(gt(o),"buttonType",void 0),Ot(gt(o),"content",void 0),Ot(gt(o),"showType",void 0),Ot(gt(o),"color",void 0),Ot(gt(o),"icon",void 0),Ot(gt(o),"command",""),Ot(gt(o),"isLoading",!1),Ot(gt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Zl.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:s("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72");var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2",o.signatureConfig=new $N(n==null?void 0:n.signatureConfig),o}return r}(k);Ot(Lv,"Rules",vQ);function FR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bQ(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function Ql(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function mQ(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&&Nv(e,t)}function gQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:FR(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}function OQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $Q(e){var t=wQ();return function(){var n=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var Zl=function(e){mQ(r,e);var t=$Q(r);function r(n){hQ(this,r);var o;return o=t.call(this,n),Ql(FR(o),"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return bQ(r,null,[{key:"controlName",get:function(){return s("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(F);Ql(Zl,"controlEventKeys",["on_click","on_click_finish"]),Ql(Zl,"controlFieldType",g.VARCHAR),Ql(Zl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RQ(e,t,r){return t&&LR(e.prototype,t),r&&LR(e,r),e}function NR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function SQ(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&&jv(e,t)}function EQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:MR(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function TQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IQ(e){var t=BQ();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EQ(this,o)}}var DQ=function(e){SQ(r,e);var t=IQ(r);function r(n){PQ(this,r);var o;return o=t.call(this,n),NR(MR(o),"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return RQ(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(C);NR(DQ,"controlFieldType",g.VARCHAR);function Oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function zv(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&&Hv(e,t)}function AQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:Oe(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function xQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qv(e){var t=kQ();return function(){var n=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AQ(this,o)}}var FQ=function(e){zv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),be(Oe(o),"content",{type:"string",required:!0,message:s("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")}),be(Oe(o),"canAdd",void 0),be(Oe(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(s("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}l()}},autoRename:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(s("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(s("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}l()}},o}return r}(ue),CQ=function(e){zv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),ta=function(e){zv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;o=t.call(this,n),be(Oe(o),"content",void 0),be(Oe(o),"canAdd",void 0),be(Oe(o),"addLocal",void 0),be(Oe(o),"addOnline",void 0),be(Oe(o),"canDownload",void 0),be(Oe(o),"canEdit",void 0),be(Oe(o),"canExport",void 0),be(Oe(o),"canDelete",void 0),be(Oe(o),"wpsSetting",void 0),be(Oe(o),"maxSize",void 0),be(Oe(o),"defaultValue",void 0),be(Oe(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:oa.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:s("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863");var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var y;o.canDownload=(y=n==null?void 0:n.canDownload)!==null&&y!==void 0?y:!0;var d;o.canExport=(d=n==null?void 0:n.canExport)!==null&&d!==void 0?d:!0;var m;o.canDelete=(m=n==null?void 0:n.canDelete)!==null&&m!==void 0?m:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:Cq;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new PN(n==null?void 0:n.wpsSetting);var w;return o.revisionsMode=(w=n==null?void 0:n.revisionsMode)!==null&&w!==void 0?w:!1,o}return r}(k);be(ta,"Rules",FQ),be(ta,"RuntimeRules",CQ);function jR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LQ(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function na(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function NQ(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&&Uv(e,t)}function jQ(e,t){return t&&(VQ(t)==="object"||typeof t=="function")?t:jR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function VQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HQ(e){var t=zQ();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jQ(this,o)}}var oa=function(e){NQ(r,e);var t=HQ(r);function r(n){MQ(this,r);var o;return o=t.call(this,n),na(jR(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return LQ(r,null,[{key:"controlName",get:function(){return s("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(F);na(oa,"controlEventKeys",["on_change","on_wps_open"]),na(oa,"controlFieldType",g.FILE),na(oa,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UQ(e,t,r){return t&&HR(e.prototype,t),r&&HR(e,r),e}function qR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function WQ(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&&Wv(e,t)}function KQ(e,t){return t&&(GQ(t)==="object"||typeof t=="function")?t:zR(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function GQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QQ(e){var t=XQ();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KQ(this,o)}}var JQ=function(e){WQ(r,e);var t=QQ(r);function r(n){qQ(this,r);var o;return o=t.call(this,n),qR(zR(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return UQ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(C);qR(JQ,"controlFieldType",g.FILE);function oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function Gv(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&&Xv(e,t)}function ZQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:oe(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function YQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qv(e){var t=eJ();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZQ(this,o)}}var tJ=function(e){Gv(r,e);var t=Qv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),ie(oe(o),"datasourceBind",[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ie(oe(o),"businessScope",{type:"any"}),ni.call(oe(o),n,rr.controlCustomAttributes),n.businessType===Yt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:s("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return r}(ue),nJ=function(e){Gv(r,e);var t=Qv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),ca=function(e){Gv(r,e);var t=Qv(r);function r(n){Kv(this,r);var o;o=t.call(this,n),ie(oe(o),"showType",void 0),ie(oe(o),"range",void 0),ie(oe(o),"defaultValueType",void 0),ie(oe(o),"multiple",void 0),ie(oe(o),"rangeOptions",void 0),ie(oe(o),"defaultValue",void 0),ie(oe(o),"displayLevel",void 0),ie(oe(o),"showSubDept",void 0),ie(oe(o),"multistageFilling",void 0),ie(oe(o),"datasourceBind",void 0),ie(oe(o),"datasourceType",void 0),ie(oe(o),"businessType",void 0),ie(oe(o),"businessScope",void 0),ie(oe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:rr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:s("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8");var b;o.datasourceBind=new Zo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:rr.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:xi.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Yt.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(E){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new Te(E))})),o}return r}(k);ie(ca,"Rules",tJ),ie(ca,"RuntimeRules",nJ);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oJ(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function la(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?aa=Reflect.get:aa=function(o,i,u){var c=cJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},aa(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function iJ(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&&Jv(e,t)}function uJ(e,t){return t&&(lJ(t)==="object"||typeof t=="function")?t:UR(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function cJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}function lJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fJ(e){var t=aJ();return function(){var n=nr(e),o;if(t){var i=nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uJ(this,o)}}var rr=function(e){iJ(r,e);var t=fJ(r);function r(n){rJ(this,r);var o;return o=t.call(this,n),la(UR(o),"props",void 0),o.props=new ca(n==null?void 0:n.props),o}return oJ(r,[{key:"toDataBindModel",value:function(o){var i=aa(nr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(F);la(rr,"controlName",s("CMD.department",null,"\u90E8\u95E8")),la(rr,"controlFieldType",g.DEPARTMENTS),la(rr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function KR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _J(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function XR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function yJ(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&&Zv(e,t)}function pJ(e,t){return t&&(dJ(t)==="object"||typeof t=="function")?t:KR(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function dJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hJ(e){var t=vJ();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pJ(this,o)}}var bJ=function(e){yJ(r,e);var t=hJ(r);function r(n){sJ(this,r);var o;return o=t.call(this,n),XR(KR(o),"props",void 0),o.props=new ca(n==null?void 0:n.props),o}return _J(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(C);XR(bJ,"controlFieldType",g.DEPARTMENTS);function U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function eh(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&&th(e,t)}function mJ(e,t){return t&&(gJ(t)==="object"||typeof t=="function")?t:U(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function gJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nh(e){var t=OJ();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mJ(this,o)}}var wJ=function(e){eh(r,e);var t=nh(r);function r(n){Yv(this,r);var o;return o=t.call(this,n),W(U(o),"datasourceBind",[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),W(U(o),"businessScope",{type:"any"}),ni.call(U(o),n,To.controlCustomAttributes),n.businessType===Yt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:s("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return r}(ue),$J=function(e){eh(r,e);var t=nh(r);function r(n){Yv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),_a=function(e){eh(r,e);var t=nh(r);function r(n){Yv(this,r);var o;o=t.call(this,n),W(U(o),"showType",void 0),W(U(o),"range",void 0),W(U(o),"defaultValueType",void 0),W(U(o),"multiple",void 0),W(U(o),"rangeOptions",void 0),W(U(o),"defaultValue",void 0),W(U(o),"displayLevel",void 0),W(U(o),"showSubDept",void 0),W(U(o),"multistageFilling",void 0),W(U(o),"datasourceBind",void 0),W(U(o),"listPageBind",void 0),W(U(o),"datasourceType",void 0),W(U(o),"businessType",void 0),W(U(o),"businessScope",void 0),W(U(o),"organizingFunction",void 0),W(U(o),"organizationView",void 0),W(U(o),"openMultistageFilling",void 0),W(U(o),"showSelectedDetail",void 0),W(U(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new qs(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:To.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:s("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7");var b;o.datasourceBind=new PF((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:To.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:xi.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Yt.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var E;o.organizationView=(E=n==null?void 0:n.organizationView)!==null&&E!==void 0?E:void 0;var T;o.showSelectedDetail=(T=n==null?void 0:n.showSelectedDetail)!==null&&T!==void 0?T:!1,o.selectedContentConfig=new Gs(n==null?void 0:n.selectedContentConfig);var j;return o.openMultistageFilling=(j=n==null?void 0:n.openMultistageFilling)!==null&&j!==void 0?j:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(A){var K;(K=o.multistageFilling)===null||K===void 0||K.push(new Te(A))})),o}return r}(k);W(_a,"Rules",wJ),W(_a,"RuntimeRules",$J);function QR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RJ(e,t,r){return t&&JR(e.prototype,t),r&&JR(e,r),e}function rh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ya=Reflect.get:ya=function(o,i,u){var c=TJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ya(e,t,r||e)}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},or(e)}function SJ(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&&oh(e,t)}function EJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:QR(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function TJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=or(e),e!==null););return e}function BJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DJ(e){var t=IJ();return function(){var n=or(e),o;if(t){var i=or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EJ(this,o)}}var To=function(e){SJ(r,e);var t=DJ(r);function r(n){PJ(this,r);var o;return o=t.call(this,n),rh(QR(o),"props",void 0),o.props=new _a(n==null?void 0:n.props),o}return RJ(r,[{key:"toDataBindModel",value:function(o){var i=ya(or(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlName",get:function(){return s("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(F);rh(To,"controlFieldType",g.DEPARTMENTS),rh(To,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function ZR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xJ(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function eS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function kJ(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&&ih(e,t)}function FJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:ZR(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LJ(e){var t=MJ();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FJ(this,o)}}var NJ=function(e){kJ(r,e);var t=LJ(r);function r(n){AJ(this,r);var o;return o=t.call(this,n),eS(ZR(o),"props",void 0),o.props=new _a(n==null?void 0:n.props),o}return xJ(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(C);eS(NJ,"controlFieldType",g.DEPARTMENTS);function Bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function ch(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&&lh(e,t)}function jJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:Bo(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function VJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ah(e){var t=zJ();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jJ(this,o)}}var HJ=function(e){ch(r,e);var t=ah(r);function r(n){uh(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),qJ=function(e){ch(r,e);var t=ah(r);function r(n){uh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(z),va=function(e){ch(r,e);var t=ah(r);function r(n){uh(this,r);var o;o=t.call(this,n),ir(Bo(o),"controlExportName",void 0),ir(Bo(o),"permissions",void 0),ir(Bo(o),"defaultValue",void 0),ir(Bo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ma.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(k);ir(va,"Rules",HJ),ir(va,"RuntimeRules",qJ);function tS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WJ(e,t,r){return t&&nS(e.prototype,t),r&&nS(e,r),e}function ha(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function KJ(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&&fh(e,t)}function GJ(e,t){return t&&(XJ(t)==="object"||typeof t=="function")?t:tS(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function XJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JJ(e){var t=QJ();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GJ(this,o)}}var ma=function(e){KJ(r,e);var t=JJ(r);function r(n){UJ(this,r);var o;return o=t.call(this,n),ha(tS(o),"props",void 0),o.props=new va(n==null?void 0:n.props),o}return WJ(r,null,[{key:"controlName",get:function(){return s("CMD.vuePage",null,"Vue\u9875\u9762")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return p.VUE_PAGE}}]),r}(F);ha(ma,"controlFieldType",g.ANY),ha(ma,"controlEventKeys",[]),ha(ma,"setting",[]);function rS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YJ(e,t,r){return t&&oS(e.prototype,t),r&&oS(e,r),e}function iS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function eZ(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&&sh(e,t)}function tZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:rS(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function nZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oZ(e){var t=rZ();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tZ(this,o)}}var iZ=function(e){eZ(r,e);var t=oZ(r);function r(n){ZJ(this,r);var o;return o=t.call(this,n),iS(rS(o),"props",void 0),o.props=new va(n==null?void 0:n.props),o}return YJ(r,null,[{key:"controlType",get:function(){return p.VUE_PAGE}}]),r}(C);iS(iZ,"controlFieldType",g.ANY);function uZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lZ(e,t,r){return t&&uS(e.prototype,t),r&&uS(e,r),e}function aZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function fZ(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&&_h(e,t)}function sZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:uZ(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function _Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pZ(e){var t=yZ();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sZ(this,o)}}var dZ=function(e){fZ(r,e);var t=pZ(r);function r(n){return cZ(this,r),t.call(this,n)}return lZ(r,null,[{key:"controlName",get:function(){return s("CMD.grid",null,"\u753B\u5E03")}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(le);aZ(dZ,"excludes",[p.GRID]);function yh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function hZ(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&&ph(e,t)}function bZ(e,t){return t&&(mZ(t)==="object"||typeof t=="function")?t:yh(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function mZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OZ(e){var t=gZ();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bZ(this,o)}}var wZ=24,Io=function(e){hZ(r,e);var t=OZ(r);function r(n){vZ(this,r);var o;o=t.call(this,n),cS(yh(o),"span",void 0),cS(yh(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:wZ;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ce);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PZ(e,t,r){return t&&aS(e.prototype,t),r&&aS(e,r),e}function dh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function RZ(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&&vh(e,t)}function SZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:lS(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function EZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BZ(e){var t=TZ();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SZ(this,o)}}var Do=function(e){RZ(r,e);var t=BZ(r);function r(n){$Z(this,r);var o;return o=t.call(this,n),dh(lS(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return PZ(r,null,[{key:"controlName",get:function(){return s("CMD.col",null,"\u6805\u683C\u5217")}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(le);dh(Do,"excludes",[p.COL,p.SUBTABLE,p.SUBTABLE_COLUMN,p.GRID_LAYOUT_CONTAINER,p.DIVIDER]),dh(Do,"childrenMaxLength",1);function fS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DZ(e,t,r){return t&&sS(e.prototype,t),r&&sS(e,r),e}function AZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function xZ(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&&hh(e,t)}function kZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:fS(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function FZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MZ(e){var t=CZ();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kZ(this,o)}}var LZ=function(e){xZ(r,e);var t=MZ(r);function r(n){IZ(this,r);var o;return o=t.call(this,n),AZ(fS(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return DZ(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(vn),_S={Designer:Do,Runtime:LZ,Property:Io};function bh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function jZ(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&&mh(e,t)}function VZ(e,t){return t&&(zZ(t)==="object"||typeof t=="function")?t:bh(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function zZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qZ(e){var t=HZ();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VZ(this,o)}}var gh=function(e){jZ(r,e);var t=qZ(r);function r(n){NZ(this,r);var o;o=t.call(this,n),yS(bh(o),"layoutMode",void 0),yS(bh(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(ce);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WZ(e,t,r){return t&&dS(e.prototype,t),r&&dS(e,r),e}function Oh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function KZ(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&&wh(e,t)}function GZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:pS(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function XZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JZ(e){var t=QZ();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GZ(this,o)}}var $h=function(e){KZ(r,e);var t=JZ(r);function r(n){UZ(this,r);var o;return o=t.call(this,n),Oh(pS(o),"props",void 0),o.props=new gh(n==null?void 0:n.props),o}return WZ(r,null,[{key:"controlName",get:function(){return s("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(le);Oh($h,"excludes",[p.ROW]),Oh($h,"setting",[{key:"col-setting",visible:!0}]);function vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YZ(e,t,r){return t&&hS(e.prototype,t),r&&hS(e,r),e}function eY(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function tY(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&&Ph(e,t)}function nY(e,t){return t&&(rY(t)==="object"||typeof t=="function")?t:vS(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function rY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iY(e){var t=oY();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nY(this,o)}}var uY=function(e){tY(r,e);var t=iY(r);function r(n){ZZ(this,r);var o;return o=t.call(this,n),eY(vS(o),"props",void 0),o.props=new gh(n==null?void 0:n.props),o}return YZ(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(vn);function cY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aY(e,t,r){return t&&bS(e.prototype,t),r&&bS(e,r),e}function Rh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function fY(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&&Sh(e,t)}function sY(e,t){return t&&(_Y(t)==="object"||typeof t=="function")?t:cY(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function _Y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pY(e){var t=yY();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sY(this,o)}}var dY=4,Ba=function(e){fY(r,e);var t=pY(r);function r(n){return lY(this,r),t.call(this,n)}return aY(r,null,[{key:"controlName",get:function(){return s("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}($h);Rh(Ba,"excludes",[p.GRID_ROW]),Rh(Ba,"setting",[]),Rh(Ba,"childrenMaxLength",dY);function vY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bY(e,t,r){return t&&mS(e.prototype,t),r&&mS(e,r),e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function mY(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&&Eh(e,t)}function gY(e,t){return t&&(OY(t)==="object"||typeof t=="function")?t:vY(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function OY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $Y(e){var t=wY();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gY(this,o)}}var PY=function(e){mY(r,e);var t=$Y(r);function r(n){return hY(this,r),t.call(this,n)}return bY(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(uY);function RY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function EY(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&&Th(e,t)}function TY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:RY(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function BY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DY(e){var t=IY();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TY(this,o)}}var AY=function(e){EY(r,e);var t=DY(r);function r(n){return SY(this,r),t.call(this,n)}return r}(gh),xY={Designer:Ba,Runtime:PY,Property:AY};function Ao(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function OS(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&&Bh(e,t)}function kY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:Ao(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function FY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wS(e){var t=CY();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kY(this,o)}}var MY=function(e){OS(r,e);var t=wS(r);function r(){gS(this,r);var n;return n=t.apply(this,arguments),xo(Ao(n),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),n}return r}(ce.Rules),$S=function(e){OS(r,e);var t=wS(r);function r(n){gS(this,r);var o;o=t.call(this,n),xo(Ao(o),"caption",void 0),xo(Ao(o),"isHideCaption",void 0),xo(Ao(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:s("CMD.cardGroup",null,"\u5206\u7EC4");var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(ce);xo($S,"Rules",MY);function PS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NY(e,t,r){return t&&RS(e.prototype,t),r&&RS(e,r),e}function Ih(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function jY(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&&Dh(e,t)}function VY(e,t){return t&&(zY(t)==="object"||typeof t=="function")?t:PS(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function zY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qY(e){var t=HY();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VY(this,o)}}var SS=function(e){jY(r,e);var t=qY(r);function r(n){LY(this,r);var o;return o=t.call(this,n),Ih(PS(o),"props",void 0),o.props=new $S(n==null?void 0:n.props),o}return NY(r,null,[{key:"controlName",get:function(){return s("CMD.cardGroup",null,"\u5206\u7EC4")}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(le);Ih(SS,"setting",[{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Ih(SS,"excludes",[p.CARD_GROUP]);function wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ES(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function TS(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&&Ah(e,t)}function UY(e,t){return t&&(WY(t)==="object"||typeof t=="function")?t:wt(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function WY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BS(e){var t=KY();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UY(this,o)}}var GY=function(e){TS(r,e);var t=BS(r);function r(n){ES(this,r);var o;return o=t.call(this,n),$t(wt(o),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),$t(wt(o),"width",{type:"number",required:!1,message:s("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),$t(wt(o),"captionTip",{type:"string",required:!1,message:s("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),Fa=function(e){TS(r,e);var t=BS(r);function r(n){ES(this,r);var o;o=t.call(this,n),$t(wt(o),"metaAutoWidth",void 0),$t(wt(o),"caption",void 0),$t(wt(o),"fixed",void 0),$t(wt(o),"isShowCaptionTip",void 0),$t(wt(o),"captionTip",void 0),$t(wt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new Hm(n==null?void 0:n.metaAutoWidth),o}return r}(ce);$t(Fa,"Rules",GY);function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function QY(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&&xh(e,t)}function JY(e,t){return t&&(ZY(t)==="object"||typeof t=="function")?t:IS(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function ZY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eee(e){var t=YY();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JY(this,o)}}var st=function(e){QY(r,e);var t=eee(r);function r(n){XY(this,r);var o;return o=t.call(this,n),wn(IS(o),"props",void 0),o.props=new Fa(n==null?void 0:n.props),o}return r}(le);wn(st,"controlName",s("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C")),wn(st,"controlType","subtable-column"),wn(st,"controlIcon","subtable-column"),wn(st,"childrenMaxLength",1),wn(st,"excludes",[p.SUBTABLE,p.SUBTABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT,p.GRID_LAYOUT_CONTAINER]),wn(st,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",showItems:[_.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function DS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function nee(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&&kh(e,t)}function ree(e,t){return t&&(oee(t)==="object"||typeof t=="function")?t:DS(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function oee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uee(e){var t=iee();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ree(this,o)}}var xS=function(e){nee(r,e);var t=uee(r);function r(n){tee(this,r);var o;return o=t.call(this,n),AS(DS(o),"props",void 0),o.props=new Fa(n==null?void 0:n.props),o}return r}(vn);AS(xS,"controlType","subtable-column");var cee={Designer:st,Runtime:xS,Property:Fa};function lee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function fee(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&&Fh(e,t)}function see(e,t){return t&&(_ee(t)==="object"||typeof t=="function")?t:lee(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function _ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pee(e){var t=yee();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return see(this,o)}}var dee=function(e){fee(r,e);var t=pee(r);function r(n){return aee(this,r),t.call(this,n)}return r}(ce);function kS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function hee(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&&Ch(e,t)}function bee(e,t){return t&&(mee(t)==="object"||typeof t=="function")?t:kS(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}function mee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oee(e){var t=gee();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bee(this,o)}}var ur=function(e){hee(r,e);var t=Oee(r);function r(n){vee(this,r);var o;return o=t.call(this,n),$n(kS(o),"props",void 0),o.props=new dee(n==null?void 0:n.props),o}return r}(le);$n(ur,"controlName",s("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C")),$n(ur,"controlType","subtable-row"),$n(ur,"controlIcon","subtable-row"),$n(ur,"childrenMaxLength",1),$n(ur,"excludes",[p.SUBTABLE,p.SUBTABLE_COLUMN,p.SUBTABLE_ROW,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT]),$n(ur,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0}]);function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function $ee(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&&Mh(e,t)}function Pee(e,t){return t&&(Ree(t)==="object"||typeof t=="function")?t:ze(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function Ree(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function See(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eee(e){var t=See();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pee(this,o)}}var FS=function(e){$ee(r,e);var t=Eee(r);function r(n){wee(this,r);var o;o=t.call(this,n),Ze(ze(o),"widthType",void 0),Ze(ze(o),"width",void 0),Ze(ze(o),"caption",void 0),Ze(ze(o),"fieldCode",void 0),Ze(ze(o),"fieldType",void 0),Ze(ze(o),"fieldName",void 0),Ze(ze(o),"datasourceBind",void 0),Ze(ze(o),"fixed",void 0),Ze(ze(o),"textCleanFormart",void 0),Ze(ze(o),"decimalKeepPrecision",void 0),Ze(ze(o),"timestampDateType",void 0),Ze(ze(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var d;o.decimalKeepPrecision=(d=n==null?void 0:n.decimalKeepPrecision)!==null&&d!==void 0?d:0;var m;o.timestampDateType=(m=n==null?void 0:n.timestampDateType)!==null&&m!==void 0?m:qt.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ce);function CS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function Bee(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&&Lh(e,t)}function Iee(e,t){return t&&(Dee(t)==="object"||typeof t=="function")?t:CS(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function Dee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xee(e){var t=Aee();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iee(this,o)}}var cr=function(e){Bee(r,e);var t=xee(r);function r(n){Tee(this,r);var o;return o=t.call(this,n),Pn(CS(o),"props",void 0),o.props=new FS(n==null?void 0:n.props),o}return r}(le);Pn(cr,"controlName","\u5217\u8868\u5355\u5143\u683C"),Pn(cr,"controlType","gridtable-column"),Pn(cr,"controlIcon","gridtable-column"),Pn(cr,"childrenMaxLength",1),Pn(cr,"excludes",[p.GRID_TABLE,p.GRID_TABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT]),Pn(cr,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function MS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function Fee(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&&Nh(e,t)}function Cee(e,t){return t&&(Mee(t)==="object"||typeof t=="function")?t:MS(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function Mee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nee(e){var t=Lee();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cee(this,o)}}var jee=function(e){Fee(r,e);var t=Nee(r);function r(n){kee(this,r);var o;return o=t.call(this,n),LS(MS(o),"props",void 0),o.props=new FS(n==null?void 0:n.props),o}return r}(vn);LS(jee,"controlType","gridtable-column");function jh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function zee(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&&Vh(e,t)}function Hee(e,t){return t&&(qee(t)==="object"||typeof t=="function")?t:jh(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function qee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wee(e){var t=Uee();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hee(this,o)}}var Kee=function(e){zee(r,e);var t=Wee(r);function r(n){Vee(this,r);var o;o=t.call(this,n),NS(jh(o),"childMinWidth",void 0),NS(jh(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(ce);function jS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xee(e,t,r){return t&&VS(e.prototype,t),r&&VS(e,r),e}function zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function Qee(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&&Hh(e,t)}function Jee(e,t){return t&&(Zee(t)==="object"||typeof t=="function")?t:jS(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function Zee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ete(e){var t=Yee();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jee(this,o)}}var zS=function(e){Qee(r,e);var t=ete(r);function r(n){Gee(this,r);var o;return o=t.call(this,n),zh(jS(o),"props",void 0),o.props=new Kee(n==null?void 0:n.props),o}return Xee(r,null,[{key:"controlName",get:function(){return s("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(le);zh(zS,"excludes",[p.GRID_LAYOUT_CONTAINER,p.CARD_GROUP,p.TAB]),zh(zS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function HS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function rte(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&&qh(e,t)}function ote(e,t){return t&&(ite(t)==="object"||typeof t=="function")?t:HS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function ite(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cte(e){var t=ute();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ote(this,o)}}var lte=function(e){rte(r,e);var t=cte(r);function r(n){tte(this,r);var o;o=t.call(this,n),nte(HS(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(ce);function Uh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function US(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&&Kh(e,t)}function ate(e,t){return t&&(fte(t)==="object"||typeof t=="function")?t:Uh(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function fte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ste(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WS(e){var t=ste();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ate(this,o)}}var _te=function(e){US(r,e);var t=WS(r);function r(n){qS(this,r);var o;return o=t.call(this,n),Wh(Uh(o),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),o}return r}(Z),KS=function(e){US(r,e);var t=WS(r);function r(n){qS(this,r);var o;o=t.call(this,n),Wh(Uh(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ja.controlName,o}return r}(ce);Wh(KS,"Rules",_te);function GS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pte(e,t,r){return t&&XS(e.prototype,t),r&&XS(e,r),e}function Gh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function dte(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&&Xh(e,t)}function vte(e,t){return t&&(hte(t)==="object"||typeof t=="function")?t:GS(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function hte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mte(e){var t=bte();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vte(this,o)}}var Ga=function(e){dte(r,e);var t=mte(r);function r(n){yte(this,r);var o;return o=t.call(this,n),Gh(GS(o),"props",void 0),o.props=new KS(n==null?void 0:n.props),o}return pte(r,null,[{key:"controlName",get:function(){return s("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(le);Gh(Ga,"excludes",[p.TAB]),Gh(Ga,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function QS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ote(e,t,r){return t&&JS(e.prototype,t),r&&JS(e,r),e}function Xa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function wte(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&&Qh(e,t)}function $te(e,t){return t&&(Pte(t)==="object"||typeof t=="function")?t:QS(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function Pte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ste(e){var t=Rte();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $te(this,o)}}var Ja=function(e){wte(r,e);var t=Ste(r);function r(n){gte(this,r);var o;o=t.call(this,n),Xa(QS(o),"props",void 0),o.props=new lte(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Ga,new Ga],o}return Ote(r,null,[{key:"controlName",get:function(){return s("CMD.tab",null,"\u6807\u7B7E\u9875")}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(le);Xa(Ja,"excludes",[p.TAB]),Xa(Ja,"controlEventKeys",["on_change_tab"]),Xa(Ja,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Ete(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function Bte(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&&Jh(e,t)}function Ite(e,t){return t&&(Dte(t)==="object"||typeof t=="function")?t:Ete(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function Dte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xte(e){var t=Ate();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ite(this,o)}}var kte=function(e){Bte(r,e);var t=xte(r);function r(n){return Tte(this,r),t.call(this,n)}return r}(ce);function ZS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cte(e,t,r){return t&&YS(e.prototype,t),r&&YS(e,r),e}function eE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function Mte(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&&Zh(e,t)}function Lte(e,t){return t&&(Nte(t)==="object"||typeof t=="function")?t:ZS(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}function Nte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vte(e){var t=jte();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lte(this,o)}}var zte=function(e){Mte(r,e);var t=Vte(r);function r(n){Fte(this,r);var o;return o=t.call(this,n),eE(ZS(o),"props",void 0),o.props=new kte({}),o.children=(n==null?void 0:n.children)||[new Do({props:new Io({span:12})}),new Do({props:new Io({span:12})})],o}return Cte(r,null,[{key:"controlName",get:function(){return s("CMD.toolbox",null,"\u5DE5\u5177\u680F")}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(le);eE(zte,"excludes",[p.GRID_ROW,p.ROW,p.GRID,p.SUBTABLE,p.TAB,p.TOOLBOX]);function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function e0(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&&t0(e,t)}function Hte(e,t){return t&&(qte(t)==="object"||typeof t=="function")?t:G(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function qte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n0(e){var t=Ute();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hte(this,o)}}var tE;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(tE||(tE={}));var Wte=function(e){e0(r,e);var t=n0(r);function r(n){Yh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pn),Kte=function(e){e0(r,e);var t=n0(r);function r(n){Yh(this,r);var o;if(o=t.call(this,n),X(G(o),"triggerFieldCode",{type:"any"}),X(G(o),"datasourceBind",{type:"any"}),X(G(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:s("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:s("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:s("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:s("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:s("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:s("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:s("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:s("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),f_.call(G(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Z),ko=function(e){e0(r,e);var t=n0(r);function r(n){Yh(this,r);var o;o=t.call(this,n),X(G(o),"datasourceBind",void 0),X(G(o),"isLoading",void 0),X(G(o),"isShowSubList",void 0),X(G(o),"triggerType",void 0),X(G(o),"triggerFieldCode",void 0),X(G(o),"sublistPage",void 0),X(G(o),"isShowJoinRelation",void 0),X(G(o),"joinRelation",void 0),X(G(o),"showType",void 0),X(G(o),"showFullScreen",void 0),X(G(o),"isFixedHeader",void 0),X(G(o),"selectionType",void 0),X(G(o),"isShowSelection",void 0),X(G(o),"isAllLoaded",void 0),X(G(o),"countType",void 0),X(G(o),"countLimit",void 0),X(G(o),"rowStyle",void 0),o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new gF(n==null?void 0:n.sublistPage);var a;o.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,o.joinRelation=new wF(n==null?void 0:n.joinRelation);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"stretch";var y;o.showFullScreen=(y=n==null?void 0:n.showFullScreen)!==null&&y!==void 0?y:!1;var d;o.selectionType=(d=n==null?void 0:n.selectionType)!==null&&d!==void 0?d:"multiple";var m;o.isFixedHeader=(m=n==null?void 0:n.isFixedHeader)!==null&&m!==void 0?m:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var b;o.isAllLoaded=(b=n==null?void 0:n.isAllLoaded)!==null&&b!==void 0?b:!0,o.countType=n==null?void 0:n.countType;var w;return o.countLimit=(w=n==null?void 0:n.countLimit)!==null&&w!==void 0?w:1e5,o.rowStyle=new LF(n==null?void 0:n.rowStyle),o}return r}(ce);X(ko,"Rules",Kte),X(ko,"RuntimeRules",Wte);function nE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xte(e,t,r){return t&&rE(e.prototype,t),r&&rE(e,r),e}function Fo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function Qte(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&&r0(e,t)}function Jte(e,t){return t&&(Zte(t)==="object"||typeof t=="function")?t:nE(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function Zte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ene(e){var t=Yte();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jte(this,o)}}var Co=function(e){Qte(r,e);var t=ene(r);function r(n){Gte(this,r);var o;return o=t.call(this,n),Fo(nE(o),"props",void 0),o.props=new ko(n==null?void 0:n.props),o}return Xte(r,null,[{key:"controlName",get:function(){return s("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(le);Fo(Co,"slotPosition",{left:"list-view-left-slot"}),Fo(Co,"excludes",[p.ROW]),Fo(Co,"controlEventKeys",["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"]),Fo(Co,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function oE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nne(e,t,r){return t&&iE(e.prototype,t),r&&iE(e,r),e}function rne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function one(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&&o0(e,t)}function ine(e,t){return t&&(une(t)==="object"||typeof t=="function")?t:oE(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function une(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lne(e){var t=cne();return function(){var n=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ine(this,o)}}var ane=function(e){one(r,e);var t=lne(r);function r(n){tne(this,r);var o;return o=t.call(this,n),rne(oE(o),"props",void 0),o.props=new ko(n==null?void 0:n.props),o}return nne(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(vn),fne={Designer:Co,Runtime:ane,Property:ko};function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function cE(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&&i0(e,t)}function sne(e,t){return t&&(_ne(t)==="object"||typeof t=="function")?t:an(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function _ne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lE(e){var t=yne();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sne(this,o)}}var pne=function(e){cE(r,e);var t=lE(r);function r(n){uE(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pn),of=function(e){cE(r,e);var t=lE(r);function r(n){uE(this,r);var o;o=t.call(this,n),fn(an(o),"save",void 0),fn(an(o),"cancel",void 0),fn(an(o),"saveAs",void 0),fn(an(o),"print",void 0),fn(an(o),"custom",void 0),fn(an(o),"isLoading",void 0),fn(an(o),"datasourceBind",void 0);var i;o.save=new Kt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:s("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1});var u;o.cancel=new Kt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:s("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1});var c;o.saveAs=new Kt((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:s("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1});var l;o.print=new Kt((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:s("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(y){return new Kt(y)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new ne(n==null?void 0:n.datasourceBind),o}return r}(ce);fn(of,"RuntimeRules",pne);function aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vne(e,t,r){return t&&fE(e.prototype,t),r&&fE(e,r),e}function sE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function hne(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&&u0(e,t)}function bne(e,t){return t&&(mne(t)==="object"||typeof t=="function")?t:aE(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function mne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function One(e){var t=gne();return function(){var n=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bne(this,o)}}var _E=function(e){hne(r,e);var t=One(r);function r(n){dne(this,r);var o;return o=t.call(this,n),sE(aE(o),"props",void 0),o.props=new of(n==null?void 0:n.props),o}return vne(r,null,[{key:"controlName",get:function(){return s("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}},{key:"controlType",get:function(){return"data-view"}}]),r}(le);sE(_E,"excludes",[]);function yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $ne(e,t,r){return t&&pE(e.prototype,t),r&&pE(e,r),e}function Pne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function Rne(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&&c0(e,t)}function Sne(e,t){return t&&(Ene(t)==="object"||typeof t=="function")?t:yE(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function Ene(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bne(e){var t=Tne();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sne(this,o)}}var Ine=function(e){Rne(r,e);var t=Bne(r);function r(n){wne(this,r);var o;return o=t.call(this,n),Pne(yE(o),"props",void 0),o.props=new of(n==null?void 0:n.props),o}return $ne(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(vn),Dne={Designer:_E,Runtime:Ine,Property:of};function lf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ane(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function xne(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&&a0(e,t)}function kne(e,t){return t&&(Fne(t)==="object"||typeof t=="function")?t:lf(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function Fne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mne(e){var t=Cne();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kne(this,o)}}var Lne=function(e){xne(r,e);var t=Mne(r);function r(n){Ane(this,r);var o;o=t.call(this,n),l0(lf(o),"position",void 0),l0(lf(o),"opacity",void 0),l0(lf(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(ce);function dE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jne(e,t,r){return t&&vE(e.prototype,t),r&&vE(e,r),e}function ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function Vne(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&&f0(e,t)}function zne(e,t){return t&&(Hne(t)==="object"||typeof t=="function")?t:dE(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function Hne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Une(e){var t=qne();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zne(this,o)}}var s0=function(e){Vne(r,e);var t=Une(r);function r(n){Nne(this,r);var o;o=t.call(this,n),ff(dE(o),"props",void 0);var i;return o.props=new Lne((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return jne(r,null,[{key:"controlName",get:function(){return s("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(le);ff(s0,"slotPosition",{default:"action-bar-slot"}),ff(s0,"excludes",[]),ff(s0,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function I(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function y0(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&&p0(e,t)}function Wne(e,t){return t&&(Kne(t)==="object"||typeof t=="function")?t:I(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}function Kne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d0(e){var t=Gne();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wne(this,o)}}var Xne=function(e){y0(r,e);var t=d0(r);function r(n){_0(this,r);var o;return o=t.call(this,n),B(I(o),"caption",{type:"string",required:!0,message:s("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),B(I(o),"limitRows",[{type:"number",required:!0,message:s("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:s("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}]),B(I(o),"formKey",{type:"string",required:!1,message:s("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),B(I(o),"maxHeight",{type:"number",required:!0,message:s("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")}),B(I(o),"captionTip",{type:"string",required:!1,message:s("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),B(I(o),"mobileRowCaption",{type:"string",required:!1,message:s("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Z),Qne=function(e){y0(r,e);var t=d0(r);function r(n){_0(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:s("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")},{type:"array",validator:function(u,c,l){c.length<n.limitRows&&l(s("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),l()},message:s("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")}),o}return r}(pn),v0=function(e){y0(r,e);var t=d0(r);function r(n,o){_0(this,r);var i;i=t.call(this,n,o,r.mode),B(I(i),"caption",void 0),B(I(i),"labelPosition",void 0),B(I(i),"isHideCaption",void 0),B(I(i),"isShowCaptionTip",void 0),B(I(i),"captionTip",void 0),B(I(i),"defaultState",void 0),B(I(i),"limitRows",void 0),B(I(i),"maxRows",void 0),B(I(i),"defaultRows",void 0),B(I(i),"datasourceBind",void 0),B(I(i),"printMode",void 0),B(I(i),"openType",void 0),B(I(i),"formKey",void 0),B(I(i),"useCustomHeight",void 0),B(I(i),"maxHeight",void 0),B(I(i),"canAdd",void 0),B(I(i),"canDelete",void 0),B(I(i),"canCheck",void 0),B(I(i),"canEdit",void 0),B(I(i),"canImport",void 0),B(I(i),"importConfig",void 0),B(I(i),"canExport",void 0),B(I(i),"exportConfig",void 0),B(I(i),"canClear",void 0),B(I(i),"isPaste",void 0),B(I(i),"mobileShowType",void 0),B(I(i),"mobileDefaultNum",void 0),B(I(i),"dataStorageDoc",void 0),B(I(i),"serverPagination",void 0),B(I(i),"fixedColumn",void 0),B(I(i),"mobileRowCaption",void 0),B(I(i),"mobileIsTile",void 0),B(I(i),"sortable",void 0),B(I(i),"sortKey",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:df.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var l;i.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var a;i.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var f;i.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var d;i.useCustomHeight=(d=o==null?void 0:o.useCustomHeight)!==null&&d!==void 0?d:!1;var m;i.maxHeight=(m=o==null?void 0:o.maxHeight)!==null&&m!==void 0?m:TN;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;i.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var v;i.defaultRows=(v=o==null?void 0:o.defaultRows)!==null&&v!==void 0?v:1,i.datasourceBind=new ne(o==null?void 0:o.datasourceBind);var $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var E;i.canCheck=(E=o==null?void 0:o.canCheck)!==null&&E!==void 0?E:!1;var T;i.canEdit=(T=o==null?void 0:o.canEdit)!==null&&T!==void 0?T:!1;var j;i.canImport=(j=o==null?void 0:o.canImport)!==null&&j!==void 0?j:!1;var A;i.canExport=(A=o==null?void 0:o.canExport)!==null&&A!==void 0?A:!1;var K;i.canClear=(K=o==null?void 0:o.canClear)!==null&&K!==void 0?K:!0;var D;i.serverPagination=(D=o==null?void 0:o.serverPagination)!==null&&D!==void 0?D:!1;var Rt;i.isShowCaptionTip=(Rt=o==null?void 0:o.isShowCaptionTip)!==null&&Rt!==void 0?Rt:!1;var Wo;i.captionTip=(Wo=o==null?void 0:o.captionTip)!==null&&Wo!==void 0?Wo:"";var Kr;i.mobileShowType=(Kr=o==null?void 0:o.mobileShowType)!==null&&Kr!==void 0?Kr:"list";var Dn;i.mobileDefaultNum=(Dn=o==null?void 0:o.mobileDefaultNum)!==null&&Dn!==void 0?Dn:10;var St;i.dataStorageDoc=(St=o==null?void 0:o.dataStorageDoc)!==null&&St!==void 0?St:new vF;var um;i.fixedColumn=(um=o==null?void 0:o.fixedColumn)!==null&&um!==void 0?um:[];var cm;i.mobileRowCaption=(cm=o==null?void 0:o.mobileRowCaption)!==null&&cm!==void 0?cm:s("CMD.detailed",null,"\u660E\u7EC6");var lm;i.mobileIsTile=(lm=o==null?void 0:o.mobileIsTile)!==null&&lm!==void 0?lm:!1;var am;i.isPaste=(am=o==null?void 0:o.isPaste)!==null&&am!==void 0?am:!1;var fm;i.pageSize=(fm=o==null?void 0:o.pageSize)!==null&&fm!==void 0?fm:10;var sm;i.pageSizeOptions=(sm=o==null?void 0:o.pageSizeOptions)!==null&&sm!==void 0?sm:[10,20,50,100],i.importConfig=new SN(o==null?void 0:o.importConfig),i.exportConfig=new EN(o==null?void 0:o.exportConfig);var _m;i.sortable=(_m=o==null?void 0:o.sortable)!==null&&_m!==void 0?_m:!1;var ym;return i.sortKey=(ym=o==null?void 0:o.sortKey)!==null&&ym!==void 0?ym:{},i}return r}(w_);B(v0,"Rules",Xne),B(v0,"RuntimeRules",Qne);function h0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zne(e,t,r){return t&&hE(e.prototype,t),r&&hE(e,r),e}function yf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function Yne(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&&b0(e,t)}function ere(e,t){return t&&(tre(t)==="object"||typeof t=="function")?t:h0(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function tre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rre(e){var t=nre();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ere(this,o)}}var df=function(e){Yne(r,e);var t=rre(r);function r(n){Jne(this,r);var o,i;return o=t.call(this,n),yf(h0(o),"props",void 0),o.props=new v0(h0(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new st,new st,new st]),o}return Zne(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new st,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return s("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(R_);yf(df,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),yf(df,"slotPosition",{toolbar:"subtable-toolbar-slot"}),yf(df,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.IS_PASTE,_.SERVER_PAGINATION,_.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ore(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function ire(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&&m0(e,t)}function ure(e,t){return t&&(cre(t)==="object"||typeof t=="function")?t:lr(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function cre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function are(e){var t=lre();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ure(this,o)}}var fre=function(e){ire(r,e);var t=are(r);function r(n,o){ore(this,r);var i;i=t.call(this,n,o),Mo(lr(i),"isFixedHeader",void 0),Mo(lr(i),"selectionType",void 0),Mo(lr(i),"isShowToolbar",void 0),Mo(lr(i),"isShowSelection",void 0),Mo(lr(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var l;i.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var a;i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var f;return i.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[10,20,50,100,500],i}return r}(w_);function sre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function mE(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&&g0(e,t)}function yre(e,t){return t&&(pre(t)==="object"||typeof t=="function")?t:sre(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function pre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gE(e){var t=dre();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yre(this,o)}}var vre=function(e){mE(r,e);var t=gE(r);function r(n){bE(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(vt),O0=function(e){mE(r,e);var t=gE(r);function r(n){bE(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ar.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:60;var y;o.autoWidth.flex=(y=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&y!==void 0?y:.4;var d;return o.widthType=(d=n==null?void 0:n.widthType)!==null&&d!==void 0?d:"px",o}return r}(ee);_re(O0,"Rules",vre);function OE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function bre(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&&w0(e,t)}function mre(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:OE(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function gre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ore(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wre(e){var t=Ore();return function(){var n=bf(e),o;if(t){var i=bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mre(this,o)}}var ar=function(e){bre(r,e);var t=wre(r);function r(n){hre(this,r);var o;return o=t.call(this,n),Lo(OE(o),"props",void 0),o.props=new O0(n==null?void 0:n.props),o}return r}(fe);Lo(ar,"controlType","order-column"),Lo(ar,"controlName",s("CMD.order",null,"\u5E8F\u53F7")),Lo(ar,"controlIcon","order-column"),Lo(ar,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}]);function wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function Pre(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&&P0(e,t)}function Rre(e,t){return t&&(Sre(t)==="object"||typeof t=="function")?t:wE(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function Sre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tre(e){var t=Ere();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rre(this,o)}}var $E=function(e){Pre(r,e);var t=Tre(r);function r(n){$re(this,r);var o;return o=t.call(this,n),$0(wE(o),"props",void 0),o.props=new O0(n==null?void 0:n.props),o}return r}(se);$0($E,"controlType","order-column"),$0($E,"controlFieldType",g.DECIMAL);function R0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function Ire(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&&S0(e,t)}function Dre(e,t){return t&&(Are(t)==="object"||typeof t=="function")?t:R0(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function Are(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kre(e){var t=xre();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dre(this,o)}}var RE=function(e){Ire(r,e);var t=kre(r);function r(n){Bre(this,r);var o,i;o=t.call(this,n),PE(R0(o),"showType",void 0),PE(R0(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:fr.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return r}(ee);function SE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Fre(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){EE(i,n,o,u,c,"next",l)}function c(l){EE(i,n,o,u,c,"throw",l)}u(void 0)})}}function Cre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mre(e,t,r){return t&&TE(e.prototype,t),r&&TE(e,r),e}function No(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jo=Reflect.get:jo=function(o,i,u){var c=jre(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},jo(e,t,r||e)}function Rn(e){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rn(e)}function Lre(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&&E0(e,t)}function Nre(e,t){return t&&(Vre(t)==="object"||typeof t=="function")?t:SE(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function jre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rn(e),e!==null););return e}function Vre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hre(e){var t=zre();return function(){var n=Rn(e),o;if(t){var i=Rn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nre(this,o)}}function qre(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var fr=function(e){Lre(r,e);var t=Hre(r);function r(n){Cre(this,r);var o;return o=t.call(this,n),No(SE(o),"props",void 0),o.props=new RE(n==null?void 0:n.props),o}return Mre(r,[{key:"toDataBindModel",value:function(){var o=jo(Rn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Au.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return jo(Rn(r.prototype),"validate",u)};return Fre(function(){return qre(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(fe);No(fr,"controlType","operation-column"),No(fr,"controlName",s("CMD.operation",null,"\u64CD\u4F5C")),No(fr,"controlIcon","operation-column"),No(fr,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function BE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function Wre(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&&B0(e,t)}function Kre(e,t){return t&&(Gre(t)==="object"||typeof t=="function")?t:BE(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(e,t)}function Gre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qre(e){var t=Xre();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kre(this,o)}}var IE=function(e){Wre(r,e);var t=Qre(r);function r(n){Ure(this,r);var o;return o=t.call(this,n),T0(BE(o),"props",void 0),o.props=new RE(n==null?void 0:n.props),o}return r}(se);T0(IE,"controlType","operation-column"),T0(IE,"controlFieldType",g.FILE);function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Jre(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){DE(i,n,o,u,c,"next",l)}function c(l){DE(i,n,o,u,c,"throw",l)}u(void 0)})}}function Zre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yre(e,t,r){return t&&AE(e.prototype,t),r&&AE(e,r),e}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vo=Reflect.get:Vo=function(o,i,u){var c=uoe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Vo(e,t,r||e)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},En(e)}function eoe(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&&I0(e,t)}function toe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function noe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Vt(e,o,r[o])})}return e}function roe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ooe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):roe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ioe(e,t){return t&&(coe(t)==="object"||typeof t=="function")?t:Sn(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function uoe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=En(e),e!==null););return e}function coe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function loe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aoe(e){var t=loe();return function(){var n=En(e),o;if(t){var i=En(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ioe(this,o)}}function foe(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var soe=1e4,wf=function(t){eoe(n,t);var r=aoe(n);function n(o){Zre(this,n);var i;i=r.call(this,o),Vt(Sn(i),"props",void 0),Vt(Sn(i),"children",void 0),Vt(Sn(i),"excludes",void 0),Vt(Sn(i),"childrenMaxLength",void 0);var u=toe(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new fre(Sn(i),o==null?void 0:o.props),Et(Sn(i),"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new ar,new fr]),i.excludes=Ye(c),i.childrenMaxLength=l,i}return Yre(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toSchema",value:function(){var i=Vo(En(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){return c.toSchema()});return ooe(noe({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,l=this,a=function(){return Vo(En(n.prototype),"validate",c)};return Jre(function(){return foe(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(y){return y.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return s("CMD.gridTable",null,"\u8868\u683C")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(R_);Vt(wf,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),Vt(wf,"setting",[{key:"list-fixed-header",visible:!0}]),Vt(wf,"excludes",[]),Vt(wf,"childrenMaxLength",soe);function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function kE(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&&D0(e,t)}function _oe(e,t){return t&&(yoe(t)==="object"||typeof t=="function")?t:zt(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function yoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function poe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FE(e){var t=poe();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _oe(this,o)}}var doe=function(e){kE(r,e);var t=FE(r);function r(n){xE(this,r);var o;return o=t.call(this,n),Zt.call(zt(o),n),o}return r}(wg),A0=function(e){kE(r,e);var t=FE(r);function r(n){xE(this,r);var o;o=t.call(this,n),sn(zt(o),"optionConfig",void 0),sn(zt(o),"datasourceBind",void 0),sn(zt(o),"showLinkOperation",void 0),sn(zt(o),"linkOperationOption",void 0),sn(zt(o),"options",void 0),sn(zt(o),"lineEllipsis",void 0),sn(zt(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_r.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.options=Bt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var f;return o.dictionaryTagConfig=(f=n==null?void 0:n.dictionaryTagConfig)!==null&&f!==void 0?f:{isTag:!1},o}return r}(ee);sn(A0,"Rules",doe);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function voe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function hoe(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&&x0(e,t)}function boe(e,t){return t&&(moe(t)==="object"||typeof t=="function")?t:CE(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function moe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ooe(e){var t=goe();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return boe(this,o)}}var _r=function(e){hoe(r,e);var t=Ooe(r);function r(n){voe(this,r);var o;return o=t.call(this,n),sr(CE(o),"props",void 0),o.props=new A0(n==null?void 0:n.props),o}return r}(fe);sr(_r,"controlType","varchar-column"),sr(_r,"controlName",s("CMD.varchar",null,"\u77ED\u6587\u672C")),sr(_r,"controlIcon","varchar-column"),sr(_r,"controlFieldType",g.VARCHAR),sr(_r,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}]);function ME(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function woe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function $oe(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&&F0(e,t)}function Poe(e,t){return t&&(Roe(t)==="object"||typeof t=="function")?t:ME(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function Roe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Soe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eoe(e){var t=Soe();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Poe(this,o)}}var LE=function(e){$oe(r,e);var t=Eoe(r);function r(n){woe(this,r);var o;return o=t.call(this,n),k0(ME(o),"props",void 0),o.props=new A0(n==null?void 0:n.props),o}return r}(se);k0(LE,"controlType","varchar-column"),k0(LE,"controlFieldType",g.VARCHAR);function yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function jE(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&&C0(e,t)}function Toe(e,t){return t&&(Boe(t)==="object"||typeof t=="function")?t:yr(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C0(e,t)}function Boe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ioe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VE(e){var t=Ioe();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Toe(this,o)}}var Doe=function(e){jE(r,e);var t=VE(r);function r(n){NE(this,r);var o;return o=t.call(this,n),Zt.call(yr(o),n),o}return r}(vt),M0=function(e){jE(r,e);var t=VE(r);function r(n){NE(this,r);var o;o=t.call(this,n),zo(yr(o),"escapeHTML",void 0),zo(yr(o),"showLinkOperation",void 0),zo(yr(o),"linkOperationOption",void 0),zo(yr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:vr.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption),o}return r}(ee);zo(M0,"Rules",Doe);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xoe(e,t,r){return t&&HE(e.prototype,t),r&&HE(e,r),e}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ef=Reflect.get:Ef=function(o,i,u){var c=Coe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ef(e,t,r||e)}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function koe(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&&L0(e,t)}function Foe(e,t){return t&&(Moe(t)==="object"||typeof t=="function")?t:zE(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L0(e,t)}function Coe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dr(e),e!==null););return e}function Moe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Loe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Noe(e){var t=Loe();return function(){var n=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Foe(this,o)}}var vr=function(e){koe(r,e);var t=Noe(r);function r(n){Aoe(this,r);var o;return o=t.call(this,n),pr(zE(o),"props",void 0),o.props=new M0(n==null?void 0:n.props),o}return xoe(r,[{key:"toDataBindModel",value:function(o){var i=Ef(dr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(fe);pr(vr,"controlType","text-column"),pr(vr,"controlName",s("CMD.long",null,"\u957F\u6587\u672C")),pr(vr,"controlIcon","text-column"),pr(vr,"controlFieldType",g.TEXT),pr(vr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}]);function qE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function joe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function Voe(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&&j0(e,t)}function zoe(e,t){return t&&(Hoe(t)==="object"||typeof t=="function")?t:qE(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function Hoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uoe(e){var t=qoe();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zoe(this,o)}}var UE=function(e){Voe(r,e);var t=Uoe(r);function r(n){joe(this,r);var o;return o=t.call(this,n),N0(qE(o),"props",void 0),o.props=new M0(n==null?void 0:n.props),o}return r}(se);N0(UE,"controlType","text-column"),N0(UE,"controlFieldType",g.TEXT);function Pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function KE(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&&V0(e,t)}function Woe(e,t){return t&&(Koe(t)==="object"||typeof t=="function")?t:Pt(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function Koe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GE(e){var t=Goe();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Woe(this,o)}}var Xoe=function(e){KE(r,e);var t=GE(r);function r(n){WE(this,r);var o;return o=t.call(this,n),Zt.call(Pt(o),n),o}return r}(vt),z0=function(e){KE(r,e);var t=GE(r);function r(n){WE(this,r);var o;o=t.call(this,n),Ht(Pt(o),"optionConfig",void 0),Ht(Pt(o),"datasourceBind",void 0),Ht(Pt(o),"showLinkOperation",void 0),Ht(Pt(o),"linkOperationOption",void 0),Ht(Pt(o),"options",void 0),Ht(Pt(o),"precision",void 0),Ht(Pt(o),"micrometer",void 0),Ht(Pt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:mr.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var f;o.options=Bt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var y;return o.showLinkOperation=(y=n==null?void 0:n.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption),o}return r}(ee);Ht(z0,"Rules",Xoe);function XE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Joe(e,t,r){return t&&QE(e.prototype,t),r&&QE(e,r),e}function hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?If=Reflect.get:If=function(o,i,u){var c=eie(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},If(e,t,r||e)}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function Zoe(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&&H0(e,t)}function Yoe(e,t){return t&&(tie(t)==="object"||typeof t=="function")?t:XE(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function eie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=br(e),e!==null););return e}function tie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rie(e){var t=nie();return function(){var n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yoe(this,o)}}var mr=function(e){Zoe(r,e);var t=rie(r);function r(n){Qoe(this,r);var o;return o=t.call(this,n),hr(XE(o),"props",void 0),o.props=new z0(n==null?void 0:n.props),o}return Joe(r,[{key:"toDataBindModel",value:function(o){var i=If(br(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}]),r}(fe);hr(mr,"controlType","decimal-column"),hr(mr,"controlName",s("CMD.decimal",null,"\u6570\u503C")),hr(mr,"controlIcon","decimal-column"),hr(mr,"controlFieldType",g.DECIMAL),hr(mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[_.MICROMETER,_.PRECISION,_.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}]);function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function iie(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&&U0(e,t)}function uie(e,t){return t&&(cie(t)==="object"||typeof t=="function")?t:JE(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function cie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aie(e){var t=lie();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uie(this,o)}}var ZE=function(e){iie(r,e);var t=aie(r);function r(n){oie(this,r);var o;return o=t.call(this,n),q0(JE(o),"props",void 0),o.props=new z0(n==null?void 0:n.props),o}return r}(se);q0(ZE,"controlType","decimal-column"),q0(ZE,"controlFieldType",g.DECIMAL);function Ho(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Af(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function eT(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&&W0(e,t)}function fie(e,t){return t&&(sie(t)==="object"||typeof t=="function")?t:Ho(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function sie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tT(e){var t=_ie();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fie(this,o)}}var yie=function(e){eT(r,e);var t=tT(r);function r(n){YE(this,r);var o;return o=t.call(this,n),Zt.call(Ho(o),n),o}return r}(vt),K0=function(e){eT(r,e);var t=tT(r);function r(n){YE(this,r);var o;o=t.call(this,n),Af(Ho(o),"dateType",void 0),Af(Ho(o),"showLinkOperation",void 0),Af(Ho(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:qt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:wr.controlName,o}return r}(ee);Af(K0,"Rules",yie);function nT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function die(e,t,r){return t&&rT(e.prototype,t),r&&rT(e,r),e}function gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kf=Reflect.get:kf=function(o,i,u){var c=bie(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},kf(e,t,r||e)}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(e)}function vie(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&&G0(e,t)}function hie(e,t){return t&&(mie(t)==="object"||typeof t=="function")?t:nT(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function bie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Or(e),e!==null););return e}function mie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oie(e){var t=gie();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hie(this,o)}}var wr=function(e){vie(r,e);var t=Oie(r);function r(n){pie(this,r);var o;return o=t.call(this,n),gr(nT(o),"props",void 0),o.props=new K0(n==null?void 0:n.props),o}return die(r,[{key:"toDataBindModel",value:function(o){var i=kf(Or(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(fe);gr(wr,"controlType","timescope-column"),gr(wr,"controlName",s("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")),gr(wr,"controlIcon","timescope-column"),gr(wr,"controlFieldType",g.TIMESCOPE),gr(wr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function $ie(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&&Q0(e,t)}function Pie(e,t){return t&&(Rie(t)==="object"||typeof t=="function")?t:oT(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function Rie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eie(e){var t=Sie();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pie(this,o)}}var iT=function(e){$ie(r,e);var t=Eie(r);function r(n){wie(this,r);var o;return o=t.call(this,n),X0(oT(o),"props",void 0),o.props=new K0(n==null?void 0:n.props),o}return r}(se);X0(iT,"controlType","timescope-column"),X0(iT,"controlFieldType",g.TIMESCOPE);function qo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function cT(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&&J0(e,t)}function Tie(e,t){return t&&(Bie(t)==="object"||typeof t=="function")?t:qo(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function Bie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lT(e){var t=Iie();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tie(this,o)}}var Die=function(e){cT(r,e);var t=lT(r);function r(n){uT(this,r);var o;return o=t.call(this,n),Zt.call(qo(o),n),o}return r}(vt),Z0=function(e){cT(r,e);var t=lT(r);function r(n){uT(this,r);var o;o=t.call(this,n),Cf(qo(o),"dateType",void 0),Cf(qo(o),"showLinkOperation",void 0),Cf(qo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:qt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Rr.controlName,o}return r}(ee);Cf(Z0,"Rules",Die);function aT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xie(e,t,r){return t&&fT(e.prototype,t),r&&fT(e,r),e}function $r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lf=Reflect.get:Lf=function(o,i,u){var c=Cie(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Lf(e,t,r||e)}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(e)}function kie(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&&Y0(e,t)}function Fie(e,t){return t&&(Mie(t)==="object"||typeof t=="function")?t:aT(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function Cie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}function Mie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nie(e){var t=Lie();return function(){var n=Pr(e),o;if(t){var i=Pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fie(this,o)}}var Rr=function(e){kie(r,e);var t=Nie(r);function r(n){Aie(this,r);var o;return o=t.call(this,n),$r(aT(o),"props",void 0),o.props=new Z0(n==null?void 0:n.props),o}return xie(r,[{key:"toDataBindModel",value:function(o){var i=Lf(Pr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(fe);$r(Rr,"controlType","timestamp-column"),$r(Rr,"controlName",s("CMD.timestamp",null,"\u65E5\u671F")),$r(Rr,"controlIcon","timestamp-column"),$r(Rr,"controlFieldType",g.TIMESTAMP),$r(Rr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function Vie(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&&tb(e,t)}function zie(e,t){return t&&(Hie(t)==="object"||typeof t=="function")?t:sT(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function Hie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uie(e){var t=qie();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zie(this,o)}}var _T=function(e){Vie(r,e);var t=Uie(r);function r(n){jie(this,r);var o;return o=t.call(this,n),eb(sT(o),"props",void 0),o.props=new Z0(n==null?void 0:n.props),o}return r}(se);eb(_T,"controlType","timestamp-column"),eb(_T,"controlFieldType",g.TIMESTAMP);function Tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function pT(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&&nb(e,t)}function Wie(e,t){return t&&(Kie(t)==="object"||typeof t=="function")?t:Tn(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function Kie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dT(e){var t=Gie();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wie(this,o)}}var Xie=function(e){pT(r,e);var t=dT(r);function r(n){yT(this,r);var o;return o=t.call(this,n),Zt.call(Tn(o),n),o}return r}(wg),rb=function(e){pT(r,e);var t=dT(r);function r(n){yT(this,r);var o;o=t.call(this,n),Sr(Tn(o),"optionConfig",void 0),Sr(Tn(o),"datasourceBind",void 0),Sr(Tn(o),"showLinkOperation",void 0),Sr(Tn(o),"linkOperationOption",void 0),Sr(Tn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Tr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption);var l;return o.options=Bt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return r}(ee);Sr(rb,"Rules",Xie);function vT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function Jie(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&&ob(e,t)}function Zie(e,t){return t&&(Yie(t)==="object"||typeof t=="function")?t:vT(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function Yie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tue(e){var t=eue();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zie(this,o)}}var Tr=function(e){Jie(r,e);var t=tue(r);function r(n){Qie(this,r);var o;return o=t.call(this,n),Er(vT(o),"props",void 0),o.props=new rb(n==null?void 0:n.props),o}return r}(fe);Er(Tr,"controlType","array-column"),Er(Tr,"controlName",s("CMD.array",null,"\u6570\u7EC4")),Er(Tr,"controlIcon","array-column"),Er(Tr,"controlFieldType",g.ARRAY),Er(Tr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function hT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function rue(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&&ub(e,t)}function oue(e,t){return t&&(iue(t)==="object"||typeof t=="function")?t:hT(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function iue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cue(e){var t=uue();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oue(this,o)}}var bT=function(e){rue(r,e);var t=cue(r);function r(n){nue(this,r);var o;return o=t.call(this,n),ib(hT(o),"props",void 0),o.props=new rb(n==null?void 0:n.props),o}return r}(se);ib(bT,"controlType","array-column"),ib(bT,"controlFieldType",g.ARRAY);function mT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function fue(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&&cb(e,t)}function sue(e,t){return t&&(_ue(t)==="object"||typeof t=="function")?t:mT(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function _ue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pue(e){var t=yue();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sue(this,o)}}var gT=function(e){fue(r,e);var t=pue(r);function r(n){lue(this,r);var o;o=t.call(this,n),aue(mT(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Dr.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(ee);function OT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function due(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vue(e,t,r){return t&&wT(e.prototype,t),r&&wT(e,r),e}function Br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qf=Reflect.get:qf=function(o,i,u){var c=mue(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},qf(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function hue(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&&lb(e,t)}function bue(e,t){return t&&(gue(t)==="object"||typeof t=="function")?t:OT(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function mue(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}function gue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wue(e){var t=Oue();return function(){var n=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bue(this,o)}}var Dr=function(e){hue(r,e);var t=wue(r);function r(n){due(this,r);var o;return o=t.call(this,n),Br(OT(o),"props",void 0),o.props=new gT(n==null?void 0:n.props),o}return vue(r,[{key:"toDataBindModel",value:function(o){var i=qf(Ir(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(fe);Br(Dr,"controlType","department-column"),Br(Dr,"controlName",s("CMD.department",null,"\u90E8\u95E8")),Br(Dr,"controlIcon","department-column"),Br(Dr,"controlFieldType",g.DEPARTMENTS),Br(Dr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function $T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function Pue(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&&fb(e,t)}function Rue(e,t){return t&&(Sue(t)==="object"||typeof t=="function")?t:$T(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function Sue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tue(e){var t=Eue();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rue(this,o)}}var PT=function(e){Pue(r,e);var t=Tue(r);function r(n){$ue(this,r);var o;return o=t.call(this,n),ab($T(o),"props",void 0),o.props=new gT(n==null?void 0:n.props),o}return r}(se);ab(PT,"controlType","department-column"),ab(PT,"controlFieldType",g.DEPARTMENTS);function Wf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function ST(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&&_b(e,t)}function Bue(e,t){return t&&(Iue(t)==="object"||typeof t=="function")?t:Wf(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function Iue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Due(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ET(e){var t=Due();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bue(this,o)}}var Aue=function(e){ST(r,e);var t=ET(r);function r(n){RT(this,r);var o;return o=t.call(this,n),Zt.call(Wf(o),n),o}return r}(vt),yb=function(e){ST(r,e);var t=ET(r);function r(n){RT(this,r);var o;o=t.call(this,n),sb(Wf(o),"showLinkOperation",void 0),sb(Wf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption),o}return r}(ee);sb(yb,"Rules",Aue);function TT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function kue(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&&pb(e,t)}function Fue(e,t){return t&&(Cue(t)==="object"||typeof t=="function")?t:TT(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function Cue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lue(e){var t=Mue();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fue(this,o)}}var xr=function(e){kue(r,e);var t=Lue(r);function r(n){xue(this,r);var o;return o=t.call(this,n),Ar(TT(o),"props",void 0),o.props=new yb(n==null?void 0:n.props),o}return r}(fe);Ar(xr,"controlType","auto-number-column"),Ar(xr,"controlName",s("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")),Ar(xr,"controlIcon","auto-number-column"),Ar(xr,"controlFieldType",g.AUTO_NUMBER),Ar(xr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function BT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function db(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function jue(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&&vb(e,t)}function Vue(e,t){return t&&(zue(t)==="object"||typeof t=="function")?t:BT(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function zue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function que(e){var t=Hue();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vue(this,o)}}var IT=function(e){jue(r,e);var t=que(r);function r(n){Nue(this,r);var o;return o=t.call(this,n),db(BT(o),"props",void 0),o.props=new yb(n==null?void 0:n.props),o}return r}(se);db(IT,"controlType","auto-number-column"),db(IT,"controlFieldType",g.AUTO_NUMBER);function Uue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function Kue(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&&hb(e,t)}function Gue(e,t){return t&&(Xue(t)==="object"||typeof t=="function")?t:Uue(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function Xue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Que(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jue(e){var t=Que();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gue(this,o)}}var DT=function(e){Kue(r,e);var t=Jue(r);function r(n){Wue(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fr.controlName,o}return r}(ee);function AT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function Yue(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&&bb(e,t)}function ece(e,t){return t&&(tce(t)==="object"||typeof t=="function")?t:AT(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function tce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rce(e){var t=nce();return function(){var n=Jf(e),o;if(t){var i=Jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ece(this,o)}}var Fr=function(e){Yue(r,e);var t=rce(r);function r(n){Zue(this,r);var o;return o=t.call(this,n),kr(AT(o),"props",void 0),o.props=new DT(n==null?void 0:n.props),o}return r}(fe);kr(Fr,"controlType","file-column"),kr(Fr,"controlName",s("CMD.file",null,"\u9644\u4EF6")),kr(Fr,"controlIcon","file-column"),kr(Fr,"controlFieldType",g.FILE),kr(Fr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function xT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function ice(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&&gb(e,t)}function uce(e,t){return t&&(cce(t)==="object"||typeof t=="function")?t:xT(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function cce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ace(e){var t=lce();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uce(this,o)}}var kT=function(e){ice(r,e);var t=ace(r);function r(n){oce(this,r);var o;return o=t.call(this,n),mb(xT(o),"props",void 0),o.props=new DT(n==null?void 0:n.props),o}return r}(se);mb(kT,"controlType","file-column"),mb(kT,"controlFieldType",g.FILE);function fce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function _ce(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&&Ob(e,t)}function yce(e,t){return t&&(pce(t)==="object"||typeof t=="function")?t:fce(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function pce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vce(e){var t=dce();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yce(this,o)}}var FT=function(e){_ce(r,e);var t=vce(r);function r(n){sce(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mr.controlName,o}return r}(ee);function CT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function bce(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&&wb(e,t)}function mce(e,t){return t&&(gce(t)==="object"||typeof t=="function")?t:CT(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function gce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wce(e){var t=Oce();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mce(this,o)}}var Mr=function(e){bce(r,e);var t=wce(r);function r(n){hce(this,r);var o;return o=t.call(this,n),Cr(CT(o),"props",void 0),o.props=new FT(n==null?void 0:n.props),o}return r}(fe);Cr(Mr,"controlType","image-column"),Cr(Mr,"controlName",s("CMD.image",null,"\u56FE\u7247")),Cr(Mr,"controlIcon","image-column"),Cr(Mr,"controlFieldType",g.IMAGE),Cr(Mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function MT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function Pce(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&&Pb(e,t)}function Rce(e,t){return t&&(Sce(t)==="object"||typeof t=="function")?t:MT(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function Sce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ece(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tce(e){var t=Ece();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rce(this,o)}}var LT=function(e){Pce(r,e);var t=Tce(r);function r(n){$ce(this,r);var o;return o=t.call(this,n),$b(MT(o),"props",void 0),o.props=new FT(n==null?void 0:n.props),o}return r}(se);$b(LT,"controlType","image-column"),$b(LT,"controlFieldType",g.IMAGE);function Bce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ice(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function Dce(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&&Rb(e,t)}function Ace(e,t){return t&&(xce(t)==="object"||typeof t=="function")?t:Bce(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function xce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fce(e){var t=kce();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ace(this,o)}}var NT=function(e){Dce(r,e);var t=Fce(r);function r(n){Ice(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Nr.controlName,o}return r}(ee);function jT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function Mce(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&&Sb(e,t)}function Lce(e,t){return t&&(Nce(t)==="object"||typeof t=="function")?t:jT(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function Nce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vce(e){var t=jce();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lce(this,o)}}var Nr=function(e){Mce(r,e);var t=Vce(r);function r(n){Cce(this,r);var o;return o=t.call(this,n),Lr(jT(o),"props",void 0),o.props=new NT(n==null?void 0:n.props),o}return r}(fe);Lr(Nr,"controlType","people-column"),Lr(Nr,"controlName",s("CMD.people",null,"\u4EBA\u5458")),Lr(Nr,"controlIcon","people-column"),Lr(Nr,"controlFieldType",g.EMPLOYEES),Lr(Nr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function VT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function Hce(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&&Tb(e,t)}function qce(e,t){return t&&(Uce(t)==="object"||typeof t=="function")?t:VT(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function Uce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kce(e){var t=Wce();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qce(this,o)}}var zT=function(e){Hce(r,e);var t=Kce(r);function r(n){zce(this,r);var o;return o=t.call(this,n),Eb(VT(o),"props",void 0),o.props=new NT(n==null?void 0:n.props),o}return r}(se);Eb(zT,"controlType","people-column"),Eb(zT,"controlFieldType",g.EMPLOYEES);function is(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function qT(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&&Ib(e,t)}function Gce(e,t){return t&&(Xce(t)==="object"||typeof t=="function")?t:is(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function Xce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UT(e){var t=Qce();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gce(this,o)}}var Jce=function(e){qT(r,e);var t=UT(r);function r(n){HT(this,r);var o;return o=t.call(this,n),Zt.call(is(o),n),o}return r}(vt),Db=function(e){qT(r,e);var t=UT(r);function r(n){HT(this,r);var o;o=t.call(this,n),Bb(is(o),"showLinkOperation",void 0),Bb(is(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption),o}return r}(ee);Bb(Db,"Rules",Jce);function WT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function Yce(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&&Ab(e,t)}function ele(e,t){return t&&(tle(t)==="object"||typeof t=="function")?t:WT(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function tle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rle(e){var t=nle();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ele(this,o)}}var Vr=function(e){Yce(r,e);var t=rle(r);function r(n){Zce(this,r);var o;return o=t.call(this,n),jr(WT(o),"props",void 0),o.props=new Db(n==null?void 0:n.props),o}return r}(fe);jr(Vr,"controlType","location-column"),jr(Vr,"controlName",s("CMD.location",null,"\u5730\u5740")),jr(Vr,"controlIcon","location-column"),jr(Vr,"controlFieldType",g.ADDRESS),jr(Vr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function KT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ole(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function ile(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&&kb(e,t)}function ule(e,t){return t&&(cle(t)==="object"||typeof t=="function")?t:KT(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function cle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ale(e){var t=lle();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ule(this,o)}}var GT=function(e){ile(r,e);var t=ale(r);function r(n){ole(this,r);var o;return o=t.call(this,n),xb(KT(o),"props",void 0),o.props=new Db(n==null?void 0:n.props),o}return r}(se);xb(GT,"controlType","location-column"),xb(GT,"controlFieldType",g.ADDRESS);function as(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ss(e)}function QT(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&&Fb(e,t)}function fle(e,t){return t&&(sle(t)==="object"||typeof t=="function")?t:as(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function sle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _le(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JT(e){var t=_le();return function(){var n=ss(e),o;if(t){var i=ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fle(this,o)}}var yle=function(e){QT(r,e);var t=JT(r);function r(n){XT(this,r);var o;return o=t.call(this,n),fs(as(o),"sortFieldCode",{type:"string",message:s("pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(vt),Cb=function(e){QT(r,e);var t=JT(r);function r(n){XT(this,r);var o;o=t.call(this,n),fs(as(o),"fieldCodeList",void 0),fs(as(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_n.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return r}(ee);fs(Cb,"Rules",yle);function zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ple(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dle(e,t,r){return t&&ZT(e.prototype,t),r&&ZT(e,r),e}function _t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_s=Reflect.get:_s=function(o,i,u){var c=mle(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},_s(e,t,r||e)}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function vle(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&&Mb(e,t)}function hle(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ble(e,t){return t&&(gle(t)==="object"||typeof t=="function")?t:zr(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function mle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hr(e),e!==null););return e}function gle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ole(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wle(e){var t=Ole();return function(){var n=Hr(e),o;if(t){var i=Hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ble(this,o)}}var $le=1,_n=function(t){vle(n,t);var r=wle(n);function n(o){ple(this,n);var i;i=r.call(this,o),_t(zr(i),"excludes",void 0),_t(zr(i),"childrenMaxLength",void 0),_t(zr(i),"props",void 0),_t(zr(i),"children",void 0);var u=hle(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new Cb(o==null?void 0:o.props),Et(zr(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Ye(c),i.childrenMaxLength=l,i}return dle(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=_s(Hr(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}}]),n}(fe);_t(_n,"controlType","custom-column"),_t(_n,"controlName",s("CMD.custom",null,"\u81EA\u5B9A\u4E49")),_t(_n,"controlIcon","custom-column"),_t(_n,"slots",["column-column-slot"]),_t(_n,"excludes",[]),_t(_n,"childrenMaxLength",$le),_t(_n,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}]);function ys(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ple(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function Rle(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&&Nb(e,t)}function Sle(e,t){return t&&(Ele(t)==="object"||typeof t=="function")?t:ys(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(e,t)}function Ele(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ble(e){var t=Tle();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sle(this,o)}}var Ile=function(e){Rle(r,e);var t=Ble(r);function r(n){Ple(this,r);var o;return o=t.call(this,n),Lb(ys(o),"props",void 0),Lb(ys(o),"children",void 0),o.props=new Cb(n==null?void 0:n.props),Et(ys(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(se);Lb(Ile,"controlType","custom-column");function YT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ale(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function xle(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&&jb(e,t)}function kle(e,t){return t&&(Fle(t)==="object"||typeof t=="function")?t:YT(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function Fle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mle(e){var t=Cle();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kle(this,o)}}var eB=function(e){xle(r,e);var t=Mle(r);function r(n){Dle(this,r);var o;o=t.call(this,n),Ale(YT(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Bn.controlName;var u;return o.datasourceBind=new Zo((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Bn.controlCustomAttributes}),o}return r}(ee);function tB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nle(e,t,r){return t&&nB(e.prototype,t),r&&nB(e,r),e}function qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(e)}function jle(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&&Vb(e,t)}function Vle(e,t){return t&&(zle(t)==="object"||typeof t=="function")?t:tB(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}function zle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qle(e){var t=Hle();return function(){var n=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vle(this,o)}}var Bn=function(e){jle(r,e);var t=qle(r);function r(n){Lle(this,r);var o;return o=t.call(this,n),qr(tB(o),"props",void 0),o.props=new eB(n==null?void 0:n.props),o}return Nle(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(fe);qr(Bn,"controlType","employee-column"),qr(Bn,"controlName",s("CMD.employee",null,"\u4EBA\u5458")),qr(Bn,"controlIcon","employee-column"),qr(Bn,"controlFieldType",g.EMPLOYEES),qr(Bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function rB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ule(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function Wle(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&&Hb(e,t)}function Kle(e,t){return t&&(Gle(t)==="object"||typeof t=="function")?t:rB(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function Gle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qle(e){var t=Xle();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kle(this,o)}}var oB=function(e){Wle(r,e);var t=Qle(r);function r(n){Ule(this,r);var o;return o=t.call(this,n),zb(rB(o),"props",void 0),o.props=new eB(n==null?void 0:n.props),o}return r}(se);zb(oB,"controlType","employee-column"),zb(oB,"controlFieldType",g.EMPLOYEES);function bs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function Zle(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&&Ub(e,t)}function Yle(e,t){return t&&(eae(t)==="object"||typeof t=="function")?t:bs(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function eae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nae(e){var t=tae();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yle(this,o)}}var iB=function(e){Zle(r,e);var t=nae(r);function r(n){Jle(this,r);var o;o=t.call(this,n),qb(bs(o),"lineEllipsis",void 0),qb(bs(o),"showLinkOperation",void 0),qb(bs(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ur.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(ee);function Wb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function oae(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&&Kb(e,t)}function iae(e,t){return t&&(uae(t)==="object"||typeof t=="function")?t:Wb(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function uae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lae(e){var t=cae();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iae(this,o)}}var Ur=function(e){oae(r,e);var t=lae(r);function r(n){rae(this,r);var o;return o=t.call(this,n),In(Wb(o),"props",void 0),In(Wb(o),"children",void 0),o.props=new iB(n==null?void 0:n.props),o}return r}(fe);In(Ur,"controlType","approval-status-column"),In(Ur,"controlName",s("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001")),In(Ur,"controlIcon","approval-status-column"),In(Ur,"excludes",[]),In(Ur,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function Gb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function fae(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&&Qb(e,t)}function sae(e,t){return t&&(_ae(t)==="object"||typeof t=="function")?t:Gb(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}function _ae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pae(e){var t=yae();return function(){var n=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sae(this,o)}}var dae=function(e){fae(r,e);var t=pae(r);function r(n){aae(this,r);var o;return o=t.call(this,n),Xb(Gb(o),"props",void 0),Xb(Gb(o),"children",void 0),o.props=new iB(n==null?void 0:n.props),o}return r}(se);Xb(dae,"controlType","approval-status-column");function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function cB(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&&Jb(e,t)}function vae(e,t){return t&&(hae(t)==="object"||typeof t=="function")?t:He(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jb(e,t)}function hae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lB(e){var t=bae();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vae(this,o)}}var mae=function(e){cB(r,e);var t=lB(r);function r(n){uB(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(pn),Zb=function(e){cB(r,e);var t=lB(r);function r(n){uB(this,r);var o;o=t.call(this,n),qe(He(o),"search",void 0),qe(He(o),"cancel",void 0),qe(He(o),"searchType",void 0),qe(He(o),"labelPosition",void 0),qe(He(o),"viewType",void 0),qe(He(o),"isLoading",void 0),qe(He(o),"custom",void 0),qe(He(o),"queryTypeMap",void 0),qe(He(o),"childMinWidth",void 0),qe(He(o),"colGap",void 0),qe(He(o),"viewConfig",void 0),qe(He(o),"simpleConfig",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var l;o.search=new Kt((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:s("CMD.query",null,"\u67E5\u8BE2"),isShow:!0});var a;o.cancel=new Kt((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:s("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var y;o.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(v){return new Kt(v)});var d;o.queryTypeMap=(d=n==null?void 0:n.queryTypeMap)!==null&&d!==void 0?d:[];var m;o.childMinWidth=(m=n==null?void 0:n.childMinWidth)!==null&&m!==void 0?m:230;var O;o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24;var b;o.viewConfig=(b=n==null?void 0:n.viewConfig)!==null&&b!==void 0?b:[];var w;return o.simpleConfig=(w=n==null?void 0:n.simpleConfig)!==null&&w!==void 0?w:[],o}return r}(k_);qe(Zb,"RuntimeRules",mae);function aB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}function Oae(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&&Yb(e,t)}function wae(e,t){return t&&($ae(t)==="object"||typeof t=="function")?t:aB(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}function $ae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rae(e){var t=Pae();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wae(this,o)}}var em=function(e){Oae(r,e);var t=Rae(r);function r(n){gae(this,r);var o;return o=t.call(this,n),$s(aB(o),"props",void 0),o.props=new Zb(n==null?void 0:n.props),o}return r}(EL);$s(em,"controlType","simple-search"),$s(em,"slotPosition",{default:"search"}),$s(em,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"search-view-type",visible:!0}]);function tm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function Eae(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&&rm(e,t)}function Tae(e,t){return t&&(Bae(t)==="object"||typeof t=="function")?t:tm(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}function Bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dae(e){var t=Iae();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tae(this,o)}}var Aae=function(e){Eae(r,e);var t=Dae(r);function r(n){Sae(this,r);var o;o=t.call(this,n),nm(tm(o),"props",void 0),nm(tm(o),"children",void 0),o.props=new Zb(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(kL);nm(Aae,"controlType","simple-search");function nse(e){return e}s("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C");const xae=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Uae(t==null?void 0:t.events),Nae(n),jae(n);const o=Lae(n),i=Vae(o,t);let u=Ut(V(i,c=>Mae(c,t)));return r?u:u[0]},kae=[p.DIVIDER,p.TEXT,p.TITLE,p.LINK,p.BUTTON,"list-btn-export-list","list-btn-export-record"],Fae=["subtable","grid-table"],Cae=["simple-search"];function Mae(e,t){var o,i,u,c,l,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":kae.includes(r.type)?r.controlType="base":r.controlType="form",Fae.includes(r.type)&&(r.controlType="list"),Cae.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),we((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),we((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),we((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(l=e.attachment_format)==null?void 0:l.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(we(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(we(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((y,d)=>{const m=new cee.Designer;m.props.caption=we(y.field_name)?y.field_name.zh:y.field_name;const O=m.toSchema();O.id=y.header_id;const b=r.children[0].children[d].children[0];return b&&(O.children=[b]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=we(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(y=>{const d=new _S.Designer;d.props.span=f;const m=d.toSchema();return m.children.push(y),m})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],d={};f&&(fB(r,t),d.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),y&&(d.unit=y.props.data_bind,r.props.default_value={unit:y.props.value}),r.props.dataBind=d,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],d={},m={};f&&(fB(r,t),r.id=f.id,d.amount=f.props.data_bind,r.props.range_min=kn(f.props.range_min),r.props.range_max=kn(f.props.range_max),m.amount=kn(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=we(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),y&&(d.currency=y.props.data_bind,m.currency=y.props.value,r.props.datasourceBind=y.props.datasource_bind,r.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=d,r.props.defaultValue=m,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1];r.props.placeholderStart=we(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=we(e.props.caption)?e.props.caption.zh:e.props.caption;const d={};f&&(d.min=f.props.data_bind),y&&(d.max=y.props.data_bind),r.props.dataBind=d,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=we(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=kn(e.props.range_min),r.props.range_max=kn(e.props.range_max),r.props.defaultValue=kn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),Wae(r,t==null?void 0:t.control_events),r}function fB(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(a=>a===o),l=u.hide_controls.findIndex(a=>a===o);c>-1&&u.show_controls.splice(c,1,i),l>-1&&u.hide_controls.splice(l,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function Lae(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new Dne.Designer().toSchema();return n.children=e,[n]}function Nae(e){e.forEach(t=>{t.children&&qae(t.children)})}function jae(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function Vae(e,t){var m,O,b,w,v,$,P,E;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;zae(i),c.props.is_fixed_header=(m=n==null?void 0:n.source_config)==null?void 0:m.is_fixed_header,Hae(c,u);const l=(b=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?b:t==null?void 0:t.dataCode,a=((v=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?v:l)?`${l}_selectMore`:void 0,f=(P=($=n==null?void 0:n.source_config)==null?void 0:$.orders)!=null?P:[],y=new fne.Designer;y.props.datasourceBind=new ne({dataCode:l,svcCode:a,orders:U6(f)}),y.props.isShowSubList=n.is_show_sublist,y.props.triggerType=n.timing_type,y.props.triggerFieldCode=n.ctrl_field_code,(E=n==null?void 0:n.sublist_page)==null||E.sublists.forEach(T=>{T.title=we(T.title)?T.title.zh:T.title}),y.props.sublistPage=n.sublist_page;const d=y.toSchema();return d.children.push(i,c),[d]}function zae(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=we(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Hae(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:we(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=we(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new ne({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function qae(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function Uae(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function Wae(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Kae=(e,t)=>{const r=Array.isArray(e);let o=Ut(V(r?e:[e],i=>Gae(i)));return r?o:o[0]};function Gae(e,t){return e.type===p.LIST_VIEW&&e.children.find(n=>n.type===p.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new nt({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Xae=(e,t)=>{const r=Array.isArray(e);let o=Ut(V(r?e:[e],i=>Qae(i)));return r?o:o[0]};function Qae(e,t){return[p.BUTTON,p.CREATE_FORM_LIST_BUTTON,p.BATCH_SUBMISSION_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.EXPORT_LIST_BUTTON,p.FORM_SELECT_BUTTON,p.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===p.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===p.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Jae=(e,t)=>{const r=Array.isArray(e);let o=Ut(V(r?e:[e],i=>Zae(i)));return r?o:o[0]};function Zae(e,t){if(e.props.icon){let r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}const Yae=(e,t)=>{const r=Array.isArray(e);let o=Ut(V(r?e:[e],i=>tfe(i)));return r?o:o[0]},efe=[p.ROW,p.TAB,p.SUBTABLE,p.GRID_ROW,p.CARD_GROUP];function tfe(e,t){return e.type===p.TAB_PANE&&(e.children=e.children.map(r=>{if(efe.includes(r.type))return r;const n=new xY.Designer,o=new _S.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const nfe=(e,t)=>{const r=Array.isArray(e);let o=Ut(V(r?e:[e],i=>rfe(i)));return r?o:o[0]};function rfe(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===p.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const ofe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>ife(i));return r?o:o[0]};function ife(e,t){return e.type===p.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const ufe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>cfe(i));return r?o:o[0]};function yn(e,t){e.field_code&&(e.field_type=t)}function cfe(e,t){var n;const r={[p.TITLE]:g.AUTO_NUMBER,[p.ADDRESS]:g.ADDRESS,[p.ATTACHMENT]:g.FILE,[p.AUTO_NUMBER]:g.AUTO_NUMBER,[p.CHECKBOX]:g.ARRAY,[p.DATE_PICKER]:g.TIMESTAMP,[p.DEPARTMENT]:g.DEPARTMENTS,[p.DEPARTMENT2]:g.DEPARTMENTS,[p.EMPLOYEE]:g.EMPLOYEES,[p.EMPLOYEE2]:g.EMPLOYEES,[p.IMAGE]:g.IMAGE,[p.INPUT]:g.VARCHAR,[p.NUMBER]:g.DECIMAL,[p.RADIO]:g.VARCHAR,[p.RICH_TEXT]:g.TEXT,[p.SCORE]:g.DECIMAL,[p.SELECT]:g.VARCHAR,[p.SELECT_MULTIPLE]:g.ARRAY,[p.SELECT_RELATION]:g.VARCHAR,[p.TEXTAREA]:g.TEXT,[p.TREE]:g.ARRAY,[p.SEARCH_DATE_RANGE]:g.ARRAY,[p.SEARCH_INPUT]:g.VARCHAR,[p.SEARCH_NUMBER_RANGE]:g.ARRAY};return r.hasOwnProperty(e.type)&&yn(e.props.data_bind,r[e.type]),e.type===p.AMOUNT&&(yn(e.props.data_bind.amount,g.DECIMAL),yn(e.props.data_bind.currency,g.VARCHAR)),e.type===p.CALC&&(yn(e.props.data_bind.result,g.DECIMAL),yn(e.props.data_bind.unit,g.VARCHAR)),e.type===p.DATE_RANGE&&(yn(e.props.data_bind.min,g.TIMESTAMP),yn(e.props.data_bind.max,g.TIMESTAMP)),e.type===p.VUE_FORM_ITEM&&yn(e.props.data_bind,(n=e.field_type)!=null?n:g.ANY),e}const lfe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>afe(i));return r?o:o[0]};function afe(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===p.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const ffe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>sfe(i));return r?o:o[0]};function sfe(e,t){return e.type===p.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const _fe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>yfe(i));return r?o:o[0]};function yfe(e,t){return[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(r=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const pfe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>dfe(i));return r?o:o[0]};function dfe(e,t){return[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(r=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const vfe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>hfe(i));return r?o:o[0]};function hfe(e,t){return e.type===p.TITLE&&e.props.config.push(xt.ShowTitle),e.type===p.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,l,a,f,y,d,m,O,b,w,v,$,P,E,T,j,A,K;if(r.type===p.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const D=new Qy.Designer;Object.defineProperty(D,"id",{value:"listPageCheckBtnId"}),D.props.code="view",D.props.icon="iconliulan1",D.props.command="view",D.props.content=(i=r.props)==null?void 0:i.check.content,D.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,D.props.openType=(c=r.props)==null?void 0:c.check.open_type,D.props.formKey=(l=r.props)==null?void 0:l.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(D.toSchema()),(f=r.props)==null||delete f.check}if(((y=r.props)==null?void 0:y.edit)!==void 0){const D=new Qy.Designer;Object.defineProperty(D,"id",{value:"listPageEditBtnId"}),D.props.code="edit",D.props.icon="iconbianji1",D.props.command="edit",D.props.content=(d=r.props)==null?void 0:d.edit.content,D.props.priorityProcess=(m=r.props)==null?void 0:m.edit.priority_process,D.props.openType=(O=r.props)==null?void 0:O.edit.open_type,D.props.formKey=(b=r.props)==null?void 0:b.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(D.toSchema()),(v=r.props)==null||delete v.edit}if((($=r.props)==null?void 0:$.delete)!==void 0){const D=new Qy.Designer;Object.defineProperty(D,"id",{value:"listPageDeleteBtnId"}),D.props.code="delete",D.props.icon="iconlajitong",D.props.command="delete",D.props.content=(P=r.props)==null?void 0:P.delete.content,D.props.priorityProcess=(E=r.props)==null?void 0:E.delete.priority_process,D.props.openType=(T=r.props)==null?void 0:T.delete.open_type,D.props.formKey=(j=r.props)==null?void 0:j.delete.form_key,D.props.needConfirm=!0,D.props.confirmMessage=s("CMD.deleteConfirm",null,"\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F"),(A=r.props)!=null&&A.delete.is_show&&r.children.push(D.toSchema()),(K=r.props)==null||delete K.delete}}}),[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(r=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const bfe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>mfe(i,t));return r?o:o[0]};function mfe(e,t){e.type===p.SUBTABLE&&e.props.headers.map(n=>{var i;n.props.meta_auto_width=new Hm,n.props.width_type==="px"&&(n.props.meta_auto_width.pc.width=n.props.width,n.props.meta_auto_width.pc.width_type="px"),delete n.props.width,delete n.props.width_type;const o=(i=n.children)==null?void 0:i[0];o&&o.type===p.CALC&&o.props.calc_on_mounted===void 0&&(o.props.calc_on_mounted=!0)});const r={[p.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[p.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[p.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[p.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[p.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e.type===p.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===p.OPERATION_COLUMN&&(n.props.limit===void 0&&(n.props.limit=3),n.props.show_type===void 0&&(n.props.show_type="icon")),n.props.flex===void 0&&(n.props.flex=1),n.props.auto_width===void 0&&(n.props.auto_width=new zs)}),e.type===p.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),gfe(t),e}function gfe(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let r,n,o;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":n=i,o=u;break;case"on_click":r=i;break}}),n&&(n.cases[0].handlers.unshift(om()),r?(n.cases.forEach(i=>{r.cases[0].handlers.push(i)}),e.listeners[t].splice(o,1)):n.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Ofe()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(r=>{r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(om())}}}function Ofe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[om()]}}function om(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const wfe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>$fe(i,t));return r?o:o[0]};function $fe(e,t){if(e.type===p.LIST_VIEW){if(e.props.is_show_selection===!1){const r=[p.BATCH_SUBMISSION_LIST_BUTTON,p.LIST_PAGE_BTN_BATCH_PRINT,p.BATCH_DELETE_LIST_BUTTON];e.children.forEach(n=>{n.type===p.GRID_TABLE&&n.children.map(u=>u.type).some(u=>r.includes(u))===!0&&(e.props.is_show_selection=!0,n.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===p.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===p.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===p.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===p.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===p.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Xs),e}const Pfe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>Rfe(i));return r?o:o[0]};function Rfe(e,t){const r={[p.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]};return e.type in r&&r[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1),[p.LIST_PAGE_BTN_BATCH_PRINT_RECORD,p.EXPORT_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.CREATE_FORM_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.BATCH_DELETE_LIST_BUTTON,p.BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===p.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function Sfe(e,t){var r,n;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const o=(n=(r=t==null?void 0:t.events)==null?void 0:r.did_mount)!=null?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Efe=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=V(n,u=>{const c=Tfe(u);return o[u.id]=u,c});return Sfe(o,t),r?i:i[0]};function Tfe(e,t){var r,n,o;if(e.type===p.TEXTAREA){const i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(r=e.props.line_ellipsis)!=null?r:4,maxRows:(n=e.props.max_rows)!=null?n:20,fiexdRow:(o=e.props.line_ellipsis)!=null?o:4};if(e.props.row_height_setting=Ut(new zm({pc:i,mobile:i})),e.type===p.ORGANIZATION_SELECTION){const u=e.props.selected_content_config,c=u==null?void 0:u.display_bo_list;c&&c.forEach(l=>{l.value==="org_type_code"&&(l.label=s("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),l.value==="org_pattern_code"&&(l.label=s("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}e.type===p.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}const Bfe=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=V(n,u=>{const c=Ife(u);return o[u.id]=u,c});return Dfe(o,t),r?i:i[0]};function Ife(e,t){return e}function Dfe(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(r=>{var i,u,c,l,a;const n=t==null?void 0:t.listeners[r],o=e[r];(o==null?void 0:o.type)===p.BUTTON&&(["draft","form_submit","save"].includes((u=(i=o.props)==null?void 0:i.opt_obj)==null?void 0:u.opt_type)&&(n==null||n.map(f=>{var y,d,m,O;(y=f==null?void 0:f.cases)==null||y.map(b=>{var w;(w=b==null?void 0:b.handlers)==null||w.map(v=>{var $,P,E,T;(v==null?void 0:v.method)==="optPage"&&v.params.operation==="refresh"&&(v.params.operation="close"),(v==null?void 0:v.method)==="openPage"&&((T=(E=(P=($=v.params)==null?void 0:$.options)==null?void 0:P.link)==null?void 0:E.fx)==null?void 0:T.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(v.id="optPage",v.method="optPage",v.params={operation:"close"})})}),((O=(m=(d=f==null?void 0:f.cases)==null?void 0:d[0])==null?void 0:m.handlers)==null?void 0:O.length)===1&&f.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((l=(c=o.props)==null?void 0:c.opt_obj)==null?void 0:l.opt_type)&&((a=t.dataModelExtend)==null?void 0:a.process_status_enum_type)==="business"&&(n==null||n.map(f=>{f.cases[0].handlers.map(y=>{(y==null?void 0:y.method)==="optPage"&&y.params.operation==="close"&&(y.params.operation="edit")})})))})}const Afe=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=V(n,u=>{const c=xfe(u);return o[u.id]=u,c});return kfe(o,t),r?i:i[0]};function xfe(e,t){if(e.type===p.ORGANIZATION_SELECTION){const r=e.props.selected_content_config,n=r==null?void 0:r.display_bo_list;n&&n.forEach(o=>{o.value==="org_type_code"&&(o.label=s("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),o.value==="org_pattern_code"&&(o.label=s("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}return e}function kfe(e,t){var r,n;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const o=(n=(r=t==null?void 0:t.events)==null?void 0:r.did_mount)!=null?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Ffe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>Cfe(i));return r?o:o[0]};function Cfe(e,t){var r,n;if(e.type===p.SIMPLE_SEARCH&&(e.props.view_config===void 0&&(e.props.view_config=(r=e.children)==null?void 0:r.map(o=>{var i;return(i=o.props)==null?void 0:i.data_bind})),e.props.simple_config===void 0&&(e.props.simple_config=(n=e.children)==null?void 0:n.map(o=>{var i;return(i=o.props)==null?void 0:i.data_bind}))),e.type===p.ORGANIZATION_SELECTION){const o=e.props.selected_content_config,i=o==null?void 0:o.display_bo_list;i&&i.forEach(u=>{u.value==="org_type_code"&&(u.label=s("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),u.value==="org_pattern_code"&&(u.label=s("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}return e}const Mfe=(e,t)=>{const r=Array.isArray(e);let o=V(r?e:[e],i=>Lfe(i));return Hfe(o),Nfe(o),r?o:o[0]};function Lfe(e,t){return e.type===p.SIMPLE_SEARCH&&e.children.forEach(r=>{if(r.type===p.SELECT||r.type===p.SELECT_MULTIPLE){const n=r;n.props.option_config==="datasource"&&(n.props.default_show_options=!1)}}),e}function Nfe(e){var t,r;if(e[0].type===p.LIST_VIEW){const n=e[0].props;let o={type:(t=n.row_style_type)!=null?t:"none",interval:{color:(r=n.row_style_bg_color)!=null?r:""},rules:[]};n.row_style_rules&&(n.row_style_rules.forEach(i=>{const u=i.id;let c={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},l;if(n.row_style_rules_script){const a=n.row_style_rules_script.find(f=>f.id===u);a&&(l=zfe(i.filters,a.script))}i.settings=[c],i.script=l,delete i.color}),o.rules=n.row_style_rules),n.row_style=o,delete n.row_style_type,delete n.row_style_bg_color,delete n.row_style_rules,delete n.row_style_rules_script}}function sB(e,t){return t||(t={}),e.forEach(r=>{if(r.children)sB(r.children,t);else{const n=r.left_variable_bo;switch(n.type){case"people":case"department":case"array":case"timestamp":let o=n.value;t[o]=n;break}}}),t}function jfe(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(r=>r.replace(/^\s+|\s+$/gm,""))}function Vfe(e){let t="",r="";if(e[0]==="!")t="is_empty";else{const n=e.match(/(===|!=|>|>=|<|<=)/);if(n){const o=n[0];switch(o){case"===":t="op_equal";break;case"!=":t="op_no_equal";break;case">":t="op_greater";break;case">=":t="op_greater_equal";break;case"<":t="op_less";break;case"<=":t="op_less_equal";break;default:t="is_not_empty";break}r=e.split(o)[1]||""}else t="is_not_empty"}return{operate:t,value:r}}function zfe(e,t){const r=sB(e);return jfe(t).forEach(o=>{Object.keys(r).forEach(i=>{if(o.indexOf(`params.data.data_value_map['${i}']`)>-1){const l=r[i].type,{operate:a,value:f}=Vfe(o);let y=`SpecialMatch(data, sys, '${i}', '${l}', '${a}', ${f||"''"})`;t=t.replace(o,y)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function Hfe(e){if(e[0].type===p.LIST_VIEW){const t=e[0].children.find(r=>r.type===p.GRID_TABLE);if(t){const r=t.props.headers,n=t.props.footers,o={};n&&n.length>0&&n.forEach(i=>{const u=i.id.replace("foot_",""),c=i.children;c&&c.length>0&&i.children[0].type!==p.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),o[u]=i}),r.forEach(i=>{const u=o[i.id];if(u){const c=u.children;if(!c||c.length===0)return;const l=i.children||[];i.children=[].concat(l,c)}}),t.props.footers=[]}}return e}const qfe=(e,t)=>{const r=Array.isArray(e);let o=Ufe(r?e:[e],t);return r?o:o[0]};function Ufe(e,t){const r=Kfe(t);return r.length>0&&(Wfe(r,t),_B(r,e)),e}function _B(e,t){if(t){const r=t.length;for(let n=r-1;n>=0;n--){const o=t[n],i=o.id;e.indexOf(i)>-1?t.splice(n,1):_B(e,o.children)}}}function Wfe(e,t){const r=(t==null?void 0:t.permission_controls)||[];for(let n=r.length-1;n>=0;n--){const o=r[n].control_id;e.indexOf(o)>-1&&r.splice(n,1)}}function Kfe(e){const t=[],r=e==null?void 0:e.listeners;return r&&Object.keys(r).forEach(n=>{r[n].forEach(o=>{!o.cases||o.cases.forEach(i=>{!i.handlers||i.handlers.forEach(u=>{var c;if(!!u&&u.method==="openPage"){const l=(c=u.params)==null?void 0:c.relation_control_id;l&&t.push(l)}})})})}),t}const Gfe=(e,t)=>{console.log(t,"payload");const r=Array.isArray(e);let o=V(r?e:[e],i=>Qfe(i));return r?o:o[0]},Xfe=e=>["yylb_kujg9i5r","btdev_listin_n","yylb_gd_ryneloyh","byteluck_list_"].some(t=>t.includes(e)||e.includes(t));function Qfe(e,t){if(Xfe(e.type)){const r=Ut(new T4.Runtime);r.id=e.id,r.props.action_setting=e.props.action_setting,r.props.is_show_toolbar=e.props.is_show_toolbar,r.props.is_show_simple_search=e.props.show_simple_search,r.props.is_hide=e.props.is_hide,e.props.list_height===""?Object.assign(r.props.list_height_setting,{height:void 0}):Object.assign(r.props.list_height_setting,{height:Number(e.props.list_height)}),r.props.list_height_setting.row=e.props.list_rows_max===""?20:Number(e.props.list_rows_max),r.props.caption=e.props.caption,e=r}return e}var yB={"v1.0":xae,"v2.0":Kae,"v2.1":Xae,"v2.2":Jae,"v2.3":Yae,"v2.4":nfe,"v2.5":ofe,"v2.6":ufe,"v2.7":lfe,"v2.8":ffe,"v2.9":_fe,"v2.10":pfe,"v3.0":vfe,"v3.1":bfe,"v3.2":wfe,"v3.3":Pfe,"v3.4":Efe,"v3.5":Bfe,"v3.6":Afe,"v3.7":Ffe,"v3.8":Mfe,"v3.10":qfe,"v3.11":Gfe,"v3.12":()=>{}};const pB=(e,t)=>{const r=dB(e),n=dB(t),o=r.pop(),i=n.pop(),u=bB(r,n);return u!==0?u:o&&i?bB(o.split("."),i.split(".")):o||i?o?-1:1:0},Ss=(e,t,r)=>{ese(r);const n=pB(e,t);return mB[r].includes(n)},Jfe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,dB=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Jfe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},vB=e=>e==="*"||e==="x"||e==="X",hB=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Zfe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Yfe=(e,t)=>{if(vB(e)||vB(t))return 0;const[r,n]=Zfe(hB(e),hB(t));return r>n?1:r<n?-1:0},bB=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Yfe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},mB={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},gB=Object.keys(mB),ese=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(gB.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${gB.join("|")}`)};function im(e){return e.replace(/^v/,"")}const Wr=Object.keys(yB).map(e=>im(e)).sort(pB),Uo=Wr[Wr.length-1];class tse{constructor(t,r=Uo){this.schemaVersion=t,this.toVersion=r,Ss(r,Uo,">")?Jr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Uo}`):(!Wr.includes(im(r))||!Wr.includes(im(t)))&&Jr(`Version Builder: Please give me a valid version number, The valid version is: ${Wr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(Ss(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var y;const l=(y=c[u+1])!=null?y:this.toVersion;Go(`Version Builder: current version: ${i}, nextVersion: ${l}`);const a=yB[i];let f=o;if(typeof a=="function"){const d=a(o,r);d&&(f=d)}return f},t);return Go(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Wr.filter(t=>Ss(t,this.schemaVersion,">=")&&Ss(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Uo}static get version(){return Uo}}An.VersionBuilder=tse,Object.defineProperty(An,"__esModule",{value:!0})});
|