@byteluck-fe/model-driven-upgrade 2.22.3-beta.1 → 2.22.3-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/upgrade/index.js +4 -9
- package/dist/esm/upgrade/v3_0.js +3 -2
- package/dist/esm/upgrade/v3_11.js +50 -0
- package/dist/esm/upgrade/v3_4.js +4 -3
- package/dist/esm/upgrade/v3_6.js +4 -3
- package/dist/esm/upgrade/v3_7.js +4 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/upgrade/index.d.ts +2 -1
- package/dist/types/upgrade/v3_11.d.ts +3 -0
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(Dt,Kn){typeof exports=="object"&&typeof module!="undefined"?Kn(exports):typeof define=="function"&&define.amd?define(["exports"],Kn):(Dt=typeof globalThis!="undefined"?globalThis:Dt||self,Kn(Dt.modelDrivenUpgrade={}))})(this,function(Dt){"use strict";var Kn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",AB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",IB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",kB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",FB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",DB="{caption}\u5FC5\u586B",xB="\u8BF7\u8F93\u5165\u6807\u9898",MB="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",LB="\u8BF7\u8F93\u5165\u884C\u6807\u9898",jB="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",NB="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",CB="\u8BF7\u7ED1\u5B9A\u8868\u5355",VB="\u8BF7\u7ED1\u5B9A\u5217\u8868",zB="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",HB="\u8BF7\u8F93\u5165\u663E\u793A\u503C",qB="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",UB="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",WB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",KB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",GB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",XB="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",QB="\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",ZB="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",YB="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",e3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",t3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",n3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",o3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",r3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",i3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",u3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",c3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",l3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",a3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",f3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",_3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",s3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",y3="\u8BF7\u9009\u62E9\u7701",p3="\u8BF7\u9009\u62E9\u5E02",d3="\u8BF7\u9009\u62E9\u533A",v3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",h3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",b3="\u8BF7\u8F93\u5165\u5217\u5BBD",g3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",m3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",O3="\u8BF7\u9009\u62E9\u63A7\u4EF6",w3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",$3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",P3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",E3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",S3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",T3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",R3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",B3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",A3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",I3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",k3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",F3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",D3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",x3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",M3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",L3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",j3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",N3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",C3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",V3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",z3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",H3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",q3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",U3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",W3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",K3="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",G3="\u6279\u91CF\u5220\u9664",X3="\u6279\u91CF\u6253\u5370",Q3="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",J3="\u6309\u94AE",Z3="\u521B\u5EFA\u5355\u636E",Y3="\u4EEA\u8868\u76D8",e1="\u5206\u5272\u7EBF",t1="\u5BFC\u51FA",n1="\u8868\u5355\u64CD\u4F5C",o1="\u5BFC\u5165",r1="\u53D1\u7968\u8BC6\u522B",i1="\u94FE\u63A5",u1="\u5217\u8868\u9009\u62E9",c1="\u5217\u8868\u89C6\u56FE",l1="\u64CD\u4F5C\u6309\u94AE",a1="\u5206\u9875",f1="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",_1="\u8BF4\u660E\u6587\u5B57",s1="\u6587\u5B57\u8BC6\u522B",y1="\u6807\u9898\u7EC4\u4EF6",p1="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",d1="\u6570\u7EC4",v1="\u81EA\u52A8\u7F16\u53F7",h1="\u81EA\u5B9A\u4E49",b1="\u6570\u503C",g1="\u90E8\u95E8",m1="\u4EBA\u5458",O1="\u9644\u4EF6",w1="\u56FE\u7247",$1="\u5730\u5740",P1="\u64CD\u4F5C",E1="\u5E8F\u53F7",S1="\u4EBA\u5458",T1="\u957F\u6587\u672C",R1="\u65E5\u671F\u533A\u95F4",B1="\u65E5\u671F",A1="\u77ED\u6587\u672C",I1="\u6362\u884C\u5BB9\u5668Wrap",k1="\u8868\u683C",F1="\u660E\u7EC6\u5B50\u8868",D1="\u5730\u5740",x1="\u91D1\u989D",M1="\u8BA1\u7B97\u516C\u5F0F",L1="\u591A\u9009",j1="\u7535\u5B50\u7B7E\u7AE0",N1="\u5355\u884C\u6587\u672C",C1="\u6570\u5B57",V1="\u4E1A\u52A1\u7EC4\u7EC7",z1="\u5355\u9009",H1="\u5BCC\u6587\u672C",q1="\u8BC4\u5206",U1="\u6570\u5B57\u533A\u95F4",W1="\u4E0B\u62C9\u5355\u9009",K1="\u4E0B\u62C9\u591A\u9009",G1="\u5173\u8054\u5355\u9009",X1="\u591A\u884C\u6587\u672C",Q1="\u6811",J1="Vue\u5BB9\u5668",Z1="Vue\u9875\u9762",Y1="\u5728\u7EBF\u6587\u6863",e2="\u6309\u94AE\u64CD\u4F5C\u680F",t2="\u9AD8\u7EA7\u5BB9\u5668",n2="\u5206\u7EC4",o2="\u6805\u683C\u5217",r2="\u6570\u636E\u5BB9\u5668",i2="\u753B\u5E03",u2="\u6362\u884C\u5BB9\u5668",c2="\u6805\u683C\u7B49\u5206\u884C",l2="\u5217\u8868\u5BB9\u5668",a2="\u81EA\u7531\u9875\u9762",f2="\u5B9A\u4F4D\u5B50\u5BB9\u5668",_2="\u5B9A\u4F4D\u5BB9\u5668",s2="\u6805\u683C\u5E03\u5C40",y2="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",p2="\u660E\u7EC6\u5B50\u8868\u884C",d2="\u6807\u7B7E\u9875",v2="\u6807\u7B7E\u5355\u5143",h2="\u5DE5\u5177\u680F",b2="\u6279\u91CF\u63D0\u4EA4",g2="\u5BFC\u51FA\u8BB0\u5F55",m2="\u5217\u8868\u89C6\u56FE",O2="\u7ED3\u675F\u65F6\u95F4",w2="\u5F00\u59CB\u65F6\u95F4",$2="\u5355\u4F4D",P2="\u7ED3\u679C",E2="\u5E01\u79CD",S2="\u7ED3\u675F\u65E5\u671F",T2="\u5F00\u59CB\u65E5\u671F",R2="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",B2="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",A2="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",I2="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",k2="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",F2="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",D2="\u8BF7\u9009\u62E9",x2="\u8BF7\u9009\u62E9\u7EC4\u7EC7",M2="\u8BF7\u9009\u62E9\u90E8\u95E8",L2="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",j2="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",N2="\u8BF7\u9009\u62E9\u5730\u5740",C2="\u5F39\u7A97\u786E\u8BA4\u65F6",V2="\u6807\u7B7E\u9875\u5207\u6362\u65F6",z2="\u884C\u9009\u4E2D\u65F6",H2="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",q2="\u884C\u5220\u9664\u524D",U2="\u884C\u70B9\u51FB\u65F6",W2="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",K2="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",G2="\u91CD\u547D\u540D\u65F6",X2="\u4FDD\u5B58\u6587\u4EF6\u65F6",Q2="\u6253\u5F00\u6587\u4EF6\u65F6",J2="\u83B7\u53D6\u7126\u70B9\u65F6",Z2="\u5931\u53BB\u7126\u70B9\u65F6",Y2="\u7528\u6237\u8F93\u5165\u65F6",eA="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",tA="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",nA="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",oA="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",rA="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",iA="\u641C\u7D22\u65F6",uA="\u503C\u53D1\u751F\u53D8\u5316\u65F6",cA="\u6267\u884C\u5B8C\u6210\u65F6",lA="\u70B9\u51FB\u65F6",aA="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",fA="\u8BF7\u8F93\u5165\u65E5\u671F",_A="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",sA="\u8BF7\u8F93\u5165",yA="\u9ED8\u8BA4\u6A21\u7248",pA="\u5DE6\u53F3\u5E03\u5C40",dA="\u4E0A\u4E0B\u5E03\u5C40",vA="\u53EA\u8BFB",hA="\u5FC5\u586B",bA="\u63D0\u793A\u6587\u5B57",gA="\u9690\u85CF\u6807\u9898",mA="\u6807\u9898\u5FC5\u586B",OA="\u7EC4\u7EC7\u5F62\u6001",wA="\u4E1A\u52A1\u7C7B\u578B",$A="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",PA="\u9690\u85CF",EA="\u6D41\u7A0B\u72B6\u6001",SA="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",TA="\u5220\u9664",RA="\u7F16\u8F91",BA="\u67E5\u770B",AA="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",IA="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",kA="\u5145\u6EE1\u6574\u884C",FA="\u6700\u5C0F\u503C",DA="\u6700\u5927\u503C",xA="\u65B0\u5EFA\u6587\u6863",MA="\u91CD\u7F6E",LA="\u67E5\u8BE2",jA="\u660E\u7EC6",NA="\u6253\u5370",CA="\u4FDD\u5B58\u8349\u7A3F",VA="\u4FDD\u5B58",zA="\u53D6\u6D88",HA="\u4E0A\u4F20\u56FE\u7247",qA="\u53D1\u8D77\u7B7E\u7F72",UA="\u4E0A\u4F20\u9644\u4EF6",WA="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",KA="\u5F15\u7528\u5217\u8868",GA={isNotNumber:Kn,isNotString:AB,isNotObject:IB,isNotArray:kB,isNotBoolean:FB,runtimeRequired:DB,pleaseEnterCaption:xB,pleaseEnterCaptionTip:MB,pleaseEnterRowCaption:LB,pleaseEnterPlaceholder:jB,pleaseEnterFieldCode:NB,pleaseEnterForm:CB,pleaseEnterList:VB,pleaseEnterProcess:zB,pleaseEnterLabel:HB,pleaseEnterValue:qB,bizKeyNotBindFiled:UB,pleaseSelectOneField:WB,pleaseEnterNumberRange:KB,pleaseEnterAValueGreaterThanMin:GB,pleaseEnterAValueLessThanMax:XB,numberRangeSetError:QB,stringRangeError:JB,attachmentMaxSize:ZB,pleaseEnterTotalScoreSetting:YB,theTotalScoreMustNotBeLessThan1:e3,scoreDefaultValueRange:t3,attachmentLimitError:n3,PleaseReselectTheOptionalQuantity:o3,TheMaximumLengthIsGreaterThanTheMinimumLength:r3,TheMinimumLengthIsGreaterThanTheMaximumLength:i3,PleaseSelectTheCorrectOptionSettings:u3,optionIdIsRepeat:c3,optionIsRequired:l3,pleaseEnterDataCode:a3,pleaseEnterValueFieldCode:f3,pleaseEnterSvcCode:_3,pleaseBindAtLeastOneDisplayValue:s3,pleaseSelectProvince:y3,pleaseSelectCity:p3,pleaseSelectDistrict:d3,limitRowsCannotBeLessThan0:v3,TheNumberOfRowsCannotBeLessThanMinRows:h3,pleaseEnterColumnWidth:b3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:g3,pleaseCompleteAllRulesAndConditions:m3,pleaseSelectControl:O3,pleaseSelectAtLeastOneColumn:w3,pleaseSelectFillBackMode:$3,pleaseSelectDashboard:P3,rootNodeIsRequired:E3,theViewNameCannotBeEmpty:S3,pleaseSelectOcrType:T3,pleaseSelectAtLeastOneFieldToFillIn:R3,pleaseChooseAtLeastOne:B3,pleaseEnterButtonContent:A3,pleaseEnterDataCodeInDataSetting:I3,pleaseEnterValueFieldCodeInDataSetting:k3,pleaseEnterSvcCodeInDataSetting:F3,pleaseBindAtLeastOneDisplayValueInDataSetting:D3,rootNodeIsRequiredInDataSetting:x3,pleaseEnterMaxHeight:M3,pleaseEnterWatermark:L3,pleaseEnterFileName:j3,pleaseUploadAtLeastOnePrintTemplate:N3,pleaseAssignBusiness:C3,pleaseAssignExternal:V3,pleaseEnterAliasCode:z3,pleaseSelectDataCode:H3,pleaseSelectSvcCode:q3,pleaseSelectJoinFieldCode:U3,pleaseSelectMainFieldCode:W3,pleaseSelectSortFieldCode:K3,batchDeleteButton:G3,batchPrintListButton:X3,batchPrintRecordList:Q3,button:J3,createFormListButton:Z3,dashboard:Y3,divider:e1,exportListButton:t1,formSelectButton:n1,importRecordListButton:o1,invoiceCheckButton:r1,link:i1,listSelectButton:u1,ListViewSelect:c1,operationButton:l1,pagination:a1,submissionRecordListButton:f1,text:_1,textOcrButton:s1,title:y1,approvalStatusColumn:p1,array:d1,autoNumber:v1,custom:h1,decimal:b1,department:g1,employee:m1,file:O1,image:w1,location:$1,operation:P1,order:E1,people:S1,long:T1,timescope:R1,timestamp:B1,varchar:A1,gridLayoutWrap:I1,gridTable:k1,subTable:F1,address:D1,amount:x1,calc:M1,checkBox:L1,electronicSignature:j1,input:N1,number:C1,organizationSelection:V1,radio:z1,richText:H1,score:q1,searchNumberRange:U1,select:W1,selectMultiple:K1,selectRelation:G1,textarea:X1,tree:Q1,vueFormItem:J1,vuePage:Z1,WPS:Y1,actionBar:e2,advancedContainer:t2,cardGroup:n2,col:o2,dataView:r2,grid:i2,gridLayoutContainer:u2,gridRow:c2,listView:l2,page:a2,position:f2,positioningContainer:_2,row:s2,subtableColumn:y2,subtableRow:p2,tab:d2,tabPane:v2,toolbox:h2,batchSubmissionListButton:b2,exportRecordListButton:g2,listViewSelect:m2,endTime:O2,startTime:w2,unit:$2,result:P2,currency:E2,endDate:S2,startDate:T2,pleaseSelectCompanyName:R2,pleaseSelectPhoneOrEmail:B2,pleaseSelectSignType:A2,pleaseSelectSigner:I2,pleaseSelectOnlyOne:k2,pleaseSelectSignFile:F2,pleaseSelect:D2,pleaseSelectOrg:x2,pleaseSelectDept:M2,pleaseSelectEndDate:L2,pleaseSelectStartDate:j2,pleaseChooseAddress:N2,modalConfirm:C2,tabChange:V2,rowSelected:z2,listDataImport:H2,rowDelete:q2,rowClick:U2,cellRender:W2,onClickBtn:K2,rename:G2,onSaveFile:X2,onOpenFile:Q2,onFocus:J2,onBlur:Z2,onInput:Y2,listDataAdd:eA,listDataDelete:tA,listDataBack:nA,listDataCreate:oA,listDataChange:rA,search:iA,valueChange:uA,finished:cA,click:lA,pleaseEnterNameorEmail:aA,pleaseEnterDate:fA,pleaseEnterAutonumber:_A,pleaseEnter:sA,defaultTemplate:yA,left:pA,top:dA,default:"\u666E\u901A",readonly:vA,required:hA,textTip:bA,hideCaption:gA,titleRequired:mA,organizationalForm:OA,businessType:wA,deleteConfirm:$A,hide:PA,processStatus:EA,approvedDocuments:SA,delete:TA,edit:RA,view:BA,loadCtrlErrorTip:AA,loadCtrlError:IA,fullLine:kA,min:FA,max:DA,createWPS:xA,reset:MA,query:LA,detailed:jA,print:NA,draft:CA,save:VA,cancel:zA,uploadImg:HA,signature:qA,uploadFile:UA,linkContent:WA,referenceList:KA},XA="Please enter a number",QA="Please enter a string",JA="Please enter an object",ZA="Please enter an array",YA="Please enter a boolean",e5="{caption} Required",t5="Please enter the title",n5="Please enter the bubble prompt",o5="Please enter the row title",r5="Please enter the prompt text",i5="Please bind data items",u5="Please bind the form",c5="Please bind the list",l5="Please bind the process",a5="Please enter the displayed value",f5="Please enter the stored value",_5="The document number is not bound to the data item",s5="Please select at least one display field",y5="Please enter a value greater than or equal to {min} and less than or equal to {max}",p5="Please enter a value greater than or equal to {min}",d5="Please enter a value less than or equal to {max}",v5="The value range is set incorrectly",h5="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",b5="The attachment size must be between 0MB and 1000MB",g5="Please fill in the total score setting",m5="The total score cannot be less than 1",O5="The default value must be between {min} and {max}",w5="The number of attachment uploads exceeds the limit",$5="Please re-select the optional quantity",P5="The maximum length of the control must be greater than the minimum length",E5="The minimum length of the control must be less than the maximum length",S5="Please select the correct option setting",T5="Option ID cannot be repeated",R5="Please enter at least one option",B5="Please bind the data source",A5="Please bind the stored value",I5="Please bind the service",k5="At least one display value must be bound",F5="Please select a province",D5="Please select a city",x5="Please select a district",M5="The minimum number of lines to fill in cannot be less than 0",L5="The number of rows cannot be less than {min} rows",j5="Please enter the column width",N5="Please set the logical relationship of all rule conditions",C5="Please complete all rules and conditions",V5="please select control",z5="Please select the dashboard",H5="View name cannot be empty",q5="Please select recognition type",U5="Please select at least one field to fill in",W5="Please select at least one",K5="Please enter the button title",G5="Please bind the business model in the data settings",X5="Please bind storage values in data settings",Q5="Please bind the service in the data settings",J5="Please bind at least one display value in the data settings",Z5="Please select the root node in the data settings",Y5="Please enter the maximum height",eI="The input content cannot be empty",tI="Watermark cannot be empty",nI="File name cannot be empty",oI="Please upload at least one printing template!\uFF01",rI="Please select a specific business department",iI="Please select a specified external organization",uI="Please enter a sub table alias",cI="Please select the associated table to set the business model",lI="Please select the association table to set the binding service",aI="Select associated sub table fields",fI="Please select the associated main table field",_I="Please select the sort field",sI="\u6279\u91CF\u5220\u9664",yI="\u6279\u91CF\u6253\u5370",pI="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",dI="\u6309\u94AE",vI="\u521B\u5EFA\u5355\u636E",hI="\u4EEA\u8868\u76D8",bI="\u5206\u5272\u7EBF",gI="\u5BFC\u51FA",mI="\u8868\u5355\u64CD\u4F5C",OI="\u5BFC\u5165",wI="\u53D1\u7968\u8BC6\u522B",$I="\u94FE\u63A5",PI="\u5217\u8868\u9009\u62E9",EI="\u5217\u8868\u89C6\u56FE",SI="\u64CD\u4F5C\u6309\u94AE",TI="\u5206\u9875",RI="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",BI="\u8BF4\u660E\u6587\u5B57",AI="\u6587\u5B57\u8BC6\u522B",II="\u6807\u9898\u7EC4\u4EF6",kI="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",FI="\u6570\u7EC4",DI="\u81EA\u52A8\u7F16\u53F7",xI="\u81EA\u5B9A\u4E49",MI="\u6570\u503C",LI="\u90E8\u95E8",jI="\u4EBA\u5458",NI="\u9644\u4EF6",CI="\u56FE\u7247",VI="\u5730\u5740",zI="\u64CD\u4F5C",HI="\u5E8F\u53F7",qI="\u4EBA\u5458",UI="\u957F\u6587\u672C",WI="\u65E5\u671F\u533A\u95F4",KI="\u65E5\u671F",GI="\u77ED\u6587\u672C",XI="\u6362\u884C\u5BB9\u5668Wrap",QI="\u8868\u683C",JI="\u660E\u7EC6\u5B50\u8868",ZI="\u5730\u5740",YI="\u91D1\u989D",ek="\u8BA1\u7B97\u516C\u5F0F",tk="\u591A\u9009",nk="\u7535\u5B50\u7B7E\u7AE0",ok="\u5355\u884C\u6587\u672C",rk="\u6570\u5B57",ik="\u4E1A\u52A1\u7EC4\u7EC7",uk="\u5355\u9009",ck="\u5BCC\u6587\u672C",lk="\u8BC4\u5206",ak="\u6570\u5B57\u533A\u95F4",fk="\u4E0B\u62C9\u5355\u9009",_k="\u4E0B\u62C9\u591A\u9009",sk="\u5173\u8054\u5355\u9009",yk="\u591A\u884C\u6587\u672C",pk="\u6811",dk="Vue\u5BB9\u5668",vk="Vue\u9875\u9762",hk="\u5728\u7EBF\u6587\u6863",bk="\u6309\u94AE\u64CD\u4F5C\u680F",gk="\u9AD8\u7EA7\u5BB9\u5668",mk="\u5206\u7EC4",Ok="\u6805\u683C\u5217",wk="\u6570\u636E\u5BB9\u5668",$k="\u753B\u5E03",Pk="\u6362\u884C\u5BB9\u5668",Ek="\u6805\u683C\u7B49\u5206\u884C",Sk="\u5217\u8868\u5BB9\u5668",Tk="\u81EA\u7531\u9875\u9762",Rk="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Bk="\u5B9A\u4F4D\u5BB9\u5668",Ak="\u6805\u683C\u5E03\u5C40",Ik="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",kk="\u660E\u7EC6\u5B50\u8868\u884C",Fk="\u6807\u7B7E\u9875",Dk="\u6807\u7B7E\u5355\u5143",xk="\u5DE5\u5177\u680F",Mk="\u6279\u91CF\u63D0\u4EA4",Lk="\u5BFC\u51FA\u8BB0\u5F55",jk="\u5217\u8868\u89C6\u56FE",Nk="\u5F15\u7528\u5217\u8868",Ck={isNotNumber:XA,isNotString:QA,isNotObject:JA,isNotArray:ZA,isNotBoolean:YA,runtimeRequired:e5,pleaseEnterCaption:t5,pleaseEnterCaptionTip:n5,pleaseEnterRowCaption:o5,pleaseEnterPlaceholder:r5,pleaseEnterFieldCode:i5,pleaseEnterForm:u5,pleaseEnterList:c5,pleaseEnterProcess:l5,pleaseEnterLabel:a5,pleaseEnterValue:f5,bizKeyNotBindFiled:_5,pleaseSelectOneField:s5,pleaseEnterNumberRange:y5,pleaseEnterAValueGreaterThanMin:p5,pleaseEnterAValueLessThanMax:d5,numberRangeSetError:v5,stringRangeError:h5,attachmentMaxSize:b5,pleaseEnterTotalScoreSetting:g5,theTotalScoreMustNotBeLessThan1:m5,scoreDefaultValueRange:O5,attachmentLimitError:w5,PleaseReselectTheOptionalQuantity:$5,TheMaximumLengthIsGreaterThanTheMinimumLength:P5,TheMinimumLengthIsGreaterThanTheMaximumLength:E5,PleaseSelectTheCorrectOptionSettings:S5,optionIdIsRepeat:T5,optionIsRequired:R5,pleaseEnterDataCode:B5,pleaseEnterValueFieldCode:A5,pleaseEnterSvcCode:I5,pleaseBindAtLeastOneDisplayValue:k5,pleaseSelectProvince:F5,pleaseSelectCity:D5,pleaseSelectDistrict:x5,limitRowsCannotBeLessThan0:M5,TheNumberOfRowsCannotBeLessThanMinRows:L5,pleaseEnterColumnWidth:j5,pleaseSetTheLogicalRelationshipOfAllRuleConditions:N5,pleaseCompleteAllRulesAndConditions:C5,pleaseSelectControl:V5,pleaseSelectDashboard:z5,theViewNameCannotBeEmpty:H5,pleaseSelectOcrType:q5,pleaseSelectAtLeastOneFieldToFillIn:U5,pleaseChooseAtLeastOne:W5,pleaseEnterButtonContent:K5,pleaseEnterDataCodeInDataSetting:G5,pleaseEnterValueFieldCodeInDataSetting:X5,pleaseEnterSvcCodeInDataSetting:Q5,pleaseBindAtLeastOneDisplayValueInDataSetting:J5,rootNodeIsRequiredInDataSetting:Z5,pleaseEnterMaxHeight:Y5,pleaseEnter:eI,pleaseEnterWatermark:tI,pleaseEnterFileName:nI,pleaseUploadAtLeastOnePrintTemplate:oI,pleaseAssignBusiness:rI,pleaseAssignExternal:iI,pleaseEnterAliasCode:uI,pleaseSelectDataCode:cI,pleaseSelectSvcCode:lI,pleaseSelectJoinFieldCode:aI,pleaseSelectMainFieldCode:fI,pleaseSelectSortFieldCode:_I,batchDeleteButton:sI,batchPrintListButton:yI,batchPrintRecordList:pI,button:dI,createFormListButton:vI,dashboard:hI,divider:bI,exportListButton:gI,formSelectButton:mI,importRecordListButton:OI,invoiceCheckButton:wI,link:$I,listSelectButton:PI,ListViewSelect:EI,operationButton:SI,pagination:TI,submissionRecordListButton:RI,text:BI,textOcrButton:AI,title:II,approvalStatusColumn:kI,array:FI,autoNumber:DI,custom:xI,decimal:MI,department:LI,employee:jI,file:NI,image:CI,location:VI,operation:zI,order:HI,people:qI,long:UI,timescope:WI,timestamp:KI,varchar:GI,gridLayoutWrap:XI,gridTable:QI,subTable:JI,address:ZI,amount:YI,calc:ek,checkBox:tk,electronicSignature:nk,input:ok,number:rk,organizationSelection:ik,radio:uk,richText:ck,score:lk,searchNumberRange:ak,select:fk,selectMultiple:_k,selectRelation:sk,textarea:yk,tree:pk,vueFormItem:dk,vuePage:vk,WPS:hk,actionBar:bk,advancedContainer:gk,cardGroup:mk,col:Ok,dataView:wk,grid:$k,gridLayoutContainer:Pk,gridRow:Ek,listView:Sk,page:Tk,position:Rk,positioningContainer:Bk,row:Ak,subtableColumn:Ik,subtableRow:kk,tab:Fk,tabPane:Dk,toolbox:xk,batchSubmissionListButton:Mk,exportRecordListButton:Lk,listViewSelect:jk,referenceList:Nk},Vk="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zk="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hk="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qk="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Uk="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wk="{caption}\u5FC5\u9808",Kk="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gk="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xk="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qk="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jk="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zk="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yk="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eF="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tF="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nF="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oF="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",rF="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",iF="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uF="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cF="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lF="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",aF="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fF="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_F="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sF="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",yF="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pF="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",dF="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vF="\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",hF="\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",bF="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gF="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mF="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",OF="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wF="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$F="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",PF="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",EF="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SF="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",TF="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",RF="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",BF="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",AF="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",IF="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kF="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",FF="please select control",DF="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xF="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",MF="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",LF="\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",jF="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",NF="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",VF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",zF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",HF="\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",qF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UF="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WF="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",KF="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",GF="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",XF="\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",QF="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",JF="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZF="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YF="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",e6="\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",t6="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",n6="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",o6="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",r6="\u6279\u91CF\u5220\u9664",i6="\u6279\u91CF\u6253\u5370",u6="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",c6="\u6309\u94AE",l6="\u521B\u5EFA\u5355\u636E",a6="\u4EEA\u8868\u76D8",f6="\u5206\u5272\u7EBF",_6="\u5BFC\u51FA",s6="\u8868\u5355\u64CD\u4F5C",y6="\u5BFC\u5165",p6="\u53D1\u7968\u8BC6\u522B",d6="\u94FE\u63A5",v6="\u5217\u8868\u9009\u62E9",h6="\u5217\u8868\u89C6\u56FE",b6="\u64CD\u4F5C\u6309\u94AE",g6="\u5206\u9875",m6="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",O6="\u8BF4\u660E\u6587\u5B57",w6="\u6587\u5B57\u8BC6\u522B",$6="\u6807\u9898\u7EC4\u4EF6",P6="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",E6="\u6570\u7EC4",S6="\u81EA\u52A8\u7F16\u53F7",T6="\u81EA\u5B9A\u4E49",R6="\u6570\u503C",B6="\u90E8\u95E8",A6="\u4EBA\u5458",I6="\u9644\u4EF6",k6="\u56FE\u7247",F6="\u5730\u5740",D6="\u64CD\u4F5C",x6="\u5E8F\u53F7",M6="\u4EBA\u5458",L6="\u957F\u6587\u672C",j6="\u65E5\u671F\u533A\u95F4",N6="\u65E5\u671F",C6="\u77ED\u6587\u672C",V6="\u6362\u884C\u5BB9\u5668Wrap",z6="\u8868\u683C",H6="\u660E\u7EC6\u5B50\u8868",q6="\u5730\u5740",U6="\u91D1\u989D",W6="\u8BA1\u7B97\u516C\u5F0F",K6="\u591A\u9009",G6="\u7535\u5B50\u7B7E\u7AE0",X6="\u5355\u884C\u6587\u672C",Q6="\u6570\u5B57",J6="\u4E1A\u52A1\u7EC4\u7EC7",Z6="\u5355\u9009",Y6="\u5BCC\u6587\u672C",eD="\u8BC4\u5206",tD="\u6570\u5B57\u533A\u95F4",nD="\u4E0B\u62C9\u5355\u9009",oD="\u4E0B\u62C9\u591A\u9009",rD="\u5173\u8054\u5355\u9009",iD="\u591A\u884C\u6587\u672C",uD="\u6811",cD="Vue\u5BB9\u5668",lD="Vue\u9875\u9762",aD="\u5728\u7EBF\u6587\u6863",fD="\u6309\u94AE\u64CD\u4F5C\u680F",_D="\u9AD8\u7EA7\u5BB9\u5668",sD="\u5206\u7EC4",yD="\u6805\u683C\u5217",pD="\u6570\u636E\u5BB9\u5668",dD="\u753B\u5E03",vD="\u6362\u884C\u5BB9\u5668",hD="\u6805\u683C\u7B49\u5206\u884C",bD="\u5217\u8868\u5BB9\u5668",gD="\u81EA\u7531\u9875\u9762",mD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",OD="\u5B9A\u4F4D\u5BB9\u5668",wD="\u6805\u683C\u5E03\u5C40",$D="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",PD="\u660E\u7EC6\u5B50\u8868\u884C",ED="\u6807\u7B7E\u9875",SD="\u6807\u7B7E\u5355\u5143",TD="\u5DE5\u5177\u680F",RD="\u6279\u91CF\u63D0\u4EA4",BD="\u5BFC\u51FA\u8BB0\u5F55",AD="\u5217\u8868\u89C6\u56FE",ID="\u5F15\u7528\u5217\u8868",kD={isNotNumber:Vk,isNotString:zk,isNotObject:Hk,isNotArray:qk,isNotBoolean:Uk,runtimeRequired:Wk,pleaseEnterCaption:Kk,pleaseEnterCaptionTip:Gk,pleaseEnterRowCaption:Xk,pleaseEnterPlaceholder:Qk,pleaseEnterFieldCode:Jk,pleaseEnterForm:Zk,pleaseEnterList:Yk,pleaseEnterProcess:eF,pleaseEnterLabel:tF,pleaseEnterValue:nF,bizKeyNotBindFiled:oF,pleaseSelectOneField:rF,pleaseEnterNumberRange:iF,pleaseEnterAValueGreaterThanMin:uF,pleaseEnterAValueLessThanMax:cF,numberRangeSetError:lF,stringRangeError:aF,attachmentMaxSize:fF,pleaseEnterTotalScoreSetting:_F,theTotalScoreMustNotBeLessThan1:sF,scoreDefaultValueRange:yF,attachmentLimitError:pF,PleaseReselectTheOptionalQuantity:dF,TheMaximumLengthIsGreaterThanTheMinimumLength:vF,TheMinimumLengthIsGreaterThanTheMaximumLength:hF,PleaseSelectTheCorrectOptionSettings:bF,optionIdIsRepeat:gF,optionIsRequired:mF,pleaseEnterDataCode:OF,pleaseEnterValueFieldCode:wF,pleaseEnterSvcCode:$F,pleaseBindAtLeastOneDisplayValue:PF,pleaseSelectProvince:EF,pleaseSelectCity:SF,pleaseSelectDistrict:TF,limitRowsCannotBeLessThan0:RF,TheNumberOfRowsCannotBeLessThanMinRows:BF,pleaseEnterColumnWidth:AF,pleaseSetTheLogicalRelationshipOfAllRuleConditions:IF,pleaseCompleteAllRulesAndConditions:kF,pleaseSelectControl:FF,pleaseSelectDashboard:DF,theViewNameCannotBeEmpty:xF,pleaseSelectOcrType:MF,pleaseSelectAtLeastOneFieldToFillIn:LF,pleaseChooseAtLeastOne:jF,pleaseEnterButtonContent:NF,pleaseEnterDataCodeInDataSetting:CF,pleaseEnterValueFieldCodeInDataSetting:VF,pleaseEnterSvcCodeInDataSetting:zF,pleaseBindAtLeastOneDisplayValueInDataSetting:HF,rootNodeIsRequiredInDataSetting:qF,pleaseEnterMaxHeight:UF,pleaseEnter:WF,pleaseEnterWatermark:KF,pleaseEnterFileName:GF,pleaseUploadAtLeastOnePrintTemplate:XF,pleaseAssignBusiness:QF,pleaseAssignExternal:JF,pleaseEnterAliasCode:ZF,pleaseSelectDataCode:YF,pleaseSelectSvcCode:e6,pleaseSelectJoinFieldCode:t6,pleaseSelectMainFieldCode:n6,pleaseSelectSortFieldCode:o6,batchDeleteButton:r6,batchPrintListButton:i6,batchPrintRecordList:u6,button:c6,createFormListButton:l6,dashboard:a6,divider:f6,exportListButton:_6,formSelectButton:s6,importRecordListButton:y6,invoiceCheckButton:p6,link:d6,listSelectButton:v6,ListViewSelect:h6,operationButton:b6,pagination:g6,submissionRecordListButton:m6,text:O6,textOcrButton:w6,title:$6,approvalStatusColumn:P6,array:E6,autoNumber:S6,custom:T6,decimal:R6,department:B6,employee:A6,file:I6,image:k6,location:F6,operation:D6,order:x6,people:M6,long:L6,timescope:j6,timestamp:N6,varchar:C6,gridLayoutWrap:V6,gridTable:z6,subTable:H6,address:q6,amount:U6,calc:W6,checkBox:K6,electronicSignature:G6,input:X6,number:Q6,organizationSelection:J6,radio:Z6,richText:Y6,score:eD,searchNumberRange:tD,select:nD,selectMultiple:oD,selectRelation:rD,textarea:iD,tree:uD,vueFormItem:cD,vuePage:lD,WPS:aD,actionBar:fD,advancedContainer:_D,cardGroup:sD,col:yD,dataView:pD,grid:dD,gridLayoutContainer:vD,gridRow:hD,listView:bD,page:gD,position:mD,positioningContainer:OD,row:wD,subtableColumn:$D,subtableRow:PD,tab:ED,tabPane:SD,toolbox:TD,batchSubmissionListButton:RD,exportRecordListButton:BD,listViewSelect:AD,referenceList:ID},tf={zhCN:GA,enUS:Ck,jaJP:kD},R0;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(R0||(R0={}));var B0;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(B0||(B0={}));var nf,FD=(nf=window.localStorage.getItem("locale"))!==null&&nf!==void 0?nf:"zh-CN",xt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(xt||(xt={}));var A0;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(A0||(A0={}));var y;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list"})(y||(y={}));var I0;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(I0||(I0={}));var m;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(m||(m={}));var it;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(it||(it={}));var k0={DEFAULT:"default"},F0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",DD=F0+"0123456789";function Ne(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var o=n===0?F0:DD,r=Math.random()*o.length;e+=o[parseInt(String(r),10)]}return e}function of(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function xD(t){if(Array.isArray(t))return of(t)}function MD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D0(t,e,n){return e=Gn(e),CD(t,uf()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function x0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lo(t,e,n){return uf()?Lo=Reflect.construct:Lo=function(r,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(r,c),a=new l;return u&&Xn(a,u.prototype),a},Lo.apply(null,arguments)}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function M0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xn(t,e)}function LD(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function jD(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ND(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function CD(t,e){return e&&(VD(e)==="object"||typeof e=="function")?e:MD(t)}function Xn(t,e){return Xn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xn(t,e)}function L0(t){return xD(t)||jD(t)||zD(t)||ND()}function VD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zD(t,e){if(!!t){if(typeof t=="string")return of(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return of(t,e)}}function rf(t){var e=typeof Map=="function"?new Map:void 0;return rf=function(o){if(o===null||!LD(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Lo(o,arguments,Gn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Xn(r,o)},rf(t)}function uf(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uf=function(){return!!t})()}var cf=console;function lf(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=cf).warn.apply(o,["\u{1F9D0} Driven Warning:"+e[0]].concat(L0(r)))}function jo(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=cf).log.apply(o,["\u{1F680} Driven Log:"+e[0]].concat(L0(r)))}function HD(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var af=function(t){M0(e,t);function e(n){x0(this,e);var o;return o=D0(this,e,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?HD(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return e}(rf(Error)),qD=function(t){M0(e,t);function e(n){x0(this,e);var o;return o=D0(this,e,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return e}(af);function Qn(t){throw new af(t)}function j0(t){throw new qD(t)}function UD(t){cf.error(new af(t))}const WD=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const o=t.split(".");let r;const i=(window.baitedaWorkers||{}).languageMessages||{};o.forEach((c,l)=>{l===0?r=i[c]:r&&(r=r[c])});let u="";return r&&(u=r),e&&Object.keys(e).forEach(c=>{const l=e[c];u=u.replace(new RegExp(`\\{\\s*${c}\\s*\\}`,"g"),l)}),u||(n?u=n:u=t),u};function KD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function GD(t,e,n){return e&&N0(t.prototype,e),n&&N0(t,n),t}function XD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){KD(this,t)}return GD(t,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return WD("CMD."+n,o,tf==null||(r=tf[FD.split("-").join("")])===null||r===void 0?void 0:r[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,o){}}]),t}();XD(f,"$i18n",f.resetI18n());function QD(t,e,n){var o=e.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){lf("Can not set ".concat(e,"'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],n)&&(a[u]=n,r=!0),a[u]}},t),r}var JD=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ff={exports:{}};(function(t){(function(e){var n=function(h,$,P){if(!a($)||p($)||d($)||b($)||l($))return $;var T,R=0,z=0;if(_($))for(T=[],z=$.length;R<z;R++)T.push(n(h,$[R],P));else{T={};for(var I in $)Object.prototype.hasOwnProperty.call($,I)&&(T[h(I,P)]=n(h,$[I],P))}return T},o=function(h,$){$=$||{};var P=$.separator||"_",T=$.split||/(?=[A-Z])/;return h.split(T).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()},c=Object.prototype.toString,l=function(h){return typeof h=="function"},a=function(h){return h===Object(h)},_=function(h){return c.call(h)=="[object Array]"},p=function(h){return c.call(h)=="[object Date]"},d=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},g=function(h,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?h:function(T,R){return P(T,h,R)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(g(r,$),h)},decamelizeKeys:function(h,$){return n(g(u,$),h,$)},pascalizeKeys:function(h,$){return n(g(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(JD)})(ff);var C0={};Object.defineProperty(C0,"__esModule",{value:!0});function _f(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:_f(e));{const e={};for(const n in t){const o=t[n];e[n]=typeof o!="object"||o===null?o:_f(o)}return e}}var ZD=C0.default=_f;function YD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Be(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":YD(t))==="object"?ZD(t):t}function fe(t){return V0(t)&&"zh"in t}function V0(t){return Object.prototype.toString.call(t)==="[object Object]"}function sf(t){return Array.isArray(t)}function Mt(t){return isNaN(parseFloat(t))?"":Number(t)}function ex(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function N(t,e){var n=[];return Array.isArray(t)&&(n=t.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=N(o.children,e)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=N(o.footers,e)),e(r)})),n}function tx(t){return ff.exports.camelizeKeys(t)}function wt(t){return ff.exports.decamelizeKeys(t)}function yf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function nx(t){if(Array.isArray(t))return yf(t)}function z0(t,e,n,o,r,i,u){try{var c=t[i](u),l=c.value}catch(a){n(a);return}c.done?e(l):Promise.resolve(l).then(o,r)}function ox(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(l){z0(i,o,r,u,c,"next",l)}function c(l){z0(i,o,r,u,c,"throw",l)}u(void 0)})}}function rx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ix(t,e,n){return e&&H0(t.prototype,e),n&&H0(t,n),t}function q0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ux(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cx(){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(t){return nx(t)||ux(t)||lx(t)||cx()}function lx(t,e){if(!!t){if(typeof t=="string")return yf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.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(t,e)}}function ax(t,e){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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(_){return l([a,_])}}function l(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=e.call(t,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 fx=function(){function t(){rx(this,t),q0(this,"_events",new Map),q0(this,"debug",!1)}return ix(t,[{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 ox(function(){var c,l,a,_,p,d,b,O,g,w,h,$;return ax(this,function(P){switch(P.label){case 0:if(c=u._events.get(n),l=[],!c)return[3,10];a=c.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(g=O.value,!c.includes(g))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&jo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(pf(r))),[4,g.apply(null,pf(r))];case 4:return w=P.sent(),u.debug&&jo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.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(pf(r),[w])),l.push(w),w===!1?[3,7]:[3,6];case 5:return h=P.sent(),UD(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,l]}})})()}},{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}}]),t}();function _x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sx(t,e,n){return e&&U0(t.prototype,e),n&&U0(t,n),t}function yx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var px=[{key:"on_click",name:f.getMessage("click"),code:"click"},{key:"on_click_finish",name:f.getMessage("finished"),code:"click-finish"},{key:"on_change",name:f.getMessage("valueChange"),code:"change"},{key:"on_search",name:f.getMessage("search"),code:"search"},{key:"on_list_change",name:f.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:f.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:f.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:f.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:f.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:f.getMessage("onInput"),code:"input"},{key:"on_blur",name:f.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:f.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:f.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:f.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:f.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:f.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:f.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:f.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:f.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:f.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:f.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:f.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:f.getMessage("modalConfirm"),code:"modal-ok"}],dx=function(){function t(){_x(this,t)}return sx(t,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return t.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(t.events.filter(function(u){return r.includes(u.key)}));var i=n.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 o=o.concat(i),o}}]),t}();yx(dx,"events",px);function df(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function vx(t){if(Array.isArray(t))return df(t)}function hx(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bx(){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 W0(t){return vx(t)||hx(t)||gx(t)||bx()}function gx(t,e){if(!!t){if(typeof t=="string")return df(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return df(t,e)}}function vf(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function K0(t,e,n){n!=="Runtime"&&(t.parent=e,vf(t,"parent"))}function mx(t,e,n){t.forEach(function(o){K0(o,e,n)})}var G0=Symbol("targetKey");function X0(t){var e;return(e=t[G0])!==null&&e!==void 0?e:t}function Q0(t,e,n){return mx(t,e,n),new Proxy(t,{get:function(r,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===G0?r:(a=Reflect).get.apply(a,[r,i].concat(W0(c)))},set:function(r,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 _;if(sf(t)&&i==="length"&&u===t.length)return!0;var p=(_=Reflect).set.apply(_,[r,i,u].concat(W0(l)));return V0(u)&&K0(u,e,n),p}})}function We(t,e,n,o,r){var i=o!=null?o:t,u=Q0(X0(n!=null?n:[]),i,r);Object.defineProperty(t,e,{get:function(){return u},set:function(l){u=Q0(X0(l),i,r)},enumerable:!0})}function Ox(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wx(t,e,n){return e&&J0(t.prototype,e),n&&J0(t,n),t}function ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Z0=[],No=function(){function t(e){Ox(this,t),ut(this,"registeredControlTypes",new Set),ut(this,"controlConfigMap",new Map),ut(this,"_controls",[]),ut(this,"_type",void 0),this._type=e,this._initControls(e)}return wx(t,[{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__||Qn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(lf("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===xt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===xt.FORM}},{key:"isListControl",value:function(n){return n.controlType===xt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===xt.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 c=n;if(typeof o=="function"){var l=o(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 Qn("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}}),vf(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,c=o.instanceMap;if(!(!u||!c)){var l=u[i],a=c[i];if(!(!l&&!a)){var _=a.findIndex(function(b){return b==n}),p=c[l]||[],d;return p.length!==a.length?d=p[0]:d=p[_],d}}}}),vf(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]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=t.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__)&&Qn("".concat(n," is can't register as a Control"));var c=this.staticControls.findIndex(function(l){return l.Designer.controlType===r.controlType});return c>-1&&(lf("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),t}();ut(No,"staticControlsRuntimeRules",new Map),ut(No,"staticControls",Z0),ut(No,"staticRegisteredTypes",new Set(Z0.map(function(t){return t.Designer.controlType}))),ut(No,"staticRegisteredConfigs",new Map);function $x(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ae(t,e,n){return e=Co(e),Px(t,Y0()?Reflect.construct(e,n||[],Co(t).constructor):e.apply(t,n))}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Co(t){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(t)}function Ie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hf(t,e)}function Px(t,e){return e&&(Ex(e)==="object"||typeof e=="function")?e:$x(t)}function hf(t,e){return hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hf(t,e)}function Ex(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Y0=function(){return!!t})()}var ke=function t(e){S(this,t),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=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},bf=function t(e){S(this,t),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var o;this.flex=(o=e==null?void 0:e.flex)!==null&&o!==void 0?o:1},eb=function t(e){S(this,t),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=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var o;this.minRows=(o=e==null?void 0:e.minRows)!==null&&o!==void 0?o:4;var r;this.maxRows=(r=e==null?void 0:e.maxRows)!==null&&r!==void 0?r:20;var i;this.fiexdRow=(i=e==null?void 0:e.fiexdRow)!==null&&i!==void 0?i:4},tb=function t(e){S(this,t),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new eb(e==null?void 0:e.pc),this.mobile=new eb(e==null?void 0:e.mobile)},gf=function(t){Ie(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[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 e}(bf),nb=function t(e){S(this,t),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new gf(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new gf(e==null?void 0:e.mobile):new gf({width:130,minWidth:180})},Sx=function t(e){S(this,t),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=e==null?void 0:e.customOptions)!==null&&o!==void 0?o:[]},Lt=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},Tx=function(t){Ie(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[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 e}(Lt),ob=function t(e){S(this,t),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:""},mf=function t(e){S(this,t);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new ob(u)}))!==null&&i!==void 0?i:[]},Rx=function t(e){S(this,t),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:m.VARCHAR},Bx=function(t){Ie(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[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 c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return e}(Lt),Ax=function t(e){S(this,t);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 Lt(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new Rx(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=e==null||(o=e.sublists)===null||o===void 0?void 0:o.map(function(u){return new Bx(u)}))!==null&&i!==void 0?i:[]},Ix=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Jn=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},Of=function t(e){var n=this;S(this,t),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=e==null?void 0:e.id)!==null&&o!==void 0?o:Ne();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=e==null?void 0:e.level)!==null&&i!==void 0?i:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(c){if(c.children!==void 0){var l,a=new t(c);(l=n.children)===null||l===void 0||l.push(a)}else{var _,p=new Vo(c);(_=n.children)===null||_===void 0||_.push(p)}}))},Vo=function t(e){S(this,t),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=e==null?void 0:e.id)!==null&&n!==void 0?n:Ne();var o;this.ruleId=(o=e==null?void 0:e.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=e==null?void 0:e.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new Ix(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Jn(e==null?void 0:e.rightVariableBo)},kx=function t(e){S(this,t),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind);var o;this.relationFields=(o=e==null?void 0:e.relationFields)!==null&&o!==void 0?o:[]},ye=function t(e){S(this,t),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=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=e==null?void 0:e.propName)!==null&&i!==void 0?i:""},wf=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:"",this.fieldType=e==null?void 0:e.fieldType},Fx=function t(e){S(this,t),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=e.desc)!==null&&o!==void 0?o:!1};function $f(t){var e,n,o,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(c){return c.children!==void 0?new Of(c):new Vo(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Of(c):new Vo(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=t==null||(o=t.orders)===null||o===void 0?void 0:o.map(function(c){return new Fx(c)}))!==null&&u!==void 0?u:[]}var X=function t(e){var n=this;S(this,t),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=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=e==null?void 0:e.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(_){var p;(p=n.displayBoList)===null||p===void 0||p.push(new wf(_))}));var c;this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"";var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var a;this.svcCode=(a=e==null?void 0:e.svcCode)!==null&&a!==void 0?a:"",$f.call(this,e)},Pf=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=e==null?void 0:e.displayBoList)!==null&&o!==void 0?o:[]},Ke=function t(e){S(this,t),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=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=e==null?void 0:e.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c:void 0,this.formType=e==null?void 0:e.formType;var l;this.icon=(l=e==null?void 0:e.icon)!==null&&l!==void 0?l:"iconliulan1";var a;this.needConfirm=(a=e==null?void 0:e.needConfirm)!==null&&a!==void 0?a:!1;var _;this.openType=(_=e==null?void 0:e.openType)!==null&&_!==void 0?_:"modal";var p;this.priorityProcess=(p=e==null?void 0:e.priorityProcess)!==null&&p!==void 0?p:!0},rb=function t(e){S(this,t);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=e==null?void 0:e.name)!==null&&o!==void 0?o:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var i;this.value=(i=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new wf(u)}))!==null&&i!==void 0?i:[]},zo=function(t){Ie(e,t);function e(n){S(this,e);var o,r;o=Ae(this,e,[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 rb(u)}))!==null&&i!==void 0?i:[],o}return e}(X),Dx=function(t){Ie(e,t);function e(n){S(this,e);var o,r;o=Ae(this,e,[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(c){return new rb(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return e}(X),ib=function(t){Ie(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Jn(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 e}(zo),ub=function t(e){S(this,t);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new ye(u)}))!==null&&i!==void 0?i:[]},cb=function(t){Ie(e,t);function e(n){S(this,e);var o;return o=Ae(this,e,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),$f.call(o,n),o}return e}(ub),lb=function(t){Ie(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[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 e}(ub),Ef=function t(e){S(this,t),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=e==null?void 0:e.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},xx=function t(e){S(this,t),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ne(8);var o;this.label=(o=e==null?void 0:e.label)!==null&&o!==void 0?o:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function Ge(t){var e;return(e=t==null?void 0:t.map(function(n){return new xx(n)}))!==null&&e!==void 0?e:[]}var Sf=function t(){S(this,t)},Mx=function(t){Ie(e,t);function e(n){S(this,e);var o;return o=Ae(this,e),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new ke(n==null?void 0:n.amount),o.currency=new ke(n==null?void 0:n.currency),o}return e}(Sf),Lx=function t(e){S(this,t),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=e==null?void 0:e.currency)!==null&&o!==void 0?o:"CNY"},jx=function(t){Ie(e,t);function e(n){S(this,e);var o;return o=Ae(this,e),v(o,"min",void 0),v(o,"max",void 0),o.min=new ke(n==null?void 0:n.min),o.max=new ke(n==null?void 0:n.max),o}return e}(Sf),Nx=function t(e){S(this,t),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var o;this.max=(o=e==null?void 0:e.max)!==null&&o!==void 0?o:""},Cx=function t(e){S(this,t),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=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=e==null?void 0:e.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=e==null?void 0:e.provinceDisplay)!==null&&c!==void 0?c:""},Vx=function(t){Ie(e,t);function e(n){S(this,e);var o;return o=Ae(this,e),v(o,"result",void 0),v(o,"unit",void 0),o.result=new ke(n==null?void 0:n.result),o.unit=new ke(n==null?void 0:n.unit),o}return e}(Sf),zx=function t(e){S(this,t),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=e==null?void 0:e.unit)!==null&&o!==void 0?o:""},Tf;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Tf||(Tf={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar"})(s||(s={}));var Rf;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Rf||(Rf={}));var ct=function t(e){S(this,t),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=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=e==null?void 0:e.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=e==null?void 0:e.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},Hx=function t(e){S(this,t);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=e==null?void 0:e.id)!==null&&o!==void 0?o:Ne(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new ob(u)}))!==null&&i!==void 0?i:[],$f.call(this,e)},qx=function t(e){S(this,t),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=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var o;this.height=(o=e==null?void 0:e.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=e==null?void 0:e.heightConfig)!==null&&i!==void 0?i:"fill"},Ux=function t(e){S(this,t),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=e==null?void 0:e.optType)!==null&&o!==void 0?o:""},Wx=function t(e){S(this,t);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=e==null?void 0:e.id)!==null&&r!==void 0?r:Ne();var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Of(l):new Vo(l)}))!==null&&u!==void 0?u:[];var c;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(c=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(l){return new Kx(l)}))!==null&&c!==void 0?c:[]:[],this.script=e==null?void 0:e.script},Kx=function t(e){S(this,t),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=e.type)!==null&&n!==void 0?n:"background";var o;this.fieldCodes=(o=e.fieldCodes)!==null&&o!==void 0?o:[];var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme";var i;this.scope=(i=e.scope)!==null&&i!==void 0?i:"row"},Gx=function t(e){S(this,t);var n;v(this,"type",void 0),v(this,"interval",void 0),v(this,"rules",void 0);var o;this.type=(o=e==null?void 0:e.type)!==null&&o!==void 0?o:"none";var r;this.interval=(r=e==null?void 0:e.interval)!==null&&r!==void 0?r:{color:""};var i;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(i=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(u){return new Wx(u)}))!==null&&i!==void 0?i:[]:[]};function Xx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qx(t,e,n){return e=Zn(e),Yx(t,If()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function Bf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(t,e,n){return If()?Ho=Reflect.construct:Ho=function(r,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(r,c),a=new l;return u&&Yn(a,u.prototype),a},Ho.apply(null,arguments)}function Xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Jx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yn(t,e)}function Zx(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Yx(t,e){return e&&(eM(e)==="object"||typeof e=="function")?e:Xx(t)}function Yn(t,e){return Yn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yn(t,e)}function eM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Af(t){var e=typeof Map=="function"?new Map:void 0;return Af=function(o){if(o===null||!Zx(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Ho(o,arguments,Zn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Yn(r,o)},Af(t)}function If(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(If=function(){return!!t})()}var U=function t(e){Bf(this,t),Xe(this,"isHide",{type:"boolean"})},$t=function(t){Jx(e,t);function e(n){return Bf(this,e),Qx(this,e)}return e}(Af(Array)),W=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Bf(this,t),Xe(this,"isHide",void 0),Xe(this,"className",void 0),Xe(this,"style",void 0),Xe(this,"caption",void 0),Xe(this,"defaultState",void 0);var o;this.isHide=(o=e==null?void 0:e.isHide)!==null&&o!==void 0?o:!1,this.style=new qx(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};Xe(W,"mode",void 0),Xe(W,"Rules",U),Xe(W,"RuntimeRules",$t);function Ce(){return Ce=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ce.apply(this,arguments)}function tM(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function kf(t){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kf(t)}function qo(t,e){return qo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qo(t,e)}function nM(){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(t){return!1}}function Uo(t,e,n){return nM()?Uo=Reflect.construct:Uo=function(r,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(r,c),a=new l;return u&&qo(a,u.prototype),a},Uo.apply(null,arguments)}function oM(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ff(t){var e=typeof Map=="function"?new Map:void 0;return Ff=function(o){if(o===null||!oM(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Uo(o,arguments,kf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),qo(r,o)},Ff(t)}var rM=/%[sdj%]/g,ab=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ab=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(e,n)});function Df(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function ve(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=1,r=e[0],i=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var u=String(r).replace(rM,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(e[o++]);case"%d":return Number(e[o++]);case"%j":try{return JSON.stringify(e[o++])}catch(l){return"[Circular]"}break;default:return c}});return u}return r}function iM(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||iM(e)&&typeof t=="string"&&!t)}function uM(t,e,n){var o=[],r=0,i=t.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}t.forEach(function(c){e(c,u)})}function fb(t,e,n){var o=0,r=t.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?e(t[c],i):n([])}i([])}function cM(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var _b=function(t){tM(e,t);function e(n,o){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return e}(Ff(Error));function lM(t,e,n,o){if(e.first){var r=new Promise(function(p,d){var b=function(w){return o(w),w.length?d(new _b(w,Df(w))):p()},O=cM(t);fb(O,n,b)});return r.catch(function(p){return p}),r}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var u=Object.keys(t),c=u.length,l=0,a=[],_=new Promise(function(p,d){var b=function(g){if(a.push.apply(a,g),l++,l===c)return o(a),a.length?d(new _b(a,Df(a))):p()};u.length||(o(a),p()),u.forEach(function(O){var g=t[O];i.indexOf(O)!==-1?fb(g,n,b):uM(g,n,b)})});return _.catch(function(p){return p}),_}function sb(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function yb(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];typeof o=="object"&&typeof t[n]=="object"?t[n]=Ce(Ce({},t[n]),o):t[n]=o}}return t}function pb(t,e,n,o,r,i){t.required&&(!n.hasOwnProperty(t.field)||G(e,i||t.type))&&o.push(ve(r.messages.required,t.fullField))}function aM(t,e,n,o,r){(/^\s+$/.test(e)||e==="")&&o.push(ve(r.messages.whitespace,t.fullField))}var xf={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},eo={integer:function(e){return eo.number(e)&&parseInt(e,10)===e},float:function(e){return eo.number(e)&&!eo.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!eo.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(xf.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(xf.url)},hex:function(e){return typeof e=="string"&&!!e.match(xf.hex)}};function fM(t,e,n,o,r){if(t.required&&e===void 0){pb(t,e,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;i.indexOf(u)>-1?eo[u](e)||o.push(ve(r.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&o.push(ve(r.messages.types[u],t.fullField,t.type))}function _M(t,e,n,o,r){var i=typeof t.len=="number",u=typeof t.min=="number",c=typeof t.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=e,_=null,p=typeof e=="number",d=typeof e=="string",b=Array.isArray(e);if(p?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(a=e.length),d&&(a=e.replace(l,"_").length),i?a!==t.len&&o.push(ve(r.messages[_].len,t.fullField,t.len)):u&&!c&&a<t.min?o.push(ve(r.messages[_].min,t.fullField,t.min)):c&&!u&&a>t.max?o.push(ve(r.messages[_].max,t.fullField,t.max)):u&&c&&(a<t.min||a>t.max)&&o.push(ve(r.messages[_].range,t.fullField,t.min,t.max))}var jt="enum";function sM(t,e,n,o,r){t[jt]=Array.isArray(t[jt])?t[jt]:[],t[jt].indexOf(e)===-1&&o.push(ve(r.messages[jt],t.fullField,t[jt].join(", ")))}function yM(t,e,n,o,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||o.push(ve(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||o.push(ve(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var k={required:pb,whitespace:aM,type:fM,range:_M,enum:sM,pattern:yM};function pM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e,"string")&&!t.required)return n();k.required(t,e,o,i,r,"string"),G(e,"string")||(k.type(t,e,o,i,r),k.range(t,e,o,i,r),k.pattern(t,e,o,i,r),t.whitespace===!0&&k.whitespace(t,e,o,i,r))}n(i)}function dM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function vM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function hM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function bM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),G(e)||k.type(t,e,o,i,r)}n(i)}function gM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function mM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function OM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();k.required(t,e,o,i,r,"array"),e!=null&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function wM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}var $M="enum";function PM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k[$M](t,e,o,i,r)}n(i)}function EM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e,"string")&&!t.required)return n();k.required(t,e,o,i,r),G(e,"string")||k.pattern(t,e,o,i,r)}n(i)}function SM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e,"date")&&!t.required)return n();if(k.required(t,e,o,i,r),!G(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),k.type(t,c,o,i,r),c&&k.range(t,c.getTime(),o,i,r)}}n(i)}function TM(t,e,n,o,r){var i=[],u=Array.isArray(e)?"array":typeof e;k.required(t,e,o,i,r,u),n(i)}function Mf(t,e,n,o,r){var i=t.type,u=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(G(e,i)&&!t.required)return n();k.required(t,e,o,u,r,i),G(e,i)||k.type(t,e,o,u,r)}n(u)}function RM(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r)}n(i)}var to={string:pM,method:dM,number:vM,boolean:hM,regexp:bM,integer:gM,float:mM,array:OM,object:wM,enum:PM,pattern:EM,date:SM,url:Mf,hex:Mf,email:Mf,required:TM,any:RM};function Lf(){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 e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var jf=Lf();function lt(t){this.rules=null,this._messages=jf,this.define(t)}lt.prototype={messages:function(e){return e&&(this._messages=yb(Lf(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in e)e.hasOwnProperty(n)&&(o=e[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(e,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=e,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function l(g){var w,h=[],$={};function P(T){if(Array.isArray(T)){var R;h=(R=h).concat.apply(R,T)}else h.push(T)}for(w=0;w<g.length;w++)P(g[w]);h.length?$=Df(h):(h=null,$=null),c(h,$)}if(u.messages){var a=this.messages();a===jf&&(a=Lf()),yb(a,u.messages),u.messages=a}else u.messages=this.messages();var _,p,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(g){_=r.rules[g],p=i[g],_.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===e&&(i=Ce({},i)),p=i[g]=h.transform(p)),typeof h=="function"?h={validator:h}:h=Ce({},h),h.validator=r.getValidationMethod(h),h.field=g,h.fullField=h.fullField||g,h.type=r.getType(h),h.validator&&(d[g]=d[g]||[],d[g].push({rule:h,value:p,source:i,field:g}))})});var O={};return lM(d,u,function(g,w){var h=g.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&g.value),h.field=g.field;function P(z,I){return Ce(Ce({},I),{},{fullField:h.fullField+"."+z})}function T(z){z===void 0&&(z=[]);var I=z;if(Array.isArray(I)||(I=[I]),!u.suppressWarning&&I.length&<.warning("async-validator:",I),I.length&&h.message!==void 0&&(I=[].concat(h.message)),I=I.map(sb(h)),u.first&&I.length)return O[h.field]=1,w(I);if(!$)w(I);else{if(h.required&&!g.value)return h.message!==void 0?I=[].concat(h.message).map(sb(h)):u.error&&(I=[u.error(h,ve(u.messages.required,h.field))]),w(I);var le={};if(h.defaultField)for(var A in g.value)g.value.hasOwnProperty(A)&&(le[A]=h.defaultField);le=Ce(Ce({},le),g.rule.fields);for(var qe in le)if(le.hasOwnProperty(qe)){var Mo=Array.isArray(le[qe])?le[qe]:[le[qe]];le[qe]=Mo.map(P.bind(null,qe))}var Wn=new lt(le);Wn.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),Wn.validate(g.value,g.rule.options||u,function(Ft){var Ue=[];I&&I.length&&Ue.push.apply(Ue,I),Ft&&Ft.length&&Ue.push.apply(Ue,Ft),w(Ue.length?Ue:null)})}}var R;h.asyncValidator?R=h.asyncValidator(h,g.value,T,g.source,u):h.validator&&(R=h.validator(h,g.value,T,g.source,u),R===!0?T():R===!1?T(h.message||h.field+" fails"):R instanceof Array?T(R):R instanceof Error&&T(R.message)),R&&R.then&&R.then(function(){return T()},function(z){return T(z)})},function(g){l(g)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!to.hasOwnProperty(e.type))throw new Error(ve("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?to.required:to[this.getType(e)]||!1}},lt.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");to[e]=n},lt.warning=ab,lt.messages=jf,lt.validators=to;var BM={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 AM(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new lt(t);return n.messages(Object.assign(BM,e)),n}var IM=new fx;function Nf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function kM(t){if(Array.isArray(t))return t}function FM(t){if(Array.isArray(t))return Nf(t)}function db(t,e,n,o,r,i,u){try{var c=t[i](u),l=c.value}catch(a){n(a);return}c.done?e(l):Promise.resolve(l).then(o,r)}function vb(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(l){db(i,o,r,u,c,"next",l)}function c(l){db(i,o,r,u,c,"throw",l)}u(void 0)})}}function DM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xM(t,e,n){return e&&hb(t.prototype,e),n&&hb(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bb(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function gb(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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 LM(){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 mb(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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(t,r,n[r])})}return t}function jM(t){return kM(t)||gb(t)||Ob(t)||MM()}function Cf(t){return FM(t)||gb(t)||Ob(t)||LM()}function NM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ob(t,e){if(!!t){if(typeof t=="string")return Nf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nf(t,e)}}function wb(t,e){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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(_){return l([a,_])}}function l(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=e.call(t,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 e(n){var o=this;DM(this,e),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",Pb),M(this,"removeSetting",$b),this._callControlHooks("preInstance",n);var r=bb(this,e)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,l=r.controlFieldType,a=r.controlEventKeys,_=r.controlCustomEvents,p=r.name,d=r.setting,b=r.slots,O=r.slotPosition;i&&u&&c||j0("The ".concat(p," controlName,controlIcon,controlType is not define"));var g;this.id=(g=n==null?void 0:n.id)!==null&&g!==void 0?g:Ne(10),this.name=i,this.icon=u;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:c,this.props=new W(n==null?void 0:n.props,(bb(this,e)?this.constructor:void 0).controlName);var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base",this.setting=Be(d);var $;this.fieldType=($=n==null?void 0:n.fieldType)!==null&&$!==void 0?$:l,this.eventKeys=Be(a),this.customEvents=Be(_),this.slots=Be(b),this.slotPosition=Be(O),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return xM(e,[{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,c=jM(r),l=c[0],a=c.slice(1);return(u=IM).emit.apply(u,[l,this].concat(Cf(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),QD(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return vb(function(){var r,i,u;return wb(this,function(c){switch(c.label){case 0:return r=mb({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return vb(function(){var u,c,l,a;return wb(this,function(_){switch(_.label){case 0:return[4,i.preValidate()];case 1:u=_.sent(),c=u!==void 0?u:mb({},i.rules),Array.isArray(r)&&r.forEach(function(p){c.hasOwnProperty(p)&&delete c[p]}),l=AM(c,o),_.label=2;case 2:return _.trys.push([2,4,,5]),[4,l.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,c=this.props,l=c.dataBind,a=c.datasourceBind,_=c.optionConfig,p=c.caption,d=c.required,b=c.maxLength,O=c.options,g=c.encrypted,w=c.encryptedMode;if(!(!r&&!l&&!a)){var h={parentId:o,fieldType:r,controlId:i,caption:p,type:u,props:{}};switch(l&&(h.dataBind=l),_){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),g!==void 0&&(h.encrypted=g),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:Be(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,Cf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();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",$b),M(L,"updateSettingItem",Pb);function $b(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(o){var r,i=typeof o!="string",u=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(a){return a.key===(i?o.key:o)});if(u!==-1){var c,l;i?e.setting[u].showItems=(c=e.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(a){return!o.hideItems.includes(a)}):e.setting.splice(u,1),i&&!(!((l=e.setting[u].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(u,1)}})}function Pb(t,e){var n=this,o=typeof t=="string"?[t]:t;o.forEach(function(r){var i=n.setting.find(function(a){return a.key===r});if(i){if(typeof e=="boolean")i.visible=e;else if((typeof e=="undefined"?"undefined":NM(e))==="object"){var u,c=(u=e.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=e.showItems;else{var l;(l=i.showItems).push.apply(l,Cf(e.showItems))}}}})}function CM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VM(t,e,n){return e&&Eb(t.prototype,e),n&&Eb(t,n),t}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zM(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Qe=function(){function e(n){CM(this,e),he(this,"id",void 0),he(this,"type",void 0),he(this,"controlType",void 0),he(this,"props",void 0),he(this,"fieldType",void 0),he(this,"customEvents",[]),he(this,"pageStatus",void 0),he(this,"parent",null);var o=zM(this,e)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||j0("The ".concat(u," controlType is not define"));var l;this.id=(l=n==null?void 0:n.id)!==null&&l!==void 0?l:Ne(10);var a;this.type=(a=n==null?void 0:n.type)!==null&&a!==void 0?a:r,this.props=new W(n==null?void 0:n.props),this.customEvents=c;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:Rf.UNKNOWN}return VM(e,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),e}();he(Qe,"mode","Runtime"),he(Qe,"controlType","control"),he(Qe,"controlFieldType",void 0),he(Qe,"__is_control__",!0),he(Qe,"controlCustomEvents",[]);function Vf(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(f.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=ex(i);i.length!==u.length?r(f.getMessage("optionIdIsRepeat")):r()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(f.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Wo(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function HM(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function qM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ko(t,e,n){return e=Xo(e),UM(t,Sb()?Reflect.construct(e,n||[],Xo(t).constructor):e.apply(t,n))}function Go(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xo(t){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(t)}function Qo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zf(t,e)}function UM(t,e){return e&&(WM(e)==="object"||typeof e=="function")?e:qM(t)}function zf(t,e){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(t,e)}function WM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sb=function(){return!!t})()}var J=function(t){Qo(e,t);function e(n){Go(this,e);var o;o=Ko(this,e,[n]),C(o,"dataBind",{}),C(o,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),C(o,"isHideCaption",{type:"boolean"}),C(o,"labelPosition",{type:"enum",enum:["top","left"]}),C(o,"defaultState",{type:"enum",enum:["default","readonly"]}),C(o,"required",{type:"boolean"}),C(o,"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(HM(n.dataBind))o.dataBind={type:"object",required:!0,fields:Be(r),message:f.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:Be(r),message:f.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(U),j=function(t){Qo(e,t);function e(n){Go(this,e);var o;o=Ko(this,e,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:f.getMessage("runtimeRequired",{caption:n.caption})}),o}return e}($t),F=function(t){Qo(e,t);function e(n){Go(this,e);var o;o=Ko(this,e,[n]),C(o,"caption",void 0),C(o,"isHideCaption",void 0),C(o,"isShowCaptionTip",void 0),C(o,"captionTip",void 0),C(o,"labelPosition",void 0),C(o,"dataBind",void 0),C(o,"defaultValue",void 0),C(o,"placeholder",void 0),C(o,"defaultState",void 0),C(o,"required",void 0),C(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 c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"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 ke(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 e}(W);C(F,"Rules",J),C(F,"RuntimeRules",j);var Nt=function(t){Qo(e,t);function e(n){Go(this,e);var o;return o=Ko(this,e,[n]),C(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),C(o,"options",[{type:"array",message:f.getMessage("isNotArray")}]),C(o,"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Vf.call(o,n),o}return e}(J);function KM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GM(t,e,n){return e=Zo(e),JM(t,Tb()?Reflect.construct(e,n||[],Zo(t).constructor):e.apply(t,n))}function XM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zo(t){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(t)}function QM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hf(t,e)}function JM(t,e){return e&&(ZM(e)==="object"||typeof e=="function")?e:KM(t)}function Hf(t,e){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(t,e)}function ZM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tb=function(){return!!t})()}var D=function(t){QM(e,t);function e(n){XM(this,e);var o;return o=GM(this,e,[n]),Jo(o,"controlType","form"),Jo(o,"props",void 0),o.props=new F(n==null?void 0:n.props),o}return e}(L);Jo(D,"controlEventKeys",["on_change","on_focus","on_blur"]),Jo(D,"controlCustomAttributes",void 0);function YM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eL(t,e,n){return e=Yo(e),oL(t,Rb()?Reflect.construct(e,n||[],Yo(t).constructor):e.apply(t,n))}function tL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yo(t){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(t)}function nL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uf(t,e)}function oL(t,e){return e&&(rL(e)==="object"||typeof e=="function")?e:YM(t)}function Uf(t,e){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(t,e)}function rL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rb=function(){return!!t})()}var x=function(t){nL(e,t);function e(n){tL(this,e);var o;return o=eL(this,e,[n]),qf(o,"controlType","form"),qf(o,"props",void 0),qf(o,"value",void 0),o.props=new F(n==null?void 0:n.props),o}return e}(Qe);function iL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uL(t,e,n){return e=er(e),aL(t,Bb()?Reflect.construct(e,n||[],er(t).constructor):e.apply(t,n))}function cL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function er(t){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(t)}function lL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wf(t,e)}function aL(t,e){return e&&(fL(e)==="object"||typeof e=="function")?e:iL(t)}function Wf(t,e){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(t,e)}function fL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bb=function(){return!!t})()}var Z=function(t){lL(e,t);function e(n){return cL(this,e),uL(this,e,[n])}return e}(W);function Kf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function _L(t){if(Array.isArray(t))return Kf(t)}function sL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ab(t,e,n,o,r,i,u){try{var c=t[i](u),l=c.value}catch(a){n(a);return}c.done?e(l):Promise.resolve(l).then(o,r)}function yL(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(l){Ab(i,o,r,u,c,"next",l)}function c(l){Ab(i,o,r,u,c,"throw",l)}u(void 0)})}}function pL(t,e,n){return e=ft(e),PL(t,Fb()?Reflect.construct(e,n||[],ft(t).constructor):e.apply(t,n))}function dL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ib(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vL(t,e,n){return e&&Ib(t.prototype,e),n&&Ib(t,n),t}function at(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ct=Reflect.get:Ct=function(r,i,u){var c=EL(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},Ct(t,e,n||t)}function ft(t){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ft(t)}function hL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gf(t,e)}function bL(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function gL(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function mL(){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 OL(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){at(t,r,n[r])})}return t}function wL(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function $L(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wL(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function PL(t,e){return e&&(SL(e)==="object"||typeof e=="function")?e:sL(t)}function Gf(t,e){return Gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gf(t,e)}function EL(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ft(t),t!==null););return t}function kb(t){return _L(t)||gL(t)||TL(t)||mL()}function SL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TL(t,e){if(!!t){if(typeof t=="string")return Kf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kf(t,e)}}function Fb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fb=function(){return!!t})()}function RL(t,e){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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(_){return l([a,_])}}function l(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=e.call(t,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 BL=1e4,Y=function(e){hL(n,e);function n(o){dL(this,n);var r;r=pL(this,n,[o]),at(r,"controlType","layout"),at(r,"children",void 0),at(r,"excludes",void 0),at(r,"childrenMaxLength",void 0),at(r,"props",void 0);var i=bL(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),We(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Be(u),r.childrenMaxLength=c,r}return vL(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,c=this,l=function(){return Ct(ft(n.prototype),"validate",u)};return yL(function(){return RL(this,function(a){switch(a.label){case 0:return[4,l().call(c,r,i)];case 1:return a.sent(),[4,Promise.all(c.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=Ct(ft(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,l){var a=l.toDataBindModel(r);if(Array.isArray(a)){var _=a.filter(function(p){return!!p});return kb(c).concat(kb(_))}return a&&c.push(a),c},u)}},{key:"toSchema",value:function(){var r=Ct(ft(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return $L(OL({},r),{children:i})}}]),n}(L);at(Y,"excludes",!1),at(Y,"childrenMaxLength",BL);function AL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IL(t,e,n){return e=tr(e),DL(t,Db()?Reflect.construct(e,n||[],tr(t).constructor):e.apply(t,n))}function kL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tr(t){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(t)}function FL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qf(t,e)}function DL(t,e){return e&&(xL(e)==="object"||typeof e=="function")?e:AL(t)}function Qf(t,e){return Qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qf(t,e)}function xL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Db(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Db=function(){return!!t})()}var Pt=function(t){FL(e,t);function e(n){kL(this,e);var o;return o=IL(this,e,[n]),Xf(o,"controlType","layout"),Xf(o,"children",void 0),Xf(o,"props",void 0),o.props=new Z(n==null?void 0:n.props),We(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Qe);function ML(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LL(t,e,n){return e=nr(e),CL(t,xb()?Reflect.construct(e,n||[],nr(t).constructor):e.apply(t,n))}function jL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nr(t){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(t)}function NL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jf(t,e)}function CL(t,e){return e&&(VL(e)==="object"||typeof e=="function")?e:ML(t)}function Jf(t,e){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(t,e)}function VL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xb=function(){return!!t})()}var Zf=function(t){NL(e,t);function e(n,o,r){jL(this,e);var i;i=LL(this,e,[o]),Vt(i,"headers",void 0),Vt(i,"footers",void 0),Vt(i,"pageIndex",void 0),Vt(i,"pageSize",void 0),Vt(i,"pageSizeOptions",void 0),Vt(i,"totalCount",void 0),We(i,"headers",o==null?void 0:o.headers,n,r),We(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 c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var l;i.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[20];var a;return i.totalCount=(a=o==null?void 0:o.totalCount)!==null&&a!==void 0?a:0,i}return e}(W);function Yf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function zL(t){if(Array.isArray(t))return Yf(t)}function HL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mb(t,e,n,o,r,i,u){try{var c=t[i](u),l=c.value}catch(a){n(a);return}c.done?e(l):Promise.resolve(l).then(o,r)}function qL(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(l){Mb(i,o,r,u,c,"next",l)}function c(l){Mb(i,o,r,u,c,"throw",l)}u(void 0)})}}function UL(t,e,n){return e=_t(e),ZL(t,Vb()?Reflect.construct(e,n||[],_t(t).constructor):e.apply(t,n))}function WL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KL(t,e,n){return e&&Lb(t.prototype,e),n&&Lb(t,n),t}function or(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?zt=Reflect.get:zt=function(r,i,u){var c=YL(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},zt(t,e,n||t)}function _t(t){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_t(t)}function GL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e_(t,e)}function XL(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function QL(){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 jb(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){or(t,r,n[r])})}return t}function JL(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Nb(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):JL(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function ZL(t,e){return e&&(ej(e)==="object"||typeof e=="function")?e:HL(t)}function e_(t,e){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(t,e)}function YL(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=_t(t),t!==null););return t}function Cb(t){return zL(t)||XL(t)||tj(t)||QL()}function ej(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tj(t,e){if(!!t){if(typeof t=="string")return Yf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.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(t,e)}}function Vb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vb=function(){return!!t})()}function nj(t,e){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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(_){return l([a,_])}}function l(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=e.call(t,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 t_=function(t){GL(e,t);function e(n){WL(this,e);var o;return o=UL(this,e,[n]),or(o,"controlType","list"),or(o,"props",void 0),o.props=new Zf(o,n==null?void 0:n.props,"Designer"),o}return KL(e,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return zt(_t(e.prototype),"validate",i)};return qL(function(){return nj(this,function(l){switch(l.label){case 0:return[4,c().call(u,o)];case 1:return l.sent(),[4,Promise.all(u.props.headers.map(function(a){return a.validate(o,r)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=zt(_t(e.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var l=c.toDataBindModel(i);if(Array.isArray(l)){var a=l.filter(function(_){return!!_});return Cb(u).concat(Cb(a))}return l&&u.push(l),u},r)}},{key:"toSchema",value:function(){var o=zt(_t(e.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return Nb(jb({},o),{props:Nb(jb({},this.props),{headers:r})})}}]),e}(L);or(t_,"controlFieldType",m.LIST);function oj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n_(t,e,n){return e=rr(e),rj(t,zb()?Reflect.construct(e,n||[],rr(t).constructor):e.apply(t,n))}function o_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rr(t){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(t)}function r_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i_(t,e)}function rj(t,e){return e&&(ij(e)==="object"||typeof e=="function")?e:oj(t)}function i_(t,e){return i_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i_(t,e)}function ij(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zb=function(){return!!t})()}var Ve=function(t){r_(e,t);function e(n){o_(this,e);var o;return o=n_(this,e,[n]),ee(o,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),ee(o,"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return e}(U),K=function(t){r_(e,t);function e(n){o_(this,e);var o;o=n_(this,e,[n]),ee(o,"widthType",void 0),ee(o,"width",void 0),ee(o,"caption",void 0),ee(o,"dataBind",void 0),ee(o,"autoWidth",void 0),ee(o,"fixed",void 0),ee(o,"sort",void 0),ee(o,"align",void 0),ee(o,"colSpan",void 0),ee(o,"autoHeight",void 0),ee(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 bf(n==null?void 0:n.autoWidth),o.dataBind=new ke(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var l;return o.autoHeight=(l=n==null?void 0:n.autoHeight)!==null&&l!==void 0?l:!1,o}return e}(W);ee(K,"Rules",Ve);var Hb=function(t){r_(e,t);function e(n){o_(this,e);var o;return o=n_(this,e,[n]),ee(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),ee(o,"options",[{type:"array",message:f.getMessage("isNotArray")}]),ee(o,"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Vf.call(o,n),o}return e}(Ve);function uj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cj(t,e,n){return e=Ht(e),pj(t,Ub()?Reflect.construct(e,n||[],Ht(t).constructor):e.apply(t,n))}function lj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function aj(t,e,n){return e&&qb(t.prototype,e),n&&qb(t,n),t}function ir(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ur(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ur=Reflect.get:ur=function(r,i,u){var c=dj(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},ur(t,e,n||t)}function Ht(t){return Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ht(t)}function fj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u_(t,e)}function _j(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){ir(t,r,n[r])})}return t}function sj(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function yj(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sj(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function pj(t,e){return e&&(vj(e)==="object"||typeof e=="function")?e:uj(t)}function u_(t,e){return u_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u_(t,e)}function dj(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ht(t),t!==null););return t}function vj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ub(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ub=function(){return!!t})()}var te=function(t){fj(e,t);function e(n){lj(this,e);var o;return o=cj(this,e,[n]),ir(o,"controlType","column"),ir(o,"props",void 0),ir(o,"children",void 0),o.props=new K(n==null?void 0:n.props),We(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return aj(e,[{key:"toSchema",value:function(){var o=ur(Ht(e.prototype),"toSchema",this).call(this);return yj(_j({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),e}(L);function hj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bj(t,e,n){return e=cr(e),Oj(t,Wb()?Reflect.construct(e,n||[],cr(t).constructor):e.apply(t,n))}function gj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cr(t){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(t)}function mj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l_(t,e)}function Oj(t,e){return e&&(wj(e)==="object"||typeof e=="function")?e:hj(t)}function l_(t,e){return l_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l_(t,e)}function wj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wb=function(){return!!t})()}var ne=function(t){mj(e,t);function e(n){gj(this,e);var o;return o=bj(this,e,[n]),c_(o,"controlType","column"),c_(o,"props",void 0),c_(o,"children",void 0),o.props=new K(n==null?void 0:n.props),We(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Qe);function $j(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pj(t,e,n){return e=lr(e),Rj(t,Kb()?Reflect.construct(e,n||[],lr(t).constructor):e.apply(t,n))}function Ej(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sj(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lr(t){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(t)}function Tj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a_(t,e)}function Rj(t,e){return e&&(Bj(e)==="object"||typeof e=="function")?e:$j(t)}function a_(t,e){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(t,e)}function Bj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kb=function(){return!!t})()}var f_=function(t){Tj(e,t);function e(n){Ej(this,e);var o;return o=Pj(this,e,[n]),Sj(o,"dataBind",void 0),o.dataBind=new ke(n==null?void 0:n.dataBind),o}return e}(Z);function Aj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ij(t,e,n){return e=ar(e),Dj(t,Xb()?Reflect.construct(e,n||[],ar(t).constructor):e.apply(t,n))}function kj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ar(t){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(t)}function Fj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&__(t,e)}function Dj(t,e){return e&&(xj(e)==="object"||typeof e=="function")?e:Aj(t)}function __(t,e){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(t,e)}function xj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xb=function(){return!!t})()}var Mj=function(t){Fj(e,t);function e(n){kj(this,e);var o;return o=Ij(this,e,[n]),Gb(o,"controlType","search"),Gb(o,"props",void 0),o.props=new f_(n==null?void 0:n.props),o}return e}(Y);function Lj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jj(t,e,n){return e=fr(e),Vj(t,Jb()?Reflect.construct(e,n||[],fr(t).constructor):e.apply(t,n))}function Nj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fr(t){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(t)}function Cj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s_(t,e)}function Vj(t,e){return e&&(zj(e)==="object"||typeof e=="function")?e:Lj(t)}function s_(t,e){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(t,e)}function zj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jb=function(){return!!t})()}var Hj=function(t){Cj(e,t);function e(n){Nj(this,e);var o;return o=jj(this,e,[n]),Qb(o,"controlType","search"),Qb(o,"props",void 0),o.props=new f_(n==null?void 0:n.props),o}return e}(Pt);function st(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}function qj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uj(t,e,n){return e=_r(e),Gj(t,Zb()?Reflect.construct(e,n||[],_r(t).constructor):e.apply(t,n))}function Wj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _r(t){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(t)}function Kj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y_(t,e)}function Gj(t,e){return e&&(Xj(e)==="object"||typeof e=="function")?e:qj(t)}function y_(t,e){return y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y_(t,e)}function Xj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zb=function(){return!!t})()}var Qj=function(t){Kj(e,t);function e(n){Wj(this,e);var o;o=Uj(this,e,[n]),qt(o,"content",void 0),qt(o,"fontSize",void 0),qt(o,"color",void 0),qt(o,"icon",void 0),qt(o,"align",void 0),qt(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 c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:f.getMessage("text");var a;return o.align=(a=n==null?void 0:n.align)!==null&&a!==void 0?a:"",o}return e}(W);function Jj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zj(t,e,n){return e=sr(e),n7(t,tg()?Reflect.construct(e,n||[],sr(t).constructor):e.apply(t,n))}function Yj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function e7(t,e,n){return e&&Yb(t.prototype,e),n&&Yb(t,n),t}function eg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sr(t){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(t)}function t7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p_(t,e)}function n7(t,e){return e&&(o7(e)==="object"||typeof e=="function")?e:Jj(t)}function p_(t,e){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(t,e)}function o7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tg=function(){return!!t})()}var r7=function(t){t7(e,t);function e(n){Yj(this,e);var o;return o=Zj(this,e,[n]),eg(o,"props",void 0),o.props=new Qj(n==null?void 0:n.props),o}return e7(e,null,[{key:"controlName",get:function(){return f.getMessage("text")}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),e}(L);eg(r7,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function i7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u7(t,e,n){return e=yr(e),a7(t,ng()?Reflect.construct(e,n||[],yr(t).constructor):e.apply(t,n))}function c7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yr(t){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(t)}function l7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v_(t,e)}function a7(t,e){return e&&(f7(e)==="object"||typeof e=="function")?e:i7(t)}function v_(t,e){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(t,e)}function f7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ng(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ng=function(){return!!t})()}var _7=function(t){l7(e,t);function e(n){c7(this,e);var o;o=u7(this,e,[n]),d_(o,"content",void 0),d_(o,"url",void 0),d_(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f.getMessage("linkContent");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 e}(W);function s7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y7(t,e,n){return e=pr(e),h7(t,rg()?Reflect.construct(e,n||[],pr(t).constructor):e.apply(t,n))}function p7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function og(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d7(t,e,n){return e&&og(t.prototype,e),n&&og(t,n),t}function h_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pr(t){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(t)}function v7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b_(t,e)}function h7(t,e){return e&&(b7(e)==="object"||typeof e=="function")?e:s7(t)}function b_(t,e){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(t,e)}function b7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rg=function(){return!!t})()}var ig=function(t){v7(e,t);function e(n){p7(this,e);var o;return o=y7(this,e,[n]),h_(o,"props",void 0),o.props=new _7(n==null?void 0:n.props),o}return d7(e,null,[{key:"controlName",get:function(){return f.getMessage("link")}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),e}(L);h_(ig,"controlEventKeys",["on_click"]),h_(ig,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function g7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m7(t,e,n){return e=dr(e),$7(t,ug()?Reflect.construct(e,n||[],dr(t).constructor):e.apply(t,n))}function O7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dr(t){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dr(t)}function w7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g_(t,e)}function $7(t,e){return e&&(P7(e)==="object"||typeof e=="function")?e:g7(t)}function g_(t,e){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(t,e)}function P7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ug(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ug=function(){return!!t})()}var be=function(t){w7(e,t);function e(n){O7(this,e);var o;o=m7(this,e,[n]),Je(o,"content",void 0),Je(o,"buttonType",void 0),Je(o,"showType",void 0),Je(o,"color",void 0),Je(o,"icon",void 0),Je(o,"defaultState",void 0),Je(o,"command",void 0),Je(o,"isLoading",void 0),Je(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f.getMessage("button");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 c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"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 Ux((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return e}(W);function E7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S7(t,e,n){return e=hr(e),A7(t,lg()?Reflect.construct(e,n||[],hr(t).constructor):e.apply(t,n))}function T7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function R7(t,e,n){return e&&cg(t.prototype,e),n&&cg(t,n),t}function vr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hr(t){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(t)}function B7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m_(t,e)}function A7(t,e){return e&&(I7(e)==="object"||typeof e=="function")?e:E7(t)}function m_(t,e){return m_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m_(t,e)}function I7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lg=function(){return!!t})()}var _e=function(t){B7(e,t);function e(n){T7(this,e);var o;return o=S7(this,e,[n]),vr(o,"props",void 0),o.props=new be(n==null?void 0:n.props),o}return R7(e,null,[{key:"controlName",get:function(){return f.getMessage("button")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),e}(L);vr(_e,"slots",["grid-table-toolbar-slot","action-bar-slot",k0.DEFAULT]),vr(_e,"controlEventKeys",["on_click"]),vr(_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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function ge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ze;(function(t){t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title"})(Ze||(Ze={}));var ag;(function(t){t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(ag||(ag={}));var fg;(function(t){t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified"})(fg||(fg={}));var O_=function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ne(8),value:["",""]};ge(this,t),E(this,"dateConfigType",void 0),E(this,"dateLimitType",void 0),E(this,"id",void 0),E(this,"value",void 0),this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value},w_;(function(t){t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile"})(w_||(w_={}));var $_=function t(e){ge(this,t),E(this,"id",void 0),E(this,"text",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ne();var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},P_;(function(t){t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line"})(P_||(P_={}));var _g=function t(e){ge(this,t),E(this,"type",void 0),E(this,"person",void 0),E(this,"signatureType",void 0),E(this,"telephone",void 0),E(this,"company",void 0),E(this,"remark",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"private";var o;this.person=new Jn((o=e==null?void 0:e.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=e==null?void 0:e.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=e==null?void 0:e.telephone)!==null&&u!==void 0?u:new Jn((i=e==null?void 0:e.telephone)!==null&&i!==void 0?i:{type:"form"});var c,l;this.company=(l=e==null?void 0:e.company)!==null&&l!==void 0?l:new Jn((c=e==null?void 0:e.company)!==null&&c!==void 0?c:{type:"form"});var a;this.remark=(a=e==null?void 0:e.remark)!==null&&a!==void 0?a:""},k7=function t(e){ge(this,t);var n;E(this,"fileControl",void 0),E(this,"undersignedList",void 0),E(this,"statusControl",void 0),E(this,"completeControl",void 0),E(this,"completeTimeControl",void 0);var o;this.fileControl=(o=e==null?void 0:e.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=e==null||(n=e.undersignedList)===null||n===void 0?void 0:n.map(function(l){return new _g(l)}))!==null&&r!==void 0?r:[new _g];var i;this.statusControl=(i=e==null?void 0:e.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=e==null?void 0:e.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!==null&&c!==void 0?c:""},br=function t(e){ge(this,t),E(this,"id",void 0),E(this,"appId",void 0),E(this,"dataCode",void 0),E(this,"svcCode",void 0),E(this,"name",void 0),E(this,"fieldList",void 0),E(this,"active",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ne(8);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=e==null?void 0:e.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=e==null?void 0:e.fieldList)!==null&&c!==void 0?c:[];var l;this.active=(l=e==null?void 0:e.active)!==null&&l!==void 0?l:!1},sg=function t(e){ge(this,t),E(this,"active",void 0),E(this,"text",void 0);var n;this.active=(n=e==null?void 0:e.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},F7=function t(e){ge(this,t),E(this,"types",void 0),E(this,"history",void 0),E(this,"collaborativeRecord",void 0),E(this,"logicToDelete",void 0),E(this,"watermark",void 0),E(this,"autoRename",void 0);var n;this.types=(n=e==null?void 0:e.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=e==null?void 0:e.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=e==null?void 0:e.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new sg(e==null?void 0:e.watermark),this.autoRename=new sg(e==null?void 0:e.autoRename)},D7=function t(e){ge(this,t),E(this,"appId",void 0),E(this,"dataCode",void 0),E(this,"formKey",void 0),E(this,"orders",void 0),E(this,"filters",void 0),E(this,"isRelation",void 0);var n;this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.orders=(i=e==null?void 0:e.orders)!==null&&i!==void 0?i:[];var u;this.filters=(u=e==null?void 0:e.filters)!==null&&u!==void 0?u:[];var c;this.isRelation=(c=e==null?void 0:e.isRelation)!==null&&c!==void 0?c:!1},x7=function t(e){ge(this,t),E(this,"type",void 0),E(this,"line",void 0),E(this,"height",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"auto";var o;this.line=(o=e==null?void 0:e.line)!==null&&o!==void 0?o:20,this.height=e==null?void 0:e.height},M7=function t(e){ge(this,t),E(this,"dataCode",void 0),this.dataCode=e.dataCode},L7=function t(e){ge(this,t);var n;E(this,"templateType",void 0),E(this,"templateList",void 0);var o;this.templateType=(o=e==null?void 0:e.templateType)!==null&&o!==void 0?o:"system";var r;this.templateList=(r=e==null||(n=e.templateList)===null||n===void 0?void 0:n.map(function(i){return new M7(i)}))!==null&&r!==void 0?r:[]},j7=function t(e){ge(this,t);var n;E(this,"templateType",void 0),E(this,"templateList",void 0);var o;this.templateType=(o=e==null?void 0:e.templateType)!==null&&o!==void 0?o:"system";var r;this.templateList=(r=e==null||(n=e.templateList)===null||n===void 0?void 0:n.map(function(i){return new br(i)}))!==null&&r!==void 0?r:[new br({id:"default",name:f.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},N7=480;function gr(t){return new RegExp(t.replace(/^\/|\/$/g,""))}var C7=function t(e){ge(this,t),E(this,"fileId",void 0),E(this,"fileName",void 0),E(this,"ruleName",void 0),E(this,"isDefault",void 0),E(this,"rules",void 0);var n;this.fileId=(n=e==null?void 0:e.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=e==null?void 0:e.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=e==null?void 0:e.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=e.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=e.rules)!==null&&u!==void 0?u:[]},yg;(function(t){t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK"})(yg||(yg={}));var E_;(function(t){t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(E_||(E_={}));var mr;(function(t){t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS"})(mr||(mr={}));var yt;(function(t){t.ALL="all",t.ASSIGN="assign"})(yt||(yt={}));var S_;(function(t){t.ALL="all",t.ADMIN="admin"})(S_||(S_={}));function V7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z7(t,e,n){return e=Or(e),U7(t,dg()?Reflect.construct(e,n||[],Or(t).constructor):e.apply(t,n))}function H7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Or(t){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Or(t)}function q7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T_(t,e)}function U7(t,e){return e&&(W7(e)==="object"||typeof e=="function")?e:V7(t)}function T_(t,e){return T_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},T_(t,e)}function W7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dg=function(){return!!t})()}var K7=function(t){q7(e,t);function e(n){H7(this,e);var o;o=z7(this,e,[n]),pg(o,"color",void 0),pg(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:P_.SOLID,o}return e}(W);function G7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X7(t,e,n){return e=wr(e),Y7(t,bg()?Reflect.construct(e,n||[],wr(t).constructor):e.apply(t,n))}function Q7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function J7(t,e,n){return e&&vg(t.prototype,e),n&&vg(t,n),t}function hg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wr(t){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(t)}function Z7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R_(t,e)}function Y7(t,e){return e&&(e8(e)==="object"||typeof e=="function")?e:G7(t)}function R_(t,e){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(t,e)}function e8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bg=function(){return!!t})()}var t8=function(t){Z7(e,t);function e(n){Q7(this,e);var o;return o=X7(this,e,[n]),hg(o,"props",void 0),o.props=new K7(n==null?void 0:n.props),o}return J7(e,null,[{key:"controlName",get:function(){return f.getMessage("divider")}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),e}(L);hg(t8,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function n8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gg(t,e,n){return e=$r(e),o8(t,wg()?Reflect.construct(e,n||[],$r(t).constructor):e.apply(t,n))}function mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $r(t){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(t)}function Og(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B_(t,e)}function o8(t,e){return e&&(r8(e)==="object"||typeof e=="function")?e:n8(t)}function B_(t,e){return B_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B_(t,e)}function r8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wg=function(){return!!t})()}var i8=function(t){Og(e,t);function e(n){mg(this,e);var o;return o=gg(this,e,[n]),pt(o,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),pt(o,"dataBind",{type:"any"}),pt(o,"config",{type:"array"}),n.config.includes(Ze.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")}),o}return e}(U),$g=function(t){Og(e,t);function e(n){mg(this,e);var o;o=gg(this,e,[n]),pt(o,"dataBind",void 0),pt(o,"caption",void 0),pt(o,"config",void 0),pt(o,"position",void 0),o.dataBind=new ke(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[Ze.ShowSubmitUser,Ze.ShowSubmitDept,Ze.ShowSubmitTime,Ze.ShowCurrentApprovar,Ze.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:no==null?void 0:no.controlName)!==null&&u!==void 0?u:"";var c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return e}(W);pt($g,"Rules",i8);function u8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c8(t,e,n){return e=Pr(e),_8(t,Eg()?Reflect.construct(e,n||[],Pr(t).constructor):e.apply(t,n))}function l8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function a8(t,e,n){return e&&Pg(t.prototype,e),n&&Pg(t,n),t}function A_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pr(t){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pr(t)}function f8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I_(t,e)}function _8(t,e){return e&&(s8(e)==="object"||typeof e=="function")?e:u8(t)}function I_(t,e){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(t,e)}function s8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eg=function(){return!!t})()}var no=function(t){f8(e,t);function e(n){l8(this,e);var o;return o=c8(this,e,[n]),A_(o,"props",void 0),o.props=new $g(n==null?void 0:n.props),o}return a8(e,null,[{key:"controlName",get:function(){return f.getMessage("title")}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),e}(L);A_(no,"controlFieldType",m.AUTO_NUMBER),A_(no,"setting",[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function y8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sg(t,e,n){return e=Sr(e),p8(t,Bg()?Reflect.construct(e,n||[],Sr(t).constructor):e.apply(t,n))}function Tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sr(t){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(t)}function Rg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k_(t,e)}function p8(t,e){return e&&(d8(e)==="object"||typeof e=="function")?e:y8(t)}function k_(t,e){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(t,e)}function d8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bg=function(){return!!t})()}var v8=function(t){Rg(e,t);function e(n){Tg(this,e);var o;return o=Sg(this,e,[n]),Er(o,"formKey",{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}),o}return e}(U),Ag=function(t){Rg(e,t);function e(n){Tg(this,e);var o;o=Sg(this,e,[n]),Er(o,"formKey",void 0),Er(o,"openType",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.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return e}(be);Er(Ag,"Rules",v8);function h8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b8(t,e,n){return e=Rr(e),w8(t,kg()?Reflect.construct(e,n||[],Rr(t).constructor):e.apply(t,n))}function g8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ig(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function m8(t,e,n){return e&&Ig(t.prototype,e),n&&Ig(t,n),t}function Tr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rr(t){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rr(t)}function O8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F_(t,e)}function w8(t,e){return e&&($8(e)==="object"||typeof e=="function")?e:h8(t)}function F_(t,e){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(t,e)}function $8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kg=function(){return!!t})()}var oo=function(t){O8(e,t);function e(n){g8(this,e);var o;return o=b8(this,e,[n]),Tr(o,"props",void 0),o.props=new Ag(n==null?void 0:n.props),o}return m8(e,null,[{key:"controlName",get:function(){return f.getMessage("createFormListButton")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),e}(_e);Tr(oo,"slots",["grid-table-toolbar-slot"]),Tr(oo,"controlEventKeys",["on_click","on_click_finish"]),Tr(oo,"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 P8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fg(t,e,n){return e=Br(e),E8(t,Mg()?Reflect.construct(e,n||[],Br(t).constructor):e.apply(t,n))}function Dg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Br(t){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(t)}function xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D_(t,e)}function E8(t,e){return e&&(S8(e)==="object"||typeof e=="function")?e:P8(t)}function D_(t,e){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(t,e)}function S8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mg=function(){return!!t})()}var T8=function(t){xg(e,t);function e(n){Dg(this,e);var o;return o=Fg(this,e,[n]),Ut(o,"processKey",[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]),o}return e}(U),Lg=function(t){xg(e,t);function e(n){Dg(this,e);var o;o=Fg(this,e,[n]),Ut(o,"processKey",void 0),Ut(o,"initiatorMode",void 0),Ut(o,"fieldCode",void 0),Ut(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:ro.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ro.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;return o.employeeId=(a=n==null?void 0:n.employeeId)!==null&&a!==void 0?a:"",o}return e}(be);Ut(Lg,"Rules",T8);function R8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B8(t,e,n){return e=Ir(e),F8(t,Ng()?Reflect.construct(e,n||[],Ir(t).constructor):e.apply(t,n))}function A8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function I8(t,e,n){return e&&jg(t.prototype,e),n&&jg(t,n),t}function Ar(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(t)}function k8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&x_(t,e)}function F8(t,e){return e&&(D8(e)==="object"||typeof e=="function")?e:R8(t)}function x_(t,e){return x_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},x_(t,e)}function D8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ng(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ng=function(){return!!t})()}var ro=function(t){k8(e,t);function e(n){A8(this,e);var o;return o=B8(this,e,[n]),Ar(o,"props",void 0),o.props=new Lg(n==null?void 0:n.props),o}return I8(e,null,[{key:"controlName",get:function(){return f.getMessage("batchSubmissionListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),e}(_e);Ar(ro,"slots",["grid-table-toolbar-slot"]),Ar(ro,"controlEventKeys",["on_click","on_click_finish"]),Ar(ro,"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 x8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M8(t,e,n){return e=kr(e),N8(t,Cg()?Reflect.construct(e,n||[],kr(t).constructor):e.apply(t,n))}function L8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(t){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(t)}function j8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M_(t,e)}function N8(t,e){return e&&(C8(e)==="object"||typeof e=="function")?e:x8(t)}function M_(t,e){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(t,e)}function C8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cg=function(){return!!t})()}var V8=function(t){j8(e,t);function e(n){L8(this,e);var o;o=M8(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:io.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:io.controlIcon,o}return e}(be);function z8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H8(t,e,n){return e=Dr(e),K8(t,zg()?Reflect.construct(e,n||[],Dr(t).constructor):e.apply(t,n))}function q8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function U8(t,e,n){return e&&Vg(t.prototype,e),n&&Vg(t,n),t}function Fr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dr(t){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(t)}function W8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L_(t,e)}function K8(t,e){return e&&(G8(e)==="object"||typeof e=="function")?e:z8(t)}function L_(t,e){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(t,e)}function G8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zg=function(){return!!t})()}var io=function(t){W8(e,t);function e(n){q8(this,e);var o;return o=H8(this,e,[n]),Fr(o,"props",void 0),o.props=new V8(n==null?void 0:n.props),o}return U8(e,null,[{key:"controlName",get:function(){return f.getMessage("submissionRecordListButton")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),e}(_e);Fr(io,"slots",["grid-table-toolbar-slot"]),Fr(io,"controlEventKeys",["on_click"]),Fr(io,"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 X8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q8(t,e,n){return e=xr(e),Y8(t,qg()?Reflect.construct(e,n||[],xr(t).constructor):e.apply(t,n))}function J8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xr(t){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(t)}function Z8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j_(t,e)}function Y8(t,e){return e&&(e9(e)==="object"||typeof e=="function")?e:X8(t)}function j_(t,e){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(t,e)}function e9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qg=function(){return!!t})()}var t9=function(t){Z8(e,t);function e(n){J8(this,e);var o,r;o=Q8(this,e,[n]),Hg(o,"templateList",void 0),Hg(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:uo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:uo.controlName;var c;o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system";var l;return o.templateList=(l=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(a){return new br(a)}))!==null&&l!==void 0?l:[new br({id:"default",name:f.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return e}(be);function n9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o9(t,e,n){return e=Lr(e),c9(t,Wg()?Reflect.construct(e,n||[],Lr(t).constructor):e.apply(t,n))}function r9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ug(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function i9(t,e,n){return e&&Ug(t.prototype,e),n&&Ug(t,n),t}function Mr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lr(t){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(t)}function u9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&N_(t,e)}function c9(t,e){return e&&(l9(e)==="object"||typeof e=="function")?e:n9(t)}function N_(t,e){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(t,e)}function l9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wg=function(){return!!t})()}var uo=function(t){u9(e,t);function e(n){r9(this,e);var o;return o=o9(this,e,[n]),Mr(o,"props",void 0),o.props=new t9(n==null?void 0:n.props),o}return i9(e,null,[{key:"controlName",get:function(){return f.getMessage("exportListButton")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),e}(_e);Mr(uo,"slots",["grid-table-toolbar-slot"]),Mr(uo,"controlEventKeys",["on_click","on_click_finish"]),Mr(uo,"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 a9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f9(t,e,n){return e=jr(e),y9(t,Kg()?Reflect.construct(e,n||[],jr(t).constructor):e.apply(t,n))}function _9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jr(t){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(t)}function s9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C_(t,e)}function y9(t,e){return e&&(p9(e)==="object"||typeof e=="function")?e:a9(t)}function C_(t,e){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(t,e)}function p9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kg=function(){return!!t})()}var d9=function(t){s9(e,t);function e(n){_9(this,e);var o;o=f9(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:co.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:co.controlIcon,o}return e}(be);function v9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h9(t,e,n){return e=Cr(e),O9(t,Xg()?Reflect.construct(e,n||[],Cr(t).constructor):e.apply(t,n))}function b9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g9(t,e,n){return e&&Gg(t.prototype,e),n&&Gg(t,n),t}function Nr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cr(t){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(t)}function m9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V_(t,e)}function O9(t,e){return e&&(w9(e)==="object"||typeof e=="function")?e:v9(t)}function V_(t,e){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(t,e)}function w9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xg=function(){return!!t})()}var co=function(t){m9(e,t);function e(n){b9(this,e);var o;return o=h9(this,e,[n]),Nr(o,"props",void 0),o.props=new d9(n==null?void 0:n.props),o}return g9(e,null,[{key:"controlName",get:function(){return f.getMessage("exportRecordListButton")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),e}(_e);Nr(co,"slots",["grid-table-toolbar-slot"]),Nr(co,"controlEventKeys",["on_click"]),Nr(co,"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 $9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P9(t,e,n){return e=Vr(e),S9(t,Jg()?Reflect.construct(e,n||[],Vr(t).constructor):e.apply(t,n))}function Qg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vr(t){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(t)}function E9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H_(t,e)}function S9(t,e){return e&&(T9(e)==="object"||typeof e=="function")?e:$9(t)}function H_(t,e){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(t,e)}function T9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jg=function(){return!!t})()}var R9=function t(e){Qg(this,t),z_(this,"dataCode",void 0),this.dataCode=e.dataCode},B9=function(t){E9(e,t);function e(n){Qg(this,e);var o,r;o=P9(this,e,[n]),z_(o,"canImportList",void 0),z_(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 c;o.canImportList=(c=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(a){return new R9(a)}))!==null&&c!==void 0?c:[];var l;return o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system",o}return e}(be);function A9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I9(t,e,n){return e=Hr(e),x9(t,Yg()?Reflect.construct(e,n||[],Hr(t).constructor):e.apply(t,n))}function k9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function F9(t,e,n){return e&&Zg(t.prototype,e),n&&Zg(t,n),t}function zr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hr(t){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(t)}function D9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q_(t,e)}function x9(t,e){return e&&(M9(e)==="object"||typeof e=="function")?e:A9(t)}function q_(t,e){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(t,e)}function M9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yg=function(){return!!t})()}var lo=function(t){D9(e,t);function e(n){k9(this,e);var o;return o=I9(this,e,[n]),zr(o,"props",void 0),o.props=new B9(n==null?void 0:n.props),o}return F9(e,null,[{key:"controlName",get:function(){return f.getMessage("importRecordListButton")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),e}(_e);zr(lo,"slots",["grid-table-toolbar-slot"]),zr(lo,"controlEventKeys",["on_click","on_click_finish"]),zr(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 qr(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}function L9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function em(t,e,n){return e=Ur(e),j9(t,rm()?Reflect.construct(e,n||[],Ur(t).constructor):e.apply(t,n))}function tm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ur(t){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(t)}function nm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U_(t,e)}function om(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){Ye(t,r,n[r])})}return t}function j9(t,e){return e&&(N9(e)==="object"||typeof e=="function")?e:L9(t)}function U_(t,e){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(t,e)}function N9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rm=function(){return!!t})()}var C9=function(t){nm(e,t);function e(n){tm(this,e);var o;return o=em(this,e,[n]),Ye(o,"fillPayload",{type:"object",fields:om({},qr())}),Ye(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}}),Ye(o,"fillBack",{type:"object",fields:om({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},qr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}),o}return e}(U),im=function(t){nm(e,t);function e(n){tm(this,e);var o;o=em(this,e,[n]),Ye(o,"fillPayload",void 0),Ye(o,"formBind",void 0),Ye(o,"fillBack",void 0),Ye(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Kr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Kr.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new cb(n==null?void 0:n.fillPayload),o.formBind=new Tx(n==null?void 0:n.formBind),o.fillBack=new lb(n==null?void 0:n.fillBack),o}return e}(be);Ye(im,"Rules",C9);function V9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z9(t,e,n){return e=Wr(e),W9(t,cm()?Reflect.construct(e,n||[],Wr(t).constructor):e.apply(t,n))}function H9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function um(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function q9(t,e,n){return e&&um(t.prototype,e),n&&um(t,n),t}function W_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wr(t){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(t)}function U9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K_(t,e)}function W9(t,e){return e&&(K9(e)==="object"||typeof e=="function")?e:V9(t)}function K_(t,e){return K_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K_(t,e)}function K9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cm=function(){return!!t})()}var Kr=function(t){U9(e,t);function e(n){H9(this,e);var o;return o=z9(this,e,[n]),W_(o,"props",void 0),o.props=new im(n==null?void 0:n.props),o}return q9(e,null,[{key:"controlName",get:function(){return f.getMessage("formSelectButton")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),e}(_e);W_(Kr,"controlEventKeys",["on_click","on_click_finish"]),W_(Kr,"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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function G9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lm(t,e,n){return e=Gr(e),X9(t,sm()?Reflect.construct(e,n||[],Gr(t).constructor):e.apply(t,n))}function am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gr(t){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(t)}function fm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G_(t,e)}function _m(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){Pe(t,r,n[r])})}return t}function X9(t,e){return e&&(Q9(e)==="object"||typeof e=="function")?e:G9(t)}function G_(t,e){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(t,e)}function Q9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sm=function(){return!!t})()}var J9=function(t){fm(e,t);function e(n){am(this,e);var o;return o=lm(this,e,[n]),Pe(o,"fillPayload",{type:"object",fields:_m({},qr())}),Pe(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}),Pe(o,"fillBack",{type:"object",fields:_m({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},qr())}),o}return e}(U),ym=function(t){fm(e,t);function e(n){am(this,e);var o;o=lm(this,e,[n]),Pe(o,"fillPayload",void 0),Pe(o,"listPageBind",void 0),Pe(o,"disableFilling",void 0),Pe(o,"fillBack",void 0),Pe(o,"showSelectedDetail",void 0),Pe(o,"isSelectedRowFill",void 0),Pe(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Qr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Qr.controlIcon,o.fillPayload=new cb(n==null?void 0:n.fillPayload),o.listPageBind=new mf(n==null?void 0:n.listPageBind),o.fillBack=new lb(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 Pf(n==null?void 0:n.selectedContentConfig);var c;o.isSelectedRowFill=(c=n==null?void 0:n.isSelectedRowFill)!==null&&c!==void 0?c:!1;var l;return o.disableFilling=(l=n==null?void 0:n.disableFilling)!==null&&l!==void 0?l:!0,o}return e}(be);Pe(ym,"Rules",J9);function Z9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y9(t,e,n){return e=Xr(e),o4(t,dm()?Reflect.construct(e,n||[],Xr(t).constructor):e.apply(t,n))}function e4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function t4(t,e,n){return e&&pm(t.prototype,e),n&&pm(t,n),t}function X_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xr(t){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(t)}function n4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Q_(t,e)}function o4(t,e){return e&&(r4(e)==="object"||typeof e=="function")?e:Z9(t)}function Q_(t,e){return Q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Q_(t,e)}function r4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dm=function(){return!!t})()}var Qr=function(t){n4(e,t);function e(n){e4(this,e);var o;return o=Y9(this,e,[n]),X_(o,"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return t4(e,null,[{key:"controlName",get:function(){return f.getMessage("listSelectButton")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),e}(_e);X_(Qr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),X_(Qr,"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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function i4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J_(t,e,n){return e=Jr(e),u4(t,hm()?Reflect.construct(e,n||[],Jr(t).constructor):e.apply(t,n))}function Z_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jr(t){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(t)}function Y_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&es(t,e)}function u4(t,e){return e&&(c4(e)==="object"||typeof e=="function")?e:i4(t)}function es(t,e){return es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},es(t,e)}function c4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hm=function(){return!!t})()}var l4=function(t){Y_(e,t);function e(n){return Z_(this,e),J_(this,e,[n])}return e}(U),a4=function(t){Y_(e,t);function e(n){return Z_(this,e),J_(this,e,[n])}return e}($t),ts=function(t){Y_(e,t);function e(n){return Z_(this,e),J_(this,e,[n])}return e}(W);vm(ts,"Rules",l4),vm(ts,"RuntimeRules",a4);function f4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _4(t,e,n){return e=Zr(e),d4(t,mm()?Reflect.construct(e,n||[],Zr(t).constructor):e.apply(t,n))}function s4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y4(t,e,n){return e&&bm(t.prototype,e),n&&bm(t,n),t}function gm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zr(t){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(t)}function p4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ns(t,e)}function d4(t,e){return e&&(v4(e)==="object"||typeof e=="function")?e:f4(t)}function ns(t,e){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(t,e)}function v4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mm=function(){return!!t})()}var h4=function(t){p4(e,t);function e(n){s4(this,e);var o;return o=_4(this,e,[n]),gm(o,"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return y4(e,null,[{key:"controlName",get:function(){return f.getMessage("pagination")}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),e}(L);gm(h4,"setting",[]);function b4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Om(t,e,n){return e=Yr(e),g4(t,Pm()?Reflect.construct(e,n||[],Yr(t).constructor):e.apply(t,n))}function wm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yr(t){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(t)}function $m(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&os(t,e)}function g4(t,e){return e&&(m4(e)==="object"||typeof e=="function")?e:b4(t)}function os(t,e){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(t,e)}function m4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pm=function(){return!!t})()}var O4=function(t){$m(e,t);function e(n){wm(this,e);var o;return o=Om(this,e,[n]),Ee(o,"dashboardKey",{type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")}),Ee(o,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),Ee(o,"isHideCaption",{type:"boolean"}),Ee(o,"labelPosition",{type:"enum",enum:["top","left"]}),Ee(o,"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(U),Em=function(t){$m(e,t);function e(n){wm(this,e);var o;o=Om(this,e,[n]),Ee(o,"dashboardKey",void 0),Ee(o,"caption",void 0),Ee(o,"isHideCaption",void 0),Ee(o,"isShowCaptionTip",void 0),Ee(o,"captionTip",void 0),Ee(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 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.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top",o}return e}(W);Ee(Em,"Rules",O4);function w4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $4(t,e,n){return e=ei(e),T4(t,Rm()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function P4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E4(t,e,n){return e&&Sm(t.prototype,e),n&&Sm(t,n),t}function Tm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function S4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rs(t,e)}function T4(t,e){return e&&(R4(e)==="object"||typeof e=="function")?e:w4(t)}function rs(t,e){return rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rs(t,e)}function R4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rm=function(){return!!t})()}var B4=function(t){S4(e,t);function e(n){P4(this,e);var o;return o=$4(this,e,[n]),Tm(o,"props",void 0),o.props=new Em(n==null?void 0:n.props),o}return E4(e,null,[{key:"controlName",get:function(){return f.getMessage("dashboard")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),e}(L);Tm(B4,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function A4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bm(t,e,n){return e=ti(e),I4(t,km()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function Am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function Im(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&is(t,e)}function I4(t,e){return e&&(k4(e)==="object"||typeof e=="function")?e:A4(t)}function is(t,e){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(t,e)}function k4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function km(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(km=function(){return!!t})()}var F4=function(t){Im(e,t);function e(n){Am(this,e);var o;return o=Bm(this,e,[n]),ao(o,"showType",{type:"enum",enum:["select","tabs"]}),ao(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return e}(U),Fm=function(t){Im(e,t);function e(n){Am(this,e);var o,r;o=Bm(this,e,[n]),ao(o,"showType",void 0),ao(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(c){return new Hx(c)}))!==null&&u!==void 0?u:[],o}return e}(W);ao(Fm,"Rules",F4);function D4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x4(t,e,n){return e=ni(e),N4(t,Mm()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function M4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function L4(t,e,n){return e&&Dm(t.prototype,e),n&&Dm(t,n),t}function xm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function j4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&us(t,e)}function N4(t,e){return e&&(C4(e)==="object"||typeof e=="function")?e:D4(t)}function us(t,e){return us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},us(t,e)}function C4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mm=function(){return!!t})()}var V4=function(t){j4(e,t);function e(n){M4(this,e);var o;return o=x4(this,e,[n]),xm(o,"props",void 0),o.props=new Fm(n==null?void 0:n.props),o}return L4(e,null,[{key:"controlName",get:function(){return f.getMessage("listViewSelect")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),e}(L);xm(V4,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function z4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lm(t,e,n){return e=oi(e),H4(t,Cm()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function Nm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cs(t,e)}function H4(t,e){return e&&(q4(e)==="object"||typeof e=="function")?e:z4(t)}function cs(t,e){return cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cs(t,e)}function q4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cm=function(){return!!t})()}var U4=function(t){Nm(e,t);function e(n){jm(this,e);var o;return o=Lm(this,e,[n]),pe(o,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),pe(o,"isHideCaption",{type:"boolean"}),pe(o,"labelPosition",{type:"enum",enum:["top","left"]}),pe(o,"ocrType",{type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")}),pe(o,"fillList",{type:"array",validator:function(i,u,c){var l=u.every(function(a){return!a.controlId});if(l){c(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),pe(o,"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(U),Vm=function(t){Nm(e,t);function e(n){jm(this,e);var o,r;o=Lm(this,e,[n]),pe(o,"caption",void 0),pe(o,"isHideCaption",void 0),pe(o,"isShowCaptionTip",void 0),pe(o,"captionTip",void 0),pe(o,"labelPosition",void 0),pe(o,"ocrType",void 0),pe(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 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.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.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 ye(O)}))!==null&&b!==void 0?b:[],o}return e}(be);pe(Vm,"Rules",U4);function W4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K4(t,e,n){return e=ri(e),J4(t,Hm()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function G4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function X4(t,e,n){return e&&zm(t.prototype,e),n&&zm(t,n),t}function ls(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function Q4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&as(t,e)}function J4(t,e){return e&&(Z4(e)==="object"||typeof e=="function")?e:W4(t)}function as(t,e){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(t,e)}function Z4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hm=function(){return!!t})()}var fo=function(t){Q4(e,t);function e(n){G4(this,e);var o;return o=K4(this,e,[n]),ls(o,"props",void 0),o.props=new Vm(n==null?void 0:n.props),o}return X4(e,null,[{key:"controlName",get:function(){return f.getMessage("textOcrButton")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),e}(_e);ls(fo,"controlEventKeys",["on_click","on_click_finish"]),ls(fo,"setting",[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Y4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qm(t,e,n){return e=ii(e),eN(t,Km()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function Um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function Wm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fs(t,e)}function eN(t,e){return e&&(tN(e)==="object"||typeof e=="function")?e:Y4(t)}function fs(t,e){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(t,e)}function tN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Km(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Km=function(){return!!t})()}var nN=function(t){Wm(e,t);function e(n){Um(this,e);var o;return o=qm(this,e,[n]),de(o,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),de(o,"isHideCaption",{type:"boolean"}),de(o,"labelPosition",{type:"enum",enum:["top","left"]}),de(o,"invoiceCheck",{type:"boolean"}),de(o,"fillList",{type:"array",validator:function(i,u,c){var l=u.every(function(a){return!a.controlId});if(l){c(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),de(o,"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(U),Gm=function(t){Wm(e,t);function e(n){Um(this,e);var o,r;o=qm(this,e,[n]),de(o,"caption",void 0),de(o,"isHideCaption",void 0),de(o,"isShowCaptionTip",void 0),de(o,"captionTip",void 0),de(o,"labelPosition",void 0),de(o,"invoiceCheck",void 0),de(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_o.controlName;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.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?_:_o.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:_o.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 ye(O)}))!==null&&b!==void 0?b:[],o}return e}(be);de(Gm,"Rules",nN);function oN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rN(t,e,n){return e=ui(e),lN(t,Qm()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function iN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uN(t,e,n){return e&&Xm(t.prototype,e),n&&Xm(t,n),t}function _s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function cN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ss(t,e)}function lN(t,e){return e&&(aN(e)==="object"||typeof e=="function")?e:oN(t)}function ss(t,e){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(t,e)}function aN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qm=function(){return!!t})()}var _o=function(t){cN(e,t);function e(n){iN(this,e);var o;return o=rN(this,e,[n]),_s(o,"props",void 0),o.props=new Gm(n==null?void 0:n.props),o}return uN(e,null,[{key:"controlName",get:function(){return f.getMessage("invoiceCheckButton")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),e}(_e);_s(_o,"controlEventKeys",["on_click","on_click_finish"]),_s(_o,"setting",[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function fN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jm(t,e,n){return e=li(e),_N(t,eO()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function Zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function Ym(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ys(t,e)}function _N(t,e){return e&&(sN(e)==="object"||typeof e=="function")?e:fN(t)}function ys(t,e){return ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ys(t,e)}function sN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eO=function(){return!!t})()}var yN=function(t){Ym(e,t);function e(){Zm(this,e);var n;return n=Jm(this,e,arguments),ci(n,"printTemplates",{type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return e}(U),tO=function(t){Ym(e,t);function e(n){Zm(this,e);var o,r;o=Jm(this,e,[n]),ci(o,"printTemplates",void 0),ci(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:so.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:so.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(a){return new C7(a)}))!==null&&c!==void 0?c:[];var l;return o.autoSelectTemplate=(l=n==null?void 0:n.autoSelectTemplate)!==null&&l!==void 0?l:!1,o}return e}(be);ci(tO,"Rules",yN);function pN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dN(t,e,n){return e=fi(e),gN(t,oO()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function vN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hN(t,e,n){return e&&nO(t.prototype,e),n&&nO(t,n),t}function ai(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function bN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ps(t,e)}function gN(t,e){return e&&(mN(e)==="object"||typeof e=="function")?e:pN(t)}function ps(t,e){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(t,e)}function mN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oO=function(){return!!t})()}var so=function(t){bN(e,t);function e(n){vN(this,e);var o;return o=dN(this,e,[n]),ai(o,"props",void 0),o.props=new tO(n==null?void 0:n.props),o}return hN(e,null,[{key:"controlName",get:function(){return f.getMessage("batchPrintListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),e}(_e);ai(so,"slots",["grid-table-toolbar-slot"]),ai(so,"controlEventKeys",["on_click","on_click_finish"]),ai(so,"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 ON(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wN(t,e,n){return e=_i(e),EN(t,rO()?Reflect.construct(e,n||[],_i(t).constructor):e.apply(t,n))}function $N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function PN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ds(t,e)}function EN(t,e){return e&&(SN(e)==="object"||typeof e=="function")?e:ON(t)}function ds(t,e){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(t,e)}function SN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rO=function(){return!!t})()}var TN=function(t){PN(e,t);function e(n){$N(this,e);var o;o=wN(this,e,[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 e}(be);function RN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BN(t,e,n){return e=yi(e),FN(t,uO()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function AN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IN(t,e,n){return e&&iO(t.prototype,e),n&&iO(t,n),t}function si(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function kN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vs(t,e)}function FN(t,e){return e&&(DN(e)==="object"||typeof e=="function")?e:RN(t)}function vs(t,e){return vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vs(t,e)}function DN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uO=function(){return!!t})()}var yo=function(t){kN(e,t);function e(n){AN(this,e);var o;return o=BN(this,e,[n]),si(o,"props",void 0),o.props=new TN(n==null?void 0:n.props),o}return IN(e,null,[{key:"controlName",get:function(){return f.getMessage("batchPrintRecordList")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),e}(_e);si(yo,"slots",["grid-table-toolbar-slot"]),si(yo,"controlEventKeys",["on_click"]),si(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 xN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cO(t,e,n){return e=pi(e),MN(t,fO()?Reflect.construct(e,n||[],pi(t).constructor):e.apply(t,n))}function lO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pi(t){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(t)}function aO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hs(t,e)}function MN(t,e){return e&&(LN(e)==="object"||typeof e=="function")?e:xN(t)}function hs(t,e){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(t,e)}function LN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fO=function(){return!!t})()}var jN=function(t){aO(e,t);function e(n){lO(this,e);var o;return o=cO(this,e,[n]),se(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}),o}return e}(U),di=function(t){aO(e,t);function e(n){lO(this,e);var o;o=cO(this,e,[n]),se(o,"content",void 0),se(o,"code",void 0),se(o,"command",void 0),se(o,"color",void 0),se(o,"icon",void 0),se(o,"formKey",void 0),se(o,"openType",void 0),se(o,"needConfirm",void 0),se(o,"confirmMessage",void 0),se(o,"options",void 0),se(o,"defaultState",void 0),se(o,"priorityProcess",void 0),se(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f.getMessage("button"),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 c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return e}(W);se(di,"Rules",jN);function NN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CN(t,e,n){return e=vi(e),qN(t,sO()?Reflect.construct(e,n||[],vi(t).constructor):e.apply(t,n))}function VN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _O(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zN(t,e,n){return e&&_O(t.prototype,e),n&&_O(t,n),t}function bs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function HN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gs(t,e)}function qN(t,e){return e&&(UN(e)==="object"||typeof e=="function")?e:NN(t)}function gs(t,e){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(t,e)}function UN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sO=function(){return!!t})()}var hi=function(t){HN(e,t);function e(n){VN(this,e);var o;return o=CN(this,e,[n]),bs(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return zN(e,null,[{key:"controlName",get:function(){return f.getMessage("operationButton")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),e}(L);bs(hi,"controlEventKeys",["on_click"]),bs(hi,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function WN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KN(t,e,n){return e=bi(e),ZN(t,pO()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function GN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XN(t,e,n){return e&&yO(t.prototype,e),n&&yO(t,n),t}function QN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function JN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ms(t,e)}function ZN(t,e){return e&&(YN(e)==="object"||typeof e=="function")?e:WN(t)}function ms(t,e){return ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ms(t,e)}function YN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pO=function(){return!!t})()}var eC=function(t){JN(e,t);function e(n){GN(this,e);var o;return o=KN(this,e,[n]),QN(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return XN(e,null,[{key:"controlType",get:function(){return"operation-button"}}]),e}(Qe),Os={Designer:hi,Runtime:eC,Property:di};function tC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nC(t,e,n){return e=gi(e),iC(t,dO()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function oC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function rC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ws(t,e)}function iC(t,e){return e&&(uC(e)==="object"||typeof e=="function")?e:tC(t)}function ws(t,e){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(t,e)}function uC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dO=function(){return!!t})()}var cC=function(t){rC(e,t);function e(n){oC(this,e);var o;o=nC(this,e,[n]),dt(o,"content",void 0),dt(o,"buttonType",void 0),dt(o,"showType",void 0),dt(o,"color",void 0),dt(o,"icon",void 0),dt(o,"defaultState",void 0),dt(o,"command",void 0),dt(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:po.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:po.controlIcon;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:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"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 e}(W);function lC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aC(t,e,n){return e=Oi(e),yC(t,hO()?Reflect.construct(e,n||[],Oi(t).constructor):e.apply(t,n))}function fC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _C(t,e,n){return e&&vO(t.prototype,e),n&&vO(t,n),t}function mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oi(t){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oi(t)}function sC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$s(t,e)}function yC(t,e){return e&&(pC(e)==="object"||typeof e=="function")?e:lC(t)}function $s(t,e){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(t,e)}function pC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hO=function(){return!!t})()}var po=function(t){sC(e,t);function e(n){fC(this,e);var o;return o=aC(this,e,[n]),mi(o,"props",void 0),o.props=new cC(n==null?void 0:n.props),o}return _C(e,null,[{key:"controlName",get:function(){return f.getMessage("batchDeleteButton")}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),e}(L);mi(po,"slots",["grid-table-toolbar-slot"]),mi(po,"controlEventKeys",["on_click"]),mi(po,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function dC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bO(t,e,n){return e=wi(e),vC(t,OO()?Reflect.construct(e,n||[],wi(t).constructor):e.apply(t,n))}function gO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wi(t){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(t)}function mO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ps(t,e)}function vC(t,e){return e&&(hC(e)==="object"||typeof e=="function")?e:dC(t)}function Ps(t,e){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(t,e)}function hC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OO=function(){return!!t})()}var bC=function(t){mO(e,t);function e(n){gO(this,e);var o;return o=bO(this,e,[n]),Wt(o,"actionSetting",{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}}),o}return e}(U),wO=function(t){mO(e,t);function e(n){gO(this,e);var o;o=bO(this,e,[n]),Wt(o,"isShowSimpleSearch",void 0),Wt(o,"isShowToolbar",void 0),Wt(o,"actionSetting",void 0),Wt(o,"listHeightSetting",void 0);var r;o.isShowSimpleSearch=(r=n==null?void 0:n.isShowSimpleSearch)!==null&&r!==void 0?r:!0;var i;o.isShowToolbar=(i=n==null?void 0:n.isShowToolbar)!==null&&i!==void 0?i:!0;var u;o.actionSetting=(u=n==null?void 0:n.actionSetting)!==null&&u!==void 0?u:new D7;var c;return o.listHeightSetting=(c=n==null?void 0:n.listHeightSetting)!==null&&c!==void 0?c:new x7,o}return e}(W);Wt(wO,"Rules",bC);function gC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mC(t,e,n){return e=$i(e),PC(t,PO()?Reflect.construct(e,n||[],$i(t).constructor):e.apply(t,n))}function OC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $O(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wC(t,e,n){return e&&$O(t.prototype,e),n&&$O(t,n),t}function Es(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $i(t){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$i(t)}function $C(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ss(t,e)}function PC(t,e){return e&&(EC(e)==="object"||typeof e=="function")?e:gC(t)}function Ss(t,e){return Ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ss(t,e)}function EC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PO=function(){return!!t})()}var EO=function(t){$C(e,t);function e(n){OC(this,e);var o;return o=mC(this,e,[n]),Es(o,"props",void 0),o.props=new wO(n==null?void 0:n.props),o}return wC(e,null,[{key:"controlName",get:function(){return f.getMessage("referenceList")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"reference-list"}}]),e}(L);Es(EO,"controlEventKeys",["on_list_rowclick"]),Es(EO,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_SIMPLE_SEARCH,s.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function SC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ts(t,e,n){return e=Pi(e),TC(t,SO()?Reflect.construct(e,n||[],Pi(t).constructor):e.apply(t,n))}function Rs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pi(t){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pi(t)}function Bs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&As(t,e)}function TC(t,e){return e&&(RC(e)==="object"||typeof e=="function")?e:SC(t)}function As(t,e){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(t,e)}function RC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SO=function(){return!!t})()}var BC=function(t){Bs(e,t);function e(n){Rs(this,e);var o;return o=Ts(this,e,[n]),Fe(o,"maxLength",{type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Fe(o,"minLength",{type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Fe(o,"defaultValue",[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{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.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=gr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),AC=function(t){Bs(e,t);function e(n){Rs(this,e);var o;return o=Ts(this,e,[n]),o.push({type:"string",message:f.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:f.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:gr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(j),vo=function(t){Bs(e,t);function e(n){Rs(this,e);var o;o=Ts(this,e,[n]),Fe(o,"maxLength",void 0),Fe(o,"minLength",void 0),Fe(o,"regularRules",void 0),Fe(o,"defaultValue",void 0),Fe(o,"encrypted",void 0),Fe(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 Ef(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ho.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f.getMessage("pleaseEnter");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 e}(F);Fe(vo,"Rules",BC),Fe(vo,"RuntimeRules",AC);function IC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kC(t,e,n){return e=Si(e),MC(t,RO()?Reflect.construct(e,n||[],Si(t).constructor):e.apply(t,n))}function FC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function DC(t,e,n){return e&&TO(t.prototype,e),n&&TO(t,n),t}function Ei(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(t)}function xC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Is(t,e)}function MC(t,e){return e&&(LC(e)==="object"||typeof e=="function")?e:IC(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(t,e)}function LC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RO=function(){return!!t})()}var ho=function(t){xC(e,t);function e(n){FC(this,e);var o;return o=kC(this,e,[n]),Ei(o,"props",void 0),o.props=new vo(n==null?void 0:n.props),o}return DC(e,null,[{key:"controlName",get:function(){return f.getMessage("input")}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),e}(D);Ei(ho,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ei(ho,"controlFieldType",m.VARCHAR),Ei(ho,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.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 jC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NC(t,e,n){return e=Ti(e),HC(t,IO()?Reflect.construct(e,n||[],Ti(t).constructor):e.apply(t,n))}function CC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VC(t,e,n){return e&&BO(t.prototype,e),n&&BO(t,n),t}function AO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ti(t){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(t)}function zC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ks(t,e)}function HC(t,e){return e&&(qC(e)==="object"||typeof e=="function")?e:jC(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ks(t,e)}function qC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IO=function(){return!!t})()}var UC=function(t){zC(e,t);function e(n){CC(this,e);var o;return o=NC(this,e,[n]),AO(o,"props",void 0),o.props=new vo(n==null?void 0:n.props),o}return VC(e,null,[{key:"controlType",get:function(){return"input"}}]),e}(x);AO(UC,"controlFieldType",m.VARCHAR);function WC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fs(t,e,n){return e=Ri(e),KC(t,kO()?Reflect.construct(e,n||[],Ri(t).constructor):e.apply(t,n))}function Ds(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ri(t){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ri(t)}function xs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ms(t,e)}function KC(t,e){return e&&(GC(e)==="object"||typeof e=="function")?e:WC(t)}function Ms(t,e){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(t,e)}function GC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kO=function(){return!!t})()}var XC=function(t){xs(e,t);function e(n){Ds(this,e);var o;o=Fs(this,e,[n]),oe(o,"limitMax",{type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")});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 e}(Nt),QC=function(t){xs(e,t);function e(n){Ds(this,e);var o;return o=Fs(this,e,[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 e}(j),Bi=function(t){xs(e,t);function e(n){Ds(this,e);var o;o=Fs(this,e,[n]),oe(o,"checkboxMode",void 0),oe(o,"options",void 0),oe(o,"optionsOrder",void 0),oe(o,"limitMax",void 0),oe(o,"limitMin",void 0),oe(o,"otherOption",void 0),oe(o,"optionConfig",void 0),oe(o,"optionsFormat",void 0),oe(o,"defaultShowOptions",void 0),oe(o,"datasourceBind",void 0),oe(o,"multistageFilling",void 0),oe(o,"interreaction",void 0),oe(o,"defaultValue",void 0),oe(o,"openMultistageFilling",void 0);var r;o.options=Ge((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 c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!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:ki.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 g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!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 ye(h))})),o}return e}(F);oe(Bi,"Rules",XC),oe(Bi,"RuntimeRules",QC);function JC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZC(t,e,n){return e=Ii(e),nV(t,DO()?Reflect.construct(e,n||[],Ii(t).constructor):e.apply(t,n))}function YC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eV(t,e,n){return e&&FO(t.prototype,e),n&&FO(t,n),t}function Ai(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(t)}function tV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ls(t,e)}function nV(t,e){return e&&(oV(e)==="object"||typeof e=="function")?e:JC(t)}function Ls(t,e){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(t,e)}function oV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(DO=function(){return!!t})()}var ki=function(t){tV(e,t);function e(n){YC(this,e);var o;return o=ZC(this,e,[n]),Ai(o,"props",void 0),o.props=new Bi(n==null?void 0:n.props),o}return eV(e,null,[{key:"controlName",get:function(){return f.getMessage("checkBox")}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),e}(D);Ai(ki,"controlEventKeys",["on_change","on_click"]),Ai(ki,"controlFieldType",m.ARRAY),Ai(ki,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 rV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iV(t,e,n){return e=Fi(e),aV(t,LO()?Reflect.construct(e,n||[],Fi(t).constructor):e.apply(t,n))}function uV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cV(t,e,n){return e&&xO(t.prototype,e),n&&xO(t,n),t}function MO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fi(t){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(t)}function lV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&js(t,e)}function aV(t,e){return e&&(fV(e)==="object"||typeof e=="function")?e:rV(t)}function js(t,e){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(t,e)}function fV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LO=function(){return!!t})()}var _V=function(t){lV(e,t);function e(n){uV(this,e);var o;return o=iV(this,e,[n]),MO(o,"props",void 0),o.props=new Bi(n==null?void 0:n.props),o}return cV(e,null,[{key:"controlType",get:function(){return"checkbox"}}]),e}(x);MO(_V,"controlFieldType",m.ARRAY);function sV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jO(t,e,n){return e=Di(e),yV(t,VO()?Reflect.construct(e,n||[],Di(t).constructor):e.apply(t,n))}function NO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Di(t){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(t)}function CO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ns(t,e)}function yV(t,e){return e&&(pV(e)==="object"||typeof e=="function")?e:sV(t)}function Ns(t,e){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(t,e)}function pV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VO=function(){return!!t})()}var dV=function(t){CO(e,t);function e(n){return NO(this,e),jO(this,e,[n])}return e}(Nt),Cs=function(t){CO(e,t);function e(n){NO(this,e);var o;o=jO(this,e,[n]),me(o,"radioMode",void 0),me(o,"options",void 0),me(o,"optionConfig",void 0),me(o,"optionsFormat",void 0),me(o,"defaultShowOptions",void 0),me(o,"otherOption",void 0),me(o,"optionsOrder",void 0),me(o,"datasourceBind",void 0),me(o,"multistageFilling",void 0),me(o,"interreaction",void 0),me(o,"defaultValue",void 0),me(o,"openMultistageFilling",void 0);var r;o.options=Ge((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 c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!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:Li.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(g){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new ye(g))})),o}return e}(F);me(Cs,"Rules",dV);function vV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hV(t,e,n){return e=Mi(e),OV(t,HO()?Reflect.construct(e,n||[],Mi(t).constructor):e.apply(t,n))}function bV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gV(t,e,n){return e&&zO(t.prototype,e),n&&zO(t,n),t}function xi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mi(t){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(t)}function mV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vs(t,e)}function OV(t,e){return e&&(wV(e)==="object"||typeof e=="function")?e:vV(t)}function Vs(t,e){return Vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vs(t,e)}function wV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HO=function(){return!!t})()}var Li=function(t){mV(e,t);function e(n){bV(this,e);var o;return o=hV(this,e,[n]),xi(o,"props",void 0),o.props=new Cs(n==null?void 0:n.props),o}return gV(e,null,[{key:"controlName",get:function(){return f.getMessage("radio")}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),e}(D);xi(Li,"controlEventKeys",["on_change","on_click"]),xi(Li,"controlFieldType",m.VARCHAR),xi(Li,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 $V(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PV(t,e,n){return e=ji(e),RV(t,WO()?Reflect.construct(e,n||[],ji(t).constructor):e.apply(t,n))}function EV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SV(t,e,n){return e&&qO(t.prototype,e),n&&qO(t,n),t}function UO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ji(t){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(t)}function TV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zs(t,e)}function RV(t,e){return e&&(BV(e)==="object"||typeof e=="function")?e:$V(t)}function zs(t,e){return zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zs(t,e)}function BV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WO=function(){return!!t})()}var AV=function(t){TV(e,t);function e(n){EV(this,e);var o;return o=PV(this,e,[n]),UO(o,"props",void 0),o.props=new Cs(n==null?void 0:n.props),o}return SV(e,null,[{key:"controlType",get:function(){return"radio"}}]),e}(x);UO(AV,"controlFieldType",m.VARCHAR);function IV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hs(t,e,n){return e=Ni(e),kV(t,KO()?Reflect.construct(e,n||[],Ni(t).constructor):e.apply(t,n))}function qs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ni(t){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(t)}function Us(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ws(t,e)}function kV(t,e){return e&&(FV(e)==="object"||typeof e=="function")?e:IV(t)}function Ws(t,e){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(t,e)}function FV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KO=function(){return!!t})()}var DV=function(t){Us(e,t);function e(n){qs(this,e);var o;o=Hs(this,e,[n]),ae(o,"defaultValue",[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ae(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.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=gr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),xV=function(t){Us(e,t);function e(n){qs(this,e);var o;o=Hs(this,e,[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.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:gr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(j),Ci=function(t){Us(e,t);function e(n){qs(this,e);var o;o=Hs(this,e,[n]),ae(o,"rangeMin",void 0),ae(o,"rangeMax",void 0),ae(o,"numberType",void 0),ae(o,"percentageFormat",void 0),ae(o,"micrometer",void 0),ae(o,"precision",void 0),ae(o,"showUpperCase",void 0),ae(o,"isShowUnit",void 0),ae(o,"unitPosition",void 0),ae(o,"unit",void 0),ae(o,"defaultValue",void 0),ae(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 c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;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: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:Hi.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:f.getMessage("pleaseEnter");var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Ef(n==null?void 0:n.regularRules),o}return e}(F);ae(Ci,"Rules",DV),ae(Ci,"RuntimeRules",xV);function MV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LV(t,e,n){return e=Kt(e),VV(t,XO()?Reflect.construct(e,n||[],Kt(t).constructor):e.apply(t,n))}function jV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function GO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NV(t,e,n){return e&&GO(t.prototype,e),n&&GO(t,n),t}function Vi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?zi=Reflect.get:zi=function(r,i,u){var c=zV(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},zi(t,e,n||t)}function Kt(t){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kt(t)}function CV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ks(t,e)}function VV(t,e){return e&&(HV(e)==="object"||typeof e=="function")?e:MV(t)}function Ks(t,e){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(t,e)}function zV(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Kt(t),t!==null););return t}function HV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XO=function(){return!!t})()}var Hi=function(t){CV(e,t);function e(n){jV(this,e);var o;return o=LV(this,e,[n]),Vi(o,"props",void 0),o.props=new Ci(n==null?void 0:n.props),o}return NV(e,[{key:"toDataBindModel",value:function(o){var r=zi(Kt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return f.getMessage("number")}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),e}(D);Vi(Hi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Vi(Hi,"controlFieldType",m.DECIMAL),Vi(Hi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.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:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function qV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UV(t,e,n){return e=qi(e),XV(t,ZO()?Reflect.construct(e,n||[],qi(t).constructor):e.apply(t,n))}function WV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KV(t,e,n){return e&&QO(t.prototype,e),n&&QO(t,n),t}function JO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(t)}function GV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gs(t,e)}function XV(t,e){return e&&(QV(e)==="object"||typeof e=="function")?e:qV(t)}function Gs(t,e){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(t,e)}function QV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZO=function(){return!!t})()}var JV=function(t){GV(e,t);function e(n){WV(this,e);var o;return o=UV(this,e,[n]),JO(o,"props",void 0),o.props=new Ci(n==null?void 0:n.props),o}return KV(e,null,[{key:"controlType",get:function(){return"number"}}]),e}(x);JO(JV,"controlFieldType",m.DECIMAL);function ZV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YV(t,e,n){return e=Ui(e),nz(t,YO()?Reflect.construct(e,n||[],Ui(t).constructor):e.apply(t,n))}function ez(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function tz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xs(t,e)}function nz(t,e){return e&&(oz(e)==="object"||typeof e=="function")?e:ZV(t)}function Xs(t,e){return Xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xs(t,e)}function oz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YO=function(){return!!t})()}var ew=function(t){tz(e,t);function e(n){ez(this,e);var o,r;o=YV(this,e,[n]),vt(o,"dateType",void 0),vt(o,"dateFormat",void 0),vt(o,"commonTimeSetting",void 0),vt(o,"setValueType",void 0),vt(o,"defaultValue",void 0),vt(o,"limitDateList",void 0),vt(o,"allowDateRange",void 0),vt(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:it.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Zs.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:f.getMessage("pleaseEnterDate");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(g){return new O_(g)}))!==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 e}(F);function rz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iz(t,e,n){return e=Gt(e),az(t,nw()?Reflect.construct(e,n||[],Gt(t).constructor):e.apply(t,n))}function uz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cz(t,e,n){return e&&tw(t.prototype,e),n&&tw(t,n),t}function Qs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Wi=Reflect.get:Wi=function(r,i,u){var c=fz(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},Wi(t,e,n||t)}function Gt(t){return Gt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gt(t)}function lz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Js(t,e)}function az(t,e){return e&&(_z(e)==="object"||typeof e=="function")?e:rz(t)}function Js(t,e){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(t,e)}function fz(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Gt(t),t!==null););return t}function _z(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nw=function(){return!!t})()}var Zs=function(t){lz(e,t);function e(n){uz(this,e);var o;return o=iz(this,e,[n]),Qs(o,"props",void 0),o.props=new ew(n==null?void 0:n.props),o}return cz(e,[{key:"toDataBindModel",value:function(o){var r=Wi(Gt(e.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.getMessage("timestamp")}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),e}(D);Qs(Zs,"controlFieldType",m.TIMESTAMP),Qs(Zs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function sz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yz(t,e,n){return e=Ki(e),hz(t,iw()?Reflect.construct(e,n||[],Ki(t).constructor):e.apply(t,n))}function pz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ow(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function dz(t,e,n){return e&&ow(t.prototype,e),n&&ow(t,n),t}function rw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ki(t){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(t)}function vz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ys(t,e)}function hz(t,e){return e&&(bz(e)==="object"||typeof e=="function")?e:sz(t)}function Ys(t,e){return Ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ys(t,e)}function bz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iw=function(){return!!t})()}var gz=function(t){vz(e,t);function e(n){pz(this,e);var o;return o=yz(this,e,[n]),rw(o,"props",void 0),o.props=new ew(n==null?void 0:n.props),o}return dz(e,null,[{key:"controlType",get:function(){return"date-picker"}}]),e}(x);rw(gz,"controlFieldType",m.TIMESTAMP);function mz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uw(t,e,n){return e=Gi(e),Oz(t,aw()?Reflect.construct(e,n||[],Gi(t).constructor):e.apply(t,n))}function cw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gi(t){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(t)}function lw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ey(t,e)}function Oz(t,e){return e&&(wz(e)==="object"||typeof e=="function")?e:mz(t)}function ey(t,e){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(t,e)}function wz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aw=function(){return!!t})()}var $z=function(t){lw(e,t);function e(n){cw(this,e);var o;return o=uw(this,e,[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 e}(j),ty=function(t){lw(e,t);function e(n){cw(this,e);var o,r;o=uw(this,e,[n]),Se(o,"dataBind",void 0),Se(o,"rangeMin",void 0),Se(o,"rangeMax",void 0),Se(o,"placeholderStart",void 0),Se(o,"placeholderEnd",void 0),Se(o,"dateFormat",void 0),Se(o,"commonTimeSetting",void 0),Se(o,"dateType",void 0),Se(o,"setValueType",void 0),Se(o,"defaultValue",void 0),Se(o,"limitDateList",void 0),o.dataBind=new jx(n==null?void 0:n.dataBind),o.defaultValue=new Nx(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:it.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"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.getMessage("pleaseSelectStartDate");var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:f.getMessage("pleaseSelectEndDate");var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ry.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(g){return new O_(g)}))!==null&&O!==void 0?O:[],o}return e}(F);Se(ty,"RuntimeRules",$z);function Pz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ez(t,e,n){return e=Xt(e),Bz(t,_w()?Reflect.construct(e,n||[],Xt(t).constructor):e.apply(t,n))}function Sz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Tz(t,e,n){return e&&fw(t.prototype,e),n&&fw(t,n),t}function ny(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Xi=Reflect.get:Xi=function(r,i,u){var c=Az(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},Xi(t,e,n||t)}function Xt(t){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xt(t)}function Rz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oy(t,e)}function Bz(t,e){return e&&(Iz(e)==="object"||typeof e=="function")?e:Pz(t)}function oy(t,e){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(t,e)}function Az(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Xt(t),t!==null););return t}function Iz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_w=function(){return!!t})()}var ry=function(t){Rz(e,t);function e(n){Sz(this,e);var o;return o=Ez(this,e,[n]),ny(o,"props",void 0),o.props=new ty(n==null?void 0:n.props),o}return Tz(e,[{key:"toDataBindModel",value:function(o){var r=Xi(Xt(e.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.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),e}(D);ny(ry,"controlFieldType",m.TIMESCOPE),ny(ry,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function kz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fz(t,e,n){return e=Qi(e),Lz(t,pw()?Reflect.construct(e,n||[],Qi(t).constructor):e.apply(t,n))}function Dz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xz(t,e,n){return e&&sw(t.prototype,e),n&&sw(t,n),t}function yw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qi(t){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(t)}function Mz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iy(t,e)}function Lz(t,e){return e&&(jz(e)==="object"||typeof e=="function")?e:kz(t)}function iy(t,e){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(t,e)}function jz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pw=function(){return!!t})()}var Nz=function(t){Mz(e,t);function e(n){Dz(this,e);var o;return o=Fz(this,e,[n]),yw(o,"props",void 0),o.props=new ty(n==null?void 0:n.props),o}return xz(e,null,[{key:"controlType",get:function(){return"date-range"}}]),e}(x);yw(Nz,"controlFieldType",m.TIMESCOPE);function Cz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uy(t,e,n){return e=Ji(e),Vz(t,dw()?Reflect.construct(e,n||[],Ji(t).constructor):e.apply(t,n))}function cy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(t)}function ly(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ay(t,e)}function Vz(t,e){return e&&(zz(e)==="object"||typeof e=="function")?e:Cz(t)}function ay(t,e){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(t,e)}function zz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dw=function(){return!!t})()}var Hz=function(t){ly(e,t);function e(n){cy(this,e);var o;return o=uy(this,e,[n]),et(o,"maxLength",{type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),et(o,"minLength",{type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),et(o,"defaultValue",{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=f.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),qz=function(t){ly(e,t);function e(n){cy(this,e);var o;return o=uy(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:f.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(j),Zi=function(t){ly(e,t);function e(n){cy(this,e);var o;o=uy(this,e,[n]),et(o,"maxLength",void 0),et(o,"minLength",void 0),et(o,"defaultValue",void 0),et(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 c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:tu.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f.getMessage("pleaseEnter"),o.rowHeightSetting=new tb(n==null?void 0:n.rowHeightSetting),o}return e}(F);et(Zi,"Rules",Hz),et(Zi,"RuntimeRules",qz);function Uz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wz(t,e,n){return e=eu(e),Qz(t,hw()?Reflect.construct(e,n||[],eu(t).constructor):e.apply(t,n))}function Kz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Gz(t,e,n){return e&&vw(t.prototype,e),n&&vw(t,n),t}function Yi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function eu(t){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(t)}function Xz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fy(t,e)}function Qz(t,e){return e&&(Jz(e)==="object"||typeof e=="function")?e:Uz(t)}function fy(t,e){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(t,e)}function Jz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hw=function(){return!!t})()}var tu=function(t){Xz(e,t);function e(n){Kz(this,e);var o;return o=Wz(this,e,[n]),Yi(o,"props",void 0),o.props=new Zi(n==null?void 0:n.props),o}return Gz(e,null,[{key:"controlName",get:function(){return f.getMessage("textarea")}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),e}(D);Yi(tu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Yi(tu,"controlFieldType",m.TEXT),Yi(tu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 Zz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yz(t,e,n){return e=nu(e),oH(t,mw()?Reflect.construct(e,n||[],nu(t).constructor):e.apply(t,n))}function eH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tH(t,e,n){return e&&bw(t.prototype,e),n&&bw(t,n),t}function gw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nu(t){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(t)}function nH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_y(t,e)}function oH(t,e){return e&&(rH(e)==="object"||typeof e=="function")?e:Zz(t)}function _y(t,e){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(t,e)}function rH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mw=function(){return!!t})()}var iH=function(t){nH(e,t);function e(n){eH(this,e);var o;return o=Yz(this,e,[n]),gw(o,"props",void 0),o.props=new Zi(n==null?void 0:n.props),o}return tH(e,null,[{key:"controlType",get:function(){return"textarea"}}]),e}(x);gw(iH,"controlFieldType",m.TEXT);function uH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sy(t,e,n){return e=ou(e),cH(t,Ow()?Reflect.construct(e,n||[],ou(t).constructor):e.apply(t,n))}function yy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ou(t){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(t)}function py(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dy(t,e)}function cH(t,e){return e&&(lH(e)==="object"||typeof e=="function")?e:uH(t)}function dy(t,e){return dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dy(t,e)}function lH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ow(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ow=function(){return!!t})()}var aH=function(t){py(e,t);function e(n){yy(this,e);var o;return o=sy(this,e,[n]),ht(o,"maxLength",{type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ht(o,"minLength",{type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ht(o,"defaultValue",{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=f.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),fH=function(t){py(e,t);function e(n){yy(this,e);var o;return o=sy(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:f.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(j),ru=function(t){py(e,t);function e(n){yy(this,e);var o;o=sy(this,e,[n]),ht(o,"maxLength",void 0),ht(o,"minLength",void 0),ht(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 c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:cu.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f.getMessage("pleaseEnter"),o}return e}(F);ht(ru,"Rules",aH),ht(ru,"RuntimeRules",fH);function _H(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sH(t,e,n){return e=uu(e),vH(t,$w()?Reflect.construct(e,n||[],uu(t).constructor):e.apply(t,n))}function yH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ww(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function pH(t,e,n){return e&&ww(t.prototype,e),n&&ww(t,n),t}function iu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function dH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vy(t,e)}function vH(t,e){return e&&(hH(e)==="object"||typeof e=="function")?e:_H(t)}function vy(t,e){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(t,e)}function hH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($w=function(){return!!t})()}var cu=function(t){dH(e,t);function e(n){yH(this,e);var o;return o=sH(this,e,[n]),iu(o,"props",void 0),o.props=new ru(n==null?void 0:n.props),o}return pH(e,null,[{key:"controlName",get:function(){return f.getMessage("richText")}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),e}(D);iu(cu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),iu(cu,"controlFieldType",m.TEXT),iu(cu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 bH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gH(t,e,n){return e=lu(e),$H(t,Sw()?Reflect.construct(e,n||[],lu(t).constructor):e.apply(t,n))}function mH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OH(t,e,n){return e&&Pw(t.prototype,e),n&&Pw(t,n),t}function Ew(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lu(t){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lu(t)}function wH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hy(t,e)}function $H(t,e){return e&&(PH(e)==="object"||typeof e=="function")?e:bH(t)}function hy(t,e){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(t,e)}function PH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sw=function(){return!!t})()}var EH=function(t){wH(e,t);function e(n){mH(this,e);var o;return o=gH(this,e,[n]),Ew(o,"props",void 0),o.props=new ru(n==null?void 0:n.props),o}return OH(e,null,[{key:"controlType",get:function(){return"rich-text"}}]),e}(x);Ew(EH,"controlFieldType",m.TEXT);function SH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tw(t,e,n){return e=au(e),TH(t,Aw()?Reflect.construct(e,n||[],au(t).constructor):e.apply(t,n))}function Rw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function au(t){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(t)}function Bw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&by(t,e)}function TH(t,e){return e&&(RH(e)==="object"||typeof e=="function")?e:SH(t)}function by(t,e){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(t,e)}function RH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Aw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Aw=function(){return!!t})()}var BH=function(t){Bw(e,t);function e(n){Rw(this,e);var o;return o=Tw(this,e,[n]),Oe(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Nt),gy=function(t){Bw(e,t);function e(n){Rw(this,e);var o;o=Tw(this,e,[n]),Oe(o,"options",void 0),Oe(o,"defaultShowOptions",void 0),Oe(o,"optionConfig",void 0),Oe(o,"defaultValue",void 0),Oe(o,"datasourceBind",void 0),Oe(o,"multistageFilling",void 0),Oe(o,"allowCopyOptions",void 0),Oe(o,"openMultistageFilling",void 0),Oe(o,"viewFormModelType",void 0),Oe(o,"canViewForm",void 0),Oe(o,"formBind",void 0);var r;o.options=Ge((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 c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:wy.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f.getMessage("pleaseSelect");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 g;(g=o.multistageFilling)===null||g===void 0||g.push(new ye(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 Lt(n==null?void 0:n.formBind),o}return e}(F);Oe(gy,"Rules",BH);function AH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IH(t,e,n){return e=fu(e),xH(t,kw()?Reflect.construct(e,n||[],fu(t).constructor):e.apply(t,n))}function kH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Iw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FH(t,e,n){return e&&Iw(t.prototype,e),n&&Iw(t,n),t}function my(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fu(t){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(t)}function DH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oy(t,e)}function xH(t,e){return e&&(MH(e)==="object"||typeof e=="function")?e:AH(t)}function Oy(t,e){return Oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oy(t,e)}function MH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kw=function(){return!!t})()}var wy=function(t){DH(e,t);function e(n){kH(this,e);var o;return o=IH(this,e,[n]),my(o,"props",void 0),o.props=new gy(n==null?void 0:n.props),o}return FH(e,null,[{key:"controlName",get:function(){return f.getMessage("select")}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),e}(D);my(wy,"controlFieldType",m.VARCHAR),my(wy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function LH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jH(t,e,n){return e=_u(e),zH(t,xw()?Reflect.construct(e,n||[],_u(t).constructor):e.apply(t,n))}function NH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function CH(t,e,n){return e&&Fw(t.prototype,e),n&&Fw(t,n),t}function Dw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _u(t){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(t)}function VH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$y(t,e)}function zH(t,e){return e&&(HH(e)==="object"||typeof e=="function")?e:LH(t)}function $y(t,e){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(t,e)}function HH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xw=function(){return!!t})()}var qH=function(t){VH(e,t);function e(n){NH(this,e);var o;return o=jH(this,e,[n]),Dw(o,"props",void 0),o.props=new gy(n==null?void 0:n.props),o}return CH(e,null,[{key:"controlType",get:function(){return"select"}}]),e}(x);Dw(qH,"controlFieldType",m.VARCHAR);function UH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Py(t,e,n){return e=su(e),WH(t,Mw()?Reflect.construct(e,n||[],su(t).constructor):e.apply(t,n))}function Ey(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(t)}function Sy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ty(t,e)}function WH(t,e){return e&&(KH(e)==="object"||typeof e=="function")?e:UH(t)}function Ty(t,e){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(t,e)}function KH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mw=function(){return!!t})()}var GH=function(t){Sy(e,t);function e(n){Ey(this,e);var o;return o=Py(this,e,[n]),we(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Nt),XH=function(t){Sy(e,t);function e(n){Ey(this,e);var o;return o=Py(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(j),yu=function(t){Sy(e,t);function e(n){Ey(this,e);var o;o=Py(this,e,[n]),we(o,"options",void 0),we(o,"defaultShowOptions",void 0),we(o,"optionConfig",void 0),we(o,"defaultValue",void 0),we(o,"datasourceBind",void 0),we(o,"multistageFilling",void 0),we(o,"openMultistageFilling",void 0),we(o,"viewFormModelType",void 0),we(o,"canViewForm",void 0),we(o,"formBind",void 0);var r;o.options=Ge((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 c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ay.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f.getMessage("pleaseSelect");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 ye(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 Lt(n==null?void 0:n.formBind),o}return e}(F);we(yu,"Rules",GH),we(yu,"RuntimeRules",XH);function QH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JH(t,e,n){return e=pu(e),tq(t,jw()?Reflect.construct(e,n||[],pu(t).constructor):e.apply(t,n))}function ZH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function YH(t,e,n){return e&&Lw(t.prototype,e),n&&Lw(t,n),t}function Ry(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pu(t){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pu(t)}function eq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&By(t,e)}function tq(t,e){return e&&(nq(e)==="object"||typeof e=="function")?e:QH(t)}function By(t,e){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(t,e)}function nq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jw=function(){return!!t})()}var Ay=function(t){eq(e,t);function e(n){ZH(this,e);var o;return o=JH(this,e,[n]),Ry(o,"props",void 0),o.props=new yu(n==null?void 0:n.props),o}return YH(e,null,[{key:"controlName",get:function(){return f.getMessage("selectMultiple")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),e}(D);Ry(Ay,"controlFieldType",m.ARRAY),Ry(Ay,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function oq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rq(t,e,n){return e=du(e),lq(t,Vw()?Reflect.construct(e,n||[],du(t).constructor):e.apply(t,n))}function iq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uq(t,e,n){return e&&Nw(t.prototype,e),n&&Nw(t,n),t}function Cw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function du(t){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(t)}function cq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iy(t,e)}function lq(t,e){return e&&(aq(e)==="object"||typeof e=="function")?e:oq(t)}function Iy(t,e){return Iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iy(t,e)}function aq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vw=function(){return!!t})()}var fq=function(t){cq(e,t);function e(n){iq(this,e);var o;return o=rq(this,e,[n]),Cw(o,"props",void 0),o.props=new yu(n==null?void 0:n.props),o}return uq(e,null,[{key:"controlType",get:function(){return"select-multiple"}}]),e}(x);Cw(fq,"controlFieldType",m.ARRAY);function _q(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zw(t,e,n){return e=vu(e),sq(t,Uw()?Reflect.construct(e,n||[],vu(t).constructor):e.apply(t,n))}function Hw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vu(t){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(t)}function qw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ky(t,e)}function sq(t,e){return e&&(yq(e)==="object"||typeof e=="function")?e:_q(t)}function ky(t,e){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(t,e)}function yq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Uw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uw=function(){return!!t})()}var pq=function(t){qw(e,t);function e(n){Hw(this,e);var o;return o=zw(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(j),Fy=function(t){qw(e,t);function e(n){Hw(this,e);var o;o=zw(this,e,[n]),tt(o,"showType",void 0),tt(o,"range",void 0),tt(o,"rangeOptions",void 0),tt(o,"multiple",void 0),tt(o,"defaultValueType",void 0),tt(o,"defaultValue",void 0),tt(o,"multistageFilling",void 0),tt(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 c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"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?_:My.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:f.getMessage("pleaseEnterNameorEmail");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 ye(b))})),o}return e}(F);tt(Fy,"RuntimeRules",pq);function dq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vq(t,e,n){return e=hu(e),mq(t,Kw()?Reflect.construct(e,n||[],hu(t).constructor):e.apply(t,n))}function hq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ww(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bq(t,e,n){return e&&Ww(t.prototype,e),n&&Ww(t,n),t}function Dy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hu(t){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(t)}function gq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xy(t,e)}function mq(t,e){return e&&(Oq(e)==="object"||typeof e=="function")?e:dq(t)}function xy(t,e){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(t,e)}function Oq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kw=function(){return!!t})()}var My=function(t){gq(e,t);function e(n){hq(this,e);var o;return o=vq(this,e,[n]),Dy(o,"props",void 0),o.props=new Fy(n==null?void 0:n.props),o}return bq(e,null,[{key:"controlName",get:function(){return f.getMessage("people")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),e}(D);Dy(My,"controlFieldType",m.EMPLOYEES),Dy(My,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 wq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $q(t,e,n){return e=bu(e),Tq(t,Qw()?Reflect.construct(e,n||[],bu(t).constructor):e.apply(t,n))}function Pq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Eq(t,e,n){return e&&Gw(t.prototype,e),n&&Gw(t,n),t}function Xw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bu(t){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(t)}function Sq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ly(t,e)}function Tq(t,e){return e&&(Rq(e)==="object"||typeof e=="function")?e:wq(t)}function Ly(t,e){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(t,e)}function Rq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qw=function(){return!!t})()}var Bq=function(t){Sq(e,t);function e(n){Pq(this,e);var o;return o=$q(this,e,[n]),Xw(o,"props",void 0),o.props=new Fy(n==null?void 0:n.props),o}return Eq(e,null,[{key:"controlType",get:function(){return"employee"}}]),e}(x);Xw(Bq,"controlFieldType",m.EMPLOYEES);function Aq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jy(t,e,n){return e=gu(e),Iq(t,Jw()?Reflect.construct(e,n||[],gu(t).constructor):e.apply(t,n))}function Ny(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gu(t){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(t)}function Cy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vy(t,e)}function Iq(t,e){return e&&(kq(e)==="object"||typeof e=="function")?e:Aq(t)}function Vy(t,e){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(t,e)}function kq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jw=function(){return!!t})()}var Fq=10485760,Dq=104857600,xq=1048576e3,Mq=function(t){Cy(e,t);function e(n){Ny(this,e);var o;return o=jy(this,e,[n]),Te(o,"maxSize",{type:"number",min:0,max:xq,message:f.getMessage("attachmentMaxSize")}),o}return e}(J),Lq=function(t){Cy(e,t);function e(n){Ny(this,e);var o;return o=jy(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:f.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return e}(j),mu=function(t){Cy(e,t);function e(n){Ny(this,e);var o;o=jy(this,e,[n]),Te(o,"defaultValue",void 0),Te(o,"showType",void 0),Te(o,"resultShowType",void 0),Te(o,"attachmentAccept",void 0),Te(o,"maxLimit",void 0),Te(o,"minLimit",void 0),Te(o,"isShowWatermark",void 0),Te(o,"watermarkFx",void 0),Te(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 c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var l;o.maxLimit=(l=n==null?void 0:n.maxLimit)!==null&&l!==void 0?l: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?_:Dq;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:bo.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:f.getMessage("uploadFile");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 e}(F);Te(mu,"Rules",Mq),Te(mu,"RuntimeRules",Lq);function jq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nq(t,e,n){return e=wu(e),Hq(t,Yw()?Reflect.construct(e,n||[],wu(t).constructor):e.apply(t,n))}function Cq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vq(t,e,n){return e&&Zw(t.prototype,e),n&&Zw(t,n),t}function Ou(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function zq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zy(t,e)}function Hq(t,e){return e&&(qq(e)==="object"||typeof e=="function")?e:jq(t)}function zy(t,e){return zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zy(t,e)}function qq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yw=function(){return!!t})()}var bo=function(t){zq(e,t);function e(n){Cq(this,e);var o;return o=Nq(this,e,[n]),Ou(o,"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return Vq(e,null,[{key:"controlName",get:function(){return f.getMessage("file")}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),e}(D);Ou(bo,"controlEventKeys",["on_change"]),Ou(bo,"controlFieldType",m.FILE),Ou(bo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 Uq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wq(t,e,n){return e=$u(e),Qq(t,n$()?Reflect.construct(e,n||[],$u(t).constructor):e.apply(t,n))}function Kq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Gq(t,e,n){return e&&e$(t.prototype,e),n&&e$(t,n),t}function t$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $u(t){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$u(t)}function Xq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hy(t,e)}function Qq(t,e){return e&&(Jq(e)==="object"||typeof e=="function")?e:Uq(t)}function Hy(t,e){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(t,e)}function Jq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function n$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(n$=function(){return!!t})()}var Zq=function(t){Xq(e,t);function e(n){Kq(this,e);var o;return o=Wq(this,e,[n]),t$(o,"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return Gq(e,null,[{key:"controlType",get:function(){return"attachment"}}]),e}(x);t$(Zq,"controlFieldType",m.FILE);function Yq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eU(t,e,n){return e=Pu(e),rU(t,i$()?Reflect.construct(e,n||[],Pu(t).constructor):e.apply(t,n))}function tU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nU(t,e,n){return e&&o$(t.prototype,e),n&&o$(t,n),t}function r$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pu(t){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pu(t)}function oU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qy(t,e)}function rU(t,e){return e&&(iU(e)==="object"||typeof e=="function")?e:Yq(t)}function qy(t,e){return qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qy(t,e)}function iU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function i$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i$=function(){return!!t})()}var u$=function(t){oU(e,t);function e(n){tU(this,e);var o,r,i;o=eU(this,e,[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:e.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:f.getMessage("uploadImg"),o}return nU(e,null,[{key:"controlName",get:function(){return f.getMessage("image")}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),e}(bo);r$(u$,"controlFieldType",m.IMAGE),r$(u$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function uU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uy(t,e,n){return e=Eu(e),fU(t,c$()?Reflect.construct(e,n||[],Eu(t).constructor):e.apply(t,n))}function Wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Eu(t){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(t)}function Ky(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gy(t,e)}function cU(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){re(t,r,n[r])})}return t}function lU(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function aU(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):lU(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function fU(t,e){return e&&(_U(e)==="object"||typeof e=="function")?e:uU(t)}function Gy(t,e){return Gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gy(t,e)}function _U(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function c$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c$=function(){return!!t})()}var sU=function(t){Ky(e,t);function e(n){Wy(this,e);var o;o=Uy(this,e,[n]),re(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}}),re(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.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),o}return e}(Nt),yU=function(t){Ky(e,t);function e(n){Wy(this,e);var o;o=Uy(this,e,[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:[aU(cU({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:f.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return e}(j),Su=function(t){Ky(e,t);function e(n){Wy(this,e);var o;o=Uy(this,e,[n]),re(o,"rangeMin",void 0),re(o,"rangeMax",void 0),re(o,"showUpperCase",void 0),re(o,"submitSelectCurrency",void 0),re(o,"micrometer",void 0),re(o,"precision",void 0),re(o,"unitPosition",void 0),re(o,"optionConfig",void 0),re(o,"dataBind",void 0),re(o,"datasourceBind",void 0),re(o,"defaultValue",void 0),re(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 c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l: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 wf({value:"name"})]});var _;o.defaultValue=new Lx((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:Tf.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=Ge(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Bu.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f.getMessage("pleaseEnter");var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var g;return o.showUpperCase=(g=n==null?void 0:n.showUpperCase)!==null&&g!==void 0?g:!1,o}return e}(F);re(Su,"Rules",sU),re(Su,"RuntimeRules",yU);function pU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dU(t,e,n){return e=Qt(e),gU(t,a$()?Reflect.construct(e,n||[],Qt(t).constructor):e.apply(t,n))}function vU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hU(t,e,n){return e&&l$(t.prototype,e),n&&l$(t,n),t}function Tu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ru(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ru=Reflect.get:Ru=function(r,i,u){var c=mU(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},Ru(t,e,n||t)}function Qt(t){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qt(t)}function bU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xy(t,e)}function gU(t,e){return e&&(OU(e)==="object"||typeof e=="function")?e:pU(t)}function Xy(t,e){return Xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xy(t,e)}function mU(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Qt(t),t!==null););return t}function OU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function a$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a$=function(){return!!t})()}var Bu=function(t){bU(e,t);function e(n){vU(this,e);var o;return o=dU(this,e,[n]),Tu(o,"props",void 0),o.props=new Su(n==null?void 0:n.props),o}return hU(e,[{key:"toDataBindModel",value:function(o){var r=Ru(Qt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return f.getMessage("amount")}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),e}(D);Tu(Bu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Tu(Bu,"controlFieldType",m.MONEY),Tu(Bu,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.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:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function wU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $U(t,e,n){return e=Au(e),TU(t,s$()?Reflect.construct(e,n||[],Au(t).constructor):e.apply(t,n))}function PU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function EU(t,e,n){return e&&f$(t.prototype,e),n&&f$(t,n),t}function _$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Au(t){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(t)}function SU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qy(t,e)}function TU(t,e){return e&&(RU(e)==="object"||typeof e=="function")?e:wU(t)}function Qy(t,e){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(t,e)}function RU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function s$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(s$=function(){return!!t})()}var BU=function(t){SU(e,t);function e(n){PU(this,e);var o;return o=$U(this,e,[n]),_$(o,"props",void 0),o.props=new Su(n==null?void 0:n.props),o}return EU(e,null,[{key:"controlType",get:function(){return"amount"}}]),e}(x);_$(BU,"controlFieldType",m.MONEY);function AU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jy(t,e,n){return e=Iu(e),IU(t,y$()?Reflect.construct(e,n||[],Iu(t).constructor):e.apply(t,n))}function Zy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function Yy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ep(t,e)}function IU(t,e){return e&&(kU(e)==="object"||typeof e=="function")?e:AU(t)}function ep(t,e){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(t,e)}function kU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function y$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y$=function(){return!!t})()}var FU=function(t){Yy(e,t);function e(n){Zy(this,e);var o;return o=Jy(this,e,[n]),nt(o,"totalScore",[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}]),nt(o,"defaultValue",{type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return e}(J),DU=function(t){Yy(e,t);function e(n){Zy(this,e);var o;o=Jy(this,e,[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.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return e}(j),ku=function(t){Yy(e,t);function e(n){Zy(this,e);var o,r;o=Jy(this,e,[n]),nt(o,"totalScore",void 0),nt(o,"scoreType",void 0),nt(o,"isShowExplain",void 0),nt(o,"explain",void 0),nt(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:w_.STAR;var c;o.isShowExplain=(c=n==null?void 0:n.isShowExplain)!==null&&c!==void 0?c:!0;var l;o.explain=(l=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(p){return new $_(p)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new $_});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?_:xu.controlName,o}return e}(F);nt(ku,"Rules",FU),nt(ku,"RuntimeRules",DU);function tp(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function xU(t){if(Array.isArray(t))return tp(t)}function MU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LU(t,e,n){return e=Jt(e),HU(t,d$()?Reflect.construct(e,n||[],Jt(t).constructor):e.apply(t,n))}function jU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NU(t,e,n){return e&&p$(t.prototype,e),n&&p$(t,n),t}function Fu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Du(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Du=Reflect.get:Du=function(r,i,u){var c=qU(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},Du(t,e,n||t)}function Jt(t){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jt(t)}function CU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&np(t,e)}function VU(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function zU(){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 HU(t,e){return e&&(WU(e)==="object"||typeof e=="function")?e:MU(t)}function np(t,e){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(t,e)}function qU(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Jt(t),t!==null););return t}function UU(t){return xU(t)||VU(t)||KU(t)||zU()}function WU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KU(t,e){if(!!t){if(typeof t=="string")return tp(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tp(t,e)}}function d$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d$=function(){return!!t})()}var xu=function(t){CU(e,t);function e(n){jU(this,e);var o;return o=LU(this,e,[n]),Fu(o,"props",void 0),o.props=new ku(n==null?void 0:n.props),o}return NU(e,[{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,c=Array(u).fill(void 0).map(function(){return new $_});(i=this.props.explain).push.apply(i,UU(c))}}Du(Jt(e.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return f.getMessage("score")}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),e}(D);Fu(xu,"controlEventKeys",["on_change","on_click"]),Fu(xu,"controlFieldType",m.DECIMAL),Fu(xu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 GU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XU(t,e,n){return e=Mu(e),YU(t,b$()?Reflect.construct(e,n||[],Mu(t).constructor):e.apply(t,n))}function QU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function JU(t,e,n){return e&&v$(t.prototype,e),n&&v$(t,n),t}function h$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function ZU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&op(t,e)}function YU(t,e){return e&&(eW(e)==="object"||typeof e=="function")?e:GU(t)}function op(t,e){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(t,e)}function eW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b$=function(){return!!t})()}var tW=function(t){ZU(e,t);function e(n){QU(this,e);var o;return o=XU(this,e,[n]),h$(o,"props",void 0),o.props=new ku(n==null?void 0:n.props),o}return JU(e,null,[{key:"controlType",get:function(){return"score"}}]),e}(x);h$(tW,"controlFieldType",m.DECIMAL);function nW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g$(t,e,n){return e=ju(e),oW(t,w$()?Reflect.construct(e,n||[],ju(t).constructor):e.apply(t,n))}function m$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ju(t){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(t)}function O$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rp(t,e)}function oW(t,e){return e&&(rW(e)==="object"||typeof e=="function")?e:nW(t)}function rp(t,e){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(t,e)}function rW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w$=function(){return!!t})()}var iW=function(t){O$(e,t);function e(n){m$(this,e);var o;if(o=g$(this,e,[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.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:f.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:f.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return e}(j),ip=function(t){O$(e,t);function e(n){m$(this,e);var o;o=g$(this,e,[n]),Lu(o,"defaultValueType",void 0),Lu(o,"defaultValue",void 0),Lu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:lp.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 c;o.defaultValue=new Cx((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f.getMessage("pleaseChooseAddress"),o}return e}(F);Lu(ip,"RuntimeRules",iW);function uW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cW(t,e,n){return e=Nu(e),_W(t,P$()?Reflect.construct(e,n||[],Nu(t).constructor):e.apply(t,n))}function lW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function aW(t,e,n){return e&&$$(t.prototype,e),n&&$$(t,n),t}function up(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(t)}function fW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cp(t,e)}function _W(t,e){return e&&(sW(e)==="object"||typeof e=="function")?e:uW(t)}function cp(t,e){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(t,e)}function sW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function P$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P$=function(){return!!t})()}var lp=function(t){fW(e,t);function e(n){lW(this,e);var o;return o=cW(this,e,[n]),up(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return aW(e,null,[{key:"controlName",get:function(){return f.getMessage("address")}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),e}(D);up(lp,"controlFieldType",m.ADDRESS),up(lp,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function yW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pW(t,e,n){return e=Cu(e),bW(t,T$()?Reflect.construct(e,n||[],Cu(t).constructor):e.apply(t,n))}function dW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vW(t,e,n){return e&&E$(t.prototype,e),n&&E$(t,n),t}function S$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function hW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ap(t,e)}function bW(t,e){return e&&(gW(e)==="object"||typeof e=="function")?e:yW(t)}function ap(t,e){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(t,e)}function gW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function T$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(T$=function(){return!!t})()}var mW=function(t){hW(e,t);function e(n){dW(this,e);var o;return o=pW(this,e,[n]),S$(o,"props",void 0),o.props=new ip(n==null?void 0:n.props),o}return vW(e,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),e}(x);S$(mW,"controlFieldType",m.ADDRESS);function OW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R$(t,e,n){return e=Vu(e),wW(t,I$()?Reflect.construct(e,n||[],Vu(t).constructor):e.apply(t,n))}function B$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vu(t){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(t)}function A$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fp(t,e)}function wW(t,e){return e&&($W(e)==="object"||typeof e=="function")?e:OW(t)}function fp(t,e){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(t,e)}function $W(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I$=function(){return!!t})()}var PW=function(t){A$(e,t);function e(n){B$(this,e);var o;return o=R$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(j),_p=function(t){A$(e,t);function e(n){B$(this,e);var o;o=R$(this,e,[n]),De(o,"showType",void 0),De(o,"range",void 0),De(o,"defaultValueType",void 0),De(o,"multiple",void 0),De(o,"rangeOptions",void 0),De(o,"defaultValue",void 0),De(o,"displayLevel",void 0),De(o,"showSubDept",void 0),De(o,"multistageFilling",void 0),De(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 c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];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:qu.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f.getMessage("pleaseSelectDept");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(g){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new ye(g))})),o}return e}(F);De(_p,"RuntimeRules",PW);function EW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SW(t,e,n){return e=Zt(e),AW(t,F$()?Reflect.construct(e,n||[],Zt(t).constructor):e.apply(t,n))}function TW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function RW(t,e,n){return e&&k$(t.prototype,e),n&&k$(t,n),t}function zu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Hu=Reflect.get:Hu=function(r,i,u){var c=IW(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},Hu(t,e,n||t)}function Zt(t){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zt(t)}function BW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sp(t,e)}function AW(t,e){return e&&(kW(e)==="object"||typeof e=="function")?e:EW(t)}function sp(t,e){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(t,e)}function IW(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Zt(t),t!==null););return t}function kW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function F$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(F$=function(){return!!t})()}var qu=function(t){BW(e,t);function e(n){TW(this,e);var o;return o=SW(this,e,[n]),zu(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return RW(e,[{key:"toDataBindModel",value:function(o){var r=Hu(Zt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),e}(D);zu(qu,"controlName",f.getMessage("department")),zu(qu,"controlFieldType",m.DEPARTMENTS),zu(qu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 FW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DW(t,e,n){return e=Uu(e),jW(t,M$()?Reflect.construct(e,n||[],Uu(t).constructor):e.apply(t,n))}function xW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function MW(t,e,n){return e&&D$(t.prototype,e),n&&D$(t,n),t}function x$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function LW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yp(t,e)}function jW(t,e){return e&&(NW(e)==="object"||typeof e=="function")?e:FW(t)}function yp(t,e){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(t,e)}function NW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function M$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(M$=function(){return!!t})()}var CW=function(t){LW(e,t);function e(n){xW(this,e);var o;return o=DW(this,e,[n]),x$(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return MW(e,null,[{key:"controlType",get:function(){return"department"}}]),e}(x);x$(CW,"controlFieldType",m.DEPARTMENTS);function VW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zW(t,e,n){return e=Wu(e),WW(t,L$()?Reflect.construct(e,n||[],Wu(t).constructor):e.apply(t,n))}function HW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wu(t){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(t)}function UW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pp(t,e)}function WW(t,e){return e&&(KW(e)==="object"||typeof e=="function")?e:VW(t)}function pp(t,e){return pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pp(t,e)}function KW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function L$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(L$=function(){return!!t})()}var j$=function(t){UW(e,t);function e(n){HW(this,e);var o;o=zW(this,e,[n]),qW(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:Xu.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:f.getMessage("pleaseEnterAutonumber"),o}return e}(F);function GW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XW(t,e,n){return e=Gu(e),YW(t,C$()?Reflect.construct(e,n||[],Gu(t).constructor):e.apply(t,n))}function QW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function JW(t,e,n){return e&&N$(t.prototype,e),n&&N$(t,n),t}function Ku(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gu(t){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(t)}function ZW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dp(t,e)}function YW(t,e){return e&&(eK(e)==="object"||typeof e=="function")?e:GW(t)}function dp(t,e){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(t,e)}function eK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C$=function(){return!!t})()}var Xu=function(t){ZW(e,t);function e(n){QW(this,e);var o;return o=XW(this,e,[n]),Ku(o,"props",void 0),o.props=new j$(n==null?void 0:n.props),o}return JW(e,null,[{key:"controlName",get:function(){return f.getMessage("autoNumber")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),e}(D);Ku(Xu,"controlEventKeys",["on_change"]),Ku(Xu,"controlFieldType",m.AUTO_NUMBER),Ku(Xu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function tK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nK(t,e,n){return e=Qu(e),uK(t,H$()?Reflect.construct(e,n||[],Qu(t).constructor):e.apply(t,n))}function oK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rK(t,e,n){return e&&V$(t.prototype,e),n&&V$(t,n),t}function z$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function iK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vp(t,e)}function uK(t,e){return e&&(cK(e)==="object"||typeof e=="function")?e:tK(t)}function vp(t,e){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(t,e)}function cK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function H$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(H$=function(){return!!t})()}var lK=function(t){iK(e,t);function e(n){oK(this,e);var o;return o=nK(this,e,[n]),z$(o,"props",void 0),o.props=new j$(n==null?void 0:n.props),o}return rK(e,null,[{key:"controlType",get:function(){return"auto-number"}}]),e}(x);z$(lK,"controlFieldType",m.AUTO_NUMBER);function aK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hp(t,e,n){return e=Ju(e),fK(t,q$()?Reflect.construct(e,n||[],Ju(t).constructor):e.apply(t,n))}function bp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ju(t){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(t)}function gp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mp(t,e)}function fK(t,e){return e&&(_K(e)==="object"||typeof e=="function")?e:aK(t)}function mp(t,e){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(t,e)}function _K(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function q$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(q$=function(){return!!t})()}var sK=function(t){gp(e,t);function e(n){bp(this,e);var o;return o=hp(this,e,[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 e}(J),yK=function(t){gp(e,t);function e(n){bp(this,e);var o;return o=hp(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}}),o}return e}(j),Zu=function(t){gp(e,t);function e(n){bp(this,e);var o;o=hp(this,e,[n]),xe(o,"precision",void 0),xe(o,"micrometer",void 0),xe(o,"showUpperCase",void 0),xe(o,"scriptSrc",void 0),xe(o,"scriptEcho",void 0),xe(o,"dataBind",void 0),xe(o,"defaultValue",void 0),xe(o,"unitPosition",void 0),xe(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 Vx(n==null?void 0:n.dataBind),o.defaultValue=new zx(n==null?void 0:n.defaultValue);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:tc.controlName;var l;o.unitPosition=(l=n==null?void 0:n.unitPosition)!==null&&l!==void 0?l:"right";var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f.getMessage("pleaseEnter");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 e}(F);xe(Zu,"Rules",sK),xe(Zu,"RuntimeRules",yK);function pK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dK(t,e,n){return e=Yt(e),gK(t,W$()?Reflect.construct(e,n||[],Yt(t).constructor):e.apply(t,n))}function vK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hK(t,e,n){return e&&U$(t.prototype,e),n&&U$(t,n),t}function Yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ec(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ec=Reflect.get:ec=function(r,i,u){var c=mK(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},ec(t,e,n||t)}function Yt(t){return Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yt(t)}function bK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Op(t,e)}function gK(t,e){return e&&(OK(e)==="object"||typeof e=="function")?e:pK(t)}function Op(t,e){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(t,e)}function mK(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Yt(t),t!==null););return t}function OK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function W$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(W$=function(){return!!t})()}var tc=function(t){bK(e,t);function e(n){vK(this,e);var o;return o=dK(this,e,[n]),Yu(o,"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return hK(e,[{key:"toDataBindModel",value:function(o){var r=ec(Yt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return f.getMessage("calc")}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),e}(D);Yu(tc,"controlEventKeys",["on_change"]),Yu(tc,"controlFieldType",m.CALC),Yu(tc,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function wK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $K(t,e,n){return e=nc(e),TK(t,X$()?Reflect.construct(e,n||[],nc(t).constructor):e.apply(t,n))}function PK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function EK(t,e,n){return e&&K$(t.prototype,e),n&&K$(t,n),t}function G$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nc(t){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(t)}function SK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wp(t,e)}function TK(t,e){return e&&(RK(e)==="object"||typeof e=="function")?e:wK(t)}function wp(t,e){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(t,e)}function RK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function X$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(X$=function(){return!!t})()}var BK=function(t){SK(e,t);function e(n){PK(this,e);var o;return o=$K(this,e,[n]),G$(o,"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return EK(e,null,[{key:"controlType",get:function(){return"calc"}}]),e}(x);G$(BK,"controlFieldType",m.CALC);function AK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q$(t,e,n){return e=oc(e),IK(t,Y$()?Reflect.construct(e,n||[],oc(t).constructor):e.apply(t,n))}function J$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function en(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oc(t){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(t)}function Z$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$p(t,e)}function IK(t,e){return e&&(kK(e)==="object"||typeof e=="function")?e:AK(t)}function $p(t,e){return $p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$p(t,e)}function kK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Y$=function(){return!!t})()}var FK=function(t){Z$(e,t);function e(n){J$(this,e);var o;return o=Q$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(l){return!l});return c?Promise.reject(f.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return e}(j),Pp=function(t){Z$(e,t);function e(n){J$(this,e);var o;o=Q$(this,e,[n]),en(o,"rangeMin",void 0),en(o,"rangeMax",void 0),en(o,"placeholderStart",void 0),en(o,"placeholderEnd",void 0),en(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 c;o.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:f.getMessage("min");var l;o.placeholderEnd=(l=n==null?void 0:n.placeholderEnd)!==null&&l!==void 0?l:f.getMessage("max");var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Tp.controlName,o}return e}(F);en(Pp,"RuntimeRules",FK);function DK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xK(t,e,n){return e=rc(e),NK(t,tP()?Reflect.construct(e,n||[],rc(t).constructor):e.apply(t,n))}function MK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LK(t,e,n){return e&&eP(t.prototype,e),n&&eP(t,n),t}function Ep(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rc(t){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(t)}function jK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sp(t,e)}function NK(t,e){return e&&(CK(e)==="object"||typeof e=="function")?e:DK(t)}function Sp(t,e){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(t,e)}function CK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tP=function(){return!!t})()}var Tp=function(t){jK(e,t);function e(n){MK(this,e);var o;return o=xK(this,e,[n]),Ep(o,"props",void 0),o.props=new Pp(n==null?void 0:n.props),o}return LK(e,null,[{key:"controlName",get:function(){return f.getMessage("searchNumberRange")}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),e}(D);Ep(Tp,"controlFieldType",m.DECIMAL_RANGE),Ep(Tp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function VK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zK(t,e,n){return e=ic(e),WK(t,rP()?Reflect.construct(e,n||[],ic(t).constructor):e.apply(t,n))}function HK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qK(t,e,n){return e&&nP(t.prototype,e),n&&nP(t,n),t}function oP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ic(t){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(t)}function UK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rp(t,e)}function WK(t,e){return e&&(KK(e)==="object"||typeof e=="function")?e:VK(t)}function Rp(t,e){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(t,e)}function KK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rP=function(){return!!t})()}var GK=function(t){UK(e,t);function e(n){HK(this,e);var o;return o=zK(this,e,[n]),oP(o,"props",void 0),o.props=new Pp(n==null?void 0:n.props),o}return qK(e,null,[{key:"controlType",get:function(){return"search-number-range"}}]),e}(x);oP(GK,"controlFieldType",m.DECIMAL_RANGE);function XK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iP(t,e,n){return e=uc(e),QK(t,lP()?Reflect.construct(e,n||[],uc(t).constructor):e.apply(t,n))}function uP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uc(t){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(t)}function cP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bp(t,e)}function QK(t,e){return e&&(JK(e)==="object"||typeof e=="function")?e:XK(t)}function Bp(t,e){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(t,e)}function JK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lP=function(){return!!t})()}var ZK=function(t){cP(e,t);function e(n){uP(this,e);var o;return o=iP(this,e,[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 e}(j),Ap=function(t){cP(e,t);function e(n){uP(this,e);var o,r;o=iP(this,e,[n]),Me(o,"rangeMin",void 0),Me(o,"rangeMax",void 0),Me(o,"placeholderStart",void 0),Me(o,"placeholderEnd",void 0),Me(o,"dateType",void 0),Me(o,"dateFormat",void 0),Me(o,"commonTimeSetting",void 0),Me(o,"setValueType",void 0),Me(o,"defaultValue",void 0),Me(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:it.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 _;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.getMessage("startDate");var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:f.getMessage("endDate");var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Fp.controlName;var g;return o.limitDateList=(g=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new O_(w)}))!==null&&g!==void 0?g:[],o}return e}(F);Me(Ap,"RuntimeRules",ZK);function YK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eG(t,e,n){return e=cc(e),rG(t,fP()?Reflect.construct(e,n||[],cc(t).constructor):e.apply(t,n))}function tG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nG(t,e,n){return e&&aP(t.prototype,e),n&&aP(t,n),t}function Ip(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cc(t){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(t)}function oG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kp(t,e)}function rG(t,e){return e&&(iG(e)==="object"||typeof e=="function")?e:YK(t)}function kp(t,e){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(t,e)}function iG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fP=function(){return!!t})()}var Fp=function(t){oG(e,t);function e(n){tG(this,e);var o;return o=eG(this,e,[n]),Ip(o,"props",void 0),o.props=new Ap(n==null?void 0:n.props),o}return nG(e,null,[{key:"controlName",get:function(){return f.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),e}(D);Ip(Fp,"controlFieldType",m.ARRAY),Ip(Fp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function uG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cG(t,e,n){return e=lc(e),_G(t,yP()?Reflect.construct(e,n||[],lc(t).constructor):e.apply(t,n))}function lG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _P(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function aG(t,e,n){return e&&_P(t.prototype,e),n&&_P(t,n),t}function sP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lc(t){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(t)}function fG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dp(t,e)}function _G(t,e){return e&&(sG(e)==="object"||typeof e=="function")?e:uG(t)}function Dp(t,e){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(t,e)}function sG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yP=function(){return!!t})()}var yG=function(t){fG(e,t);function e(n){lG(this,e);var o;return o=cG(this,e,[n]),sP(o,"props",void 0),o.props=new Ap(n==null?void 0:n.props),o}return aG(e,null,[{key:"controlType",get:function(){return"search-date-range"}}]),e}(x);sP(yG,"controlFieldType",m.ARRAY);function pG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xp(t,e,n){return e=ac(e),dG(t,pP()?Reflect.construct(e,n||[],ac(t).constructor):e.apply(t,n))}function Mp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ac(t){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(t)}function Lp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jp(t,e)}function dG(t,e){return e&&(vG(e)==="object"||typeof e=="function")?e:pG(t)}function jp(t,e){return jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jp(t,e)}function vG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pP=function(){return!!t})()}var hG=function(t){Lp(e,t);function e(n){Mp(this,e);var o;return o=xp(this,e,[n]),o.dataBind={type:"any"},o}return e}(J),bG=function(t){Lp(e,t);function e(n){Mp(this,e);var o;return o=xp(this,e,[n]),o[0]!==void 0&&(o[0].type="any"),o}return e}(j),fc=function(t){Lp(e,t);function e(n){Mp(this,e);var o;o=xp(this,e,[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 c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return e}(F);tn(fc,"Rules",hG),tn(fc,"RuntimeRules",bG);function gG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mG(t,e,n){return e=_c(e),PG(t,vP()?Reflect.construct(e,n||[],_c(t).constructor):e.apply(t,n))}function OG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wG(t,e,n){return e&&dP(t.prototype,e),n&&dP(t,n),t}function go(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _c(t){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(t)}function $G(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Np(t,e)}function PG(t,e){return e&&(EG(e)==="object"||typeof e=="function")?e:gG(t)}function Np(t,e){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(t,e)}function EG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vP=function(){return!!t})()}var mo=function(t){$G(e,t);function e(n){OG(this,e);var o;return o=mG(this,e,[n]),go(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return wG(e,null,[{key:"controlName",get:function(){return f.getMessage("vueFormItem")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),e}(D);go(mo,"controlFieldType",m.ANY),go(mo,"controlEventKeys",[]),go(mo,"slots",["grid-table-toolbar-slot",k0.DEFAULT]),go(mo,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function SG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TG(t,e,n){return e=sc(e),IG(t,gP()?Reflect.construct(e,n||[],sc(t).constructor):e.apply(t,n))}function RG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BG(t,e,n){return e&&hP(t.prototype,e),n&&hP(t,n),t}function bP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sc(t){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(t)}function AG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cp(t,e)}function IG(t,e){return e&&(kG(e)==="object"||typeof e=="function")?e:SG(t)}function Cp(t,e){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(t,e)}function kG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gP=function(){return!!t})()}var FG=function(t){AG(e,t);function e(n){RG(this,e);var o;return o=TG(this,e,[n]),bP(o,"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return BG(e,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),e}(x);bP(FG,"controlFieldType",m.ANY);function DG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mP(t,e,n){return e=yc(e),xG(t,$P()?Reflect.construct(e,n||[],yc(t).constructor):e.apply(t,n))}function OP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yc(t){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(t)}function wP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vp(t,e)}function xG(t,e){return e&&(MG(e)==="object"||typeof e=="function")?e:DG(t)}function Vp(t,e){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(t,e)}function MG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($P=function(){return!!t})()}var LG=function(t){wP(e,t);function e(n){OP(this,e);var o;return o=mP(this,e,[n]),ie(o,"listPageBind",[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]),ie(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Nt),zp=function(t){wP(e,t);function e(n){OP(this,e);var o;o=mP(this,e,[n]),ie(o,"options",void 0),ie(o,"optionConfig",void 0),ie(o,"defaultValue",void 0),ie(o,"listPageBind",void 0),ie(o,"datasourceBind",void 0),ie(o,"multistageFilling",void 0),ie(o,"viewFormModelType",void 0),ie(o,"canViewForm",void 0),ie(o,"formBind",void 0),ie(o,"openMultistageFilling",void 0),ie(o,"showSelectedDetail",void 0),ie(o,"selectedContentConfig",void 0),ie(o,"optionDisplayConfig",void 0),ie(o,"canSearch",void 0);var r;o.options=Ge((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 mf(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:vc.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f.getMessage("pleaseSelect");var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";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 Pf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new ye(g))}));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 Lt(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 e}(F);ie(zp,"Rules",LG);function jG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NG(t,e,n){return e=nn(e),HG(t,EP()?Reflect.construct(e,n||[],nn(t).constructor):e.apply(t,n))}function CG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VG(t,e,n){return e&&PP(t.prototype,e),n&&PP(t,n),t}function pc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?dc=Reflect.get:dc=function(r,i,u){var c=qG(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},dc(t,e,n||t)}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function zG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hp(t,e)}function HG(t,e){return e&&(UG(e)==="object"||typeof e=="function")?e:jG(t)}function Hp(t,e){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(t,e)}function qG(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=nn(t),t!==null););return t}function UG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EP=function(){return!!t})()}var vc=function(t){zG(e,t);function e(n){CG(this,e);var o;return o=NG(this,e,[n]),pc(o,"props",void 0),o.props=new zp(n==null?void 0:n.props),o}return VG(e,[{key:"toDataBindModel",value:function(o){var r=dc(nn(e.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.getMessage("selectRelation")}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),e}(D);pc(vc,"controlFieldType",m.VARCHAR),pc(vc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),pc(vc,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function WG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KG(t,e,n){return e=hc(e),JG(t,RP()?Reflect.construct(e,n||[],hc(t).constructor):e.apply(t,n))}function GG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XG(t,e,n){return e&&SP(t.prototype,e),n&&SP(t,n),t}function TP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hc(t){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hc(t)}function QG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qp(t,e)}function JG(t,e){return e&&(ZG(e)==="object"||typeof e=="function")?e:WG(t)}function qp(t,e){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(t,e)}function ZG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RP=function(){return!!t})()}var YG=function(t){QG(e,t);function e(n){GG(this,e);var o;return o=KG(this,e,[n]),TP(o,"props",void 0),o.props=new zp(n==null?void 0:n.props),o}return XG(e,null,[{key:"controlType",get:function(){return"select-relation"}}]),e}(x);TP(YG,"controlFieldType",m.VARCHAR);function eX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tX(t,e,n){return e=bc(e),rX(t,BP()?Reflect.construct(e,n||[],bc(t).constructor):e.apply(t,n))}function nX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bc(t){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(t)}function oX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Up(t,e)}function rX(t,e){return e&&(iX(e)==="object"||typeof e=="function")?e:eX(t)}function Up(t,e){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(t,e)}function iX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BP=function(){return!!t})()}var AP=function(t){oX(e,t);function e(n){return nX(this,e),tX(this,e,[n])}return e}(vo);function uX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cX(t,e,n){return e=gc(e),_X(t,FP()?Reflect.construct(e,n||[],gc(t).constructor):e.apply(t,n))}function lX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function aX(t,e,n){return e&&IP(t.prototype,e),n&&IP(t,n),t}function kP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gc(t){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gc(t)}function fX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wp(t,e)}function _X(t,e){return e&&(sX(e)==="object"||typeof e=="function")?e:uX(t)}function Wp(t,e){return Wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wp(t,e)}function sX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FP=function(){return!!t})()}var yX=function(t){fX(e,t);function e(n){lX(this,e);var o;return o=cX(this,e,[n]),kP(o,"props",void 0),o.props=new AP(n==null?void 0:n.props),o}return aX(e,null,[{key:"controlName",get:function(){return f.getMessage("input")}},{key:"controlType",get:function(){return"search-input"}}]),e}(ho);kP(yX,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}]);function pX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dX(t,e,n){return e=mc(e),gX(t,MP()?Reflect.construct(e,n||[],mc(t).constructor):e.apply(t,n))}function vX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hX(t,e,n){return e&&DP(t.prototype,e),n&&DP(t,n),t}function xP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mc(t){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(t)}function bX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kp(t,e)}function gX(t,e){return e&&(mX(e)==="object"||typeof e=="function")?e:pX(t)}function Kp(t,e){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(t,e)}function mX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MP=function(){return!!t})()}var OX=function(t){bX(e,t);function e(n){vX(this,e);var o;return o=dX(this,e,[n]),xP(o,"props",void 0),o.props=new AP(n==null?void 0:n.props),o}return hX(e,null,[{key:"controlType",get:function(){return"search-input"}}]),e}(x);xP(OX,"controlFieldType",m.VARCHAR);function wX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gp(t,e,n){return e=Oc(e),$X(t,LP()?Reflect.construct(e,n||[],Oc(t).constructor):e.apply(t,n))}function Xp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oc(t){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(t)}function Qp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jp(t,e)}function $X(t,e){return e&&(PX(e)==="object"||typeof e=="function")?e:wX(t)}function Jp(t,e){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(t,e)}function PX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LP=function(){return!!t})()}var EX=function(t){Qp(e,t);function e(n){Xp(this,e);var o;return o=Gp(this,e,[n]),q(o,"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Wo.call(o,n,Et.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}]),o}return e}(J),SX=function(t){Qp(e,t);function e(n){Xp(this,e);var o;return o=Gp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(j),wc=function(t){Qp(e,t);function e(n){Xp(this,e);var o,r;o=Gp(this,e,[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:Et.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:f.getMessage("pleaseSelect");var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var l;o.canSearch=(l=n==null?void 0:n.canSearch)!==null&&l!==void 0?l:!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 g;o.defaultCollapse=(g=n==null?void 0:n.defaultCollapse)!==null&&g!==void 0?g:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new ib((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Et.controlCustomAttributes});var $;o.filterItemDatasourceBind=new ib(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:Et.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var T;o.defaultDisplay=(T=n==null?void 0:n.defaultDisplay)!==null&&T!==void 0?T:!1;var R;o.multistageFilling=(R=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(I){return new ye(I)}))!==null&&R!==void 0?R:[];var z;return o.defaultValue=(z=n==null?void 0:n.defaultValue)!==null&&z!==void 0?z:[],o}return e}(F);q(wc,"Rules",EX),q(wc,"RuntimeRules",SX);function TX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RX(t,e,n){return e=Pc(e),kX(t,NP()?Reflect.construct(e,n||[],Pc(t).constructor):e.apply(t,n))}function BX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AX(t,e,n){return e&&jP(t.prototype,e),n&&jP(t,n),t}function $c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pc(t){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(t)}function IX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zp(t,e)}function kX(t,e){return e&&(FX(e)==="object"||typeof e=="function")?e:TX(t)}function Zp(t,e){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(t,e)}function FX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NP=function(){return!!t})()}var Et=function(t){IX(e,t);function e(n){BX(this,e);var o;return o=RX(this,e,[n]),$c(o,"props",void 0),o.props=new wc(n==null?void 0:n.props),o}return AX(e,null,[{key:"controlName",get:function(){return f.getMessage("tree")}},{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}]}}]),e}(D);$c(Et,"controlEventKeys",["on_change","on_click"]),$c(Et,"controlFieldType",m.ARRAY),$c(Et,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.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 DX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xX(t,e,n){return e=Ec(e),NX(t,zP()?Reflect.construct(e,n||[],Ec(t).constructor):e.apply(t,n))}function MX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LX(t,e,n){return e&&CP(t.prototype,e),n&&CP(t,n),t}function VP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ec(t){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(t)}function jX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yp(t,e)}function NX(t,e){return e&&(CX(e)==="object"||typeof e=="function")?e:DX(t)}function Yp(t,e){return Yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yp(t,e)}function CX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zP=function(){return!!t})()}var VX=function(t){jX(e,t);function e(n){MX(this,e);var o;return o=xX(this,e,[n]),VP(o,"props",void 0),o.props=new wc(n==null?void 0:n.props),o}return LX(e,null,[{key:"controlType",get:function(){return"tree"}}]),e}(x);VP(VX,"controlFieldType",m.ARRAY);function zX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ed(t,e,n){return e=Sc(e),HX(t,HP()?Reflect.construct(e,n||[],Sc(t).constructor):e.apply(t,n))}function td(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sc(t){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(t)}function nd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&od(t,e)}function HX(t,e){return e&&(qX(e)==="object"||typeof e=="function")?e:zX(t)}function od(t,e){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(t,e)}function qX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HP=function(){return!!t})()}var UX=function(t){nd(e,t);function e(n){td(this,e);var o;return o=ed(this,e,[n]),ue(o,"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ue(o,"externalScope",{type:"any"}),Wo.call(o,n,Oo.controlCustomAttributes),n.externalType===yt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")}),o}return e}(J),WX=function(t){nd(e,t);function e(n){td(this,e);var o;return o=ed(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(j),Tc=function(t){nd(e,t);function e(n){td(this,e);var o;o=ed(this,e,[n]),ue(o,"showType",void 0),ue(o,"range",void 0),ue(o,"rangeOptions",void 0),ue(o,"multiple",void 0),ue(o,"defaultValueType",void 0),ue(o,"defaultValue",void 0),ue(o,"multistageFilling",void 0),ue(o,"datasourceBind",void 0),ue(o,"datasourceType",void 0),ue(o,"insideType",void 0),ue(o,"externalType",void 0),ue(o,"externalScope",void 0),ue(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 c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"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?_:Oo.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:f.getMessage("pleaseEnterNameorEmail");var d;o.datasourceBind=new zo((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:Oo.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:E_.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:S_.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:yt.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 ye($))})),o}return e}(F);ue(Tc,"Rules",UX),ue(Tc,"RuntimeRules",WX);function KX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GX(t,e,n){return e=Rc(e),ZX(t,UP()?Reflect.construct(e,n||[],Rc(t).constructor):e.apply(t,n))}function XX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function QX(t,e,n){return e&&qP(t.prototype,e),n&&qP(t,n),t}function rd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rc(t){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(t)}function JX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&id(t,e)}function ZX(t,e){return e&&(YX(e)==="object"||typeof e=="function")?e:KX(t)}function id(t,e){return id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},id(t,e)}function YX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UP=function(){return!!t})()}var Oo=function(t){JX(e,t);function e(n){XX(this,e);var o;return o=GX(this,e,[n]),rd(o,"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return QX(e,null,[{key:"controlName",get:function(){return f.getMessage("people")}},{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}]}}]),e}(D);rd(Oo,"controlFieldType",m.EMPLOYEES),rd(Oo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 eQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tQ(t,e,n){return e=Bc(e),iQ(t,GP()?Reflect.construct(e,n||[],Bc(t).constructor):e.apply(t,n))}function nQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function WP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oQ(t,e,n){return e&&WP(t.prototype,e),n&&WP(t,n),t}function KP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bc(t){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bc(t)}function rQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ud(t,e)}function iQ(t,e){return e&&(uQ(e)==="object"||typeof e=="function")?e:eQ(t)}function ud(t,e){return ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ud(t,e)}function uQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GP=function(){return!!t})()}var cQ=function(t){rQ(e,t);function e(n){nQ(this,e);var o;return o=tQ(this,e,[n]),KP(o,"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return oQ(e,null,[{key:"controlType",get:function(){return"employee2"}}]),e}(x);KP(cQ,"controlFieldType",m.EMPLOYEES);function lQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XP(t,e,n){return e=Ac(e),aQ(t,ZP()?Reflect.construct(e,n||[],Ac(t).constructor):e.apply(t,n))}function QP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ac(t){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ac(t)}function JP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cd(t,e)}function aQ(t,e){return e&&(fQ(e)==="object"||typeof e=="function")?e:lQ(t)}function cd(t,e){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(t,e)}function fQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZP=function(){return!!t})()}var _Q=function(t){JP(e,t);function e(n){QP(this,e);var o;return o=XP(this,e,[n]),ze(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:f.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectOnlyOne"),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.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator:function(l,a,_){if(i.type==="public"&&sf(a.value)&&a.value.length===0){_(f.getMessage("pleaseSelectPhoneOrEmail"));return}_()}},company:{type:"object",required:!0,validator:function(l,a,_){if(i.type==="public"&&i.signatureType.includes("company")&&sf(a.value)&&a.value.length===0){_(f.getMessage("pleaseSelectCompanyName"));return}_()}}}},r},{})}}},o}return e}(J),ld=function(t){JP(e,t);function e(n){QP(this,e);var o;o=XP(this,e,[n]),ze(o,"buttonType",void 0),ze(o,"content",void 0),ze(o,"showType",void 0),ze(o,"color",void 0),ze(o,"icon",void 0),ze(o,"command",""),ze(o,"isLoading",!1),ze(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f.getMessage("signature");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;return o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2",o.signatureConfig=new k7(n==null?void 0:n.signatureConfig),o}return e}(F);ze(ld,"Rules",_Q);function sQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yQ(t,e,n){return e=kc(e),hQ(t,eE()?Reflect.construct(e,n||[],kc(t).constructor):e.apply(t,n))}function pQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function dQ(t,e,n){return e&&YP(t.prototype,e),n&&YP(t,n),t}function Ic(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kc(t){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kc(t)}function vQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ad(t,e)}function hQ(t,e){return e&&(bQ(e)==="object"||typeof e=="function")?e:sQ(t)}function ad(t,e){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(t,e)}function bQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eE=function(){return!!t})()}var Fc=function(t){vQ(e,t);function e(n){pQ(this,e);var o;return o=yQ(this,e,[n]),Ic(o,"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return dQ(e,null,[{key:"controlName",get:function(){return f.getMessage("electronicSignature")}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),e}(D);Ic(Fc,"controlEventKeys",["on_click","on_click_finish"]),Ic(Fc,"controlFieldType",m.VARCHAR),Ic(Fc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.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 gQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mQ(t,e,n){return e=Dc(e),PQ(t,oE()?Reflect.construct(e,n||[],Dc(t).constructor):e.apply(t,n))}function OQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wQ(t,e,n){return e&&tE(t.prototype,e),n&&tE(t,n),t}function nE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dc(t){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(t)}function $Q(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fd(t,e)}function PQ(t,e){return e&&(EQ(e)==="object"||typeof e=="function")?e:gQ(t)}function fd(t,e){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(t,e)}function EQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oE=function(){return!!t})()}var SQ=function(t){$Q(e,t);function e(n){OQ(this,e);var o;return o=mQ(this,e,[n]),nE(o,"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return wQ(e,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),e}(x);nE(SQ,"controlFieldType",m.VARCHAR);function TQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _d(t,e,n){return e=xc(e),RQ(t,rE()?Reflect.construct(e,n||[],xc(t).constructor):e.apply(t,n))}function sd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xc(t){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(t)}function yd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pd(t,e)}function RQ(t,e){return e&&(BQ(e)==="object"||typeof e=="function")?e:TQ(t)}function pd(t,e){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(t,e)}function BQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rE=function(){return!!t})()}var AQ=function(t){yd(e,t);function e(n){sd(this,e);var o;return o=_d(this,e,[n]),ce(o,"content",{type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")}),ce(o,"canAdd",void 0),ce(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(f.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(f.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(f.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return e}(J),IQ=function(t){yd(e,t);function e(n){sd(this,e);var o;return o=_d(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(j),Mc=function(t){yd(e,t);function e(n){sd(this,e);var o;o=_d(this,e,[n]),ce(o,"content",void 0),ce(o,"canAdd",void 0),ce(o,"addLocal",void 0),ce(o,"addOnline",void 0),ce(o,"canDownload",void 0),ce(o,"canEdit",void 0),ce(o,"canExport",void 0),ce(o,"canDelete",void 0),ce(o,"wpsSetting",void 0),ce(o,"maxSize",void 0),ce(o,"defaultValue",void 0),ce(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f.getMessage("createWPS");var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var l;o.addOnline=(l=n==null?void 0:n.addOnline)!==null&&l!==void 0?l:!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:Fq;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new F7(n==null?void 0:n.wpsSetting);var g;return o.revisionsMode=(g=n==null?void 0:n.revisionsMode)!==null&&g!==void 0?g:!1,o}return e}(F);ce(Mc,"Rules",AQ),ce(Mc,"RuntimeRules",IQ);function kQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FQ(t,e,n){return e=jc(e),LQ(t,uE()?Reflect.construct(e,n||[],jc(t).constructor):e.apply(t,n))}function DQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xQ(t,e,n){return e&&iE(t.prototype,e),n&&iE(t,n),t}function Lc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jc(t){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(t)}function MQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dd(t,e)}function LQ(t,e){return e&&(jQ(e)==="object"||typeof e=="function")?e:kQ(t)}function dd(t,e){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(t,e)}function jQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uE=function(){return!!t})()}var Nc=function(t){MQ(e,t);function e(n){DQ(this,e);var o;return o=FQ(this,e,[n]),Lc(o,"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return xQ(e,null,[{key:"controlName",get:function(){return f.getMessage("WPS")}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),e}(D);Lc(Nc,"controlEventKeys",["on_change","on_wps_open"]),Lc(Nc,"controlFieldType",m.FILE),Lc(Nc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.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 NQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CQ(t,e,n){return e=Cc(e),qQ(t,aE()?Reflect.construct(e,n||[],Cc(t).constructor):e.apply(t,n))}function VQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zQ(t,e,n){return e&&cE(t.prototype,e),n&&cE(t,n),t}function lE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cc(t){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(t)}function HQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vd(t,e)}function qQ(t,e){return e&&(UQ(e)==="object"||typeof e=="function")?e:NQ(t)}function vd(t,e){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(t,e)}function UQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aE=function(){return!!t})()}var WQ=function(t){HQ(e,t);function e(n){VQ(this,e);var o;return o=CQ(this,e,[n]),lE(o,"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return zQ(e,null,[{key:"controlType",get:function(){return"wps"}}]),e}(x);lE(WQ,"controlFieldType",m.FILE);function KQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hd(t,e,n){return e=Vc(e),GQ(t,fE()?Reflect.construct(e,n||[],Vc(t).constructor):e.apply(t,n))}function bd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vc(t){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(t)}function gd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&md(t,e)}function GQ(t,e){return e&&(XQ(e)==="object"||typeof e=="function")?e:KQ(t)}function md(t,e){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(t,e)}function XQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fE=function(){return!!t})()}var QQ=function(t){gd(e,t);function e(n){bd(this,e);var o;return o=hd(this,e,[n]),Q(o,"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Q(o,"businessScope",{type:"any"}),Wo.call(o,n,rn.controlCustomAttributes),n.businessType===yt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")}),o}return e}(J),JQ=function(t){gd(e,t);function e(n){bd(this,e);var o;return o=hd(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(j),zc=function(t){gd(e,t);function e(n){bd(this,e);var o;o=hd(this,e,[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 c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];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:rn.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f.getMessage("pleaseSelectDept");var O;o.datasourceBind=new zo((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:rn.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g: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:yt.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 T;(T=o.multistageFilling)===null||T===void 0||T.push(new ye(P))})),o}return e}(F);Q(zc,"Rules",QQ),Q(zc,"RuntimeRules",JQ);function ZQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YQ(t,e,n){return e=on(e),oJ(t,sE()?Reflect.construct(e,n||[],on(t).constructor):e.apply(t,n))}function eJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tJ(t,e,n){return e&&_E(t.prototype,e),n&&_E(t,n),t}function Hc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?qc=Reflect.get:qc=function(r,i,u){var c=rJ(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},qc(t,e,n||t)}function on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},on(t)}function nJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Od(t,e)}function oJ(t,e){return e&&(iJ(e)==="object"||typeof e=="function")?e:ZQ(t)}function Od(t,e){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(t,e)}function rJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=on(t),t!==null););return t}function iJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sE=function(){return!!t})()}var rn=function(t){nJ(e,t);function e(n){eJ(this,e);var o;return o=YQ(this,e,[n]),Hc(o,"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return tJ(e,[{key:"toDataBindModel",value:function(o){var r=qc(on(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}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}]}}]),e}(D);Hc(rn,"controlName",f.getMessage("department")),Hc(rn,"controlFieldType",m.DEPARTMENTS),Hc(rn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 uJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cJ(t,e,n){return e=Uc(e),_J(t,dE()?Reflect.construct(e,n||[],Uc(t).constructor):e.apply(t,n))}function lJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function aJ(t,e,n){return e&&yE(t.prototype,e),n&&yE(t,n),t}function pE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uc(t){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(t)}function fJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wd(t,e)}function _J(t,e){return e&&(sJ(e)==="object"||typeof e=="function")?e:uJ(t)}function wd(t,e){return wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wd(t,e)}function sJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dE=function(){return!!t})()}var yJ=function(t){fJ(e,t);function e(n){lJ(this,e);var o;return o=cJ(this,e,[n]),pE(o,"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return aJ(e,null,[{key:"controlType",get:function(){return"department2"}}]),e}(x);pE(yJ,"controlFieldType",m.DEPARTMENTS);function pJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $d(t,e,n){return e=Wc(e),dJ(t,vE()?Reflect.construct(e,n||[],Wc(t).constructor):e.apply(t,n))}function Pd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wc(t){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(t)}function Ed(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sd(t,e)}function dJ(t,e){return e&&(vJ(e)==="object"||typeof e=="function")?e:pJ(t)}function Sd(t,e){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(t,e)}function vJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vE=function(){return!!t})()}var hJ=function(t){Ed(e,t);function e(n){Pd(this,e);var o;return o=$d(this,e,[n]),V(o,"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),V(o,"businessScope",{type:"any"}),Wo.call(o,n,wo.controlCustomAttributes),n.businessType===yt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")}),o}return e}(J),bJ=function(t){Ed(e,t);function e(n){Pd(this,e);var o;return o=$d(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(j),Kc=function(t){Ed(e,t);function e(n){Pd(this,e);var o;o=$d(this,e,[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 mf(n==null?void 0:n.listPageBind);var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];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:wo.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f.getMessage("pleaseSelectOrg");var O;o.datasourceBind=new Dx((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:wo.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g: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:yt.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 T;o.showSelectedDetail=(T=n==null?void 0:n.showSelectedDetail)!==null&&T!==void 0?T:!1,o.selectedContentConfig=new Pf(n==null?void 0:n.selectedContentConfig);var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(z){var I;(I=o.multistageFilling)===null||I===void 0||I.push(new ye(z))})),o}return e}(F);V(Kc,"Rules",hJ),V(Kc,"RuntimeRules",bJ);function gJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mJ(t,e,n){return e=un(e),PJ(t,bE()?Reflect.construct(e,n||[],un(t).constructor):e.apply(t,n))}function OJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wJ(t,e,n){return e&&hE(t.prototype,e),n&&hE(t,n),t}function Td(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Gc=Reflect.get:Gc=function(r,i,u){var c=EJ(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},Gc(t,e,n||t)}function un(t){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(t)}function $J(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rd(t,e)}function PJ(t,e){return e&&(SJ(e)==="object"||typeof e=="function")?e:gJ(t)}function Rd(t,e){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(t,e)}function EJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=un(t),t!==null););return t}function SJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bE=function(){return!!t})()}var wo=function(t){$J(e,t);function e(n){OJ(this,e);var o;return o=mJ(this,e,[n]),Td(o,"props",void 0),o.props=new Kc(n==null?void 0:n.props),o}return wJ(e,[{key:"toDataBindModel",value:function(o){var r=Gc(un(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlName",get:function(){return f.getMessage("organizationSelection")}},{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}]}}]),e}(D);Td(wo,"controlFieldType",m.DEPARTMENTS),Td(wo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 TJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RJ(t,e,n){return e=Xc(e),kJ(t,OE()?Reflect.construct(e,n||[],Xc(t).constructor):e.apply(t,n))}function BJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AJ(t,e,n){return e&&gE(t.prototype,e),n&&gE(t,n),t}function mE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xc(t){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(t)}function IJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bd(t,e)}function kJ(t,e){return e&&(FJ(e)==="object"||typeof e=="function")?e:TJ(t)}function Bd(t,e){return Bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bd(t,e)}function FJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OE=function(){return!!t})()}var DJ=function(t){IJ(e,t);function e(n){BJ(this,e);var o;return o=RJ(this,e,[n]),mE(o,"props",void 0),o.props=new Kc(n==null?void 0:n.props),o}return AJ(e,null,[{key:"controlType",get:function(){return"organization-selection"}}]),e}(x);mE(DJ,"controlFieldType",m.DEPARTMENTS);function xJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ad(t,e,n){return e=Qc(e),MJ(t,wE()?Reflect.construct(e,n||[],Qc(t).constructor):e.apply(t,n))}function Id(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qc(t){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(t)}function kd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fd(t,e)}function MJ(t,e){return e&&(LJ(e)==="object"||typeof e=="function")?e:xJ(t)}function Fd(t,e){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(t,e)}function LJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wE=function(){return!!t})()}var jJ=function(t){kd(e,t);function e(n){Id(this,e);var o;return o=Ad(this,e,[n]),o.dataBind={type:"any"},o}return e}(J),NJ=function(t){kd(e,t);function e(n){Id(this,e);var o;return o=Ad(this,e,[n]),o[0]!==void 0&&(o[0].type="any"),o}return e}(j),Jc=function(t){kd(e,t);function e(n){Id(this,e);var o;o=Ad(this,e,[n]),cn(o,"controlExportName",void 0),cn(o,"permissions",void 0),cn(o,"defaultValue",void 0),cn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:el.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 c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return e}(F);cn(Jc,"Rules",jJ),cn(Jc,"RuntimeRules",NJ);function CJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VJ(t,e,n){return e=Yc(e),UJ(t,PE()?Reflect.construct(e,n||[],Yc(t).constructor):e.apply(t,n))}function zJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function HJ(t,e,n){return e&&$E(t.prototype,e),n&&$E(t,n),t}function Zc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yc(t){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(t)}function qJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dd(t,e)}function UJ(t,e){return e&&(WJ(e)==="object"||typeof e=="function")?e:CJ(t)}function Dd(t,e){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(t,e)}function WJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PE=function(){return!!t})()}var el=function(t){qJ(e,t);function e(n){zJ(this,e);var o;return o=VJ(this,e,[n]),Zc(o,"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return HJ(e,null,[{key:"controlName",get:function(){return f.getMessage("vuePage")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return y.VUE_PAGE}}]),e}(D);Zc(el,"controlFieldType",m.ANY),Zc(el,"controlEventKeys",[]),Zc(el,"setting",[]);function KJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GJ(t,e,n){return e=tl(e),ZJ(t,TE()?Reflect.construct(e,n||[],tl(t).constructor):e.apply(t,n))}function XJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function EE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function QJ(t,e,n){return e&&EE(t.prototype,e),n&&EE(t,n),t}function SE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tl(t){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(t)}function JJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xd(t,e)}function ZJ(t,e){return e&&(YJ(e)==="object"||typeof e=="function")?e:KJ(t)}function xd(t,e){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(t,e)}function YJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TE=function(){return!!t})()}var eZ=function(t){JJ(e,t);function e(n){XJ(this,e);var o;return o=GJ(this,e,[n]),SE(o,"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return QJ(e,null,[{key:"controlType",get:function(){return y.VUE_PAGE}}]),e}(x);SE(eZ,"controlFieldType",m.ANY);function tZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nZ(t,e,n){return e=nl(e),cZ(t,BE()?Reflect.construct(e,n||[],nl(t).constructor):e.apply(t,n))}function oZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rZ(t,e,n){return e&&RE(t.prototype,e),n&&RE(t,n),t}function iZ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nl(t){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(t)}function uZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Md(t,e)}function cZ(t,e){return e&&(lZ(e)==="object"||typeof e=="function")?e:tZ(t)}function Md(t,e){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(t,e)}function lZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BE=function(){return!!t})()}var aZ=function(t){uZ(e,t);function e(n){return oZ(this,e),nZ(this,e,[n])}return rZ(e,null,[{key:"controlName",get:function(){return f.getMessage("grid")}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),e}(Y);iZ(aZ,"excludes",[y.GRID]);function fZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _Z(t,e,n){return e=ol(e),pZ(t,IE()?Reflect.construct(e,n||[],ol(t).constructor):e.apply(t,n))}function sZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ol(t){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(t)}function yZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ld(t,e)}function pZ(t,e){return e&&(dZ(e)==="object"||typeof e=="function")?e:fZ(t)}function Ld(t,e){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(t,e)}function dZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IE=function(){return!!t})()}var vZ=24,$o=function(t){yZ(e,t);function e(n){sZ(this,e);var o;o=_Z(this,e,[n]),AE(o,"span",void 0),AE(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:vZ;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return e}(Z);function hZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bZ(t,e,n){return e=rl(e),wZ(t,FE()?Reflect.construct(e,n||[],rl(t).constructor):e.apply(t,n))}function gZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mZ(t,e,n){return e&&kE(t.prototype,e),n&&kE(t,n),t}function jd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rl(t){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(t)}function OZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nd(t,e)}function wZ(t,e){return e&&($Z(e)==="object"||typeof e=="function")?e:hZ(t)}function Nd(t,e){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(t,e)}function $Z(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FE=function(){return!!t})()}var Po=function(t){OZ(e,t);function e(n){gZ(this,e);var o;return o=bZ(this,e,[n]),jd(o,"props",void 0),o.props=new $o(n==null?void 0:n.props),o}return mZ(e,null,[{key:"controlName",get:function(){return f.getMessage("col")}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),e}(Y);jd(Po,"excludes",[y.COL,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),jd(Po,"childrenMaxLength",1);function PZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EZ(t,e,n){return e=il(e),AZ(t,xE()?Reflect.construct(e,n||[],il(t).constructor):e.apply(t,n))}function SZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function TZ(t,e,n){return e&&DE(t.prototype,e),n&&DE(t,n),t}function RZ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function il(t){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(t)}function BZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cd(t,e)}function AZ(t,e){return e&&(IZ(e)==="object"||typeof e=="function")?e:PZ(t)}function Cd(t,e){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(t,e)}function IZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xE=function(){return!!t})()}var kZ=function(t){BZ(e,t);function e(n){SZ(this,e);var o;return o=EZ(this,e,[n]),RZ(o,"props",void 0),o.props=new $o(n==null?void 0:n.props),o}return TZ(e,null,[{key:"controlType",get:function(){return"col"}}]),e}(Pt),ME={Designer:Po,Runtime:kZ,Property:$o};function FZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DZ(t,e,n){return e=ul(e),LZ(t,jE()?Reflect.construct(e,n||[],ul(t).constructor):e.apply(t,n))}function xZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function MZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vd(t,e)}function LZ(t,e){return e&&(jZ(e)==="object"||typeof e=="function")?e:FZ(t)}function Vd(t,e){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(t,e)}function jZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jE=function(){return!!t})()}var zd=function(t){MZ(e,t);function e(n){xZ(this,e);var o;o=DZ(this,e,[n]),LE(o,"layoutMode",void 0),LE(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 e}(Z);function NZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CZ(t,e,n){return e=cl(e),qZ(t,CE()?Reflect.construct(e,n||[],cl(t).constructor):e.apply(t,n))}function VZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zZ(t,e,n){return e&&NE(t.prototype,e),n&&NE(t,n),t}function Hd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cl(t){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(t)}function HZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qd(t,e)}function qZ(t,e){return e&&(UZ(e)==="object"||typeof e=="function")?e:NZ(t)}function qd(t,e){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(t,e)}function UZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CE=function(){return!!t})()}var Ud=function(t){HZ(e,t);function e(n){VZ(this,e);var o;return o=CZ(this,e,[n]),Hd(o,"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return zZ(e,null,[{key:"controlName",get:function(){return f.getMessage("row")}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);Hd(Ud,"excludes",[y.ROW]),Hd(Ud,"setting",[{key:"col-setting",visible:!0}]);function WZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KZ(t,e,n){return e=ll(e),ZZ(t,zE()?Reflect.construct(e,n||[],ll(t).constructor):e.apply(t,n))}function GZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XZ(t,e,n){return e&&VE(t.prototype,e),n&&VE(t,n),t}function QZ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ll(t){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(t)}function JZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wd(t,e)}function ZZ(t,e){return e&&(YZ(e)==="object"||typeof e=="function")?e:WZ(t)}function Wd(t,e){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(t,e)}function YZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zE=function(){return!!t})()}var eY=function(t){JZ(e,t);function e(n){GZ(this,e);var o;return o=KZ(this,e,[n]),QZ(o,"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return XZ(e,null,[{key:"controlType",get:function(){return"row"}}]),e}(Pt);function tY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nY(t,e,n){return e=al(e),uY(t,qE()?Reflect.construct(e,n||[],al(t).constructor):e.apply(t,n))}function oY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rY(t,e,n){return e&&HE(t.prototype,e),n&&HE(t,n),t}function Kd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function al(t){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(t)}function iY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gd(t,e)}function uY(t,e){return e&&(cY(e)==="object"||typeof e=="function")?e:tY(t)}function Gd(t,e){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(t,e)}function cY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qE=function(){return!!t})()}var lY=4,fl=function(t){iY(e,t);function e(n){return oY(this,e),nY(this,e,[n])}return rY(e,null,[{key:"controlName",get:function(){return f.getMessage("gridRow")}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),e}(Ud);Kd(fl,"excludes",[y.GRID_ROW]),Kd(fl,"setting",[]),Kd(fl,"childrenMaxLength",lY);function aY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fY(t,e,n){return e=_l(e),pY(t,WE()?Reflect.construct(e,n||[],_l(t).constructor):e.apply(t,n))}function _Y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function UE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sY(t,e,n){return e&&UE(t.prototype,e),n&&UE(t,n),t}function _l(t){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(t)}function yY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xd(t,e)}function pY(t,e){return e&&(dY(e)==="object"||typeof e=="function")?e:aY(t)}function Xd(t,e){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(t,e)}function dY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WE=function(){return!!t})()}var vY=function(t){yY(e,t);function e(n){return _Y(this,e),fY(this,e,[n])}return sY(e,null,[{key:"controlType",get:function(){return"grid-row"}}]),e}(eY);function hY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bY(t,e,n){return e=sl(e),OY(t,KE()?Reflect.construct(e,n||[],sl(t).constructor):e.apply(t,n))}function gY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function mY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qd(t,e)}function OY(t,e){return e&&(wY(e)==="object"||typeof e=="function")?e:hY(t)}function Qd(t,e){return Qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qd(t,e)}function wY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KE=function(){return!!t})()}var $Y=function(t){mY(e,t);function e(n){return gY(this,e),bY(this,e,[n])}return e}(zd),PY={Designer:fl,Runtime:vY,Property:$Y};function EY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GE(t,e,n){return e=yl(e),SY(t,JE()?Reflect.construct(e,n||[],yl(t).constructor):e.apply(t,n))}function XE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yl(t){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(t)}function QE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jd(t,e)}function SY(t,e){return e&&(TY(e)==="object"||typeof e=="function")?e:EY(t)}function Jd(t,e){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(t,e)}function TY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JE=function(){return!!t})()}var RY=function(t){QE(e,t);function e(){XE(this,e);var n;return n=GE(this,e,arguments),Eo(n,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),n}return e}(Z.Rules),ZE=function(t){QE(e,t);function e(n){XE(this,e);var o;o=GE(this,e,[n]),Eo(o,"caption",void 0),Eo(o,"isHideCaption",void 0),Eo(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:f.getMessage("cardGroup");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 e}(Z);Eo(ZE,"Rules",RY);function BY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AY(t,e,n){return e=pl(e),DY(t,eS()?Reflect.construct(e,n||[],pl(t).constructor):e.apply(t,n))}function IY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function kY(t,e,n){return e&&YE(t.prototype,e),n&&YE(t,n),t}function Zd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pl(t){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(t)}function FY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yd(t,e)}function DY(t,e){return e&&(xY(e)==="object"||typeof e=="function")?e:BY(t)}function Yd(t,e){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(t,e)}function xY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eS=function(){return!!t})()}var tS=function(t){FY(e,t);function e(n){IY(this,e);var o;return o=AY(this,e,[n]),Zd(o,"props",void 0),o.props=new ZE(n==null?void 0:n.props),o}return kY(e,null,[{key:"controlName",get:function(){return f.getMessage("cardGroup")}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),e}(Y);Zd(tS,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Zd(tS,"excludes",[y.CARD_GROUP]);function MY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nS(t,e,n){return e=dl(e),LY(t,iS()?Reflect.construct(e,n||[],dl(t).constructor):e.apply(t,n))}function oS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dl(t){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(t)}function rS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ev(t,e)}function LY(t,e){return e&&(jY(e)==="object"||typeof e=="function")?e:MY(t)}function ev(t,e){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(t,e)}function jY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iS=function(){return!!t})()}var NY=function(t){rS(e,t);function e(n){oS(this,e);var o;return o=nS(this,e,[n]),He(o,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),He(o,"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),He(o,"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(U),vl=function(t){rS(e,t);function e(n){oS(this,e);var o;o=nS(this,e,[n]),He(o,"metaAutoWidth",void 0),He(o,"caption",void 0),He(o,"fixed",void 0),He(o,"isShowCaptionTip",void 0),He(o,"captionTip",void 0),He(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 c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var l;return o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,o.metaAutoWidth=new nb(n==null?void 0:n.metaAutoWidth),o}return e}(Z);He(vl,"Rules",NY);function CY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VY(t,e,n){return e=hl(e),qY(t,uS()?Reflect.construct(e,n||[],hl(t).constructor):e.apply(t,n))}function zY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hl(t){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(t)}function HY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tv(t,e)}function qY(t,e){return e&&(UY(e)==="object"||typeof e=="function")?e:CY(t)}function tv(t,e){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(t,e)}function UY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uS=function(){return!!t})()}var Le=function(t){HY(e,t);function e(n){zY(this,e);var o;return o=VY(this,e,[n]),St(o,"props",void 0),o.props=new vl(n==null?void 0:n.props),o}return e}(Y);St(Le,"controlName",f.getMessage("subtableColumn")),St(Le,"controlType","subtable-column"),St(Le,"controlIcon","subtable-column"),St(Le,"childrenMaxLength",1),St(Le,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),St(Le,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function WY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KY(t,e,n){return e=bl(e),QY(t,lS()?Reflect.construct(e,n||[],bl(t).constructor):e.apply(t,n))}function GY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bl(t){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(t)}function XY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nv(t,e)}function QY(t,e){return e&&(JY(e)==="object"||typeof e=="function")?e:WY(t)}function nv(t,e){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(t,e)}function JY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lS=function(){return!!t})()}var aS=function(t){XY(e,t);function e(n){GY(this,e);var o;return o=KY(this,e,[n]),cS(o,"props",void 0),o.props=new vl(n==null?void 0:n.props),o}return e}(Pt);cS(aS,"controlType","subtable-column");var ZY={Designer:Le,Runtime:aS,Property:vl};function YY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eee(t,e,n){return e=gl(e),oee(t,fS()?Reflect.construct(e,n||[],gl(t).constructor):e.apply(t,n))}function tee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gl(t){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(t)}function nee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ov(t,e)}function oee(t,e){return e&&(ree(e)==="object"||typeof e=="function")?e:YY(t)}function ov(t,e){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(t,e)}function ree(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fS=function(){return!!t})()}var iee=function(t){nee(e,t);function e(n){return tee(this,e),eee(this,e,[n])}return e}(Z);function uee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cee(t,e,n){return e=ml(e),fee(t,_S()?Reflect.construct(e,n||[],ml(t).constructor):e.apply(t,n))}function lee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ml(t){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(t)}function aee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rv(t,e)}function fee(t,e){return e&&(_ee(e)==="object"||typeof e=="function")?e:uee(t)}function rv(t,e){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(t,e)}function _ee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _S(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_S=function(){return!!t})()}var ln=function(t){aee(e,t);function e(n){lee(this,e);var o;return o=cee(this,e,[n]),Tt(o,"props",void 0),o.props=new iee(n==null?void 0:n.props),o}return e}(Y);Tt(ln,"controlName",f.getMessage("subtableRow")),Tt(ln,"controlType","subtable-row"),Tt(ln,"controlIcon","subtable-row"),Tt(ln,"childrenMaxLength",1),Tt(ln,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Tt(ln,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function see(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yee(t,e,n){return e=Ol(e),vee(t,sS()?Reflect.construct(e,n||[],Ol(t).constructor):e.apply(t,n))}function pee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ol(t){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(t)}function dee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iv(t,e)}function vee(t,e){return e&&(hee(e)==="object"||typeof e=="function")?e:see(t)}function iv(t,e){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(t,e)}function hee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sS=function(){return!!t})()}var yS=function(t){dee(e,t);function e(n){pee(this,e);var o;o=yee(this,e,[n]),Re(o,"widthType",void 0),Re(o,"width",void 0),Re(o,"caption",void 0),Re(o,"fieldCode",void 0),Re(o,"fieldType",void 0),Re(o,"fieldName",void 0),Re(o,"datasourceBind",void 0),Re(o,"fixed",void 0),Re(o,"textCleanFormart",void 0),Re(o,"decimalKeepPrecision",void 0),Re(o,"timestampDateType",void 0),Re(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 c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:m.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:it.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return e}(Z);function bee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gee(t,e,n){return e=wl(e),wee(t,pS()?Reflect.construct(e,n||[],wl(t).constructor):e.apply(t,n))}function mee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wl(t){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(t)}function Oee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uv(t,e)}function wee(t,e){return e&&($ee(e)==="object"||typeof e=="function")?e:bee(t)}function uv(t,e){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(t,e)}function $ee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pS=function(){return!!t})()}var an=function(t){Oee(e,t);function e(n){mee(this,e);var o;return o=gee(this,e,[n]),Rt(o,"props",void 0),o.props=new yS(n==null?void 0:n.props),o}return e}(Y);Rt(an,"controlName","\u5217\u8868\u5355\u5143\u683C"),Rt(an,"controlType","gridtable-column"),Rt(an,"controlIcon","gridtable-column"),Rt(an,"childrenMaxLength",1),Rt(an,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Rt(an,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function Pee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eee(t,e,n){return e=$l(e),Ree(t,vS()?Reflect.construct(e,n||[],$l(t).constructor):e.apply(t,n))}function See(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $l(t){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(t)}function Tee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cv(t,e)}function Ree(t,e){return e&&(Bee(e)==="object"||typeof e=="function")?e:Pee(t)}function cv(t,e){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(t,e)}function Bee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vS=function(){return!!t})()}var Aee=function(t){Tee(e,t);function e(n){See(this,e);var o;return o=Eee(this,e,[n]),dS(o,"props",void 0),o.props=new yS(n==null?void 0:n.props),o}return e}(Pt);dS(Aee,"controlType","gridtable-column");function Iee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kee(t,e,n){return e=Pl(e),xee(t,bS()?Reflect.construct(e,n||[],Pl(t).constructor):e.apply(t,n))}function Fee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pl(t){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(t)}function Dee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lv(t,e)}function xee(t,e){return e&&(Mee(e)==="object"||typeof e=="function")?e:Iee(t)}function lv(t,e){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(t,e)}function Mee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bS=function(){return!!t})()}var Lee=function(t){Dee(e,t);function e(n){Fee(this,e);var o;o=kee(this,e,[n]),hS(o,"childMinWidth",void 0),hS(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 e}(Z);function jee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nee(t,e,n){return e=El(e),Hee(t,mS()?Reflect.construct(e,n||[],El(t).constructor):e.apply(t,n))}function Cee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vee(t,e,n){return e&&gS(t.prototype,e),n&&gS(t,n),t}function av(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(t)}function zee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fv(t,e)}function Hee(t,e){return e&&(qee(e)==="object"||typeof e=="function")?e:jee(t)}function fv(t,e){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(t,e)}function qee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mS=function(){return!!t})()}var OS=function(t){zee(e,t);function e(n){Cee(this,e);var o;return o=Nee(this,e,[n]),av(o,"props",void 0),o.props=new Lee(n==null?void 0:n.props),o}return Vee(e,null,[{key:"controlName",get:function(){return f.getMessage("gridLayoutContainer")}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),e}(Y);av(OS,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),av(OS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function Uee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wee(t,e,n){return e=Sl(e),Qee(t,wS()?Reflect.construct(e,n||[],Sl(t).constructor):e.apply(t,n))}function Kee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sl(t){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(t)}function Xee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_v(t,e)}function Qee(t,e){return e&&(Jee(e)==="object"||typeof e=="function")?e:Uee(t)}function _v(t,e){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(t,e)}function Jee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wS=function(){return!!t})()}var Zee=function(t){Xee(e,t);function e(n){Kee(this,e);var o;o=Wee(this,e,[n]),Gee(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return e}(Z);function Yee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $S(t,e,n){return e=Tl(e),ete(t,SS()?Reflect.construct(e,n||[],Tl(t).constructor):e.apply(t,n))}function PS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tl(t){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(t)}function ES(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yv(t,e)}function ete(t,e){return e&&(tte(e)==="object"||typeof e=="function")?e:Yee(t)}function yv(t,e){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(t,e)}function tte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SS=function(){return!!t})()}var nte=function(t){ES(e,t);function e(n){PS(this,e);var o;return o=$S(this,e,[n]),sv(o,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),o}return e}(U),TS=function(t){ES(e,t);function e(n){PS(this,e);var o;o=$S(this,e,[n]),sv(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:kl.controlName,o}return e}(Z);sv(TS,"Rules",nte);function ote(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rte(t,e,n){return e=Rl(e),lte(t,BS()?Reflect.construct(e,n||[],Rl(t).constructor):e.apply(t,n))}function ite(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ute(t,e,n){return e&&RS(t.prototype,e),n&&RS(t,n),t}function pv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rl(t){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(t)}function cte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dv(t,e)}function lte(t,e){return e&&(ate(e)==="object"||typeof e=="function")?e:ote(t)}function dv(t,e){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(t,e)}function ate(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BS=function(){return!!t})()}var Bl=function(t){cte(e,t);function e(n){ite(this,e);var o;return o=rte(this,e,[n]),pv(o,"props",void 0),o.props=new TS(n==null?void 0:n.props),o}return ute(e,null,[{key:"controlName",get:function(){return f.getMessage("tabPane")}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),e}(Y);pv(Bl,"excludes",[y.TAB]),pv(Bl,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function fte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _te(t,e,n){return e=Il(e),dte(t,IS()?Reflect.construct(e,n||[],Il(t).constructor):e.apply(t,n))}function ste(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yte(t,e,n){return e&&AS(t.prototype,e),n&&AS(t,n),t}function Al(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(t)}function pte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vv(t,e)}function dte(t,e){return e&&(vte(e)==="object"||typeof e=="function")?e:fte(t)}function vv(t,e){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(t,e)}function vte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IS=function(){return!!t})()}var kl=function(t){pte(e,t);function e(n){ste(this,e);var o;o=_te(this,e,[n]),Al(o,"props",void 0),o.props=new Zee(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new Bl,new Bl],o}return yte(e,null,[{key:"controlName",get:function(){return f.getMessage("tab")}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),e}(Y);Al(kl,"excludes",[y.TAB]),Al(kl,"controlEventKeys",["on_change_tab"]),Al(kl,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function hte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bte(t,e,n){return e=Fl(e),Ote(t,kS()?Reflect.construct(e,n||[],Fl(t).constructor):e.apply(t,n))}function gte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(t)}function mte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hv(t,e)}function Ote(t,e){return e&&(wte(e)==="object"||typeof e=="function")?e:hte(t)}function hv(t,e){return hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hv(t,e)}function wte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kS=function(){return!!t})()}var $te=function(t){mte(e,t);function e(n){return gte(this,e),bte(this,e,[n])}return e}(Z);function Pte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ete(t,e,n){return e=Dl(e),Bte(t,xS()?Reflect.construct(e,n||[],Dl(t).constructor):e.apply(t,n))}function Ste(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Tte(t,e,n){return e&&FS(t.prototype,e),n&&FS(t,n),t}function DS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dl(t){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(t)}function Rte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bv(t,e)}function Bte(t,e){return e&&(Ate(e)==="object"||typeof e=="function")?e:Pte(t)}function bv(t,e){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(t,e)}function Ate(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xS=function(){return!!t})()}var Ite=function(t){Rte(e,t);function e(n){Ste(this,e);var o;return o=Ete(this,e,[n]),DS(o,"props",void 0),o.props=new $te({}),o.children=(n==null?void 0:n.children)||[new Po({props:new $o({span:12})}),new Po({props:new $o({span:12})})],o}return Tte(e,null,[{key:"controlName",get:function(){return f.getMessage("toolbox")}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),e}(Y);DS(Ite,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function kte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gv(t,e,n){return e=xl(e),Fte(t,MS()?Reflect.construct(e,n||[],xl(t).constructor):e.apply(t,n))}function mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xl(t){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(t)}function Ov(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wv(t,e)}function Fte(t,e){return e&&(Dte(e)==="object"||typeof e=="function")?e:kte(t)}function wv(t,e){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(t,e)}function Dte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MS=function(){return!!t})()}var LS;(function(t){t[t.CLICK_ROW=1]="CLICK_ROW",t[t.CLICK_CELL=2]="CLICK_CELL"})(LS||(LS={}));var xte=function(t){Ov(e,t);function e(n){mv(this,e);var o;return o=gv(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),Mte=function(t){Ov(e,t);function e(n){mv(this,e);var o;if(o=gv(this,e,[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.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Vf.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 e}(U),So=function(t){Ov(e,t);function e(n){mv(this,e);var o;o=gv(this,e,[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 c;o.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",o.sublistPage=new Ax(n==null?void 0:n.sublistPage);var l;o.isShowJoinRelation=(l=n==null?void 0:n.isShowJoinRelation)!==null&&l!==void 0?l:!1,o.joinRelation=new kx(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 g;return o.countLimit=(g=n==null?void 0:n.countLimit)!==null&&g!==void 0?g:1e5,o.rowStyle=new Gx(n==null?void 0:n.rowStyle),o}return e}(Z);H(So,"Rules",Mte),H(So,"RuntimeRules",xte);function Lte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jte(t,e,n){return e=Ml(e),zte(t,NS()?Reflect.construct(e,n||[],Ml(t).constructor):e.apply(t,n))}function Nte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Cte(t,e,n){return e&&jS(t.prototype,e),n&&jS(t,n),t}function To(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ml(t){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(t)}function Vte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$v(t,e)}function zte(t,e){return e&&(Hte(e)==="object"||typeof e=="function")?e:Lte(t)}function $v(t,e){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(t,e)}function Hte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NS=function(){return!!t})()}var Ro=function(t){Vte(e,t);function e(n){Nte(this,e);var o;return o=jte(this,e,[n]),To(o,"props",void 0),o.props=new So(n==null?void 0:n.props),o}return Cte(e,null,[{key:"controlName",get:function(){return f.getMessage("listView")}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);To(Ro,"slotPosition",{left:"list-view-left-slot"}),To(Ro,"excludes",[y.ROW]),To(Ro,"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"]),To(Ro,"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 qte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ute(t,e,n){return e=Ll(e),Qte(t,VS()?Reflect.construct(e,n||[],Ll(t).constructor):e.apply(t,n))}function Wte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Kte(t,e,n){return e&&CS(t.prototype,e),n&&CS(t,n),t}function Gte(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ll(t){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(t)}function Xte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pv(t,e)}function Qte(t,e){return e&&(Jte(e)==="object"||typeof e=="function")?e:qte(t)}function Pv(t,e){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(t,e)}function Jte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VS=function(){return!!t})()}var Zte=function(t){Xte(e,t);function e(n){Wte(this,e);var o;return o=Ute(this,e,[n]),Gte(o,"props",void 0),o.props=new So(n==null?void 0:n.props),o}return Kte(e,null,[{key:"controlType",get:function(){return"list-view"}}]),e}(Pt),Yte={Designer:Ro,Runtime:Zte,Property:So};function ene(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zS(t,e,n){return e=jl(e),tne(t,US()?Reflect.construct(e,n||[],jl(t).constructor):e.apply(t,n))}function HS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jl(t){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(t)}function qS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ev(t,e)}function tne(t,e){return e&&(nne(e)==="object"||typeof e=="function")?e:ene(t)}function Ev(t,e){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(t,e)}function nne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function US(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(US=function(){return!!t})()}var one=function(t){qS(e,t);function e(n){HS(this,e);var o;return o=zS(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),Nl=function(t){qS(e,t);function e(n){HS(this,e);var o;o=zS(this,e,[n]),bt(o,"save",void 0),bt(o,"cancel",void 0),bt(o,"saveAs",void 0),bt(o,"print",void 0),bt(o,"custom",void 0),bt(o,"isLoading",void 0),bt(o,"datasourceBind",void 0);var r;o.save=new ct((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:f.getMessage("save"),type:"save",isShow:!1});var i;o.cancel=new ct((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:f.getMessage("cancel"),type:"cancel",isShow:!1});var u;o.saveAs=new ct((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:f.getMessage("draft"),type:"saveAs",isShow:!1});var c;o.print=new ct((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:f.getMessage("print"),type:"print",isShow:!1});var l;o.custom=((l=n==null?void 0:n.custom)!==null&&l!==void 0?l:[]).map(function(_){return new ct(_)});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 e}(Z);bt(Nl,"RuntimeRules",one);function rne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ine(t,e,n){return e=Cl(e),ane(t,GS()?Reflect.construct(e,n||[],Cl(t).constructor):e.apply(t,n))}function une(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function WS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cne(t,e,n){return e&&WS(t.prototype,e),n&&WS(t,n),t}function KS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cl(t){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(t)}function lne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sv(t,e)}function ane(t,e){return e&&(fne(e)==="object"||typeof e=="function")?e:rne(t)}function Sv(t,e){return Sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sv(t,e)}function fne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GS=function(){return!!t})()}var XS=function(t){lne(e,t);function e(n){une(this,e);var o;return o=ine(this,e,[n]),KS(o,"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return cne(e,null,[{key:"controlName",get:function(){return f.getMessage("dataView")}},{key:"controlType",get:function(){return"data-view"}}]),e}(Y);KS(XS,"excludes",[]);function _ne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sne(t,e,n){return e=Vl(e),hne(t,JS()?Reflect.construct(e,n||[],Vl(t).constructor):e.apply(t,n))}function yne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function pne(t,e,n){return e&&QS(t.prototype,e),n&&QS(t,n),t}function dne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vl(t){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vl(t)}function vne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tv(t,e)}function hne(t,e){return e&&(bne(e)==="object"||typeof e=="function")?e:_ne(t)}function Tv(t,e){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(t,e)}function bne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JS=function(){return!!t})()}var gne=function(t){vne(e,t);function e(n){yne(this,e);var o;return o=sne(this,e,[n]),dne(o,"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return pne(e,null,[{key:"controlType",get:function(){return"data-view"}}]),e}(Pt),mne={Designer:XS,Runtime:gne,Property:Nl};function One(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wne(t,e,n){return e=zl(e),Ene(t,ZS()?Reflect.construct(e,n||[],zl(t).constructor):e.apply(t,n))}function $ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zl(t){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(t)}function Pne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bv(t,e)}function Ene(t,e){return e&&(Sne(e)==="object"||typeof e=="function")?e:One(t)}function Bv(t,e){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(t,e)}function Sne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZS=function(){return!!t})()}var Tne=function(t){Pne(e,t);function e(n){$ne(this,e);var o;o=wne(this,e,[n]),Rv(o,"position",void 0),Rv(o,"opacity",void 0),Rv(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 e}(Z);function Rne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bne(t,e,n){return e=ql(e),Fne(t,eT()?Reflect.construct(e,n||[],ql(t).constructor):e.apply(t,n))}function Ane(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ine(t,e,n){return e&&YS(t.prototype,e),n&&YS(t,n),t}function Hl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ql(t){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(t)}function kne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Av(t,e)}function Fne(t,e){return e&&(Dne(e)==="object"||typeof e=="function")?e:Rne(t)}function Av(t,e){return Av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Av(t,e)}function Dne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eT=function(){return!!t})()}var Iv=function(t){kne(e,t);function e(n){Ane(this,e);var o;o=Bne(this,e,[n]),Hl(o,"props",void 0);var r;return o.props=new Tne((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return Ine(e,null,[{key:"controlName",get:function(){return f.getMessage("actionBar")}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),e}(Y);Hl(Iv,"slotPosition",{default:"action-bar-slot"}),Hl(Iv,"excludes",[]),Hl(Iv,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function xne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kv(t,e,n){return e=Ul(e),Mne(t,tT()?Reflect.construct(e,n||[],Ul(t).constructor):e.apply(t,n))}function Fv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ul(t){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(t)}function Dv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xv(t,e)}function Mne(t,e){return e&&(Lne(e)==="object"||typeof e=="function")?e:xne(t)}function xv(t,e){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(t,e)}function Lne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tT=function(){return!!t})()}var jne=function(t){Dv(e,t);function e(n){Fv(this,e);var o;return o=kv(this,e,[n]),B(o,"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),B(o,"limitRows",[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}]),B(o,"formKey",{type:"string",required:!1,message:f.getMessage("pleaseEnterForm")}),B(o,"maxHeight",{type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")}),B(o,"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")}),B(o,"mobileRowCaption",{type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return e}(U),Nne=function(t){Dv(e,t);function e(n){Fv(this,e);var o;return o=kv(this,e,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:f.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return e}($t),Mv=function(t){Dv(e,t);function e(n,o){Fv(this,e);var r;r=kv(this,e,[n,o,e.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:Gl.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var c;r.defaultState=(c=o==null?void 0:o.defaultState)!==null&&c!==void 0?c:"default";var l;r.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"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:N7;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 g;r.maxRows=(g=o==null?void 0:o.maxRows)!==null&&g!==void 0?g: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 T;r.canEdit=(T=o==null?void 0:o.canEdit)!==null&&T!==void 0?T:!1;var R;r.canImport=(R=o==null?void 0:o.canImport)!==null&&R!==void 0?R:!1;var z;r.canExport=(z=o==null?void 0:o.canExport)!==null&&z!==void 0?z:!1;var I;r.canClear=(I=o==null?void 0:o.canClear)!==null&&I!==void 0?I:!0;var le;r.serverPagination=(le=o==null?void 0:o.serverPagination)!==null&&le!==void 0?le:!1;var A;r.isShowCaptionTip=(A=o==null?void 0:o.isShowCaptionTip)!==null&&A!==void 0?A:!1;var qe;r.captionTip=(qe=o==null?void 0:o.captionTip)!==null&&qe!==void 0?qe:"";var Mo;r.mobileShowType=(Mo=o==null?void 0:o.mobileShowType)!==null&&Mo!==void 0?Mo:"list";var Wn;r.mobileDefaultNum=(Wn=o==null?void 0:o.mobileDefaultNum)!==null&&Wn!==void 0?Wn:10;var Ft;r.dataStorageDoc=(Ft=o==null?void 0:o.dataStorageDoc)!==null&&Ft!==void 0?Ft:new Sx;var Ue;r.fixedColumn=(Ue=o==null?void 0:o.fixedColumn)!==null&&Ue!==void 0?Ue:[];var O0;r.mobileRowCaption=(O0=o==null?void 0:o.mobileRowCaption)!==null&&O0!==void 0?O0:f.getMessage("detailed");var w0;r.mobileIsTile=(w0=o==null?void 0:o.mobileIsTile)!==null&&w0!==void 0?w0:!1;var $0;r.isPaste=($0=o==null?void 0:o.isPaste)!==null&&$0!==void 0?$0:!1;var P0;r.pageSize=(P0=o==null?void 0:o.pageSize)!==null&&P0!==void 0?P0:10;var E0;r.pageSizeOptions=(E0=o==null?void 0:o.pageSizeOptions)!==null&&E0!==void 0?E0:[10,20,50,100],r.importConfig=new L7(o==null?void 0:o.importConfig),r.exportConfig=new j7(o==null?void 0:o.exportConfig);var S0;r.sortable=(S0=o==null?void 0:o.sortable)!==null&&S0!==void 0?S0:!1;var T0;return r.sortKey=(T0=o==null?void 0:o.sortKey)!==null&&T0!==void 0?T0:{},r}return e}(Zf);B(Mv,"Rules",jne),B(Mv,"RuntimeRules",Nne);function Cne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vne(t,e,n){return e=Kl(e),Une(t,oT()?Reflect.construct(e,n||[],Kl(t).constructor):e.apply(t,n))}function zne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Hne(t,e,n){return e&&nT(t.prototype,e),n&&nT(t,n),t}function Wl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kl(t){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(t)}function qne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lv(t,e)}function Une(t,e){return e&&(Wne(e)==="object"||typeof e=="function")?e:Cne(t)}function Lv(t,e){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(t,e)}function Wne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oT=function(){return!!t})()}var Gl=function(t){qne(e,t);function e(n){zne(this,e);var o,r;return o=Vne(this,e,[n]),Wl(o,"props",void 0),o.props=new Mv(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 Le,new Le,new Le]),o}return Hne(e,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Le,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.getMessage("subTable")}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),e}(t_);Wl(Gl,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Wl(Gl,"slotPosition",{toolbar:"subtable-toolbar-slot"}),Wl(Gl,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.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 Kne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gne(t,e,n){return e=Xl(e),Jne(t,rT()?Reflect.construct(e,n||[],Xl(t).constructor):e.apply(t,n))}function Xne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xl(t){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(t)}function Qne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jv(t,e)}function Jne(t,e){return e&&(Zne(e)==="object"||typeof e=="function")?e:Kne(t)}function jv(t,e){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(t,e)}function Zne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rT=function(){return!!t})()}var Yne=function(t){Qne(e,t);function e(n,o){Xne(this,e);var r;r=Gne(this,e,[n,o]),Bo(r,"isFixedHeader",void 0),Bo(r,"selectionType",void 0),Bo(r,"isShowToolbar",void 0),Bo(r,"isShowSelection",void 0),Bo(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 c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var l;r.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!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 e}(Zf);function eoe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iT(t,e,n){return e=Ql(e),noe(t,lT()?Reflect.construct(e,n||[],Ql(t).constructor):e.apply(t,n))}function uT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function toe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ql(t){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(t)}function cT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nv(t,e)}function noe(t,e){return e&&(ooe(e)==="object"||typeof e=="function")?e:eoe(t)}function Nv(t,e){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(t,e)}function ooe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lT=function(){return!!t})()}var roe=function(t){cT(e,t);function e(n){uT(this,e);var o;return o=iT(this,e,[n]),o.caption.required=!1,o}return e}(Ve),Cv=function(t){cT(e,t);function e(n){uT(this,e);var o,r,i;o=iT(this,e,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:fn.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l: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 e}(K);toe(Cv,"Rules",roe);function ioe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uoe(t,e,n){return e=Jl(e),aoe(t,aT()?Reflect.construct(e,n||[],Jl(t).constructor):e.apply(t,n))}function coe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jl(t){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(t)}function loe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vv(t,e)}function aoe(t,e){return e&&(foe(e)==="object"||typeof e=="function")?e:ioe(t)}function Vv(t,e){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(t,e)}function foe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aT=function(){return!!t})()}var fn=function(t){loe(e,t);function e(n){coe(this,e);var o;return o=uoe(this,e,[n]),Ao(o,"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return e}(te);Ao(fn,"controlType","order-column"),Ao(fn,"controlName",f.getMessage("order")),Ao(fn,"controlIcon","order-column"),Ao(fn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function _oe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function soe(t,e,n){return e=Zl(e),doe(t,fT()?Reflect.construct(e,n||[],Zl(t).constructor):e.apply(t,n))}function yoe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zl(t){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(t)}function poe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hv(t,e)}function doe(t,e){return e&&(voe(e)==="object"||typeof e=="function")?e:_oe(t)}function Hv(t,e){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(t,e)}function voe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fT=function(){return!!t})()}var _T=function(t){poe(e,t);function e(n){yoe(this,e);var o;return o=soe(this,e,[n]),zv(o,"props",void 0),o.props=new Cv(n==null?void 0:n.props),o}return e}(ne);zv(_T,"controlType","order-column"),zv(_T,"controlFieldType",m.DECIMAL);function hoe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function boe(t,e,n){return e=Yl(e),Ooe(t,yT()?Reflect.construct(e,n||[],Yl(t).constructor):e.apply(t,n))}function goe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sT(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yl(t){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(t)}function moe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qv(t,e)}function Ooe(t,e){return e&&(woe(e)==="object"||typeof e=="function")?e:hoe(t)}function qv(t,e){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(t,e)}function woe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yT=function(){return!!t})()}var pT=function(t){moe(e,t);function e(n){goe(this,e);var o,r;o=boe(this,e,[n]),sT(o,"showType",void 0),sT(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 c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:_n.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var a;return o.limit=(a=n==null?void 0:n.limit)!==null&&a!==void 0?a:3,o}return e}(K);function $oe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dT(t,e,n,o,r,i,u){try{var c=t[i](u),l=c.value}catch(a){n(a);return}c.done?e(l):Promise.resolve(l).then(o,r)}function Poe(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(l){dT(i,o,r,u,c,"next",l)}function c(l){dT(i,o,r,u,c,"throw",l)}u(void 0)})}}function Eoe(t,e,n){return e=Bt(e),Boe(t,hT()?Reflect.construct(e,n||[],Bt(t).constructor):e.apply(t,n))}function Soe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Toe(t,e,n){return e&&vT(t.prototype,e),n&&vT(t,n),t}function Io(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ko(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ko=Reflect.get:ko=function(r,i,u){var c=Aoe(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},ko(t,e,n||t)}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bt(t)}function Roe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uv(t,e)}function Boe(t,e){return e&&(Ioe(e)==="object"||typeof e=="function")?e:$oe(t)}function Uv(t,e){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(t,e)}function Aoe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Bt(t),t!==null););return t}function Ioe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hT=function(){return!!t})()}function koe(t,e){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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(_){return l([a,_])}}function l(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=e.call(t,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 _n=function(t){Roe(e,t);function e(n){Soe(this,e);var o;return o=Eoe(this,e,[n]),Io(o,"props",void 0),o.props=new pT(n==null?void 0:n.props),o}return Toe(e,[{key:"toDataBindModel",value:function(){var o=ko(Bt(e.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===hi.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return ko(Bt(e.prototype),"validate",i)};return Poe(function(){return koe(this,function(l){switch(l.label){case 0:return[4,c().call(u,o,r)];case 1:return l.sent(),[4,Promise.all(u.children.map(function(a){return a.validate(o,r)}))];case 2:return l.sent(),[2,!0]}})})()}}]),e}(te);Io(_n,"controlType","operation-column"),Io(_n,"controlName",f.getMessage("operation")),Io(_n,"controlIcon","operation-column"),Io(_n,"setting",[{key:"caption",showItems:[s.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 Foe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Doe(t,e,n){return e=ea(e),Loe(t,bT()?Reflect.construct(e,n||[],ea(t).constructor):e.apply(t,n))}function xoe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ea(t){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(t)}function Moe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kv(t,e)}function Loe(t,e){return e&&(joe(e)==="object"||typeof e=="function")?e:Foe(t)}function Kv(t,e){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(t,e)}function joe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bT=function(){return!!t})()}var gT=function(t){Moe(e,t);function e(n){xoe(this,e);var o;return o=Doe(this,e,[n]),Wv(o,"props",void 0),o.props=new pT(n==null?void 0:n.props),o}return e}(ne);Wv(gT,"controlType","operation-column"),Wv(gT,"controlFieldType",m.FILE);function Noe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mT(t,e,n,o,r,i,u){try{var c=t[i](u),l=c.value}catch(a){n(a);return}c.done?e(l):Promise.resolve(l).then(o,r)}function Coe(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(l){mT(i,o,r,u,c,"next",l)}function c(l){mT(i,o,r,u,c,"throw",l)}u(void 0)})}}function Voe(t,e,n){return e=At(e),Xoe(t,wT()?Reflect.construct(e,n||[],At(t).constructor):e.apply(t,n))}function zoe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Hoe(t,e,n){return e&&OT(t.prototype,e),n&&OT(t,n),t}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fo(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Fo=Reflect.get:Fo=function(r,i,u){var c=Qoe(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},Fo(t,e,n||t)}function At(t){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(t)}function qoe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gv(t,e)}function Uoe(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Woe(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){ot(t,r,n[r])})}return t}function Koe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Goe(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Koe(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Xoe(t,e){return e&&(Joe(e)==="object"||typeof e=="function")?e:Noe(t)}function Gv(t,e){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(t,e)}function Qoe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=At(t),t!==null););return t}function Joe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wT=function(){return!!t})()}function Zoe(t,e){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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(a){return function(_){return l([a,_])}}function l(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=e.call(t,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 Yoe=1e4,ta=function(e){qoe(n,e);function n(o){zoe(this,n);var r;r=Voe(this,n,[o]),ot(r,"props",void 0),ot(r,"children",void 0),ot(r,"excludes",void 0),ot(r,"childrenMaxLength",void 0);var i=Uoe(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Yne(r,o==null?void 0:o.props),We(r,"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(r.props.headers=[new fn,new _n]),r.excludes=Be(u),r.childrenMaxLength=c,r}return Hoe(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=Fo(At(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return Goe(Woe({},r),{children:i})}},{key:"validate",value:function(r,i){var u=this,c=this,l=function(){return Fo(At(n.prototype),"validate",u)};return Coe(function(){return Zoe(this,function(a){switch(a.label){case 0:return[4,l().call(c,r,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(_){return _.validate(r,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return f.getMessage("gridTable")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(t_);ot(ta,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),ot(ta,"setting",[{key:"list-fixed-header",visible:!0}]),ot(ta,"excludes",[]),ot(ta,"childrenMaxLength",Yoe);function ere(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $T(t,e,n){return e=na(e),tre(t,ST()?Reflect.construct(e,n||[],na(t).constructor):e.apply(t,n))}function PT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(t)}function ET(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xv(t,e)}function tre(t,e){return e&&(nre(e)==="object"||typeof e=="function")?e:ere(t)}function Xv(t,e){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(t,e)}function nre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ST(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ST=function(){return!!t})()}var ore=function(t){ET(e,t);function e(n){PT(this,e);var o;return o=$T(this,e,[n]),st.call(o,n),o}return e}(Hb),Qv=function(t){ET(e,t);function e(n){PT(this,e);var o;o=$T(this,e,[n]),gt(o,"optionConfig",void 0),gt(o,"datasourceBind",void 0),gt(o,"showLinkOperation",void 0),gt(o,"linkOperationOption",void 0),gt(o,"options",void 0),gt(o,"lineEllipsis",void 0),gt(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=Ge((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Ke(n==null?void 0:n.linkOperationOption);var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1;var a;return o.dictionaryTagConfig=(a=n==null?void 0:n.dictionaryTagConfig)!==null&&a!==void 0?a:{isTag:!1},o}return e}(K);gt(Qv,"Rules",ore);function rre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ire(t,e,n){return e=oa(e),lre(t,TT()?Reflect.construct(e,n||[],oa(t).constructor):e.apply(t,n))}function ure(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oa(t){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(t)}function cre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jv(t,e)}function lre(t,e){return e&&(are(e)==="object"||typeof e=="function")?e:rre(t)}function Jv(t,e){return Jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jv(t,e)}function are(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TT=function(){return!!t})()}var yn=function(t){cre(e,t);function e(n){ure(this,e);var o;return o=ire(this,e,[n]),sn(o,"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return e}(te);sn(yn,"controlType","varchar-column"),sn(yn,"controlName",f.getMessage("varchar")),sn(yn,"controlIcon","varchar-column"),sn(yn,"controlFieldType",m.VARCHAR),sn(yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 fre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _re(t,e,n){return e=ra(e),pre(t,RT()?Reflect.construct(e,n||[],ra(t).constructor):e.apply(t,n))}function sre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ra(t){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(t)}function yre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yv(t,e)}function pre(t,e){return e&&(dre(e)==="object"||typeof e=="function")?e:fre(t)}function Yv(t,e){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(t,e)}function dre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RT=function(){return!!t})()}var BT=function(t){yre(e,t);function e(n){sre(this,e);var o;return o=_re(this,e,[n]),Zv(o,"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return e}(ne);Zv(BT,"controlType","varchar-column"),Zv(BT,"controlFieldType",m.VARCHAR);function vre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AT(t,e,n){return e=ia(e),hre(t,FT()?Reflect.construct(e,n||[],ia(t).constructor):e.apply(t,n))}function IT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Do(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ia(t){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(t)}function kT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eh(t,e)}function hre(t,e){return e&&(bre(e)==="object"||typeof e=="function")?e:vre(t)}function eh(t,e){return eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eh(t,e)}function bre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FT=function(){return!!t})()}var gre=function(t){kT(e,t);function e(n){IT(this,e);var o;return o=AT(this,e,[n]),st.call(o,n),o}return e}(Ve),th=function(t){kT(e,t);function e(n){IT(this,e);var o;o=AT(this,e,[n]),Do(o,"escapeHTML",void 0),Do(o,"showLinkOperation",void 0),Do(o,"linkOperationOption",void 0),Do(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:vn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Ke(n==null?void 0:n.linkOperationOption),o}return e}(K);Do(th,"Rules",gre);function mre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ore(t,e,n){return e=dn(e),Ere(t,xT()?Reflect.construct(e,n||[],dn(t).constructor):e.apply(t,n))}function wre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $re(t,e,n){return e&&DT(t.prototype,e),n&&DT(t,n),t}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ua(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ua=Reflect.get:ua=function(r,i,u){var c=Sre(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},ua(t,e,n||t)}function dn(t){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dn(t)}function Pre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nh(t,e)}function Ere(t,e){return e&&(Tre(e)==="object"||typeof e=="function")?e:mre(t)}function nh(t,e){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(t,e)}function Sre(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dn(t),t!==null););return t}function Tre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xT=function(){return!!t})()}var vn=function(t){Pre(e,t);function e(n){wre(this,e);var o;return o=Ore(this,e,[n]),pn(o,"props",void 0),o.props=new th(n==null?void 0:n.props),o}return $re(e,[{key:"toDataBindModel",value:function(o){var r=ua(dn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),e}(te);pn(vn,"controlType","text-column"),pn(vn,"controlName",f.getMessage("long")),pn(vn,"controlIcon","text-column"),pn(vn,"controlFieldType",m.TEXT),pn(vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Rre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bre(t,e,n){return e=ca(e),kre(t,MT()?Reflect.construct(e,n||[],ca(t).constructor):e.apply(t,n))}function Are(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ca(t){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(t)}function Ire(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rh(t,e)}function kre(t,e){return e&&(Fre(e)==="object"||typeof e=="function")?e:Rre(t)}function rh(t,e){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(t,e)}function Fre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MT=function(){return!!t})()}var LT=function(t){Ire(e,t);function e(n){Are(this,e);var o;return o=Bre(this,e,[n]),oh(o,"props",void 0),o.props=new th(n==null?void 0:n.props),o}return e}(ne);oh(LT,"controlType","text-column"),oh(LT,"controlFieldType",m.TEXT);function Dre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jT(t,e,n){return e=la(e),xre(t,VT()?Reflect.construct(e,n||[],la(t).constructor):e.apply(t,n))}function NT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function la(t){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(t)}function CT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ih(t,e)}function xre(t,e){return e&&(Mre(e)==="object"||typeof e=="function")?e:Dre(t)}function ih(t,e){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(t,e)}function Mre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VT=function(){return!!t})()}var Lre=function(t){CT(e,t);function e(n){NT(this,e);var o;return o=jT(this,e,[n]),st.call(o,n),o}return e}(Ve),uh=function(t){CT(e,t);function e(n){NT(this,e);var o;o=jT(this,e,[n]),rt(o,"optionConfig",void 0),rt(o,"datasourceBind",void 0),rt(o,"showLinkOperation",void 0),rt(o,"linkOperationOption",void 0),rt(o,"options",void 0),rt(o,"precision",void 0),rt(o,"micrometer",void 0),rt(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:gn.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 c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var a;o.options=Ge((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 Ke(n==null?void 0:n.linkOperationOption),o}return e}(K);rt(uh,"Rules",Lre);function jre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nre(t,e,n){return e=bn(e),Hre(t,HT()?Reflect.construct(e,n||[],bn(t).constructor):e.apply(t,n))}function Cre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vre(t,e,n){return e&&zT(t.prototype,e),n&&zT(t,n),t}function hn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function aa(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?aa=Reflect.get:aa=function(r,i,u){var c=qre(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},aa(t,e,n||t)}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function zre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ch(t,e)}function Hre(t,e){return e&&(Ure(e)==="object"||typeof e=="function")?e:jre(t)}function ch(t,e){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(t,e)}function qre(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=bn(t),t!==null););return t}function Ure(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HT=function(){return!!t})()}var gn=function(t){zre(e,t);function e(n){Cre(this,e);var o;return o=Nre(this,e,[n]),hn(o,"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return Vre(e,[{key:"toDataBindModel",value:function(o){var r=aa(bn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),e}(te);hn(gn,"controlType","decimal-column"),hn(gn,"controlName",f.getMessage("decimal")),hn(gn,"controlIcon","decimal-column"),hn(gn,"controlFieldType",m.DECIMAL),hn(gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function Wre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kre(t,e,n){return e=fa(e),Qre(t,qT()?Reflect.construct(e,n||[],fa(t).constructor):e.apply(t,n))}function Gre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fa(t){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(t)}function Xre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ah(t,e)}function Qre(t,e){return e&&(Jre(e)==="object"||typeof e=="function")?e:Wre(t)}function ah(t,e){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(t,e)}function Jre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qT=function(){return!!t})()}var UT=function(t){Xre(e,t);function e(n){Gre(this,e);var o;return o=Kre(this,e,[n]),lh(o,"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return e}(ne);lh(UT,"controlType","decimal-column"),lh(UT,"controlFieldType",m.DECIMAL);function Zre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WT(t,e,n){return e=sa(e),Yre(t,XT()?Reflect.construct(e,n||[],sa(t).constructor):e.apply(t,n))}function KT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sa(t){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(t)}function GT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fh(t,e)}function Yre(t,e){return e&&(eie(e)==="object"||typeof e=="function")?e:Zre(t)}function fh(t,e){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(t,e)}function eie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XT=function(){return!!t})()}var tie=function(t){GT(e,t);function e(n){KT(this,e);var o;return o=WT(this,e,[n]),st.call(o,n),o}return e}(Ve),_h=function(t){GT(e,t);function e(n){KT(this,e);var o;o=WT(this,e,[n]),_a(o,"dateType",void 0),_a(o,"showLinkOperation",void 0),_a(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:it.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ke(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:wn.controlName,o}return e}(K);_a(_h,"Rules",tie);function nie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oie(t,e,n){return e=On(e),cie(t,JT()?Reflect.construct(e,n||[],On(t).constructor):e.apply(t,n))}function rie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iie(t,e,n){return e&&QT(t.prototype,e),n&&QT(t,n),t}function mn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ya(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ya=Reflect.get:ya=function(r,i,u){var c=lie(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},ya(t,e,n||t)}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function uie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sh(t,e)}function cie(t,e){return e&&(aie(e)==="object"||typeof e=="function")?e:nie(t)}function sh(t,e){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(t,e)}function lie(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=On(t),t!==null););return t}function aie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JT=function(){return!!t})()}var wn=function(t){uie(e,t);function e(n){rie(this,e);var o;return o=oie(this,e,[n]),mn(o,"props",void 0),o.props=new _h(n==null?void 0:n.props),o}return iie(e,[{key:"toDataBindModel",value:function(o){var r=ya(On(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);mn(wn,"controlType","timescope-column"),mn(wn,"controlName",f.getMessage("timescope")),mn(wn,"controlIcon","timescope-column"),mn(wn,"controlFieldType",m.TIMESCOPE),mn(wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 fie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _ie(t,e,n){return e=pa(e),pie(t,ZT()?Reflect.construct(e,n||[],pa(t).constructor):e.apply(t,n))}function sie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pa(t){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(t)}function yie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ph(t,e)}function pie(t,e){return e&&(die(e)==="object"||typeof e=="function")?e:fie(t)}function ph(t,e){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(t,e)}function die(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZT=function(){return!!t})()}var YT=function(t){yie(e,t);function e(n){sie(this,e);var o;return o=_ie(this,e,[n]),yh(o,"props",void 0),o.props=new _h(n==null?void 0:n.props),o}return e}(ne);yh(YT,"controlType","timescope-column"),yh(YT,"controlFieldType",m.TIMESCOPE);function vie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eR(t,e,n){return e=va(e),hie(t,oR()?Reflect.construct(e,n||[],va(t).constructor):e.apply(t,n))}function tR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function da(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function va(t){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(t)}function nR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dh(t,e)}function hie(t,e){return e&&(bie(e)==="object"||typeof e=="function")?e:vie(t)}function dh(t,e){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(t,e)}function bie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oR=function(){return!!t})()}var gie=function(t){nR(e,t);function e(n){tR(this,e);var o;return o=eR(this,e,[n]),st.call(o,n),o}return e}(Ve),vh=function(t){nR(e,t);function e(n){tR(this,e);var o;o=eR(this,e,[n]),da(o,"dateType",void 0),da(o,"showLinkOperation",void 0),da(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:it.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ke(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:En.controlName,o}return e}(K);da(vh,"Rules",gie);function mie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Oie(t,e,n){return e=Pn(e),Eie(t,iR()?Reflect.construct(e,n||[],Pn(t).constructor):e.apply(t,n))}function wie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $ie(t,e,n){return e&&rR(t.prototype,e),n&&rR(t,n),t}function $n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ha(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ha=Reflect.get:ha=function(r,i,u){var c=Sie(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},ha(t,e,n||t)}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function Pie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hh(t,e)}function Eie(t,e){return e&&(Tie(e)==="object"||typeof e=="function")?e:mie(t)}function hh(t,e){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(t,e)}function Sie(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pn(t),t!==null););return t}function Tie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iR=function(){return!!t})()}var En=function(t){Pie(e,t);function e(n){wie(this,e);var o;return o=Oie(this,e,[n]),$n(o,"props",void 0),o.props=new vh(n==null?void 0:n.props),o}return $ie(e,[{key:"toDataBindModel",value:function(o){var r=ha(Pn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);$n(En,"controlType","timestamp-column"),$n(En,"controlName",f.getMessage("timestamp")),$n(En,"controlIcon","timestamp-column"),$n(En,"controlFieldType",m.TIMESTAMP),$n(En,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Rie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bie(t,e,n){return e=ba(e),kie(t,uR()?Reflect.construct(e,n||[],ba(t).constructor):e.apply(t,n))}function Aie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ba(t){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(t)}function Iie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gh(t,e)}function kie(t,e){return e&&(Fie(e)==="object"||typeof e=="function")?e:Rie(t)}function gh(t,e){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(t,e)}function Fie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uR=function(){return!!t})()}var cR=function(t){Iie(e,t);function e(n){Aie(this,e);var o;return o=Bie(this,e,[n]),bh(o,"props",void 0),o.props=new vh(n==null?void 0:n.props),o}return e}(ne);bh(cR,"controlType","timestamp-column"),bh(cR,"controlFieldType",m.TIMESTAMP);function Die(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lR(t,e,n){return e=ga(e),xie(t,_R()?Reflect.construct(e,n||[],ga(t).constructor):e.apply(t,n))}function aR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ga(t){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(t)}function fR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mh(t,e)}function xie(t,e){return e&&(Mie(e)==="object"||typeof e=="function")?e:Die(t)}function mh(t,e){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(t,e)}function Mie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _R(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_R=function(){return!!t})()}var Lie=function(t){fR(e,t);function e(n){aR(this,e);var o;return o=lR(this,e,[n]),st.call(o,n),o}return e}(Hb),Oh=function(t){fR(e,t);function e(n){aR(this,e);var o;o=lR(this,e,[n]),Sn(o,"optionConfig",void 0),Sn(o,"datasourceBind",void 0),Sn(o,"showLinkOperation",void 0),Sn(o,"linkOperationOption",void 0),Sn(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Rn.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 Ke(n==null?void 0:n.linkOperationOption);var c;return o.options=Ge((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return e}(K);Sn(Oh,"Rules",Lie);function jie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nie(t,e,n){return e=ma(e),zie(t,sR()?Reflect.construct(e,n||[],ma(t).constructor):e.apply(t,n))}function Cie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function Vie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wh(t,e)}function zie(t,e){return e&&(Hie(e)==="object"||typeof e=="function")?e:jie(t)}function wh(t,e){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(t,e)}function Hie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sR=function(){return!!t})()}var Rn=function(t){Vie(e,t);function e(n){Cie(this,e);var o;return o=Nie(this,e,[n]),Tn(o,"props",void 0),o.props=new Oh(n==null?void 0:n.props),o}return e}(te);Tn(Rn,"controlType","array-column"),Tn(Rn,"controlName",f.getMessage("array")),Tn(Rn,"controlIcon","array-column"),Tn(Rn,"controlFieldType",m.ARRAY),Tn(Rn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 qie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uie(t,e,n){return e=Oa(e),Gie(t,yR()?Reflect.construct(e,n||[],Oa(t).constructor):e.apply(t,n))}function Wie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oa(t){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(t)}function Kie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ph(t,e)}function Gie(t,e){return e&&(Xie(e)==="object"||typeof e=="function")?e:qie(t)}function Ph(t,e){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(t,e)}function Xie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yR=function(){return!!t})()}var pR=function(t){Kie(e,t);function e(n){Wie(this,e);var o;return o=Uie(this,e,[n]),$h(o,"props",void 0),o.props=new Oh(n==null?void 0:n.props),o}return e}(ne);$h(pR,"controlType","array-column"),$h(pR,"controlFieldType",m.ARRAY);function Qie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jie(t,e,n){return e=wa(e),tue(t,dR()?Reflect.construct(e,n||[],wa(t).constructor):e.apply(t,n))}function Zie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wa(t){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(t)}function eue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eh(t,e)}function tue(t,e){return e&&(nue(e)==="object"||typeof e=="function")?e:Qie(t)}function Eh(t,e){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(t,e)}function nue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dR=function(){return!!t})()}var vR=function(t){eue(e,t);function e(n){Zie(this,e);var o;o=Jie(this,e,[n]),Yie(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:In.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return e}(K);function oue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rue(t,e,n){return e=An(e),lue(t,bR()?Reflect.construct(e,n||[],An(t).constructor):e.apply(t,n))}function iue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uue(t,e,n){return e&&hR(t.prototype,e),n&&hR(t,n),t}function Bn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $a(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?$a=Reflect.get:$a=function(r,i,u){var c=aue(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},$a(t,e,n||t)}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function cue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sh(t,e)}function lue(t,e){return e&&(fue(e)==="object"||typeof e=="function")?e:oue(t)}function Sh(t,e){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(t,e)}function aue(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=An(t),t!==null););return t}function fue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bR=function(){return!!t})()}var In=function(t){cue(e,t);function e(n){iue(this,e);var o;return o=rue(this,e,[n]),Bn(o,"props",void 0),o.props=new vR(n==null?void 0:n.props),o}return uue(e,[{key:"toDataBindModel",value:function(o){var r=$a(An(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),e}(te);Bn(In,"controlType","department-column"),Bn(In,"controlName",f.getMessage("department")),Bn(In,"controlIcon","department-column"),Bn(In,"controlFieldType",m.DEPARTMENTS),Bn(In,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 _ue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sue(t,e,n){return e=Pa(e),due(t,gR()?Reflect.construct(e,n||[],Pa(t).constructor):e.apply(t,n))}function yue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Th(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pa(t){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(t)}function pue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rh(t,e)}function due(t,e){return e&&(vue(e)==="object"||typeof e=="function")?e:_ue(t)}function Rh(t,e){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(t,e)}function vue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gR=function(){return!!t})()}var mR=function(t){pue(e,t);function e(n){yue(this,e);var o;return o=sue(this,e,[n]),Th(o,"props",void 0),o.props=new vR(n==null?void 0:n.props),o}return e}(ne);Th(mR,"controlType","department-column"),Th(mR,"controlFieldType",m.DEPARTMENTS);function hue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OR(t,e,n){return e=Ea(e),bue(t,PR()?Reflect.construct(e,n||[],Ea(t).constructor):e.apply(t,n))}function wR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ea(t){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(t)}function $R(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ah(t,e)}function bue(t,e){return e&&(gue(e)==="object"||typeof e=="function")?e:hue(t)}function Ah(t,e){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(t,e)}function gue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PR=function(){return!!t})()}var mue=function(t){$R(e,t);function e(n){wR(this,e);var o;return o=OR(this,e,[n]),st.call(o,n),o}return e}(Ve),Ih=function(t){$R(e,t);function e(n){wR(this,e);var o;o=OR(this,e,[n]),Bh(o,"showLinkOperation",void 0),Bh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ke(n==null?void 0:n.linkOperationOption),o}return e}(K);Bh(Ih,"Rules",mue);function Oue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wue(t,e,n){return e=Sa(e),Eue(t,ER()?Reflect.construct(e,n||[],Sa(t).constructor):e.apply(t,n))}function $ue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sa(t){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(t)}function Pue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kh(t,e)}function Eue(t,e){return e&&(Sue(e)==="object"||typeof e=="function")?e:Oue(t)}function kh(t,e){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(t,e)}function Sue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ER(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ER=function(){return!!t})()}var Fn=function(t){Pue(e,t);function e(n){$ue(this,e);var o;return o=wue(this,e,[n]),kn(o,"props",void 0),o.props=new Ih(n==null?void 0:n.props),o}return e}(te);kn(Fn,"controlType","auto-number-column"),kn(Fn,"controlName",f.getMessage("autoNumber")),kn(Fn,"controlIcon","auto-number-column"),kn(Fn,"controlFieldType",m.AUTO_NUMBER),kn(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Tue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rue(t,e,n){return e=Ta(e),Iue(t,SR()?Reflect.construct(e,n||[],Ta(t).constructor):e.apply(t,n))}function Bue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ta(t){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(t)}function Aue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dh(t,e)}function Iue(t,e){return e&&(kue(e)==="object"||typeof e=="function")?e:Tue(t)}function Dh(t,e){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(t,e)}function kue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SR=function(){return!!t})()}var TR=function(t){Aue(e,t);function e(n){Bue(this,e);var o;return o=Rue(this,e,[n]),Fh(o,"props",void 0),o.props=new Ih(n==null?void 0:n.props),o}return e}(ne);Fh(TR,"controlType","auto-number-column"),Fh(TR,"controlFieldType",m.AUTO_NUMBER);function Fue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Due(t,e,n){return e=Ra(e),Lue(t,RR()?Reflect.construct(e,n||[],Ra(t).constructor):e.apply(t,n))}function xue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ra(t){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(t)}function Mue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xh(t,e)}function Lue(t,e){return e&&(jue(e)==="object"||typeof e=="function")?e:Fue(t)}function xh(t,e){return xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xh(t,e)}function jue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RR=function(){return!!t})()}var BR=function(t){Mue(e,t);function e(n){xue(this,e);var o;o=Due(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:xn.controlName,o}return e}(K);function Nue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cue(t,e,n){return e=Ba(e),Hue(t,AR()?Reflect.construct(e,n||[],Ba(t).constructor):e.apply(t,n))}function Vue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ba(t){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(t)}function zue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mh(t,e)}function Hue(t,e){return e&&(que(e)==="object"||typeof e=="function")?e:Nue(t)}function Mh(t,e){return Mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mh(t,e)}function que(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AR=function(){return!!t})()}var xn=function(t){zue(e,t);function e(n){Vue(this,e);var o;return o=Cue(this,e,[n]),Dn(o,"props",void 0),o.props=new BR(n==null?void 0:n.props),o}return e}(te);Dn(xn,"controlType","file-column"),Dn(xn,"controlName",f.getMessage("file")),Dn(xn,"controlIcon","file-column"),Dn(xn,"controlFieldType",m.FILE),Dn(xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Uue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wue(t,e,n){return e=Aa(e),Xue(t,IR()?Reflect.construct(e,n||[],Aa(t).constructor):e.apply(t,n))}function Kue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Aa(t){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(t)}function Gue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jh(t,e)}function Xue(t,e){return e&&(Que(e)==="object"||typeof e=="function")?e:Uue(t)}function jh(t,e){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(t,e)}function Que(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IR=function(){return!!t})()}var kR=function(t){Gue(e,t);function e(n){Kue(this,e);var o;return o=Wue(this,e,[n]),Lh(o,"props",void 0),o.props=new BR(n==null?void 0:n.props),o}return e}(ne);Lh(kR,"controlType","file-column"),Lh(kR,"controlFieldType",m.FILE);function Jue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zue(t,e,n){return e=Ia(e),tce(t,FR()?Reflect.construct(e,n||[],Ia(t).constructor):e.apply(t,n))}function Yue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ia(t){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(t)}function ece(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nh(t,e)}function tce(t,e){return e&&(nce(e)==="object"||typeof e=="function")?e:Jue(t)}function Nh(t,e){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(t,e)}function nce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FR=function(){return!!t})()}var DR=function(t){ece(e,t);function e(n){Yue(this,e);var o;o=Zue(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ln.controlName,o}return e}(K);function oce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rce(t,e,n){return e=ka(e),cce(t,xR()?Reflect.construct(e,n||[],ka(t).constructor):e.apply(t,n))}function ice(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ka(t){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(t)}function uce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ch(t,e)}function cce(t,e){return e&&(lce(e)==="object"||typeof e=="function")?e:oce(t)}function Ch(t,e){return Ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ch(t,e)}function lce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xR=function(){return!!t})()}var Ln=function(t){uce(e,t);function e(n){ice(this,e);var o;return o=rce(this,e,[n]),Mn(o,"props",void 0),o.props=new DR(n==null?void 0:n.props),o}return e}(te);Mn(Ln,"controlType","image-column"),Mn(Ln,"controlName",f.getMessage("image")),Mn(Ln,"controlIcon","image-column"),Mn(Ln,"controlFieldType",m.IMAGE),Mn(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 ace(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fce(t,e,n){return e=Fa(e),yce(t,MR()?Reflect.construct(e,n||[],Fa(t).constructor):e.apply(t,n))}function _ce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fa(t){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(t)}function sce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zh(t,e)}function yce(t,e){return e&&(pce(e)==="object"||typeof e=="function")?e:ace(t)}function zh(t,e){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(t,e)}function pce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MR=function(){return!!t})()}var LR=function(t){sce(e,t);function e(n){_ce(this,e);var o;return o=fce(this,e,[n]),Vh(o,"props",void 0),o.props=new DR(n==null?void 0:n.props),o}return e}(ne);Vh(LR,"controlType","image-column"),Vh(LR,"controlFieldType",m.IMAGE);function dce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vce(t,e,n){return e=Da(e),gce(t,jR()?Reflect.construct(e,n||[],Da(t).constructor):e.apply(t,n))}function hce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Da(t){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(t)}function bce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hh(t,e)}function gce(t,e){return e&&(mce(e)==="object"||typeof e=="function")?e:dce(t)}function Hh(t,e){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(t,e)}function mce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jR=function(){return!!t})()}var NR=function(t){bce(e,t);function e(n){hce(this,e);var o;o=vce(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nn.controlName,o}return e}(K);function Oce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wce(t,e,n){return e=xa(e),Ece(t,CR()?Reflect.construct(e,n||[],xa(t).constructor):e.apply(t,n))}function $ce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xa(t){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(t)}function Pce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qh(t,e)}function Ece(t,e){return e&&(Sce(e)==="object"||typeof e=="function")?e:Oce(t)}function qh(t,e){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(t,e)}function Sce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CR=function(){return!!t})()}var Nn=function(t){Pce(e,t);function e(n){$ce(this,e);var o;return o=wce(this,e,[n]),jn(o,"props",void 0),o.props=new NR(n==null?void 0:n.props),o}return e}(te);jn(Nn,"controlType","people-column"),jn(Nn,"controlName",f.getMessage("people")),jn(Nn,"controlIcon","people-column"),jn(Nn,"controlFieldType",m.EMPLOYEES),jn(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Tce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rce(t,e,n){return e=Ma(e),Ice(t,VR()?Reflect.construct(e,n||[],Ma(t).constructor):e.apply(t,n))}function Bce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ma(t){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(t)}function Ace(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wh(t,e)}function Ice(t,e){return e&&(kce(e)==="object"||typeof e=="function")?e:Tce(t)}function Wh(t,e){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(t,e)}function kce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VR=function(){return!!t})()}var zR=function(t){Ace(e,t);function e(n){Bce(this,e);var o;return o=Rce(this,e,[n]),Uh(o,"props",void 0),o.props=new NR(n==null?void 0:n.props),o}return e}(ne);Uh(zR,"controlType","people-column"),Uh(zR,"controlFieldType",m.EMPLOYEES);function Fce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HR(t,e,n){return e=La(e),Dce(t,WR()?Reflect.construct(e,n||[],La(t).constructor):e.apply(t,n))}function qR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function La(t){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(t)}function UR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gh(t,e)}function Dce(t,e){return e&&(xce(e)==="object"||typeof e=="function")?e:Fce(t)}function Gh(t,e){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(t,e)}function xce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WR=function(){return!!t})()}var Mce=function(t){UR(e,t);function e(n){qR(this,e);var o;return o=HR(this,e,[n]),st.call(o,n),o}return e}(Ve),Xh=function(t){UR(e,t);function e(n){qR(this,e);var o;o=HR(this,e,[n]),Kh(o,"showLinkOperation",void 0),Kh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Vn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ke(n==null?void 0:n.linkOperationOption),o}return e}(K);Kh(Xh,"Rules",Mce);function Lce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jce(t,e,n){return e=ja(e),Vce(t,KR()?Reflect.construct(e,n||[],ja(t).constructor):e.apply(t,n))}function Nce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ja(t){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(t)}function Cce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qh(t,e)}function Vce(t,e){return e&&(zce(e)==="object"||typeof e=="function")?e:Lce(t)}function Qh(t,e){return Qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qh(t,e)}function zce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KR=function(){return!!t})()}var Vn=function(t){Cce(e,t);function e(n){Nce(this,e);var o;return o=jce(this,e,[n]),Cn(o,"props",void 0),o.props=new Xh(n==null?void 0:n.props),o}return e}(te);Cn(Vn,"controlType","location-column"),Cn(Vn,"controlName",f.getMessage("location")),Cn(Vn,"controlIcon","location-column"),Cn(Vn,"controlFieldType",m.ADDRESS),Cn(Vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Hce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qce(t,e,n){return e=Na(e),Kce(t,GR()?Reflect.construct(e,n||[],Na(t).constructor):e.apply(t,n))}function Uce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Na(t){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Na(t)}function Wce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zh(t,e)}function Kce(t,e){return e&&(Gce(e)==="object"||typeof e=="function")?e:Hce(t)}function Zh(t,e){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(t,e)}function Gce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GR=function(){return!!t})()}var XR=function(t){Wce(e,t);function e(n){Uce(this,e);var o;return o=qce(this,e,[n]),Jh(o,"props",void 0),o.props=new Xh(n==null?void 0:n.props),o}return e}(ne);Jh(XR,"controlType","location-column"),Jh(XR,"controlFieldType",m.ADDRESS);function Xce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QR(t,e,n){return e=Va(e),Qce(t,YR()?Reflect.construct(e,n||[],Va(t).constructor):e.apply(t,n))}function JR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Va(t){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Va(t)}function ZR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yh(t,e)}function Qce(t,e){return e&&(Jce(e)==="object"||typeof e=="function")?e:Xce(t)}function Yh(t,e){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(t,e)}function Jce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YR=function(){return!!t})()}var Zce=function(t){ZR(e,t);function e(n){JR(this,e);var o;return o=QR(this,e,[n]),Ca(o,"sortFieldCode",{type:"string",message:f.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return e}(Ve),e0=function(t){ZR(e,t);function e(n){JR(this,e);var o;o=QR(this,e,[n]),Ca(o,"fieldCodeList",void 0),Ca(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:mt.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 e}(K);Ca(e0,"Rules",Zce);function Yce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ele(t,e,n){return e=zn(e),ile(t,tB()?Reflect.construct(e,n||[],zn(t).constructor):e.apply(t,n))}function tle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nle(t,e,n){return e&&eB(t.prototype,e),n&&eB(t,n),t}function je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function za(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?za=Reflect.get:za=function(r,i,u){var c=ule(r,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||r):l.value}},za(t,e,n||t)}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function ole(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t0(t,e)}function rle(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ile(t,e){return e&&(cle(e)==="object"||typeof e=="function")?e:Yce(t)}function t0(t,e){return t0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t0(t,e)}function ule(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=zn(t),t!==null););return t}function cle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tB=function(){return!!t})()}var lle=1,mt=function(e){ole(n,e);function n(o){tle(this,n);var r;r=ele(this,n,[o]),je(r,"excludes",void 0),je(r,"childrenMaxLength",void 0),je(r,"props",void 0),je(r,"children",void 0);var i=rle(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new e0(o==null?void 0:o.props),We(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Be(u),r.childrenMaxLength=c,r}return nle(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=za(zn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(te);je(mt,"controlType","custom-column"),je(mt,"controlName",f.getMessage("custom")),je(mt,"controlIcon","custom-column"),je(mt,"slots",["column-column-slot"]),je(mt,"excludes",[]),je(mt,"childrenMaxLength",lle),je(mt,"setting",[{key:"caption",showItems:[s.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 ale(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fle(t,e,n){return e=Ha(e),yle(t,nB()?Reflect.construct(e,n||[],Ha(t).constructor):e.apply(t,n))}function _le(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ha(t){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ha(t)}function sle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o0(t,e)}function yle(t,e){return e&&(ple(e)==="object"||typeof e=="function")?e:ale(t)}function o0(t,e){return o0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o0(t,e)}function ple(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nB=function(){return!!t})()}var dle=function(t){sle(e,t);function e(n){_le(this,e);var o;return o=fle(this,e,[n]),n0(o,"props",void 0),n0(o,"children",void 0),o.props=new e0(n==null?void 0:n.props),We(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(ne);n0(dle,"controlType","custom-column");function vle(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hle(t,e,n){return e=qa(e),Ole(t,oB()?Reflect.construct(e,n||[],qa(t).constructor):e.apply(t,n))}function ble(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gle(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qa(t){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qa(t)}function mle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r0(t,e)}function Ole(t,e){return e&&(wle(e)==="object"||typeof e=="function")?e:vle(t)}function r0(t,e){return r0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r0(t,e)}function wle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oB=function(){return!!t})()}var rB=function(t){mle(e,t);function e(n){ble(this,e);var o;o=hle(this,e,[n]),gle(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:It.controlName;var i;return o.datasourceBind=new zo((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:It.controlCustomAttributes}),o}return e}(K);function $le(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ple(t,e,n){return e=Ua(e),Rle(t,uB()?Reflect.construct(e,n||[],Ua(t).constructor):e.apply(t,n))}function Ele(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Sle(t,e,n){return e&&iB(t.prototype,e),n&&iB(t,n),t}function Hn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ua(t){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ua(t)}function Tle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i0(t,e)}function Rle(t,e){return e&&(Ble(e)==="object"||typeof e=="function")?e:$le(t)}function i0(t,e){return i0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i0(t,e)}function Ble(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uB=function(){return!!t})()}var It=function(t){Tle(e,t);function e(n){Ele(this,e);var o;return o=Ple(this,e,[n]),Hn(o,"props",void 0),o.props=new rB(n==null?void 0:n.props),o}return Sle(e,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(te);Hn(It,"controlType","employee-column"),Hn(It,"controlName",f.getMessage("employee")),Hn(It,"controlIcon","employee-column"),Hn(It,"controlFieldType",m.EMPLOYEES),Hn(It,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ale(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ile(t,e,n){return e=Wa(e),Dle(t,cB()?Reflect.construct(e,n||[],Wa(t).constructor):e.apply(t,n))}function kle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wa(t){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wa(t)}function Fle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c0(t,e)}function Dle(t,e){return e&&(xle(e)==="object"||typeof e=="function")?e:Ale(t)}function c0(t,e){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(t,e)}function xle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cB=function(){return!!t})()}var lB=function(t){Fle(e,t);function e(n){kle(this,e);var o;return o=Ile(this,e,[n]),u0(o,"props",void 0),o.props=new rB(n==null?void 0:n.props),o}return e}(ne);u0(lB,"controlType","employee-column"),u0(lB,"controlFieldType",m.EMPLOYEES);function Mle(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lle(t,e,n){return e=Ka(e),Cle(t,aB()?Reflect.construct(e,n||[],Ka(t).constructor):e.apply(t,n))}function jle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ka(t){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ka(t)}function Nle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a0(t,e)}function Cle(t,e){return e&&(Vle(e)==="object"||typeof e=="function")?e:Mle(t)}function a0(t,e){return a0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a0(t,e)}function Vle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aB=function(){return!!t})()}var fB=function(t){Nle(e,t);function e(n){jle(this,e);var o;o=Lle(this,e,[n]),l0(o,"lineEllipsis",void 0),l0(o,"showLinkOperation",void 0),l0(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:qn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ke(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 e}(K);function zle(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hle(t,e,n){return e=Ga(e),Wle(t,_B()?Reflect.construct(e,n||[],Ga(t).constructor):e.apply(t,n))}function qle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ga(t){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ga(t)}function Ule(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f0(t,e)}function Wle(t,e){return e&&(Kle(e)==="object"||typeof e=="function")?e:zle(t)}function f0(t,e){return f0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f0(t,e)}function Kle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _B(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_B=function(){return!!t})()}var qn=function(t){Ule(e,t);function e(n){qle(this,e);var o;return o=Hle(this,e,[n]),kt(o,"props",void 0),kt(o,"children",void 0),o.props=new fB(n==null?void 0:n.props),o}return e}(te);kt(qn,"controlType","approval-status-column"),kt(qn,"controlName",f.getMessage("approvalStatusColumn")),kt(qn,"controlIcon","approval-status-column"),kt(qn,"excludes",[]),kt(qn,"setting",[{key:"caption",showItems:[s.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 Gle(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xle(t,e,n){return e=Xa(e),Zle(t,sB()?Reflect.construct(e,n||[],Xa(t).constructor):e.apply(t,n))}function Qle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xa(t){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(t)}function Jle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s0(t,e)}function Zle(t,e){return e&&(Yle(e)==="object"||typeof e=="function")?e:Gle(t)}function s0(t,e){return s0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s0(t,e)}function Yle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sB=function(){return!!t})()}var eae=function(t){Jle(e,t);function e(n){Qle(this,e);var o;return o=Xle(this,e,[n]),_0(o,"props",void 0),_0(o,"children",void 0),o.props=new fB(n==null?void 0:n.props),o}return e}(ne);_0(eae,"controlType","approval-status-column");function tae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e,n){return e=Qa(e),nae(t,vB()?Reflect.construct(e,n||[],Qa(t).constructor):e.apply(t,n))}function pB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qa(t){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qa(t)}function dB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y0(t,e)}function nae(t,e){return e&&(oae(e)==="object"||typeof e=="function")?e:tae(t)}function y0(t,e){return y0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y0(t,e)}function oae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vB=function(){return!!t})()}var rae=function(t){dB(e,t);function e(n){pB(this,e);var o;return o=yB(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),p0=function(t){dB(e,t);function e(n){pB(this,e);var o;o=yB(this,e,[n]),$e(o,"search",void 0),$e(o,"cancel",void 0),$e(o,"searchType",void 0),$e(o,"labelPosition",void 0),$e(o,"viewType",void 0),$e(o,"isLoading",void 0),$e(o,"custom",void 0),$e(o,"queryTypeMap",void 0),$e(o,"childMinWidth",void 0),$e(o,"colGap",void 0),$e(o,"viewConfig",void 0),$e(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 c;o.search=new ct((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:f.getMessage("query"),isShow:!0});var l;o.cancel=new ct((l=n==null?void 0:n.cancel)!==null&&l!==void 0?l:{content:f.getMessage("reset"),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 ct(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 g;return o.simpleConfig=(g=n==null?void 0:n.simpleConfig)!==null&&g!==void 0?g:[],o}return e}(f_);$e(p0,"RuntimeRules",rae);function iae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uae(t,e,n){return e=Za(e),aae(t,hB()?Reflect.construct(e,n||[],Za(t).constructor):e.apply(t,n))}function cae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ja(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Za(t){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Za(t)}function lae(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d0(t,e)}function aae(t,e){return e&&(fae(e)==="object"||typeof e=="function")?e:iae(t)}function d0(t,e){return d0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d0(t,e)}function fae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hB=function(){return!!t})()}var v0=function(t){lae(e,t);function e(n){cae(this,e);var o;return o=uae(this,e,[n]),Ja(o,"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return e}(Mj);Ja(v0,"controlType","simple-search"),Ja(v0,"slotPosition",{default:"search"}),Ja(v0,"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:[s.IS_HIDE]},{key:"search-view-type",visible:!0}]);function _ae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sae(t,e,n){return e=Ya(e),dae(t,bB()?Reflect.construct(e,n||[],Ya(t).constructor):e.apply(t,n))}function yae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ya(t){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ya(t)}function pae(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b0(t,e)}function dae(t,e){return e&&(vae(e)==="object"||typeof e=="function")?e:_ae(t)}function b0(t,e){return b0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b0(t,e)}function vae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bB=function(){return!!t})()}var hae=function(t){pae(e,t);function e(n){yae(this,e);var o;o=sae(this,e,[n]),h0(o,"props",void 0),h0(o,"children",void 0),o.props=new p0(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 e}(Hj);h0(hae,"controlType","simple-search");function jfe(t){return t}f.getMessage("fullLine");const bae=(t,e)=>{const n=Array.isArray(t),o=n?t:[t];Aae(e==null?void 0:e.events),Pae(o),Eae(o);const r=$ae(o),i=Sae(r,e);let u=wt(N(i,c=>wae(c,e)));return n?u:u[0]},gae=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],mae=["subtable","grid-table"],Oae=["simple-search"];function wae(t,e){var r,i,u,c,l,a;let n=t;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":gae.includes(n.type)?n.controlType="base":n.controlType="form",mae.includes(n.type)&&(n.controlType="list"),Oae.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,t.props.lable_position&&(t.props.labelPosition=t.props.lable_position),t.props.select_mode&&(t.props.optionsFormat=t.props.select_mode),t.props.value&&(t.props.defaultValue=t.props.value),fe((r=t==null?void 0:t.props)==null?void 0:r.caption)&&(n.props.caption=t.props.caption.zh),fe((i=t==null?void 0:t.props)==null?void 0:i.placeholder)&&(n.props.placeholder=t.props.placeholder.zh),fe((u=t==null?void 0:t.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=t.props.placeholder_end.zh),t.type==="department-search"&&(n.type="department",t.props.value.length&&(n.props.default_value=t.props.value),n.props.showType=t.props.show_tree?"tree":"default",n.props.rangeOptions=t.props.department_list),t.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=t.props.value),t.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=t.attachment_format)==null?void 0:c.split(","),n.props.showType=t.props.show_type==="title"?"default":"table"),t.type==="image"&&(n.props.attachmentAccept=(l=t.attachment_format)==null?void 0:l.split(",")),t.type==="date-pick"&&(n.type="date-picker"),t.type==="rich-text"&&(fe(t.props.value)?n.props.defaultValue=t.props.value.zh:n.props.defaultValue=t.props.value),["link","text","button"].includes(t.type)&&(fe(t.props.value)?n.props.content=t.props.value.zh:n.props.content=t.props.value),t.type==="text"&&t.props.showState==="iconText"&&(n.props.showState="image"),t.type==="user-search"&&(n.type="employee",n.props.defaultValue=t.props.value),t.type==="address"&&(n.props.addressType=t.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 ZY.Designer;b.props.caption=fe(p.field_name)?p.field_name.zh:p.field_name;const O=b.toSchema();O.id=p.header_id;const g=n.children[0].children[d].children[0];return g&&(O.children=[g]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(t.type)&&(t.props.options.map(_=>{_.label=fe(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=t),t.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(p=>{const d=new ME.Designer;d.props.span=_;const b=d.toSchema();return b.children.push(p),b})}if(t.type==="grid-layout-row"&&(n.type="row"),t.type==="grid-layout-col"&&(n.type="col"),t.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),t.type==="tabs-pane"&&(n.type="tab-pane"),t.type==="calc"){const _=n==null?void 0:n.children[0],p=n==null?void 0:n.children[1],d={};_&&(gB(n,e),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(t.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={};_&&(gB(n,e),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=Mt(_.props.range_min),n.props.range_max=Mt(_.props.range_max),b.amount=Mt(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=fe(_.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(t.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=fe(t.props.placeholder)?t.props.placeholder.zh:t.props.placeholder,n.props.caption=fe(t.props.caption)?t.props.caption.zh:t.props.caption;const d={};_&&(d.min=_.props.data_bind),p&&(d.max=p.props.data_bind),n.props.dataBind=d,delete n.children}return t.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(t.type)&&(n.props.defaultValue=fe(t.props.value)?t.props.value.zh:t.props.value),t.type==="number"&&(n.props.range_min=Mt(t.props.range_min),n.props.range_max=Mt(t.props.range_max),n.props.defaultValue=Mt(t.props.value)),t.type==="list-page-btn-custom-button"&&(t.type="button"),t.type==="button"&&t.props.button_type==="dashed"&&(n.props.buttonType="default"),Iae(n,e==null?void 0:e.control_events),n}function gB(t,e){if(!e)return;const{displayBoList:n=[],behaviors:o=[]}=e,r=t.id,i=t.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(a=>a===r),l=u.hide_controls.findIndex(a=>a===r);c>-1&&u.show_controls.splice(c,1,i),l>-1&&u.hide_controls.splice(l,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function $ae(t){if(!Array.isArray(t)||!t.find(r=>r.type==="grid"))return t;const o=new mne.Designer().toSchema();return o.children=t,[o]}function Pae(t){t.forEach(e=>{e.children&&Bae(e.children)})}function Eae(t){t.forEach(e=>{var o,r;if(!(e&&e.children))return;const n=e.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function Sae(t,e){var b,O,g,w,h,$,P,T;if(!(Array.isArray(t)&&t.length===1))return t;const n=t[0];if(n.type!=="list-page")return t;const{props:o,children:r}=n,[i,u,c]=r;Tae(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,Rae(c,u);const l=(g=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?g:e==null?void 0:e.dataCode,a=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:l)?`${l}_selectMore`:void 0,_=(P=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?P:[],p=new Yte.Designer;p.props.datasourceBind=new X({dataCode:l,svcCode:a,orders:tx(_)}),p.props.isShowSubList=o.is_show_sublist,p.props.triggerType=o.timing_type,p.props.triggerFieldCode=o.ctrl_field_code,(T=o==null?void 0:o.sublist_page)==null||T.sublists.forEach(R=>{R.title=fe(R.title)?R.title.zh:R.title}),p.props.sublistPage=o.sublist_page;const d=p.toSchema();return d.children.push(i,c),[d]}function Tae(t){t.type="simple-search",t.control_type="search-view",t.children.forEach(e=>{var o,r;const n=fe(e.placeholder)?e.placeholder.zh:e.placeholder;e.type==="number-range"&&(e.type="search-number-range",e.placeholderStart=n,e.placeholderEnd=n),e.type==="date-pick"&&(e.type="search-date-range",e.placeholderStart=n,e.placeholderEnd=n,e.dateType=(r=(o=e.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(e.type==="automatic-number"||e.type==="auto-number")&&(e.type="search-input",e.props.defaultValue="")})}function Rae(t,e){t.children=e.children.filter(n=>n.type!=="list-page-btn-custom-head"),t.type="grid-table",t.props.sublist_page&&(t.props.sublist_page.form_bind={data_code:t.props.sublist_page.data_code,form_key:t.props.sublist_page.form_key}),Array.isArray(t.props.headers)&&(t.props.headers=t.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:fe(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=fe(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 Bae(t){var n;let e=null;for(let o=0;o<t.length;o++){const r=t[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){e=r.children[0];continue}e&&(e.children.push(r),t.splice(o,1),o--)}}}function Aae(t){!t||(t.did_mount=t.did_mount.map(e=>e.name),t.will_submit=t.will_submit.map(e=>e.name),t.did_submit=t.did_submit.map(e=>e.name))}function Iae(t,e){var o;if(!e||!t.props.events)return;const n=Object.keys(t.props.events);!n.length||(n.forEach(r=>{!t.props.events[r].length||(e[t.id]||(e[t.id]={}),e[t.id][r]||(e[t.id][r]=[]),e[t.id][r].push(...t.props.events[r].map(i=>i.name)))}),(o=e[t.id])!=null&&o.on_blur&&(e[t.id].on_change||(e[t.id].on_change=[]),e[t.id].on_change.push(...e[t.id].on_blur)))}const kae=(t,e)=>{const n=Array.isArray(t);let r=wt(N(n?t:[t],i=>Fae(i)));return n?r:r[0]};function Fae(t,e){return t.type===y.LIST_VIEW&&t.children.find(o=>o.type===y.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new ke({dataCode:t.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),t}const Dae=(t,e)=>{const n=Array.isArray(t);let r=wt(N(n?t:[t],i=>xae(i)));return n?r:r[0]};function xae(t,e){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.LIST_SELECT_BUTTON].includes(t.type)&&(t.props.button_type==="default"&&(t.props.button_type="secondary"),t.props.button_type==="danger"&&(t.props.button_type="secondary",t.props.color="danger"),t.props.icon||(t.props.icon="iconfenlei2")),t.type===y.IMPORT_RECORD_LIST_BUTTON&&(t.props.icon="iconshangchuan3"),t.type===y.EXPORT_LIST_BUTTON&&(t.props.icon="iconxiazai1"),t}const Mae=(t,e)=>{const n=Array.isArray(t);let r=wt(N(n?t:[t],i=>Lae(i)));return n?r:r[0]};function Lae(t,e){if(t.props.icon){let n=t.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}t.props.icon=n}return t}const jae=(t,e)=>{const n=Array.isArray(t);let r=wt(N(n?t:[t],i=>Cae(i)));return n?r:r[0]},Nae=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function Cae(t,e){return t.type===y.TAB_PANE&&(t.children=t.children.map(n=>{if(Nae.includes(n.type))return n;const o=new PY.Designer,r=new ME.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),t}const Vae=(t,e)=>{const n=Array.isArray(t);let r=wt(N(n?t:[t],i=>zae(i)));return n?r:r[0]};function zae(t,e){return t.type===y.GRID_TABLE&&t.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),t}const Hae=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>qae(i));return n?r:r[0]};function qae(t,e){return t.type===y.SUBTABLE&&(t.props.default_rows=t.props.limit_rows),t}const Uae=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>Wae(i));return n?r:r[0]};function Ot(t,e){t.field_code&&(t.field_type=e)}function Wae(t,e){var o;const n={[y.TITLE]:m.AUTO_NUMBER,[y.ADDRESS]:m.ADDRESS,[y.ATTACHMENT]:m.FILE,[y.AUTO_NUMBER]:m.AUTO_NUMBER,[y.CHECKBOX]:m.ARRAY,[y.DATE_PICKER]:m.TIMESTAMP,[y.DEPARTMENT]:m.DEPARTMENTS,[y.DEPARTMENT2]:m.DEPARTMENTS,[y.EMPLOYEE]:m.EMPLOYEES,[y.EMPLOYEE2]:m.EMPLOYEES,[y.IMAGE]:m.IMAGE,[y.INPUT]:m.VARCHAR,[y.NUMBER]:m.DECIMAL,[y.RADIO]:m.VARCHAR,[y.RICH_TEXT]:m.TEXT,[y.SCORE]:m.DECIMAL,[y.SELECT]:m.VARCHAR,[y.SELECT_MULTIPLE]:m.ARRAY,[y.SELECT_RELATION]:m.VARCHAR,[y.TEXTAREA]:m.TEXT,[y.TREE]:m.ARRAY,[y.SEARCH_DATE_RANGE]:m.ARRAY,[y.SEARCH_INPUT]:m.VARCHAR,[y.SEARCH_NUMBER_RANGE]:m.ARRAY};return n.hasOwnProperty(t.type)&&Ot(t.props.data_bind,n[t.type]),t.type===y.AMOUNT&&(Ot(t.props.data_bind.amount,m.DECIMAL),Ot(t.props.data_bind.currency,m.VARCHAR)),t.type===y.CALC&&(Ot(t.props.data_bind.result,m.DECIMAL),Ot(t.props.data_bind.unit,m.VARCHAR)),t.type===y.DATE_RANGE&&(Ot(t.props.data_bind.min,m.TIMESTAMP),Ot(t.props.data_bind.max,m.TIMESTAMP)),t.type===y.VUE_FORM_ITEM&&Ot(t.props.data_bind,(o=t.field_type)!=null?o:m.ANY),t}const Kae=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>Gae(i));return n?r:r[0]};function Gae(t,e){return t.type===y.GRID_TABLE&&t.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===y.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),t}const Xae=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>Qae(i));return n?r:r[0]};function Qae(t,e){return t.type===y.SIMPLE_SEARCH&&t.children.length&&(t.props.query_type_map||(t.props.query_type_map=[]),t.children.forEach(n=>{var o,r;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&t.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),t}const Jae=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>Zae(i));return n?r:r[0]};function Zae(t,e){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===y.SUBTABLE&&t.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const Yae=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>efe(i));return n?r:r[0]};function efe(t,e){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===y.SUBTABLE&&t.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const tfe=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>nfe(i));return n?r:r[0]};function nfe(t,e){return t.type===y.TITLE&&t.props.config.push(Ze.ShowTitle),t.type===y.GRID_TABLE&&t.props.headers.map(n=>{var o,r,i,u,c,l,a,_,p,d,b,O,g,w,h,$,P,T,R,z,I,le;if(n.type===y.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 A=new Os.Designer;Object.defineProperty(A,"id",{value:"listPageCheckBtnId"}),A.props.code="view",A.props.icon="iconliulan1",A.props.command="view",A.props.content=(i=n.props)==null?void 0:i.check.content,A.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,A.props.openType=(c=n.props)==null?void 0:c.check.open_type,A.props.formKey=(l=n.props)==null?void 0:l.check.form_key,(a=n.props)!=null&&a.check.is_show&&n.children.push(A.toSchema()),(_=n.props)==null||delete _.check}if(((p=n.props)==null?void 0:p.edit)!==void 0){const A=new Os.Designer;Object.defineProperty(A,"id",{value:"listPageEditBtnId"}),A.props.code="edit",A.props.icon="iconbianji1",A.props.command="edit",A.props.content=(d=n.props)==null?void 0:d.edit.content,A.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,A.props.openType=(O=n.props)==null?void 0:O.edit.open_type,A.props.formKey=(g=n.props)==null?void 0:g.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(A.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const A=new Os.Designer;Object.defineProperty(A,"id",{value:"listPageDeleteBtnId"}),A.props.code="delete",A.props.icon="iconlajitong",A.props.command="delete",A.props.content=(P=n.props)==null?void 0:P.delete.content,A.props.priorityProcess=(T=n.props)==null?void 0:T.delete.priority_process,A.props.openType=(R=n.props)==null?void 0:R.delete.open_type,A.props.formKey=(z=n.props)==null?void 0:z.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage=f.getMessage("deleteConfirm"),(I=n.props)!=null&&I.delete.is_show&&n.children.push(A.toSchema()),(le=n.props)==null||delete le.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===y.SUBTABLE&&t.props.headers.forEach(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const ofe=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>rfe(i,e));return n?r:r[0]};function rfe(t,e){t.type===y.SUBTABLE&&t.props.headers.map(o=>{var i;o.props.meta_auto_width=new nb,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===y.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[y.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}],[y.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}],[y.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[y.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[y.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return t.type in n&&n[t.type].forEach(o=>{t.props[o.key]===void 0&&(t.props[o.key]=o.value)}),t.type===y.GRID_TABLE&&t.props.headers.forEach(o=>{o.type===y.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 bf)}),t.type===y.CALC&&t.props.calc_on_mounted===void 0&&(t.props.calc_on_mounted=!0),ife(e),t}function ife(t){if(!(!t||!t.listeners)){if(Object.keys(t.listeners).forEach(e=>{let n,o,r;t.listeners[e].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(g0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),t.listeners[e].splice(r,1)):o.event_key="on_click")}),!t.listeners.form_submit)t.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[ufe()]}];else if(t.listeners.form_submit&&t.listeners.form_submit&&t.listeners.form_submit[0]&&t.listeners.form_submit[0].cases&&t.listeners.form_submit[0].cases[0]&&t.listeners.form_submit[0].cases[0].handlers){let e=!1;t.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(e=!0)}),e||t.listeners.form_submit[0].cases[0].handlers.push(g0())}}}function ufe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[g0()]}}function g0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const cfe=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>lfe(i,e));return n?r:r[0]};function lfe(t,e){if(t.type===y.LIST_VIEW){if(t.props.is_show_selection===!1){const n=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];t.children.forEach(o=>{o.type===y.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(t.props.is_show_selection=!0,o.props.is_show_selection=!0)})}t.props.caption===""&&(t.props.caption=e==null?void 0:e.formName),t.props.is_all_loaded===void 0&&(t.props.is_all_loaded=!0)}return t.type===y.TEXTAREA&&t.props.auto_size===void 0&&(t.props.auto_size=!1),t.type===y.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t.type===y.TREE&&t.props.default_display===void 0&&(t.props.default_display=!1),t.type===y.GRID_TABLE&&t.props.is_show_toolbar===void 0&&(t.props.is_show_toolbar=!0),t.type===y.NUMBER&&t.props.regular_rules===void 0&&(t.props.regular_rules=new Ef),t}const afe=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>ffe(i));return n?r:r[0]};function ffe(t,e){const n={[y.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]};return t.type in n&&n[t.type].forEach(r=>{t.props[r.key]===void 0&&(t.props[r.key]=r.value)}),t.type==="card-group"&&t.props.isHideCaption===void 0&&(t.props.isHideCaption=!1),[y.LIST_PAGE_BTN_BATCH_PRINT_RECORD,y.EXPORT_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.CREATE_FORM_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.BATCH_DELETE_LIST_BUTTON,y.BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT].includes(t.type)&&(t.control_type="base"),t.type===y.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t}function _fe(t,e){var n,o;if((e==null?void 0:e.formType)===1&&(e==null?void 0:e.events)!==void 0){const r=(o=(n=e==null?void 0:e.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(e.events.did_init=r,e.events.did_mount=[]),e.events.did_init===void 0&&(e.events.did_init=[])}}const sfe=(t,e)=>{const n=Array.isArray(t),o=n?t:[t],r={};let i=N(o,u=>{const c=yfe(u);return r[u.id]=u,c});return _fe(r,e),n?i:i[0]};function yfe(t,e){var n,o,r;if(t.type===y.TEXTAREA){const i={rowHeightType:t.props.auto_size===!0?"auto":"fixed",minRows:(n=t.props.line_ellipsis)!=null?n:4,maxRows:(o=t.props.max_rows)!=null?o:20,fiexdRow:(r=t.props.line_ellipsis)!=null?r:4};if(t.props.row_height_setting=wt(new tb({pc:i,mobile:i})),t.type===y.ORGANIZATION_SELECTION){const u=t.props.selected_content_config,c=u==null?void 0:u.display_bo_list;c&&c.forEach(l=>{l.value==="org_type_code"&&(l.label=f.getMessage("businessType")),l.value==="org_pattern_code"&&(l.label=f.getMessage("organizationalForm"))})}t.type===y.LIST_SELECT_BUTTON&&t.props.disable_filling===void 0&&(t.props.disable_filling=!1)}return t}const pfe=(t,e)=>{const n=Array.isArray(t),o=n?t:[t],r={};let i=N(o,u=>{const c=dfe(u);return r[u.id]=u,c});return vfe(r,e),n?i:i[0]};function dfe(t,e){return t}function vfe(t,e){(e==null?void 0:e.formType)===0&&(e==null?void 0:e.listeners)!==void 0&&Object.keys(e==null?void 0:e.listeners).map(n=>{var i,u,c,l,a;const o=e==null?void 0:e.listeners[n],r=t[n];(r==null?void 0:r.type)===y.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(g=>{var w;(w=g==null?void 0:g.handlers)==null||w.map(h=>{var $,P,T,R;(h==null?void 0:h.method)==="optPage"&&h.params.operation==="refresh"&&(h.params.operation="close"),(h==null?void 0:h.method)==="openPage"&&((R=(T=(P=($=h.params)==null?void 0:$.options)==null?void 0:P.link)==null?void 0:T.fx)==null?void 0:R.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((l=(c=r.props)==null?void 0:c.opt_obj)==null?void 0:l.opt_type)&&((a=e.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 hfe=(t,e)=>{const n=Array.isArray(t),o=n?t:[t],r={};let i=N(o,u=>{const c=bfe(u);return r[u.id]=u,c});return gfe(r,e),n?i:i[0]};function bfe(t,e){if(t.type===y.ORGANIZATION_SELECTION){const n=t.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.getMessage("businessType")),r.value==="org_pattern_code"&&(r.label=f.getMessage("organizationalForm"))})}return t}function gfe(t,e){var n,o;if((e==null?void 0:e.formType)===1&&(e==null?void 0:e.events)!==void 0){const r=(o=(n=e==null?void 0:e.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(e.events.did_init=r,e.events.did_mount=[]),e.events.did_init===void 0&&(e.events.did_init=[])}}const mfe=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>Ofe(i));return n?r:r[0]};function Ofe(t,e){var n,o;if(t.type===y.SIMPLE_SEARCH&&(t.props.view_config===void 0&&(t.props.view_config=(n=t.children)==null?void 0:n.map(r=>{var i;return(i=r.props)==null?void 0:i.data_bind})),t.props.simple_config===void 0&&(t.props.simple_config=(o=t.children)==null?void 0:o.map(r=>{var i;return(i=r.props)==null?void 0:i.data_bind}))),t.type===y.ORGANIZATION_SELECTION){const r=t.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.getMessage("businessType")),u.value==="org_pattern_code"&&(u.label=f.getMessage("organizationalForm"))})}return t}const wfe=(t,e)=>{const n=Array.isArray(t);let r=N(n?t:[t],i=>$fe(i));return Rfe(r),Pfe(r),n?r:r[0]};function $fe(t,e){return t.type===y.SIMPLE_SEARCH&&t.children.forEach(n=>{if(n.type===y.SELECT||n.type===y.SELECT_MULTIPLE){const o=n;o.props.option_config==="datasource"&&(o.props.default_show_options=!1)}}),t}function Pfe(t){var e,n;if(t[0].type===y.LIST_VIEW){const o=t[0].props;let r={type:(e=o.row_style_type)!=null?e:"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 c={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},l;if(o.row_style_rules_script){const a=o.row_style_rules_script.find(_=>_.id===u);a&&(l=Tfe(i.filters,a.script))}i.settings=[c],i.script=l,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 mB(t,e){return e||(e={}),t.forEach(n=>{if(n.children)mB(n.children,e);else{const o=n.left_variable_bo;switch(o.type){case"people":case"department":case"array":case"timestamp":let r=o.value;e[r]=o;break}}}),e}function Efe(t){return t=t.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),t.split("__split__").map(n=>n.replace(/^\s+|\s+$/gm,""))}function Sfe(t){let e="",n="";if(t[0]==="!")e="is_empty";else{const o=t.match(/(===|!=|>|>=|<|<=)/);if(o){const r=o[0];switch(r){case"===":e="op_equal";break;case"!=":e="op_no_equal";break;case">":e="op_greater";break;case">=":e="op_greater_equal";break;case"<":e="op_less";break;case"<=":e="op_less_equal";break;default:e="is_not_empty";break}n=t.split(r)[1]||""}else e="is_not_empty"}return{operate:e,value:n}}function Tfe(t,e){const n=mB(t);return Efe(e).forEach(r=>{Object.keys(n).forEach(i=>{if(r.indexOf(`params.data.data_value_map['${i}']`)>-1){const l=n[i].type,{operate:a,value:_}=Sfe(r);let p=`SpecialMatch(data, sys, '${i}', '${l}', '${a}', ${_||"''"})`;e=e.replace(r,p)}})}),e=e.replace(/params.data.data_value_map/g,"data"),e}function Rfe(t){if(t[0].type===y.LIST_VIEW){const e=t[0].children.find(n=>n.type===y.GRID_TABLE);if(e){const n=e.props.headers,o=e.props.footers,r={};o&&o.length>0&&o.forEach(i=>{const u=i.id.replace("foot_",""),c=i.children;c&&c.length>0&&i.children[0].type!==y.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),r[u]=i}),n.forEach(i=>{const u=r[i.id];if(u){const c=u.children;if(!c||c.length===0)return;const l=i.children||[];i.children=[].concat(l,c)}}),e.props.footers=[]}}return t}const Bfe=(t,e)=>{const n=Array.isArray(t);let r=Afe(n?t:[t],e);return n?r:r[0]};function Afe(t,e){const n=kfe(e);return n.length>0&&(Ife(n,e),OB(n,t)),t}function OB(t,e){if(e){const n=e.length;for(let o=n-1;o>=0;o--){const r=e[o],i=r.id;t.indexOf(i)>-1?e.splice(o,1):OB(t,r.children)}}}function Ife(t,e){const n=(e==null?void 0:e.permission_controls)||[];for(let o=n.length-1;o>=0;o--){const r=n[o].control_id;t.indexOf(r)>-1&&n.splice(o,1)}}function kfe(t){const e=[],n=t==null?void 0:t.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 c;if(!!u&&u.method==="openPage"){const l=(c=u.params)==null?void 0:c.relation_control_id;l&&e.push(l)}})})})}),e}var wB={"v1.0":bae,"v2.0":kae,"v2.1":Dae,"v2.2":Mae,"v2.3":jae,"v2.4":Vae,"v2.5":Hae,"v2.6":Uae,"v2.7":Kae,"v2.8":Xae,"v2.9":Jae,"v2.10":Yae,"v3.0":tfe,"v3.1":ofe,"v3.2":cfe,"v3.3":afe,"v3.4":sfe,"v3.5":pfe,"v3.6":hfe,"v3.7":mfe,"v3.8":wfe,"v3.10":Bfe,"v3.11":()=>{}};const $B=(t,e)=>{const n=PB(t),o=PB(e),r=n.pop(),i=o.pop(),u=TB(n,o);return u!==0?u:r&&i?TB(r.split("."),i.split(".")):r||i?r?-1:1:0},ef=(t,e,n)=>{Mfe(n);const o=$B(t,e);return RB[n].includes(o)},Ffe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,PB=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(Ffe);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},EB=t=>t==="*"||t==="x"||t==="X",SB=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},Dfe=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],xfe=(t,e)=>{if(EB(t)||EB(e))return 0;const[n,o]=Dfe(SB(t),SB(e));return n>o?1:n<o?-1:0},TB=(t,e)=>{for(let n=0;n<Math.max(t.length,e.length);n++){const o=xfe(t[n]||"0",e[n]||"0");if(o!==0)return o}return 0},RB={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},BB=Object.keys(RB),Mfe=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(BB.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${BB.join("|")}`)};function m0(t){return t.replace(/^v/,"")}const Un=Object.keys(wB).map(t=>m0(t)).sort($B),xo=Un[Un.length-1];class Lfe{constructor(e,n=xo){this.schemaVersion=e,this.toVersion=n,ef(n,xo,">")?Qn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${xo}`):(!Un.includes(m0(n))||!Un.includes(m0(e)))&&Qn(`Version Builder: Please give me a valid version number, The valid version is: ${Un.join(",")}, But give me a ${e}`)}dataCleaner(e,n){if(ef(this.toVersion,this.schemaVersion,"="))return e;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var p;const l=(p=c[u+1])!=null?p:this.toVersion;jo(`Version Builder: current version: ${i}, nextVersion: ${l}`);const a=wB[i];let _=r;if(typeof a=="function"){const d=a(r,n);d&&(_=d)}return _},e);return jo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Un.filter(e=>ef(e,this.schemaVersion,">=")&&ef(e,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(e=>"v"+e)}get version(){return xo}static get version(){return xo}}Dt.VersionBuilder=Lfe,Object.defineProperty(Dt,"__esModule",{value:!0})});
|
|
1
|
+
(function(ke,Wn){typeof exports=="object"&&typeof module!="undefined"?Wn(exports):typeof define=="function"&&define.amd?define(["exports"],Wn):(ke=typeof globalThis!="undefined"?globalThis:ke||self,Wn(ke.modelDrivenUpgrade={}))})(this,function(ke){"use strict";var Wn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",$B="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",PB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",EB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",SB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",TB="{caption}\u5FC5\u586B",RB="\u8BF7\u8F93\u5165\u6807\u9898",BB="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",DB="\u8BF7\u8F93\u5165\u884C\u6807\u9898",AB="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",IB="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",kB="\u8BF7\u7ED1\u5B9A\u8868\u5355",FB="\u8BF7\u7ED1\u5B9A\u5217\u8868",MB="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",xB="\u8BF7\u8F93\u5165\u663E\u793A\u503C",LB="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",CB="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",jB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",NB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",VB="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",zB="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",HB="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",qB="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",UB="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",WB="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",KB="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",GB="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",XB="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",QB="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",JB="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ZB="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",YB="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",t1="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",e1="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",n1="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",o1="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",r1="\u8BF7\u7ED1\u5B9A\u670D\u52A1",i1="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",u1="\u8BF7\u9009\u62E9\u7701",l1="\u8BF7\u9009\u62E9\u5E02",c1="\u8BF7\u9009\u62E9\u533A",a1="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",f1="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",_1="\u8BF7\u8F93\u5165\u5217\u5BBD",y1="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",s1="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",p1="\u8BF7\u9009\u62E9\u63A7\u4EF6",d1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",v1="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",h1="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",b1="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",m1="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",g1="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",O1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",w1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$1="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",P1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",E1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",S1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",T1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",R1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",B1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",D1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",A1="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",I1="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",k1="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",F1="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",M1="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",x1="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",L1="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",C1="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",j1="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",N1="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",V1="\u6279\u91CF\u5220\u9664",z1="\u6279\u91CF\u6253\u5370",H1="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",q1="\u6309\u94AE",U1="\u521B\u5EFA\u5355\u636E",W1="\u4EEA\u8868\u76D8",K1="\u5206\u5272\u7EBF",G1="\u5BFC\u51FA",X1="\u8868\u5355\u64CD\u4F5C",Q1="\u5BFC\u5165",J1="\u53D1\u7968\u8BC6\u522B",Z1="\u94FE\u63A5",Y1="\u5217\u8868\u9009\u62E9",t3="\u5217\u8868\u89C6\u56FE",e3="\u64CD\u4F5C\u6309\u94AE",n3="\u5206\u9875",o3="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",r3="\u8BF4\u660E\u6587\u5B57",i3="\u6587\u5B57\u8BC6\u522B",u3="\u6807\u9898\u7EC4\u4EF6",l3="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",c3="\u6570\u7EC4",a3="\u81EA\u52A8\u7F16\u53F7",f3="\u81EA\u5B9A\u4E49",_3="\u6570\u503C",y3="\u90E8\u95E8",s3="\u4EBA\u5458",p3="\u9644\u4EF6",d3="\u56FE\u7247",v3="\u5730\u5740",h3="\u64CD\u4F5C",b3="\u5E8F\u53F7",m3="\u4EBA\u5458",g3="\u957F\u6587\u672C",O3="\u65E5\u671F\u533A\u95F4",w3="\u65E5\u671F",$3="\u77ED\u6587\u672C",P3="\u6362\u884C\u5BB9\u5668Wrap",E3="\u8868\u683C",S3="\u660E\u7EC6\u5B50\u8868",T3="\u5730\u5740",R3="\u91D1\u989D",B3="\u8BA1\u7B97\u516C\u5F0F",D3="\u591A\u9009",A3="\u7535\u5B50\u7B7E\u7AE0",I3="\u5355\u884C\u6587\u672C",k3="\u6570\u5B57",F3="\u4E1A\u52A1\u7EC4\u7EC7",M3="\u5355\u9009",x3="\u5BCC\u6587\u672C",L3="\u8BC4\u5206",C3="\u6570\u5B57\u533A\u95F4",j3="\u4E0B\u62C9\u5355\u9009",N3="\u4E0B\u62C9\u591A\u9009",V3="\u5173\u8054\u5355\u9009",z3="\u591A\u884C\u6587\u672C",H3="\u6811",q3="Vue\u5BB9\u5668",U3="Vue\u9875\u9762",W3="\u5728\u7EBF\u6587\u6863",K3="\u6309\u94AE\u64CD\u4F5C\u680F",G3="\u9AD8\u7EA7\u5BB9\u5668",X3="\u5206\u7EC4",Q3="\u6805\u683C\u5217",J3="\u6570\u636E\u5BB9\u5668",Z3="\u753B\u5E03",Y3="\u6362\u884C\u5BB9\u5668",t2="\u6805\u683C\u7B49\u5206\u884C",e2="\u5217\u8868\u5BB9\u5668",n2="\u81EA\u7531\u9875\u9762",o2="\u5B9A\u4F4D\u5B50\u5BB9\u5668",r2="\u5B9A\u4F4D\u5BB9\u5668",i2="\u6805\u683C\u5E03\u5C40",u2="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",l2="\u660E\u7EC6\u5B50\u8868\u884C",c2="\u6807\u7B7E\u9875",a2="\u6807\u7B7E\u5355\u5143",f2="\u5DE5\u5177\u680F",_2="\u6279\u91CF\u63D0\u4EA4",y2="\u5BFC\u51FA\u8BB0\u5F55",s2="\u5217\u8868\u89C6\u56FE",p2="\u7ED3\u675F\u65F6\u95F4",d2="\u5F00\u59CB\u65F6\u95F4",v2="\u5355\u4F4D",h2="\u7ED3\u679C",b2="\u5E01\u79CD",m2="\u7ED3\u675F\u65E5\u671F",g2="\u5F00\u59CB\u65E5\u671F",O2="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",w2="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",$2="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",P2="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",E2="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",S2="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",T2="\u8BF7\u9009\u62E9",R2="\u8BF7\u9009\u62E9\u7EC4\u7EC7",B2="\u8BF7\u9009\u62E9\u90E8\u95E8",D2="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",A2="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",I2="\u8BF7\u9009\u62E9\u5730\u5740",k2="\u5F39\u7A97\u786E\u8BA4\u65F6",F2="\u6807\u7B7E\u9875\u5207\u6362\u65F6",M2="\u884C\u9009\u4E2D\u65F6",x2="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",L2="\u884C\u5220\u9664\u524D",C2="\u884C\u70B9\u51FB\u65F6",j2="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",N2="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",V2="\u91CD\u547D\u540D\u65F6",z2="\u4FDD\u5B58\u6587\u4EF6\u65F6",H2="\u6253\u5F00\u6587\u4EF6\u65F6",q2="\u83B7\u53D6\u7126\u70B9\u65F6",U2="\u5931\u53BB\u7126\u70B9\u65F6",W2="\u7528\u6237\u8F93\u5165\u65F6",K2="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",G2="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",X2="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Q2="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",J2="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Z2="\u641C\u7D22\u65F6",Y2="\u503C\u53D1\u751F\u53D8\u5316\u65F6",tD="\u6267\u884C\u5B8C\u6210\u65F6",eD="\u70B9\u51FB\u65F6",nD="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",oD="\u8BF7\u8F93\u5165\u65E5\u671F",rD="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",iD="\u8BF7\u8F93\u5165",uD="\u9ED8\u8BA4\u6A21\u7248",lD="\u5DE6\u53F3\u5E03\u5C40",cD="\u4E0A\u4E0B\u5E03\u5C40",aD="\u53EA\u8BFB",fD="\u5FC5\u586B",_D="\u63D0\u793A\u6587\u5B57",yD="\u9690\u85CF\u6807\u9898",sD="\u6807\u9898\u5FC5\u586B",pD="\u7EC4\u7EC7\u5F62\u6001",dD="\u4E1A\u52A1\u7C7B\u578B",vD="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",hD="\u9690\u85CF",bD="\u6D41\u7A0B\u72B6\u6001",mD="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",gD="\u5220\u9664",OD="\u7F16\u8F91",wD="\u67E5\u770B",$D="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",PD="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",ED="\u5145\u6EE1\u6574\u884C",SD="\u6700\u5C0F\u503C",TD="\u6700\u5927\u503C",RD="\u65B0\u5EFA\u6587\u6863",BD="\u91CD\u7F6E",DD="\u67E5\u8BE2",AD="\u660E\u7EC6",ID="\u6253\u5370",kD="\u4FDD\u5B58\u8349\u7A3F",FD="\u4FDD\u5B58",MD="\u53D6\u6D88",xD="\u4E0A\u4F20\u56FE\u7247",LD="\u53D1\u8D77\u7B7E\u7F72",CD="\u4E0A\u4F20\u9644\u4EF6",jD="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",ND="\u5F15\u7528\u5217\u8868",VD="\u9009\u9879\u4E00",zD="\u9009\u9879\u4E8C",HD="\u9009\u9879\u4E09",qD={isNotNumber:Wn,isNotString:$B,isNotObject:PB,isNotArray:EB,isNotBoolean:SB,runtimeRequired:TB,pleaseEnterCaption:RB,pleaseEnterCaptionTip:BB,pleaseEnterRowCaption:DB,pleaseEnterPlaceholder:AB,pleaseEnterFieldCode:IB,pleaseEnterForm:kB,pleaseEnterList:FB,pleaseEnterProcess:MB,pleaseEnterLabel:xB,pleaseEnterValue:LB,bizKeyNotBindFiled:CB,pleaseSelectOneField:jB,pleaseEnterNumberRange:NB,pleaseEnterAValueGreaterThanMin:VB,pleaseEnterAValueLessThanMax:zB,numberRangeSetError:HB,stringRangeError:qB,attachmentMaxSize:UB,pleaseEnterTotalScoreSetting:WB,theTotalScoreMustNotBeLessThan1:KB,scoreDefaultValueRange:GB,attachmentLimitError:XB,PleaseReselectTheOptionalQuantity:QB,TheMaximumLengthIsGreaterThanTheMinimumLength:JB,TheMinimumLengthIsGreaterThanTheMaximumLength:ZB,PleaseSelectTheCorrectOptionSettings:YB,optionIdIsRepeat:t1,optionIsRequired:e1,pleaseEnterDataCode:n1,pleaseEnterValueFieldCode:o1,pleaseEnterSvcCode:r1,pleaseBindAtLeastOneDisplayValue:i1,pleaseSelectProvince:u1,pleaseSelectCity:l1,pleaseSelectDistrict:c1,limitRowsCannotBeLessThan0:a1,TheNumberOfRowsCannotBeLessThanMinRows:f1,pleaseEnterColumnWidth:_1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:y1,pleaseCompleteAllRulesAndConditions:s1,pleaseSelectControl:p1,pleaseSelectAtLeastOneColumn:d1,pleaseSelectFillBackMode:v1,pleaseSelectDashboard:h1,rootNodeIsRequired:b1,theViewNameCannotBeEmpty:m1,pleaseSelectOcrType:g1,pleaseSelectAtLeastOneFieldToFillIn:O1,pleaseChooseAtLeastOne:w1,pleaseEnterButtonContent:$1,pleaseEnterDataCodeInDataSetting:P1,pleaseEnterValueFieldCodeInDataSetting:E1,pleaseEnterSvcCodeInDataSetting:S1,pleaseBindAtLeastOneDisplayValueInDataSetting:T1,rootNodeIsRequiredInDataSetting:R1,pleaseEnterMaxHeight:B1,pleaseEnterWatermark:D1,pleaseEnterFileName:A1,pleaseUploadAtLeastOnePrintTemplate:I1,pleaseAssignBusiness:k1,pleaseAssignExternal:F1,pleaseEnterAliasCode:M1,pleaseSelectDataCode:x1,pleaseSelectSvcCode:L1,pleaseSelectJoinFieldCode:C1,pleaseSelectMainFieldCode:j1,pleaseSelectSortFieldCode:N1,batchDeleteButton:V1,batchPrintListButton:z1,batchPrintRecordList:H1,button:q1,createFormListButton:U1,dashboard:W1,divider:K1,exportListButton:G1,formSelectButton:X1,importRecordListButton:Q1,invoiceCheckButton:J1,link:Z1,listSelectButton:Y1,ListViewSelect:t3,operationButton:e3,pagination:n3,submissionRecordListButton:o3,text:r3,textOcrButton:i3,title:u3,approvalStatusColumn:l3,array:c3,autoNumber:a3,custom:f3,decimal:_3,department:y3,employee:s3,file:p3,image:d3,location:v3,operation:h3,order:b3,people:m3,long:g3,timescope:O3,timestamp:w3,varchar:$3,gridLayoutWrap:P3,gridTable:E3,subTable:S3,address:T3,amount:R3,calc:B3,checkBox:D3,electronicSignature:A3,input:I3,number:k3,organizationSelection:F3,radio:M3,richText:x3,score:L3,searchNumberRange:C3,select:j3,selectMultiple:N3,selectRelation:V3,textarea:z3,tree:H3,vueFormItem:q3,vuePage:U3,WPS:W3,actionBar:K3,advancedContainer:G3,cardGroup:X3,col:Q3,dataView:J3,grid:Z3,gridLayoutContainer:Y3,gridRow:t2,listView:e2,page:n2,position:o2,positioningContainer:r2,row:i2,subtableColumn:u2,subtableRow:l2,tab:c2,tabPane:a2,toolbox:f2,batchSubmissionListButton:_2,exportRecordListButton:y2,listViewSelect:s2,endTime:p2,startTime:d2,unit:v2,result:h2,currency:b2,endDate:m2,startDate:g2,pleaseSelectCompanyName:O2,pleaseSelectPhoneOrEmail:w2,pleaseSelectSignType:$2,pleaseSelectSigner:P2,pleaseSelectOnlyOne:E2,pleaseSelectSignFile:S2,pleaseSelect:T2,pleaseSelectOrg:R2,pleaseSelectDept:B2,pleaseSelectEndDate:D2,pleaseSelectStartDate:A2,pleaseChooseAddress:I2,modalConfirm:k2,tabChange:F2,rowSelected:M2,listDataImport:x2,rowDelete:L2,rowClick:C2,cellRender:j2,onClickBtn:N2,rename:V2,onSaveFile:z2,onOpenFile:H2,onFocus:q2,onBlur:U2,onInput:W2,listDataAdd:K2,listDataDelete:G2,listDataBack:X2,listDataCreate:Q2,listDataChange:J2,search:Z2,valueChange:Y2,finished:tD,click:eD,pleaseEnterNameorEmail:nD,pleaseEnterDate:oD,pleaseEnterAutonumber:rD,pleaseEnter:iD,defaultTemplate:uD,left:lD,top:cD,default:"\u666E\u901A",readonly:aD,required:fD,textTip:_D,hideCaption:yD,titleRequired:sD,organizationalForm:pD,businessType:dD,deleteConfirm:vD,hide:hD,processStatus:bD,approvedDocuments:mD,delete:gD,edit:OD,view:wD,loadCtrlErrorTip:$D,loadCtrlError:PD,fullLine:ED,min:SD,max:TD,createWPS:RD,reset:BD,query:DD,detailed:AD,print:ID,draft:kD,save:FD,cancel:MD,uploadImg:xD,signature:LD,uploadFile:CD,linkContent:jD,referenceList:ND,optionOne:VD,optionTwo:zD,optionThird:HD},UD="Please enter a number",WD="Please enter a string",KD="Please enter an object",GD="Please enter an array",XD="Please enter a boolean",QD="{caption} Required",JD="Please enter the title",ZD="Please enter the bubble prompt",YD="Please enter the row title",t5="Please enter the prompt text",e5="Please bind data items",n5="Please bind the form",o5="Please bind the list",r5="Please bind the process",i5="Please enter the displayed value",u5="Please enter the stored value",l5="The document number is not bound to the data item",c5="Please select at least one display field",a5="Please enter a value greater than or equal to {min} and less than or equal to {max}",f5="Please enter a value greater than or equal to {min}",_5="Please enter a value less than or equal to {max}",y5="The value range is set incorrectly",s5="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",p5="The attachment size must be between 0MB and 1000MB",d5="Please fill in the total score setting",v5="The total score cannot be less than 1",h5="The default value must be between {min} and {max}",b5="The number of attachment uploads exceeds the limit",m5="Please re-select the optional quantity",g5="The maximum length of the control must be greater than the minimum length",O5="The minimum length of the control must be less than the maximum length",w5="Please select the correct option setting",$5="Option ID cannot be repeated",P5="Please enter at least one option",E5="Please bind the data source",S5="Please bind the stored value",T5="Please bind the service",R5="At least one display value must be bound",B5="Please select a province",D5="Please select a city",A5="Please select a district",I5="The minimum number of lines to fill in cannot be less than 0",k5="The number of rows cannot be less than {min} rows",F5="Please enter the column width",M5="Please set the logical relationship of all rule conditions",x5="Please complete all rules and conditions",L5="please select control",C5="Please select the dashboard",j5="View name cannot be empty",N5="Please select recognition type",V5="Please select at least one field to fill in",z5="Please select at least one",H5="Please enter the button title",q5="Please bind the business model in the data settings",U5="Please bind storage values in data settings",W5="Please bind the service in the data settings",K5="Please bind at least one display value in the data settings",G5="Please select the root node in the data settings",X5="Please enter the maximum height",Q5="The input content cannot be empty",J5="Watermark cannot be empty",Z5="File name cannot be empty",Y5="Please upload at least one printing template!\uFF01",tA="Please select a specific business department",eA="Please select a specified external organization",nA="Please enter a sub table alias",oA="Please select the associated table to set the business model",rA="Please select the association table to set the binding service",iA="Select associated sub table fields",uA="Please select the associated main table field",lA="Please select the sort field",cA="\u6279\u91CF\u5220\u9664",aA="\u6279\u91CF\u6253\u5370",fA="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",_A="\u6309\u94AE",yA="\u521B\u5EFA\u5355\u636E",sA="\u4EEA\u8868\u76D8",pA="\u5206\u5272\u7EBF",dA="\u5BFC\u51FA",vA="\u8868\u5355\u64CD\u4F5C",hA="\u5BFC\u5165",bA="\u53D1\u7968\u8BC6\u522B",mA="\u94FE\u63A5",gA="\u5217\u8868\u9009\u62E9",OA="\u5217\u8868\u89C6\u56FE",wA="\u64CD\u4F5C\u6309\u94AE",$A="\u5206\u9875",PA="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",EA="\u8BF4\u660E\u6587\u5B57",SA="\u6587\u5B57\u8BC6\u522B",TA="\u6807\u9898\u7EC4\u4EF6",RA="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",BA="\u6570\u7EC4",DA="\u81EA\u52A8\u7F16\u53F7",AA="\u81EA\u5B9A\u4E49",IA="\u6570\u503C",kA="\u90E8\u95E8",FA="\u4EBA\u5458",MA="\u9644\u4EF6",xA="\u56FE\u7247",LA="\u5730\u5740",CA="\u64CD\u4F5C",jA="\u5E8F\u53F7",NA="\u4EBA\u5458",VA="\u957F\u6587\u672C",zA="\u65E5\u671F\u533A\u95F4",HA="\u65E5\u671F",qA="\u77ED\u6587\u672C",UA="\u6362\u884C\u5BB9\u5668Wrap",WA="\u8868\u683C",KA="\u660E\u7EC6\u5B50\u8868",GA="\u5730\u5740",XA="\u91D1\u989D",QA="\u8BA1\u7B97\u516C\u5F0F",JA="\u591A\u9009",ZA="\u7535\u5B50\u7B7E\u7AE0",YA="\u5355\u884C\u6587\u672C",tI="\u6570\u5B57",eI="\u4E1A\u52A1\u7EC4\u7EC7",nI="\u5355\u9009",oI="\u5BCC\u6587\u672C",rI="\u8BC4\u5206",iI="\u6570\u5B57\u533A\u95F4",uI="\u4E0B\u62C9\u5355\u9009",lI="\u4E0B\u62C9\u591A\u9009",cI="\u5173\u8054\u5355\u9009",aI="\u591A\u884C\u6587\u672C",fI="\u6811",_I="Vue\u5BB9\u5668",yI="Vue\u9875\u9762",sI="\u5728\u7EBF\u6587\u6863",pI="\u6309\u94AE\u64CD\u4F5C\u680F",dI="\u9AD8\u7EA7\u5BB9\u5668",vI="\u5206\u7EC4",hI="\u6805\u683C\u5217",bI="\u6570\u636E\u5BB9\u5668",mI="\u753B\u5E03",gI="\u6362\u884C\u5BB9\u5668",OI="\u6805\u683C\u7B49\u5206\u884C",wI="\u5217\u8868\u5BB9\u5668",$I="\u81EA\u7531\u9875\u9762",PI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",EI="\u5B9A\u4F4D\u5BB9\u5668",SI="\u6805\u683C\u5E03\u5C40",TI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",RI="\u660E\u7EC6\u5B50\u8868\u884C",BI="\u6807\u7B7E\u9875",DI="\u6807\u7B7E\u5355\u5143",AI="\u5DE5\u5177\u680F",II="\u6279\u91CF\u63D0\u4EA4",kI="\u5BFC\u51FA\u8BB0\u5F55",FI="\u5217\u8868\u89C6\u56FE",MI="\u5F15\u7528\u5217\u8868",xI="\u9009\u9879\u4E00",LI="\u9009\u9879\u4E8C",CI="\u9009\u9879\u4E09",jI={isNotNumber:UD,isNotString:WD,isNotObject:KD,isNotArray:GD,isNotBoolean:XD,runtimeRequired:QD,pleaseEnterCaption:JD,pleaseEnterCaptionTip:ZD,pleaseEnterRowCaption:YD,pleaseEnterPlaceholder:t5,pleaseEnterFieldCode:e5,pleaseEnterForm:n5,pleaseEnterList:o5,pleaseEnterProcess:r5,pleaseEnterLabel:i5,pleaseEnterValue:u5,bizKeyNotBindFiled:l5,pleaseSelectOneField:c5,pleaseEnterNumberRange:a5,pleaseEnterAValueGreaterThanMin:f5,pleaseEnterAValueLessThanMax:_5,numberRangeSetError:y5,stringRangeError:s5,attachmentMaxSize:p5,pleaseEnterTotalScoreSetting:d5,theTotalScoreMustNotBeLessThan1:v5,scoreDefaultValueRange:h5,attachmentLimitError:b5,PleaseReselectTheOptionalQuantity:m5,TheMaximumLengthIsGreaterThanTheMinimumLength:g5,TheMinimumLengthIsGreaterThanTheMaximumLength:O5,PleaseSelectTheCorrectOptionSettings:w5,optionIdIsRepeat:$5,optionIsRequired:P5,pleaseEnterDataCode:E5,pleaseEnterValueFieldCode:S5,pleaseEnterSvcCode:T5,pleaseBindAtLeastOneDisplayValue:R5,pleaseSelectProvince:B5,pleaseSelectCity:D5,pleaseSelectDistrict:A5,limitRowsCannotBeLessThan0:I5,TheNumberOfRowsCannotBeLessThanMinRows:k5,pleaseEnterColumnWidth:F5,pleaseSetTheLogicalRelationshipOfAllRuleConditions:M5,pleaseCompleteAllRulesAndConditions:x5,pleaseSelectControl:L5,pleaseSelectDashboard:C5,theViewNameCannotBeEmpty:j5,pleaseSelectOcrType:N5,pleaseSelectAtLeastOneFieldToFillIn:V5,pleaseChooseAtLeastOne:z5,pleaseEnterButtonContent:H5,pleaseEnterDataCodeInDataSetting:q5,pleaseEnterValueFieldCodeInDataSetting:U5,pleaseEnterSvcCodeInDataSetting:W5,pleaseBindAtLeastOneDisplayValueInDataSetting:K5,rootNodeIsRequiredInDataSetting:G5,pleaseEnterMaxHeight:X5,pleaseEnter:Q5,pleaseEnterWatermark:J5,pleaseEnterFileName:Z5,pleaseUploadAtLeastOnePrintTemplate:Y5,pleaseAssignBusiness:tA,pleaseAssignExternal:eA,pleaseEnterAliasCode:nA,pleaseSelectDataCode:oA,pleaseSelectSvcCode:rA,pleaseSelectJoinFieldCode:iA,pleaseSelectMainFieldCode:uA,pleaseSelectSortFieldCode:lA,batchDeleteButton:cA,batchPrintListButton:aA,batchPrintRecordList:fA,button:_A,createFormListButton:yA,dashboard:sA,divider:pA,exportListButton:dA,formSelectButton:vA,importRecordListButton:hA,invoiceCheckButton:bA,link:mA,listSelectButton:gA,ListViewSelect:OA,operationButton:wA,pagination:$A,submissionRecordListButton:PA,text:EA,textOcrButton:SA,title:TA,approvalStatusColumn:RA,array:BA,autoNumber:DA,custom:AA,decimal:IA,department:kA,employee:FA,file:MA,image:xA,location:LA,operation:CA,order:jA,people:NA,long:VA,timescope:zA,timestamp:HA,varchar:qA,gridLayoutWrap:UA,gridTable:WA,subTable:KA,address:GA,amount:XA,calc:QA,checkBox:JA,electronicSignature:ZA,input:YA,number:tI,organizationSelection:eI,radio:nI,richText:oI,score:rI,searchNumberRange:iI,select:uI,selectMultiple:lI,selectRelation:cI,textarea:aI,tree:fI,vueFormItem:_I,vuePage:yI,WPS:sI,actionBar:pI,advancedContainer:dI,cardGroup:vI,col:hI,dataView:bI,grid:mI,gridLayoutContainer:gI,gridRow:OI,listView:wI,page:$I,position:PI,positioningContainer:EI,row:SI,subtableColumn:TI,subtableRow:RI,tab:BI,tabPane:DI,toolbox:AI,batchSubmissionListButton:II,exportRecordListButton:kI,listViewSelect:FI,referenceList:MI,optionOne:xI,optionTwo:LI,optionThird:CI},NI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="{caption}\u5FC5\u9808",WI="\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",GI="\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",QI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",JI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ZI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",YI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tk="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ek="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nk="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ok="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rk="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ik="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uk="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lk="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ck="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ak="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",fk="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_k="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",yk="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sk="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",pk="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dk="\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",vk="\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",hk="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bk="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mk="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",gk="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ok="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wk="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$k="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Pk="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ek="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sk="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tk="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Rk="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Bk="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dk="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ak="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ik="please select control",kk="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fk="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Mk="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xk="\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",Lk="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ck="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Nk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Vk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",zk="\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",Hk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qk="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uk="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Wk="\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",Gk="\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",Qk="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Jk="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zk="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Yk="\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",t6="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",e6="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",n6="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",o6="\u6279\u91CF\u5220\u9664",r6="\u6279\u91CF\u6253\u5370",i6="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",u6="\u6309\u94AE",l6="\u521B\u5EFA\u5355\u636E",c6="\u4EEA\u8868\u76D8",a6="\u5206\u5272\u7EBF",f6="\u5BFC\u51FA",_6="\u8868\u5355\u64CD\u4F5C",y6="\u5BFC\u5165",s6="\u53D1\u7968\u8BC6\u522B",p6="\u94FE\u63A5",d6="\u5217\u8868\u9009\u62E9",v6="\u5217\u8868\u89C6\u56FE",h6="\u64CD\u4F5C\u6309\u94AE",b6="\u5206\u9875",m6="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",g6="\u8BF4\u660E\u6587\u5B57",O6="\u6587\u5B57\u8BC6\u522B",w6="\u6807\u9898\u7EC4\u4EF6",$6="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",P6="\u6570\u7EC4",E6="\u81EA\u52A8\u7F16\u53F7",S6="\u81EA\u5B9A\u4E49",T6="\u6570\u503C",R6="\u90E8\u95E8",B6="\u4EBA\u5458",D6="\u9644\u4EF6",A6="\u56FE\u7247",I6="\u5730\u5740",k6="\u64CD\u4F5C",F6="\u5E8F\u53F7",M6="\u4EBA\u5458",x6="\u957F\u6587\u672C",L6="\u65E5\u671F\u533A\u95F4",C6="\u65E5\u671F",j6="\u77ED\u6587\u672C",N6="\u6362\u884C\u5BB9\u5668Wrap",V6="\u8868\u683C",z6="\u660E\u7EC6\u5B50\u8868",H6="\u5730\u5740",q6="\u91D1\u989D",U6="\u8BA1\u7B97\u516C\u5F0F",W6="\u591A\u9009",K6="\u7535\u5B50\u7B7E\u7AE0",G6="\u5355\u884C\u6587\u672C",X6="\u6570\u5B57",Q6="\u4E1A\u52A1\u7EC4\u7EC7",J6="\u5355\u9009",Z6="\u5BCC\u6587\u672C",Y6="\u8BC4\u5206",tF="\u6570\u5B57\u533A\u95F4",eF="\u4E0B\u62C9\u5355\u9009",nF="\u4E0B\u62C9\u591A\u9009",oF="\u5173\u8054\u5355\u9009",rF="\u591A\u884C\u6587\u672C",iF="\u6811",uF="Vue\u5BB9\u5668",lF="Vue\u9875\u9762",cF="\u5728\u7EBF\u6587\u6863",aF="\u6309\u94AE\u64CD\u4F5C\u680F",fF="\u9AD8\u7EA7\u5BB9\u5668",_F="\u5206\u7EC4",yF="\u6805\u683C\u5217",sF="\u6570\u636E\u5BB9\u5668",pF="\u753B\u5E03",dF="\u6362\u884C\u5BB9\u5668",vF="\u6805\u683C\u7B49\u5206\u884C",hF="\u5217\u8868\u5BB9\u5668",bF="\u81EA\u7531\u9875\u9762",mF="\u5B9A\u4F4D\u5B50\u5BB9\u5668",gF="\u5B9A\u4F4D\u5BB9\u5668",OF="\u6805\u683C\u5E03\u5C40",wF="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",$F="\u660E\u7EC6\u5B50\u8868\u884C",PF="\u6807\u7B7E\u9875",EF="\u6807\u7B7E\u5355\u5143",SF="\u5DE5\u5177\u680F",TF="\u6279\u91CF\u63D0\u4EA4",RF="\u5BFC\u51FA\u8BB0\u5F55",BF="\u5217\u8868\u89C6\u56FE",DF="\u5F15\u7528\u5217\u8868",AF="\u9009\u9879\u4E00",IF="\u9009\u9879\u4E8C",kF="\u9009\u9879\u4E09",FF={isNotNumber:NI,isNotString:VI,isNotObject:zI,isNotArray:HI,isNotBoolean:qI,runtimeRequired:UI,pleaseEnterCaption:WI,pleaseEnterCaptionTip:KI,pleaseEnterRowCaption:GI,pleaseEnterPlaceholder:XI,pleaseEnterFieldCode:QI,pleaseEnterForm:JI,pleaseEnterList:ZI,pleaseEnterProcess:YI,pleaseEnterLabel:tk,pleaseEnterValue:ek,bizKeyNotBindFiled:nk,pleaseSelectOneField:ok,pleaseEnterNumberRange:rk,pleaseEnterAValueGreaterThanMin:ik,pleaseEnterAValueLessThanMax:uk,numberRangeSetError:lk,stringRangeError:ck,attachmentMaxSize:ak,pleaseEnterTotalScoreSetting:fk,theTotalScoreMustNotBeLessThan1:_k,scoreDefaultValueRange:yk,attachmentLimitError:sk,PleaseReselectTheOptionalQuantity:pk,TheMaximumLengthIsGreaterThanTheMinimumLength:dk,TheMinimumLengthIsGreaterThanTheMaximumLength:vk,PleaseSelectTheCorrectOptionSettings:hk,optionIdIsRepeat:bk,optionIsRequired:mk,pleaseEnterDataCode:gk,pleaseEnterValueFieldCode:Ok,pleaseEnterSvcCode:wk,pleaseBindAtLeastOneDisplayValue:$k,pleaseSelectProvince:Pk,pleaseSelectCity:Ek,pleaseSelectDistrict:Sk,limitRowsCannotBeLessThan0:Tk,TheNumberOfRowsCannotBeLessThanMinRows:Rk,pleaseEnterColumnWidth:Bk,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Dk,pleaseCompleteAllRulesAndConditions:Ak,pleaseSelectControl:Ik,pleaseSelectDashboard:kk,theViewNameCannotBeEmpty:Fk,pleaseSelectOcrType:Mk,pleaseSelectAtLeastOneFieldToFillIn:xk,pleaseChooseAtLeastOne:Lk,pleaseEnterButtonContent:Ck,pleaseEnterDataCodeInDataSetting:jk,pleaseEnterValueFieldCodeInDataSetting:Nk,pleaseEnterSvcCodeInDataSetting:Vk,pleaseBindAtLeastOneDisplayValueInDataSetting:zk,rootNodeIsRequiredInDataSetting:Hk,pleaseEnterMaxHeight:qk,pleaseEnter:Uk,pleaseEnterWatermark:Wk,pleaseEnterFileName:Kk,pleaseUploadAtLeastOnePrintTemplate:Gk,pleaseAssignBusiness:Xk,pleaseAssignExternal:Qk,pleaseEnterAliasCode:Jk,pleaseSelectDataCode:Zk,pleaseSelectSvcCode:Yk,pleaseSelectJoinFieldCode:t6,pleaseSelectMainFieldCode:e6,pleaseSelectSortFieldCode:n6,batchDeleteButton:o6,batchPrintListButton:r6,batchPrintRecordList:i6,button:u6,createFormListButton:l6,dashboard:c6,divider:a6,exportListButton:f6,formSelectButton:_6,importRecordListButton:y6,invoiceCheckButton:s6,link:p6,listSelectButton:d6,ListViewSelect:v6,operationButton:h6,pagination:b6,submissionRecordListButton:m6,text:g6,textOcrButton:O6,title:w6,approvalStatusColumn:$6,array:P6,autoNumber:E6,custom:S6,decimal:T6,department:R6,employee:B6,file:D6,image:A6,location:I6,operation:k6,order:F6,people:M6,long:x6,timescope:L6,timestamp:C6,varchar:j6,gridLayoutWrap:N6,gridTable:V6,subTable:z6,address:H6,amount:q6,calc:U6,checkBox:W6,electronicSignature:K6,input:G6,number:X6,organizationSelection:Q6,radio:J6,richText:Z6,score:Y6,searchNumberRange:tF,select:eF,selectMultiple:nF,selectRelation:oF,textarea:rF,tree:iF,vueFormItem:uF,vuePage:lF,WPS:cF,actionBar:aF,advancedContainer:fF,cardGroup:_F,col:yF,dataView:sF,grid:pF,gridLayoutContainer:dF,gridRow:vF,listView:hF,page:bF,position:mF,positioningContainer:gF,row:OF,subtableColumn:wF,subtableRow:$F,tab:PF,tabPane:EF,toolbox:SF,batchSubmissionListButton:TF,exportRecordListButton:RF,listViewSelect:BF,referenceList:DF,optionOne:AF,optionTwo:IF,optionThird:kF},of={zhCN:qD,enUS:jI,jaJP:FF},rf,MF=(rf=window.localStorage.getItem("locale"))!==null&&rf!==void 0?rf:"zh-CN",xo=function(e){return e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e}({}),s=function(e){return 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",e}({}),g=function(e){return 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",e}({}),Fe=function(e){return e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e}({}),E0={DEFAULT:"default"},S0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",xF=S0+"0123456789";function jt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?S0:xF,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function uf(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 LF(e){if(Array.isArray(e))return uf(e)}function CF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T0(e,t,n){return t=Kn(t),zF(e,cf()?Reflect.construct(t,n||[],Kn(e).constructor):t.apply(e,n))}function R0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(e,t,n){return cf()?Lo=Reflect.construct:Lo=function(r,i,u){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),c=new a;return u&&Gn(c,u.prototype),c},Lo.apply(null,arguments)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(e)}function B0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function NF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VF(){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 zF(e,t){return t&&(HF(t)==="object"||typeof t=="function")?t:CF(e)}function Gn(e,t){return Gn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gn(e,t)}function D0(e){return LF(e)||NF(e)||qF(e)||VF()}function HF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qF(e,t){if(!!e){if(typeof e=="string")return uf(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 uf(e,t)}}function lf(e){var t=typeof Map=="function"?new Map:void 0;return lf=function(o){if(o===null||!jF(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 Lo(o,arguments,Kn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Gn(r,o)},lf(e)}function cf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cf=function(){return!!e})()}var af=console;function ff(){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=af).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(D0(r)))}function Co(){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=af).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(D0(r)))}function UF(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _f=function(e){B0(t,e);function t(n){R0(this,t);var o;return o=T0(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?UF(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(lf(Error)),WF=function(e){B0(t,e);function t(n){R0(this,t);var o;return o=T0(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(_f);function Xn(e){throw new _f(e)}function A0(e){throw new WF(e)}function KF(e){af.error(new _f(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,a)=>{a===0?r=i[l]:r&&(r=r[l])});let u="";return r&&(u=r),t&&Object.keys(t).forEach(l=>{const a=t[l];u=u.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),a)}),u||(n?u=n:u=e),u};function GF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I0(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&&I0(e.prototype,t),n&&I0(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 k0=function(){function e(){GF(this,e)}return XF(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return f("CMD."+n,o,of==null||(r=of[MF.split("-").join("")])===null||r===void 0?void 0:r[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,o){}}]),e}();QF(k0,"$i18n",k0.resetI18n());function JF(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,l,a){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){ff("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===a.length-1&&!Object.is(c[u],n)&&(c[u]=n,r=!0),c[u]}},e),r}var ZF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},yf={exports:{}};(function(e){(function(t){var n=function(h,w,B){if(!c(w)||p(w)||d(w)||b(w)||a(w))return w;var S,T=0,z=0;if(_(w))for(S=[],z=w.length;T<z;T++)S.push(n(h,w[T],B));else{S={};for(var A in w)Object.prototype.hasOwnProperty.call(w,A)&&(S[h(A,B)]=n(h,w[A],B))}return S},o=function(h,w){w=w||{};var B=w.separator||"_",S=w.split||/(?=[A-Z])/;return h.split(S).join(B)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(w,B){return B?B.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var w=r(h);return w.substr(0,1).toUpperCase()+w.substr(1)},u=function(h,w){return o(h,w).toLowerCase()},l=Object.prototype.toString,a=function(h){return typeof h=="function"},c=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,w){var B=w&&"process"in w?w.process:w;return typeof B!="function"?h:function(S,T){return B(S,h,T)}},$={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,w){return n(m(r,w),h)},decamelizeKeys:function(h,w){return n(m(u,w),h,w)},pascalizeKeys:function(h,w){return n(m(i,w),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=$:t.humps=$})(ZF)})(yf);var F0={};Object.defineProperty(F0,"__esModule",{value:!0});function sf(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:sf(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:sf(o)}return t}}var YF=F0.default=sf;function tM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":tM(e))==="object"?YF(e):e}function _t(e){return M0(e)&&"zh"in e}function M0(e){return Object.prototype.toString.call(e)==="[object Object]"}function pf(e){return Array.isArray(e)}function Me(e){return isNaN(parseFloat(e))?"":Number(e)}function eM(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 nM(e){return yf.exports.camelizeKeys(e)}function re(e){return yf.exports.decamelizeKeys(e)}function df(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 oM(e){if(Array.isArray(e))return df(e)}function x0(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function rM(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){x0(i,o,r,u,l,"next",a)}function l(a){x0(i,o,r,u,l,"throw",a)}u(void 0)})}}function iM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L0(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 uM(e,t,n){return t&&L0(e.prototype,t),n&&L0(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 lM(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cM(){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 vf(e){return oM(e)||lM(e)||aM(e)||cM()}function aM(e,t){if(!!e){if(typeof e=="string")return df(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 df(e,t)}}function fM(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var _M=function(){function e(){iM(this,e),C0(this,"_events",new Map),C0(this,"debug",!1)}return uM(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];return rM(function(){var u,l,a,c,_,p,d,b,O,m,$,h;return fM(this,function(w){switch(w.label){case 0:if(u=this._events.get(n),l=[],!u)return[3,10];a=u.slice(),c=!0,_=!1,p=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),d=a[Symbol.iterator](),w.label=2;case 2:if(c=(b=d.next()).done)return[3,7];if(O=b.value,!u.includes(O))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),this.debug&&Co.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(vf(r))),[4,O.apply(null,vf(r))];case 4:return m=w.sent(),this.debug&&Co.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.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(vf(r),[m])),l.push(m),m===!1?[3,7]:[3,6];case 5:return $=w.sent(),KF(String($)+":"+String($.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return h=w.sent(),_=!0,p=h,[3,10];case 9:try{!c&&d.return!=null&&d.return()}finally{if(_)throw p}return[7];case 10:return[2,l]}})}).call(this)}},{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 yM(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 sM(e,t,n){return t&&j0(e.prototype,t),n&&j0(e,n),e}function pM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dM=[{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"}],vM=function(){function e(){yM(this,e)}return sM(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}();pM(vM,"events",dM);function hf(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 hM(e){if(Array.isArray(e))return hf(e)}function bM(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mM(){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 N0(e){return hM(e)||bM(e)||gM(e)||mM()}function gM(e,t){if(!!e){if(typeof e=="string")return hf(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 hf(e,t)}}function bf(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function V0(e,t,n){n!=="Runtime"&&(e.parent=t,bf(e,"parent"))}function OM(e,t,n){e.forEach(function(o){V0(o,t,n)})}var z0=Symbol("targetKey");function H0(e){var t;return(t=e[z0])!==null&&t!==void 0?t:e}function q0(e,t,n){return OM(e,t,n),new Proxy(e,{get:function(r,i){for(var u=arguments.length,l=new Array(u>2?u-2:0),a=2;a<u;a++)l[a-2]=arguments[a];var c;return i===z0?r:(c=Reflect).get.apply(c,[r,i].concat(N0(l)))},set:function(r,i,u){for(var l=arguments.length,a=new Array(l>3?l-3:0),c=3;c<l;c++)a[c-3]=arguments[c];var _;if(pf(e)&&i==="length"&&u===e.length)return!0;var p=(_=Reflect).set.apply(_,[r,i,u].concat(N0(a)));return M0(u)&&V0(u,t,n),p}})}function Kt(e,t,n,o,r){var i=o!=null?o:e,u=q0(H0(n!=null?n:[]),i,r);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=q0(H0(a),i,r)},enumerable:!0})}function wM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U0(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 $M(e,t,n){return t&&U0(e.prototype,t),n&&U0(e,n),e}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W0=[],jo=function(){function e(t){wM(this,e),ie(this,"registeredControlTypes",new Set),ie(this,"controlConfigMap",new Map),ie(this,"_controls",[]),ie(this,"_type",void 0),this._type=t,this._initControls(t)}return $M(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&&(ff("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===xo.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===xo.FORM}},{key:"isListControl",value:function(n){return n.controlType===xo.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===xo.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 a=o(l);a&&(l=a)}var c;return u.mode==="Runtime"?(c=l,c.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new u(l),c}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}}),bf(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 a=u[i],c=l[i];if(!(!a&&!c)){var _=c.findIndex(function(b){return b==n}),p=l[a]||[],d;return p.length!==c.length?d=p[0]:d=p[_],d}}}}),bf(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(a){return a.Designer.controlType===r.controlType});return l>-1&&(ff("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}();ie(jo,"staticControlsRuntimeRules",new Map),ie(jo,"staticControls",W0),ie(jo,"staticRegisteredTypes",new Set(W0.map(function(e){return e.Designer.controlType}))),ie(jo,"staticRegisteredConfigs",new Map);function PM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dt(e,t,n){return t=No(t),EM(e,K0()?Reflect.construct(t,n||[],No(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 No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},No(e)}function At(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mf(e,t)}function EM(e,t){return t&&(SM(t)==="object"||typeof t=="function")?t:PM(e)}function mf(e,t){return mf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mf(e,t)}function SM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(K0=function(){return!!e})()}var It=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},gf=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},G0=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},X0=function e(t){E(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new G0(t==null?void 0:t.pc),this.mobile=new G0(t==null?void 0:t.mobile)},Of=function(e){At(t,e);function t(n){E(this,t);var o;o=Dt(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}(gf),Q0=function e(t){E(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Of(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Of(t==null?void 0:t.mobile):new Of({width:130,minWidth:180})},TM=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:[]},xe=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:""},RM=function(e){At(t,e);function t(n){E(this,t);var o;o=Dt(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}(xe),J0=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:""},wf=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 J0(u)}))!==null&&i!==void 0?i:[]},BM=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},DM=function(e){At(t,e);function t(n){E(this,t);var o;o=Dt(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}(xe),AM=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 xe(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 BM(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 DM(u)}))!==null&&i!==void 0?i:[]},IM=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:[]},$f=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:jt();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 a,c=new e(l);(a=n.children)===null||a===void 0||a.push(c)}else{var _,p=new Vo(l);(_=n.children)===null||_===void 0||_.push(p)}}))},Vo=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:jt();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 IM(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Qn(t==null?void 0:t.rightVariableBo)},kM=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:[]},pt=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:""},Pf=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},FM=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 Ef(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 $f(l):new Vo(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 $f(l):new Vo(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 FM(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 Pf(_))}));var l;this.keywordMapping=(l=t==null?void 0:t.keywordMapping)!==null&&l!==void 0?l:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var c;this.svcCode=(c=t==null?void 0:t.svcCode)!==null&&c!==void 0?c:"",Ef.call(this,t)},Sf=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:[]},Gt=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 a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var c;this.needConfirm=(c=t==null?void 0:t.needConfirm)!==null&&c!==void 0?c:!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},Z0=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 Pf(u)}))!==null&&i!==void 0?i:[]},zo=function(e){At(t,e);function t(n){E(this,t);var o,r;o=Dt(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 Z0(u)}))!==null&&i!==void 0?i:[],o}return t}(X),MM=function(e){At(t,e);function t(n){E(this,t);var o,r;o=Dt(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 Z0(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),Y0=function(e){At(t,e);function t(n){E(this,t);var o;o=Dt(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}(zo),tb=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 pt(u)}))!==null&&i!==void 0?i:[]},eb=function(e){At(t,e);function t(n){E(this,t);var o;return o=Dt(this,t,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),Ef.call(o,n),o}return t}(tb),nb=function(e){At(t,e);function t(n){E(this,t);var o;o=Dt(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}(tb),Tf=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:""},xM=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:jt(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 Xt(e){var t;return(t=e==null?void 0:e.map(function(n){return new xM(n)}))!==null&&t!==void 0?t:[]}var Rf=function e(){E(this,e)},LM=function(e){At(t,e);function t(n){E(this,t);var o;return o=Dt(this,t),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new It(n==null?void 0:n.amount),o.currency=new It(n==null?void 0:n.currency),o}return t}(Rf),CM=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"},jM=function(e){At(t,e);function t(n){E(this,t);var o;return o=Dt(this,t),v(o,"min",void 0),v(o,"max",void 0),o.min=new It(n==null?void 0:n.min),o.max=new It(n==null?void 0:n.max),o}return t}(Rf),NM=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:""},VM=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:""},zM=function(e){At(t,e);function t(n){E(this,t);var o;return o=Dt(this,t),v(o,"result",void 0),v(o,"unit",void 0),o.result=new It(n==null?void 0:n.result),o.unit=new It(n==null?void 0:n.unit),o}return t}(Rf),HM=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:""},qM=function(e){return 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",e}({}),y=function(e){return e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",e.IS_SHOW_TOOL_BAE="isShowToolbar",e}({}),UM=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e}({}),ue=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},WM=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:jt(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 J0(u)}))!==null&&i!==void 0?i:[],Ef.call(this,t)},KM=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"},GM=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:""},XM=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:jt();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(a){return a.children!==void 0?new $f(a):new Vo(a)}))!==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(a){return new QM(a)}))!==null&&l!==void 0?l:[]:[],this.script=t==null?void 0:t.script},QM=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"},JM=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 XM(u)}))!==null&&i!==void 0?i:[]:[]};function ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YM(e,t,n){return t=Jn(t),nx(e,Af()?Reflect.construct(t,n||[],Jn(e).constructor):t.apply(e,n))}function Bf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t,n){return Af()?Ho=Reflect.construct:Ho=function(r,i,u){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),c=new a;return u&&Zn(c,u.prototype),c},Ho.apply(null,arguments)}function Qt(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 tx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ex(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function nx(e,t){return t&&(ox(t)==="object"||typeof t=="function")?t:ZM(e)}function Zn(e,t){return Zn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zn(e,t)}function ox(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Df(e){var t=typeof Map=="function"?new Map:void 0;return Df=function(o){if(o===null||!ex(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 Ho(o,arguments,Jn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Zn(r,o)},Df(e)}function Af(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Af=function(){return!!e})()}var U=function e(t){Bf(this,e),Qt(this,"isHide",{type:"boolean"})},ge=function(e){tx(t,e);function t(n){return Bf(this,t),YM(this,t)}return t}(Df(Array)),W=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Bf(this,e),Qt(this,"isHide",void 0),Qt(this,"className",void 0),Qt(this,"style",void 0),Qt(this,"caption",void 0),Qt(this,"defaultState",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new KM(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};Qt(W,"mode",void 0),Qt(W,"Rules",U),Qt(W,"RuntimeRules",ge);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 rx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},If(e)}function qo(e,t){return qo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qo(e,t)}function ix(){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 Uo(e,t,n){return ix()?Uo=Reflect.construct:Uo=function(r,i,u){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),c=new a;return u&&qo(c,u.prototype),c},Uo.apply(null,arguments)}function ux(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function kf(e){var t=typeof Map=="function"?new Map:void 0;return kf=function(o){if(o===null||!ux(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 Uo(o,arguments,If(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),qo(r,o)},kf(e)}var lx=/%[sdj%]/g,ob=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ob=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function Ff(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 ht(){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(lx,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(a){return"[Circular]"}break;default:return l}});return u}return r}function cx(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||cx(t)&&typeof e=="string"&&!e)}function ax(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 rb(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 fx(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var ib=function(e){rx(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}(kf(Error));function _x(e,t,n,o){if(t.first){var r=new Promise(function(p,d){var b=function($){return o($),$.length?d(new ib($,Ff($))):p()},O=fx(e);rb(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,a=0,c=[],_=new Promise(function(p,d){var b=function(m){if(c.push.apply(c,m),a++,a===l)return o(c),c.length?d(new ib(c,Ff(c))):p()};u.length||(o(c),p()),u.forEach(function(O){var m=e[O];i.indexOf(O)!==-1?rb(m,n,b):ax(m,n,b)})});return _.catch(function(p){return p}),_}function ub(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 lb(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 cb(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||G(t,i||e.type))&&o.push(ht(r.messages.required,e.fullField))}function yx(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(ht(r.messages.whitespace,e.fullField))}var Mf={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(Mf.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Mf.url)},hex:function(t){return typeof t=="string"&&!!t.match(Mf.hex)}};function sx(e,t,n,o,r){if(e.required&&t===void 0){cb(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(ht(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(ht(r.messages.types[u],e.fullField,e.type))}function px(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",l=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,_=null,p=typeof t=="number",d=typeof t=="string",b=Array.isArray(t);if(p?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(c=t.length),d&&(c=t.replace(a,"_").length),i?c!==e.len&&o.push(ht(r.messages[_].len,e.fullField,e.len)):u&&!l&&c<e.min?o.push(ht(r.messages[_].min,e.fullField,e.min)):l&&!u&&c>e.max?o.push(ht(r.messages[_].max,e.fullField,e.max)):u&&l&&(c<e.min||c>e.max)&&o.push(ht(r.messages[_].range,e.fullField,e.min,e.max))}var Le="enum";function dx(e,t,n,o,r){e[Le]=Array.isArray(e[Le])?e[Le]:[],e[Le].indexOf(t)===-1&&o.push(ht(r.messages[Le],e.fullField,e[Le].join(", ")))}function vx(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(ht(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(ht(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:cb,whitespace:yx,type:sx,range:px,enum:dx,pattern:vx};function hx(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 bx(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 mx(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 gx(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 Ox(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 wx(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 $x(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 Px(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 Ex(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 Sx="enum";function Tx(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[Sx](e,t,o,i,r)}n(i)}function Rx(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 Bx(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 Dx(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 xf(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 Ax(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:hx,method:bx,number:mx,boolean:gx,regexp:Ox,integer:wx,float:$x,array:Px,object:Ex,enum:Tx,pattern:Rx,date:Bx,url:xf,hex:xf,email:xf,required:Dx,any:Ax};function Lf(){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 Cf=Lf();function le(e){this.rules=null,this._messages=Cf,this.define(e)}le.prototype={messages:function(t){return t&&(this._messages=lb(Lf(),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 a(m){var $,h=[],w={};function B(S){if(Array.isArray(S)){var T;h=(T=h).concat.apply(T,S)}else h.push(S)}for($=0;$<m.length;$++)B(m[$]);h.length?w=Ff(h):(h=null,w=null),l(h,w)}if(u.messages){var c=this.messages();c===Cf&&(c=Lf()),lb(c,u.messages),u.messages=c}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($){var h=$;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 _x(d,u,function(m,$){var h=m.rule,w=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");w=w&&(h.required||!h.required&&m.value),h.field=m.field;function B(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&&le.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(ub(h)),u.first&&A.length)return O[h.field]=1,$(A);if(!w)$(A);else{if(h.required&&!m.value)return h.message!==void 0?A=[].concat(h.message).map(ub(h)):u.error&&(A=[u.error(h,ht(u.messages.required,h.field))]),$(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 Ut in ct)if(ct.hasOwnProperty(Ut)){var Mo=Array.isArray(ct[Ut])?ct[Ut]:[ct[Ut]];ct[Ut]=Mo.map(B.bind(null,Ut))}var Un=new le(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(Ie){var Wt=[];A&&A.length&&Wt.push.apply(Wt,A),Ie&&Ie.length&&Wt.push.apply(Wt,Ie),$(Wt.length?Wt: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){a(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(ht("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}},le.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},le.warning=ob,le.messages=Cf,le.validators=to;var Ix={required:f("CMD.aad41751712156995"),maxLength:f("CMD.890d1751712141808"),minLength:f("CMD.bb9b1751712143625"),string:{range:f("CMD.f7131751712147855")}};function kx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new le(e);return n.messages(Object.assign(Ix,t)),n}var Fx=new _M;function jf(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 Mx(e){if(Array.isArray(e))return e}function xx(e){if(Array.isArray(e))return jf(e)}function ab(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function fb(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){ab(i,o,r,u,l,"next",a)}function l(a){ab(i,o,r,u,l,"throw",a)}u(void 0)})}}function Lx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _b(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&&_b(e.prototype,t),n&&_b(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 yb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function sb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jx(){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 Nx(){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 pb(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){x(e,r,n[r])})}return e}function Vx(e){return Mx(e)||sb(e)||db(e)||jx()}function Nf(e){return xx(e)||sb(e)||db(e)||Nx()}function zx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function db(e,t){if(!!e){if(typeof e=="string")return jf(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 jf(e,t)}}function vb(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var L=function(){function t(n){var o=this;Lx(this,t),x(this,"id",void 0),x(this,"name",void 0),x(this,"icon",void 0),x(this,"type",void 0),x(this,"controlType",void 0),x(this,"props",void 0),x(this,"setting",[]),x(this,"fieldType",void 0),x(this,"eventKeys",[]),x(this,"customEvents",[]),x(this,"parent",null),x(this,"slots",void 0),x(this,"slotPosition",void 0),x(this,"updateSetting",bb),x(this,"removeSetting",hb),this._callControlHooks("preInstance",n);var r=yb(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,l=r.controlType,a=r.controlFieldType,c=r.controlEventKeys,_=r.controlCustomEvents,p=r.name,d=r.setting,b=r.slots,O=r.slotPosition;i&&u&&l||A0("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:jt(10),this.name=i,this.icon=u;var $;this.type=($=n==null?void 0:n.type)!==null&&$!==void 0?$:l,this.props=new W(n==null?void 0:n.props,(yb(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=Bt(d);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=Bt(c),this.customEvents=Bt(_),this.slots=Bt(b),this.slotPosition=Bt(O),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return Cx(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=Vx(r),a=l[0],c=l.slice(1);return(u=Fx).emit.apply(u,[a,this].concat(Nf(c)))}},{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),JF(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){return fb(function(){var o,r,i;return vb(this,function(u){switch(u.label){case 0:return o=pb({},this.rules),[4,this._callControlHooks("preValidate",o)];case 1:return r=u.sent(),i=r[r.length-1],[2,i===!1?void 0:i]}})}).call(this)}},{key:"validate",value:function(o,r){return fb(function(){var i,u,l,a;return vb(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:i=c.sent(),u=i!==void 0?i:pb({},this.rules),Array.isArray(r)&&r.forEach(function(_){u.hasOwnProperty(_)&&delete u[_]}),l=kx(u,o),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,l.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw a=c.sent(),a.control||(a.control=this),a;case 5:return[2]}})}).call(this)}},{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,a=l.dataBind,c=l.datasourceBind,_=l.optionConfig,p=l.caption,d=l.required,b=l.maxLength,O=l.options,m=l.encrypted,$=l.encryptedMode;if(!(!r&&!a&&!c)){var h={parentId:o,fieldType:r,controlId:i,caption:p,type:u,props:{}};switch(a&&(h.dataBind=a),_){case"datasource":case void 0:c&&(h.datasourceBind=c);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),$!==void 0&&(h.encryptedMode=$),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Bt(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,Nf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();x(L,"mode","Designer"),x(L,"slots",void 0),x(L,"slotPosition",void 0),x(L,"controlName",f("CMD.7baf1751712168384")),x(L,"controlIcon","icon"),x(L,"controlType","control"),x(L,"controlFieldType",void 0),x(L,"controlEventKeys",[]),x(L,"controlCustomEvents",[]),x(L,"setting",[]),x(L,"__is_control__",!0),x(L,"removeSettingItem",hb),x(L,"updateSettingItem",bb);function hb(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(c){return c.key===(i?o.key:o)});if(u!==-1){var l,a;i?t.setting[u].showItems=(l=t.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(c){return!o.hideItems.includes(c)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function bb(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(c){return c.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":zx(t))==="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Nf(t.showItems))}}}})}function Hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mb(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 qx(e,t,n){return t&&mb(e.prototype,t),n&&mb(e,n),e}function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ux(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Vt=function(){function t(n){Hx(this,t),bt(this,"id",void 0),bt(this,"type",void 0),bt(this,"controlType",void 0),bt(this,"props",void 0),bt(this,"fieldType",void 0),bt(this,"customEvents",[]),bt(this,"pageStatus",void 0),bt(this,"parent",null);var o=Ux(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,l=o.controlCustomEvents;r||A0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:jt(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:r,this.props=new W(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:UM.UNKNOWN}return qx(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}();bt(Vt,"mode","Runtime"),bt(Vt,"controlType","control"),bt(Vt,"controlFieldType",void 0),bt(Vt,"__is_control__",!0),bt(Vt,"controlCustomEvents",[]);function Vf(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=eM(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 Wo(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,f(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,f(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,f(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},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,f(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),u()},message:f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,f(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],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 Wx(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function Kx(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=Xo(t),Gx(e,gb()?Reflect.construct(t,n||[],Xo(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 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 Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(e)}function Qo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gx(e,t){return t&&(Xx(t)==="object"||typeof t=="function")?t:Kx(e)}function zf(e,t){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(e,t)}function Xx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gb=function(){return!!e})()}var J=function(e){Qo(t,e);function t(n){Go(this,t);var o;o=Ko(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(Wx(n.dataBind))o.dataBind={type:"object",required:!0,fields:Bt(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:Bt(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}(U),j=function(e){Qo(t,e);function t(n){Go(this,t);var o;o=Ko(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}(ge),k=function(e){Qo(t,e);function t(n){Go(this,t);var o;o=Ko(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 a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"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 It(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}(W);N(k,"Rules",J),N(k,"RuntimeRules",j);var Ce=function(e){Qo(t,e);function t(n){Go(this,t);var o;return o=Ko(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")}]),Vf.call(o,n),o}return t}(J);function Qx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jx(e,t,n){return t=Zo(t),t7(e,Ob()?Reflect.construct(t,n||[],Zo(e).constructor):t.apply(e,n))}function Zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(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&&Hf(e,t)}function t7(e,t){return t&&(e7(t)==="object"||typeof t=="function")?t:Qx(e)}function Hf(e,t){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(e,t)}function e7(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 F=function(e){Yx(t,e);function t(n){Zx(this,t);var o;return o=Jx(this,t,[n]),Jo(o,"controlType","form"),Jo(o,"props",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(L);Jo(F,"controlEventKeys",["on_change","on_focus","on_blur"]),Jo(F,"controlCustomAttributes",void 0);function n7(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=Yo(t),u7(e,wb()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function r7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(e)}function i7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u7(e,t){return t&&(l7(t)==="object"||typeof t=="function")?t:n7(e)}function Uf(e,t){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(e,t)}function l7(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 M=function(e){i7(t,e);function t(n){r7(this,t);var o;return o=o7(this,t,[n]),qf(o,"controlType","form"),qf(o,"props",void 0),qf(o,"value",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(Vt);function c7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a7(e,t,n){return t=tr(t),y7(e,$b()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function f7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(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&&Wf(e,t)}function y7(e,t){return t&&(s7(t)==="object"||typeof t=="function")?t:c7(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(e,t)}function s7(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 Z=function(e){_7(t,e);function t(n){return f7(this,t),a7(this,t,[n])}return t}(W);function Kf(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 p7(e){if(Array.isArray(e))return Kf(e)}function d7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pb(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function v7(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){Pb(i,o,r,u,l,"next",a)}function l(a){Pb(i,o,r,u,l,"throw",a)}u(void 0)})}}function h7(e,t,n){return t=ae(t),T7(e,Tb()?Reflect.construct(t,n||[],ae(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 Eb(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 m7(e,t,n){return t&&Eb(e.prototype,t),n&&Eb(e,n),e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?je=Reflect.get:je=function(r,i,u){var l=R7(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},je(e,t,n||e)}function ae(e){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ae(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&&Gf(e,t)}function O7(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function w7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $7(){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 P7(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){ce(e,r,n[r])})}return e}function E7(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 S7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E7(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function T7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:d7(e)}function Gf(e,t){return Gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gf(e,t)}function R7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ae(e),e!==null););return e}function Sb(e){return p7(e)||w7(e)||D7(e)||$7()}function B7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D7(e,t){if(!!e){if(typeof e=="string")return Kf(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 Kf(e,t)}}function Tb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tb=function(){return!!e})()}function A7(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var I7=1e4,Y=function(t){g7(n,t);function n(o){b7(this,n);var r;r=h7(this,n,[o]),ce(r,"controlType","layout"),ce(r,"children",void 0),ce(r,"excludes",void 0),ce(r,"childrenMaxLength",void 0),ce(r,"props",void 0);var i=O7(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),Kt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Bt(u),r.childrenMaxLength=l,r}return m7(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,a=function(){return je(ae(n.prototype),"validate",u)};return v7(function(){return A7(this,function(c){switch(c.label){case 0:return[4,a().call(l,r,i)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(_){return _.validate(r,i)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=je(ae(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(l,a){var c=a.toDataBindModel(r);if(Array.isArray(c)){var _=c.filter(function(p){return!!p});return Sb(l).concat(Sb(_))}return c&&l.push(c),l},u)}},{key:"toSchema",value:function(){var r=je(ae(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var l=u.toSchema();return l});return S7(P7({},r),{children:i})}}]),n}(L);ce(Y,"excludes",!1),ce(Y,"childrenMaxLength",I7);function k7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F7(e,t,n){return t=er(t),L7(e,Rb()?Reflect.construct(t,n||[],er(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 Xf(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 x7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qf(e,t)}function L7(e,t){return t&&(C7(t)==="object"||typeof t=="function")?t:k7(e)}function Qf(e,t){return Qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qf(e,t)}function C7(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 Oe=function(e){x7(t,e);function t(n){M7(this,t);var o;return o=F7(this,t,[n]),Xf(o,"controlType","layout"),Xf(o,"children",void 0),Xf(o,"props",void 0),o.props=new Z(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Vt);function j7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N7(e,t,n){return t=nr(t),H7(e,Bb()?Reflect.construct(t,n||[],nr(e).constructor):t.apply(e,n))}function V7(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 nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(e)}function z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 H7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:j7(e)}function Jf(e,t){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(e,t)}function q7(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 Zf=function(e){z7(t,e);function t(n,o,r){V7(this,t);var i;i=N7(this,t,[o]),Ne(i,"headers",void 0),Ne(i,"footers",void 0),Ne(i,"pageIndex",void 0),Ne(i,"pageSize",void 0),Ne(i,"pageSizeOptions",void 0),Ne(i,"totalCount",void 0),Kt(i,"headers",o==null?void 0:o.headers,n,r),Kt(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 a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var c;return i.totalCount=(c=o==null?void 0:o.totalCount)!==null&&c!==void 0?c:0,i}return t}(W);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 U7(e){if(Array.isArray(e))return Yf(e)}function W7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Db(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function K7(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){Db(i,o,r,u,l,"next",a)}function l(a){Db(i,o,r,u,l,"throw",a)}u(void 0)})}}function G7(e,t,n){return t=fe(t),eL(e,Mb()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function X7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ab(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 Q7(e,t,n){return t&&Ab(e.prototype,t),n&&Ab(e,n),e}function or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ve=Reflect.get:Ve=function(r,i,u){var l=nL(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ve(e,t,n||e)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(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&&t_(e,t)}function Z7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Y7(){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 Ib(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){or(e,r,n[r])})}return e}function tL(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 kb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function eL(e,t){return t&&(oL(t)==="object"||typeof t=="function")?t:W7(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t_(e,t)}function nL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fe(e),e!==null););return e}function Fb(e){return U7(e)||Z7(e)||rL(e)||Y7()}function oL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rL(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 Mb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mb=function(){return!!e})()}function iL(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var e_=function(e){J7(t,e);function t(n){X7(this,t);var o;return o=G7(this,t,[n]),or(o,"controlType","list"),or(o,"props",void 0),o.props=new Zf(o,n==null?void 0:n.props,"Designer"),o}return Q7(t,[{key:"validate",value:function(o,r){var i=this,u=this,l=function(){return Ve(fe(t.prototype),"validate",i)};return K7(function(){return iL(this,function(a){switch(a.label){case 0:return[4,l().call(u,o)];case 1:return a.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var o=Ve(fe(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,l){var a=l.toDataBindModel(i);if(Array.isArray(a)){var c=a.filter(function(_){return!!_});return Fb(u).concat(Fb(c))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o=Ve(fe(t.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return kb(Ib({},o),{props:kb(Ib({},this.props),{headers:r})})}}]),t}(L);or(e_,"controlFieldType",g.LIST);function uL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n_(e,t,n){return t=rr(t),lL(e,xb()?Reflect.construct(t,n||[],rr(e).constructor):t.apply(e,n))}function o_(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 rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(e)}function r_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lL(e,t){return t&&(cL(t)==="object"||typeof t=="function")?t:uL(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i_(e,t)}function cL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xb=function(){return!!e})()}var zt=function(e){r_(t,e);function t(n){o_(this,t);var o;return o=n_(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}(U),K=function(e){r_(t,e);function t(n){o_(this,t);var o;o=n_(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 gf(n==null?void 0:n.autoWidth),o.dataBind=new It(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 t}(W);tt(K,"Rules",zt);var Lb=function(e){r_(t,e);function t(n){o_(this,t);var o;return o=n_(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")}]),Vf.call(o,n),o}return t}(zt);function aL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fL(e,t,n){return t=ze(t),hL(e,jb()?Reflect.construct(t,n||[],ze(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 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 yL(e,t,n){return t&&Cb(e.prototype,t),n&&Cb(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 ur(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ur=Reflect.get:ur=function(r,i,u){var l=bL(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ur(e,t,n||e)}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ze(e)}function sL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pL(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){ir(e,r,n[r])})}return e}function dL(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 vL(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function hL(e,t){return t&&(mL(t)==="object"||typeof t=="function")?t:aL(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u_(e,t)}function bL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ze(e),e!==null););return e}function mL(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 et=function(e){sL(t,e);function t(n){_L(this,t);var o;return o=fL(this,t,[n]),ir(o,"controlType","column"),ir(o,"props",void 0),ir(o,"children",void 0),o.props=new K(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return yL(t,[{key:"toSchema",value:function(){var o=ur(ze(t.prototype),"toSchema",this).call(this);return vL(pL({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(L);function gL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OL(e,t,n){return t=lr(t),PL(e,Nb()?Reflect.construct(t,n||[],lr(e).constructor):t.apply(e,n))}function wL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(e)}function $L(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PL(e,t){return t&&(EL(t)==="object"||typeof t=="function")?t:gL(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(e,t)}function EL(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 nt=function(e){$L(t,e);function t(n){wL(this,t);var o;return o=OL(this,t,[n]),l_(o,"controlType","column"),l_(o,"props",void 0),l_(o,"children",void 0),o.props=new K(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Vt);function SL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TL(e,t,n){return t=cr(t),AL(e,Vb()?Reflect.construct(t,n||[],cr(e).constructor):t.apply(e,n))}function RL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BL(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 DL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AL(e,t){return t&&(IL(t)==="object"||typeof t=="function")?t:SL(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(e,t)}function IL(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 f_=function(e){DL(t,e);function t(n){RL(this,t);var o;return o=TL(this,t,[n]),BL(o,"dataBind",void 0),o.dataBind=new It(n==null?void 0:n.dataBind),o}return t}(Z);function kL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FL(e,t,n){return t=ar(t),LL(e,Hb()?Reflect.construct(t,n||[],ar(e).constructor):t.apply(e,n))}function ML(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(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 xL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LL(e,t){return t&&(CL(t)==="object"||typeof t=="function")?t:kL(e)}function __(e,t){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(e,t)}function CL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hb=function(){return!!e})()}var jL=function(e){xL(t,e);function t(n){ML(this,t);var o;return o=FL(this,t,[n]),zb(o,"controlType","search"),zb(o,"props",void 0),o.props=new f_(n==null?void 0:n.props),o}return t}(Y);function NL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VL(e,t,n){return t=fr(t),qL(e,Ub()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function zL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(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 HL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qL(e,t){return t&&(UL(t)==="object"||typeof t=="function")?t:NL(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y_(e,t)}function UL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ub=function(){return!!e})()}var WL=function(e){HL(t,e);function t(n){zL(this,t);var o;return o=VL(this,t,[n]),qb(o,"controlType","search"),qb(o,"props",void 0),o.props=new f_(n==null?void 0:n.props),o}return t}(Oe);function _e(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 KL(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=_r(t),JL(e,Wb()?Reflect.construct(t,n||[],_r(e).constructor):t.apply(e,n))}function XL(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 _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(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&&s_(e,t)}function JL(e,t){return t&&(ZL(t)==="object"||typeof t=="function")?t:KL(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(e,t)}function ZL(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 YL=function(e){QL(t,e);function t(n){XL(this,t);var o;o=GL(this,t,[n]),He(o,"content",void 0),He(o,"fontSize",void 0),He(o,"color",void 0),He(o,"icon",void 0),He(o,"align",void 0),He(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 a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:f("CMD.text",null,"\u8BF4\u660E\u6587\u5B57");var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"",o}return t}(W);function tC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eC(e,t,n){return t=yr(t),iC(e,Xb()?Reflect.construct(t,n||[],yr(e).constructor):t.apply(e,n))}function nC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kb(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 oC(e,t,n){return t&&Kb(e.prototype,t),n&&Kb(e,n),e}function Gb(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 rC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iC(e,t){return t&&(uC(t)==="object"||typeof t=="function")?t:tC(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(e,t)}function uC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xb=function(){return!!e})()}var lC=function(e){rC(t,e);function t(n){nC(this,t);var o;return o=eC(this,t,[n]),Gb(o,"props",void 0),o.props=new YL(n==null?void 0:n.props),o}return oC(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);Gb(lC,"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 cC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aC(e,t,n){return t=sr(t),yC(e,Qb()?Reflect.construct(t,n||[],sr(e).constructor):t.apply(e,n))}function fC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d_(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 _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&&v_(e,t)}function yC(e,t){return t&&(sC(t)==="object"||typeof t=="function")?t:cC(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function sC(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 pC=function(e){_C(t,e);function t(n){fC(this,t);var o;o=aC(this,t,[n]),d_(o,"content",void 0),d_(o,"url",void 0),d_(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}(W);function dC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vC(e,t,n){return t=pr(t),gC(e,Zb()?Reflect.construct(t,n||[],pr(e).constructor):t.apply(e,n))}function hC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jb(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 bC(e,t,n){return t&&Jb(e.prototype,t),n&&Jb(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 pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(e)}function mC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gC(e,t){return t&&(OC(t)==="object"||typeof t=="function")?t:dC(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(e,t)}function OC(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 Yb=function(e){mC(t,e);function t(n){hC(this,t);var o;return o=vC(this,t,[n]),h_(o,"props",void 0),o.props=new pC(n==null?void 0:n.props),o}return bC(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);h_(Yb,"controlEventKeys",["on_click"]),h_(Yb,"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 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=dr(t),SC(e,tm()?Reflect.construct(t,n||[],dr(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 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 dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dr(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&&m_(e,t)}function SC(e,t){return t&&(TC(t)==="object"||typeof t=="function")?t:wC(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m_(e,t)}function TC(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 mt=function(e){EC(t,e);function t(n){PC(this,t);var o;o=$C(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 a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"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 GM((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return t}(W);function RC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BC(e,t,n){return t=hr(t),kC(e,nm()?Reflect.construct(t,n||[],hr(e).constructor):t.apply(e,n))}function DC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function em(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 AC(e,t,n){return t&&em(e.prototype,t),n&&em(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 hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(e)}function IC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kC(e,t){return t&&(FC(t)==="object"||typeof t=="function")?t:RC(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(e,t)}function FC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nm=function(){return!!e})()}var yt=function(e){IC(t,e);function t(n){DC(this,t);var o;return o=BC(this,t,[n]),vr(o,"props",void 0),o.props=new mt(n==null?void 0:n.props),o}return AC(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);vr(yt,"slots",["grid-table-toolbar-slot","action-bar-slot",E0.DEFAULT]),vr(yt,"controlEventKeys",["on_click"]),vr(yt,"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 gt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}var we=function(e){return 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",e}({}),O_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:jt(8),value:["",""]};gt(this,e),P(this,"dateConfigType",void 0),P(this,"dateLimitType",void 0),P(this,"id",void 0),P(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},MC=function(e){return e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile",e}({}),w_=function e(t){gt(this,e),P(this,"id",void 0),P(this,"text",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:jt();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},xC=function(e){return 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",e}({}),om=function e(t){gt(this,e),P(this,"type",void 0),P(this,"person",void 0),P(this,"signatureType",void 0),P(this,"telephone",void 0),P(this,"company",void 0),P(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,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Qn((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var c;this.remark=(c=t==null?void 0:t.remark)!==null&&c!==void 0?c:""},LC=function e(t){gt(this,e);var n;P(this,"fileControl",void 0),P(this,"undersignedList",void 0),P(this,"statusControl",void 0),P(this,"completeControl",void 0),P(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(a){return new om(a)}))!==null&&r!==void 0?r:[new om];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:""},br=function e(t){gt(this,e),P(this,"id",void 0),P(this,"appId",void 0),P(this,"dataCode",void 0),P(this,"svcCode",void 0),P(this,"name",void 0),P(this,"fieldList",void 0),P(this,"active",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:jt(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 a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},rm=function e(t){gt(this,e),P(this,"active",void 0),P(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:""},CC=function e(t){gt(this,e),P(this,"types",void 0),P(this,"history",void 0),P(this,"collaborativeRecord",void 0),P(this,"logicToDelete",void 0),P(this,"watermark",void 0),P(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 rm(t==null?void 0:t.watermark),this.autoRename=new rm(t==null?void 0:t.autoRename)},im=function e(t){gt(this,e),P(this,"appId",void 0),P(this,"dataCode",void 0),P(this,"formKey",void 0),P(this,"orders",void 0),P(this,"filters",void 0),P(this,"isRelation",void 0),P(this,"relationBindCode",void 0);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 r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";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 l;this.isRelation=(l=t==null?void 0:t.isRelation)!==null&&l!==void 0?l:!1;var a;this.relationBindCode=(a=t==null?void 0:t.relationBindCode)!==null&&a!==void 0?a:""},um=function e(t){gt(this,e),P(this,"type",void 0),P(this,"row",void 0),P(this,"height",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"auto";var o;this.row=(o=t==null?void 0:t.row)!==null&&o!==void 0?o:20,this.height=t==null?void 0:t.height},jC=function e(t){gt(this,e),P(this,"dataCode",void 0),this.dataCode=t.dataCode},NC=function e(t){gt(this,e);var n;P(this,"templateType",void 0),P(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 jC(i)}))!==null&&r!==void 0?r:[]},VC=function e(t){gt(this,e);var n;P(this,"templateType",void 0),P(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 br(i)}))!==null&&r!==void 0?r:[new br({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},zC=480;function mr(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var HC=function e(t){gt(this,e),P(this,"fileId",void 0),P(this,"fileName",void 0),P(this,"ruleName",void 0),P(this,"isDefault",void 0),P(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:[]},qC=function(e){return e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",e}({}),lm=function(e){return e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS",e}({}),qe=function(e){return e.ALL="all",e.ASSIGN="assign",e}({}),UC=function(e){return e.ALL="all",e.ADMIN="admin",e}({});function WC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KC(e,t,n){return t=gr(t),QC(e,am()?Reflect.construct(t,n||[],gr(e).constructor):t.apply(e,n))}function GC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(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 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&&$_(e,t)}function QC(e,t){return t&&(JC(t)==="object"||typeof t=="function")?t:WC(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(e,t)}function JC(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 ZC=function(e){XC(t,e);function t(n){GC(this,t);var o;o=KC(this,t,[n]),cm(o,"color",void 0),cm(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:xC.SOLID,o}return t}(W);function YC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t8(e,t,n){return t=Or(t),r8(e,ym()?Reflect.construct(t,n||[],Or(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 fm(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&&fm(e.prototype,t),n&&fm(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 Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Or(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&&P_(e,t)}function r8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:YC(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},P_(e,t)}function i8(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 u8=function(e){o8(t,e);function t(n){e8(this,t);var o;return o=t8(this,t,[n]),_m(o,"props",void 0),o.props=new ZC(n==null?void 0:n.props),o}return n8(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);_m(u8,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]}]);function l8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sm(e,t,n){return t=wr(t),c8(e,vm()?Reflect.construct(t,n||[],wr(e).constructor):t.apply(e,n))}function pm(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 wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(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&&E_(e,t)}function c8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:l8(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(e,t)}function a8(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 f8=function(e){dm(t,e);function t(n){pm(this,t);var o;return o=sm(this,t,[n]),ye(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),ye(o,"dataBind",{type:"any"}),ye(o,"config",{type:"array"}),n.config.includes(we.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}(U),hm=function(e){dm(t,e);function t(n){pm(this,t);var o;o=sm(this,t,[n]),ye(o,"dataBind",void 0),ye(o,"caption",void 0),ye(o,"config",void 0),ye(o,"position",void 0),o.dataBind=new It(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[we.ShowSubmitUser,we.ShowSubmitDept,we.ShowSubmitTime,we.ShowCurrentApprovar,we.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}(W);ye(hm,"Rules",f8);function _8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y8(e,t,n){return t=$r(t),v8(e,mm()?Reflect.construct(t,n||[],$r(e).constructor):t.apply(e,n))}function s8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bm(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 p8(e,t,n){return t&&bm(e.prototype,t),n&&bm(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 $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(e)}function d8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 v8(e,t){return t&&(h8(t)==="object"||typeof t=="function")?t:_8(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},T_(e,t)}function h8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mm=function(){return!!e})()}var eo=function(e){d8(t,e);function t(n){s8(this,t);var o;return o=y8(this,t,[n]),S_(o,"props",void 0),o.props=new hm(n==null?void 0:n.props),o}return p8(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);S_(eo,"controlFieldType",g.AUTO_NUMBER),S_(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 b8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gm(e,t,n){return t=Er(t),m8(e,$m()?Reflect.construct(t,n||[],Er(e).constructor):t.apply(e,n))}function Om(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 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&&R_(e,t)}function m8(e,t){return t&&(g8(t)==="object"||typeof t=="function")?t:b8(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(e,t)}function g8(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 O8=function(e){wm(t,e);function t(n){Om(this,t);var o;return o=gm(this,t,[n]),Pr(o,"formKey",{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(U),Pm=function(e){wm(t,e);function t(n){Om(this,t);var o;o=gm(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}(mt);Pr(Pm,"Rules",O8);function w8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $8(e,t,n){return t=Tr(t),T8(e,Sm()?Reflect.construct(t,n||[],Tr(e).constructor):t.apply(e,n))}function P8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Em(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&&Em(e.prototype,t),n&&Em(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 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&&B_(e,t)}function T8(e,t){return t&&(R8(t)==="object"||typeof t=="function")?t:w8(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B_(e,t)}function R8(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 no=function(e){S8(t,e);function t(n){P8(this,t);var o;return o=$8(this,t,[n]),Sr(o,"props",void 0),o.props=new Pm(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}(yt);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 B8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tm(e,t,n){return t=Rr(t),D8(e,Dm()?Reflect.construct(t,n||[],Rr(e).constructor):t.apply(e,n))}function Rm(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 Bm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D8(e,t){return t&&(A8(t)==="object"||typeof t=="function")?t:B8(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(e,t)}function A8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dm=function(){return!!e})()}var I8=function(e){Bm(t,e);function t(n){Rm(this,t);var o;return o=Tm(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}(U),Am=function(e){Bm(t,e);function t(n){Rm(this,t);var o;o=Tm(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 a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var c;return o.employeeId=(c=n==null?void 0:n.employeeId)!==null&&c!==void 0?c:"",o}return t}(mt);Ue(Am,"Rules",I8);function k8(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),C8(e,km()?Reflect.construct(t,n||[],Dr(e).constructor):t.apply(e,n))}function M8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Im(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 x8(e,t,n){return t&&Im(e.prototype,t),n&&Im(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 L8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C8(e,t){return t&&(j8(t)==="object"||typeof t=="function")?t:k8(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A_(e,t)}function j8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(km=function(){return!!e})()}var oo=function(e){L8(t,e);function t(n){M8(this,t);var o;return o=F8(this,t,[n]),Br(o,"props",void 0),o.props=new Am(n==null?void 0:n.props),o}return x8(t,null,[{key:"controlName",get:function(){return f("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),t}(yt);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 N8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V8(e,t,n){return t=Ar(t),q8(e,Fm()?Reflect.construct(t,n||[],Ar(e).constructor):t.apply(e,n))}function z8(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 H8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:N8(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function U8(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 W8=function(e){H8(t,e);function t(n){z8(this,t);var o;o=V8(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}(mt);function K8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G8(e,t,n){return t=kr(t),Z8(e,xm()?Reflect.construct(t,n||[],kr(e).constructor):t.apply(e,n))}function X8(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 Q8(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 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&&k_(e,t)}function Z8(e,t){return t&&(Y8(t)==="object"||typeof t=="function")?t:K8(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function Y8(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 ro=function(e){J8(t,e);function t(n){X8(this,t);var o;return o=G8(this,t,[n]),Ir(o,"props",void 0),o.props=new W8(n==null?void 0:n.props),o}return Q8(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}(yt);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 tj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ej(e,t,n){return t=Fr(t),rj(e,Cm()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lm(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 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&&F_(e,t)}function rj(e,t){return t&&(ij(t)==="object"||typeof t=="function")?t:tj(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function ij(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 uj=function(e){oj(t,e);function t(n){nj(this,t);var o,r;o=ej(this,t,[n]),Lm(o,"templateList",void 0),Lm(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 a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(c){return new br(c)}))!==null&&a!==void 0?a:[new br({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return t}(mt);function lj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cj(e,t,n){return t=xr(t),yj(e,Nm()?Reflect.construct(t,n||[],xr(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 jm(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 fj(e,t,n){return t&&jm(e.prototype,t),n&&jm(e,n),e}function Mr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(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&&M_(e,t)}function yj(e,t){return t&&(sj(t)==="object"||typeof t=="function")?t:lj(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function sj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nm=function(){return!!e})()}var io=function(e){_j(t,e);function t(n){aj(this,t);var o;return o=cj(this,t,[n]),Mr(o,"props",void 0),o.props=new uj(n==null?void 0:n.props),o}return fj(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}(yt);Mr(io,"slots",["grid-table-toolbar-slot"]),Mr(io,"controlEventKeys",["on_click","on_click_finish"]),Mr(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 pj(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=Lr(t),bj(e,Vm()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function vj(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 hj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bj(e,t){return t&&(mj(t)==="object"||typeof t=="function")?t:pj(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},x_(e,t)}function mj(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 gj=function(e){hj(t,e);function t(n){vj(this,t);var o;o=dj(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}(mt);function Oj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wj(e,t,n){return t=jr(t),Sj(e,Hm()?Reflect.construct(t,n||[],jr(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 zm(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 Pj(e,t,n){return t&&zm(e.prototype,t),n&&zm(e,n),e}function Cr(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 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&&L_(e,t)}function Sj(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:Oj(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function Tj(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 uo=function(e){Ej(t,e);function t(n){$j(this,t);var o;return o=wj(this,t,[n]),Cr(o,"props",void 0),o.props=new gj(n==null?void 0:n.props),o}return Pj(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}(yt);Cr(uo,"slots",["grid-table-toolbar-slot"]),Cr(uo,"controlEventKeys",["on_click"]),Cr(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 Rj(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=Nr(t),Aj(e,Um()?Reflect.construct(t,n||[],Nr(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 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 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&&j_(e,t)}function Aj(e,t){return t&&(Ij(t)==="object"||typeof t=="function")?t:Rj(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(e,t)}function Ij(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Um(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Um=function(){return!!e})()}var kj=function e(t){qm(this,e),C_(this,"dataCode",void 0),this.dataCode=t.dataCode},Fj=function(e){Dj(t,e);function t(n){qm(this,t);var o,r;o=Bj(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(c){return new kj(c)}))!==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 t}(mt);function Mj(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=zr(t),Nj(e,Km()?Reflect.construct(t,n||[],zr(e).constructor):t.apply(e,n))}function Lj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wm(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 Cj(e,t,n){return t&&Wm(e.prototype,t),n&&Wm(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 jj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nj(e,t){return t&&(Vj(t)==="object"||typeof t=="function")?t:Mj(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(e,t)}function Vj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Km=function(){return!!e})()}var lo=function(e){jj(t,e);function t(n){Lj(this,t);var o;return o=xj(this,t,[n]),Vr(o,"props",void 0),o.props=new Fj(n==null?void 0:n.props),o}return Cj(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}(yt);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 zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gm(e,t,n){return t=qr(t),Hj(e,Zm()?Reflect.construct(t,n||[],qr(e).constructor):t.apply(e,n))}function Xm(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 qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(e)}function Qm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jm(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){Zt(e,r,n[r])})}return e}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:zj(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function qj(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 Uj=function(e){Qm(t,e);function t(n){Xm(this,t);var o;return o=Gm(this,t,[n]),Zt(o,"fillPayload",{type:"object",fields:Jm({},Hr())}),Zt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),Zt(o,"fillBack",{type:"object",fields:Jm({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}(U),Ym=function(e){Qm(t,e);function t(n){Xm(this,t);var o;o=Gm(this,t,[n]),Zt(o,"fillPayload",void 0),Zt(o,"formBind",void 0),Zt(o,"fillBack",void 0),Zt(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 eb(n==null?void 0:n.fillPayload),o.formBind=new RM(n==null?void 0:n.formBind),o.fillBack=new nb(n==null?void 0:n.fillBack),o}return t}(mt);Zt(Ym,"Rules",Uj);function Wj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kj(e,t,n){return t=Ur(t),Jj(e,eg()?Reflect.construct(t,n||[],Ur(e).constructor):t.apply(e,n))}function Gj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tg(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 Xj(e,t,n){return t&&tg(e.prototype,t),n&&tg(e,n),e}function z_(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 Qj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jj(e,t){return t&&(Zj(t)==="object"||typeof t=="function")?t:Wj(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(e,t)}function Zj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eg=function(){return!!e})()}var Wr=function(e){Qj(t,e);function t(n){Gj(this,t);var o;return o=Kj(this,t,[n]),z_(o,"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return Xj(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}(yt);z_(Wr,"controlEventKeys",["on_click","on_click_finish"]),z_(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 Yj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ng(e,t,n){return t=Kr(t),t9(e,ug()?Reflect.construct(t,n||[],Kr(e).constructor):t.apply(e,n))}function og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(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&&q_(e,t)}function ig(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){St(e,r,n[r])})}return e}function t9(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:Yj(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(e,t)}function e9(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 n9=function(e){rg(t,e);function t(n){og(this,t);var o;return o=ng(this,t,[n]),St(o,"fillPayload",{type:"object",fields:ig({},Hr())}),St(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")}}}),St(o,"fillBack",{type:"object",fields:ig({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Hr())}),o}return t}(U),lg=function(e){rg(t,e);function t(n){og(this,t);var o;o=ng(this,t,[n]),St(o,"fillPayload",void 0),St(o,"listPageBind",void 0),St(o,"disableFilling",void 0),St(o,"fillBack",void 0),St(o,"showSelectedDetail",void 0),St(o,"isSelectedRowFill",void 0),St(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 eb(n==null?void 0:n.fillPayload),o.listPageBind=new wf(n==null?void 0:n.listPageBind),o.fillBack=new nb(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 Sf(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 t}(mt);St(lg,"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=Gr(t),c9(e,ag()?Reflect.construct(t,n||[],Gr(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 cg(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&&cg(e.prototype,t),n&&cg(e,n),e}function U_(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 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&&W_(e,t)}function c9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:o9(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function a9(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 Xr=function(e){l9(t,e);function t(n){i9(this,t);var o;return o=r9(this,t,[n]),U_(o,"props",void 0),o.props=new lg(n==null?void 0:n.props),o}return u9(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}(yt);U_(Xr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),U_(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 f9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K_(e,t,n){return t=Qr(t),_9(e,_g()?Reflect.construct(t,n||[],Qr(e).constructor):t.apply(e,n))}function G_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fg(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 X_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _9(e,t){return t&&(y9(t)==="object"||typeof t=="function")?t:f9(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Q_(e,t)}function y9(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 s9=function(e){X_(t,e);function t(n){return G_(this,t),K_(this,t,[n])}return t}(U),p9=function(e){X_(t,e);function t(n){return G_(this,t),K_(this,t,[n])}return t}(ge),J_=function(e){X_(t,e);function t(n){return G_(this,t),K_(this,t,[n])}return t}(W);fg(J_,"Rules",s9),fg(J_,"RuntimeRules",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=Jr(t),g9(e,pg()?Reflect.construct(t,n||[],Jr(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 yg(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&&yg(e.prototype,t),n&&yg(e,n),e}function sg(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 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&&Z_(e,t)}function g9(e,t){return t&&(O9(t)==="object"||typeof t=="function")?t:d9(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function O9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pg=function(){return!!e})()}var w9=function(e){m9(t,e);function t(n){h9(this,t);var o;return o=v9(this,t,[n]),sg(o,"props",void 0),o.props=new J_(n==null?void 0:n.props),o}return b9(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);sg(w9,"setting",[]);function $9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dg(e,t,n){return t=Zr(t),P9(e,bg()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function vg(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 Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(e)}function hg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 P9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:$9(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Y_(e,t)}function E9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bg=function(){return!!e})()}var S9=function(e){hg(t,e);function t(n){vg(this,t);var o;return o=dg(this,t,[n]),at(o,"dashboardKey",{type:"string",required:!0,message:f("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")}),at(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),at(o,"isHideCaption",{type:"boolean"}),at(o,"labelPosition",{type:"enum",enum:["top","left"]}),at(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),at(o,"isShowReportParams",{type:"boolean"}),at(o,"reportParams",{type:"array",min:0}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),mg=function(e){hg(t,e);function t(n){vg(this,t);var o;o=dg(this,t,[n]),at(o,"dashboardKey",void 0),at(o,"caption",void 0),at(o,"isHideCaption",void 0),at(o,"isShowCaptionTip",void 0),at(o,"captionTip",void 0),at(o,"labelPosition",void 0),at(o,"isShowReportParams",void 0),at(o,"reportParams",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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var _;o.isShowReportParams=(_=n==null?void 0:n.isShowReportParams)!==null&&_!==void 0?_:!1;var p;return o.reportParams=(p=n==null?void 0:n.reportParams)!==null&&p!==void 0?p:[],o}return t}(W);at(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=Yr(t),I9(e,wg()?Reflect.construct(t,n||[],Yr(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 gg(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&&gg(e.prototype,t),n&&gg(e,n),e}function Og(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 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&&ty(e,t)}function I9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:T9(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function k9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wg=function(){return!!e})()}var F9=function(e){A9(t,e);function t(n){B9(this,t);var o;return o=R9(this,t,[n]),Og(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.dashboard",null,"\u4EEA\u8868\u76D8")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),t}(L);Og(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:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}]);function M9(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=ti(t),x9(e,Sg()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function Pg(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 Eg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x9(e,t){return t&&(L9(t)==="object"||typeof t=="function")?t:M9(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(e,t)}function L9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sg=function(){return!!e})()}var C9=function(e){Eg(t,e);function t(n){Pg(this,t);var o;return o=$g(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}(U),Tg=function(e){Eg(t,e);function t(n){Pg(this,t);var o,r;o=$g(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 WM(l)}))!==null&&u!==void 0?u:[],o}return t}(W);co(Tg,"Rules",C9);function j9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N9(e,t,n){return t=ei(t),q9(e,Dg()?Reflect.construct(t,n||[],ei(e).constructor):t.apply(e,n))}function V9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rg(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&&Rg(e.prototype,t),n&&Rg(e,n),e}function Bg(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 H9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:j9(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ny(e,t)}function U9(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 W9=function(e){H9(t,e);function t(n){V9(this,t);var o;return o=N9(this,t,[n]),Bg(o,"props",void 0),o.props=new Tg(n==null?void 0:n.props),o}return z9(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);Bg(W9,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function K9(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=ni(t),G9(e,Fg()?Reflect.construct(t,n||[],ni(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 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 ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(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&&oy(e,t)}function G9(e,t){return t&&(X9(t)==="object"||typeof t=="function")?t:K9(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(e,t)}function X9(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 Q9=function(e){kg(t,e);function t(n){Ig(this,t);var o;return o=Ag(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,"ocrType",{type:"string",required:!0,message:f("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")}),dt(o,"fillList",{type:"array",validator:function(i,u,l){var a=u.every(function(c){return!c.controlId});if(a){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}(U),Mg=function(e){kg(t,e);function t(n){Ig(this,t);var o,r;o=Ag(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,"ocrType",void 0),dt(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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"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 pt(O)}))!==null&&b!==void 0?b:[],o}return t}(mt);dt(Mg,"Rules",Q9);function J9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z9(e,t,n){return t=oi(t),n4(e,Lg()?Reflect.construct(t,n||[],oi(e).constructor):t.apply(e,n))}function Y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xg(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 t4(e,t,n){return t&&xg(e.prototype,t),n&&xg(e,n),e}function ry(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 e4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 n4(e,t){return t&&(o4(t)==="object"||typeof t=="function")?t:J9(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(e,t)}function o4(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 ao=function(e){e4(t,e);function t(n){Y9(this,t);var o;return o=Z9(this,t,[n]),ry(o,"props",void 0),o.props=new Mg(n==null?void 0:n.props),o}return t4(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}(yt);ry(ao,"controlEventKeys",["on_click","on_click_finish"]),ry(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 r4(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),i4(e,Vg()?Reflect.construct(t,n||[],ri(e).constructor):t.apply(e,n))}function jg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(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 Ng(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i4(e,t){return t&&(u4(t)==="object"||typeof t=="function")?t:r4(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(e,t)}function u4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vg=function(){return!!e})()}var l4=function(e){Ng(t,e);function t(n){jg(this,t);var o;return o=Cg(this,t,[n]),vt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),vt(o,"isHideCaption",{type:"boolean"}),vt(o,"labelPosition",{type:"enum",enum:["top","left"]}),vt(o,"invoiceCheck",{type:"boolean"}),vt(o,"fillList",{type:"array",validator:function(i,u,l){var a=u.every(function(c){return!c.controlId});if(a){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),vt(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}(U),zg=function(e){Ng(t,e);function t(n){jg(this,t);var o,r;o=Cg(this,t,[n]),vt(o,"caption",void 0),vt(o,"isHideCaption",void 0),vt(o,"isShowCaptionTip",void 0),vt(o,"captionTip",void 0),vt(o,"labelPosition",void 0),vt(o,"invoiceCheck",void 0),vt(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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"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 pt(O)}))!==null&&b!==void 0?b:[],o}return t}(mt);vt(zg,"Rules",l4);function c4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a4(e,t,n){return t=ii(t),s4(e,qg()?Reflect.construct(t,n||[],ii(e).constructor):t.apply(e,n))}function f4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(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&&Hg(e.prototype,t),n&&Hg(e,n),e}function ly(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 y4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s4(e,t){return t&&(p4(t)==="object"||typeof t=="function")?t:c4(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(e,t)}function p4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qg=function(){return!!e})()}var fo=function(e){y4(t,e);function t(n){f4(this,t);var o;return o=a4(this,t,[n]),ly(o,"props",void 0),o.props=new zg(n==null?void 0:n.props),o}return _4(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}(yt);ly(fo,"controlEventKeys",["on_click","on_click_finish"]),ly(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 d4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ug(e,t,n){return t=li(t),v4(e,Gg()?Reflect.construct(t,n||[],li(e).constructor):t.apply(e,n))}function Wg(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 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&&ay(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:d4(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(e,t)}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gg=function(){return!!e})()}var b4=function(e){Kg(t,e);function t(){Wg(this,t);var n;return n=Ug(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}(U),Xg=function(e){Kg(t,e);function t(n){Wg(this,t);var o,r;o=Ug(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(c){return new HC(c)}))!==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 t}(mt);ui(Xg,"Rules",b4);function m4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g4(e,t,n){return t=ai(t),P4(e,Jg()?Reflect.construct(t,n||[],ai(e).constructor):t.apply(e,n))}function O4(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 w4(e,t,n){return t&&Qg(e.prototype,t),n&&Qg(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 $4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 P4(e,t){return t&&(E4(t)==="object"||typeof t=="function")?t:m4(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(e,t)}function E4(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 _o=function(e){$4(t,e);function t(n){O4(this,t);var o;return o=g4(this,t,[n]),ci(o,"props",void 0),o.props=new Xg(n==null?void 0:n.props),o}return w4(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}(yt);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 S4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T4(e,t,n){return t=fi(t),D4(e,Zg()?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 B4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D4(e,t){return t&&(A4(t)==="object"||typeof t=="function")?t:S4(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(e,t)}function A4(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 I4=function(e){B4(t,e);function t(n){R4(this,t);var o;o=T4(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}(mt);function k4(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),C4(e,tO()?Reflect.construct(t,n||[],yi(e).constructor):t.apply(e,n))}function M4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(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 x4(e,t,n){return t&&Yg(e.prototype,t),n&&Yg(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 L4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:k4(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(e,t)}function j4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tO=function(){return!!e})()}var yo=function(e){L4(t,e);function t(n){M4(this,t);var o;return o=F4(this,t,[n]),_i(o,"props",void 0),o.props=new I4(n==null?void 0:n.props),o}return x4(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}(yt);_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 N4(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=si(t),V4(e,rO()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}function nO(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 si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(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&&sy(e,t)}function V4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:N4(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sy(e,t)}function z4(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 H4=function(e){oO(t,e);function t(n){nO(this,t);var o;return o=eO(this,t,[n]),st(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}(U),pi=function(e){oO(t,e);function t(n){nO(this,t);var o;o=eO(this,t,[n]),st(o,"content",void 0),st(o,"code",void 0),st(o,"command",void 0),st(o,"color",void 0),st(o,"icon",void 0),st(o,"formKey",void 0),st(o,"openType",void 0),st(o,"needConfirm",void 0),st(o,"confirmMessage",void 0),st(o,"options",void 0),st(o,"defaultState",void 0),st(o,"priorityProcess",void 0),st(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 a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return t}(W);st(pi,"Rules",H4);function q4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U4(e,t,n){return t=di(t),X4(e,uO()?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 iO(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 K4(e,t,n){return t&&iO(e.prototype,t),n&&iO(e,n),e}function py(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 G4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:q4(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dy(e,t)}function Q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uO=function(){return!!e})()}var vi=function(e){G4(t,e);function t(n){W4(this,t);var o;return o=U4(this,t,[n]),py(o,"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return K4(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);py(vi,"controlEventKeys",["on_click"]),py(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 J4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z4(e,t,n){return t=hi(t),oN(e,cO()?Reflect.construct(t,n||[],hi(e).constructor):t.apply(e,n))}function Y4(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 tN(e,t,n){return t&&lO(e.prototype,t),n&&lO(e,n),e}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 hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(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&&vy(e,t)}function oN(e,t){return t&&(rN(t)==="object"||typeof t=="function")?t:J4(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function rN(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 iN=function(e){nN(t,e);function t(n){Y4(this,t);var o;return o=Z4(this,t,[n]),eN(o,"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return tN(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Vt),hy={Designer:vi,Runtime:iN,Property:pi};function uN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lN(e,t,n){return t=bi(t),fN(e,aO()?Reflect.construct(t,n||[],bi(e).constructor):t.apply(e,n))}function cN(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 bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(e)}function aN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fN(e,t){return t&&(_N(t)==="object"||typeof t=="function")?t:uN(e)}function by(e,t){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(e,t)}function _N(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 yN=function(e){aN(t,e);function t(n){cN(this,t);var o;o=lN(this,t,[n]),se(o,"content",void 0),se(o,"buttonType",void 0),se(o,"showType",void 0),se(o,"color",void 0),se(o,"icon",void 0),se(o,"defaultState",void 0),se(o,"command",void 0),se(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 a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var c;o.isHide=(c=n==null?void 0:n.isHide)!==null&&c!==void 0?c:!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}(W);function sN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pN(e,t,n){return t=gi(t),bN(e,_O()?Reflect.construct(t,n||[],gi(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 fO(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 vN(e,t,n){return t&&fO(e.prototype,t),n&&fO(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 hN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:sN(e)}function my(e,t){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(e,t)}function mN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_O=function(){return!!e})()}var so=function(e){hN(t,e);function t(n){dN(this,t);var o;return o=pN(this,t,[n]),mi(o,"props",void 0),o.props=new yN(n==null?void 0:n.props),o}return vN(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 gN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yO(e,t,n){return t=Oi(t),ON(e,dO()?Reflect.construct(t,n||[],Oi(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 $e(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 pO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ON(e,t){return t&&(wN(t)==="object"||typeof t=="function")?t:gN(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(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 $N=function(e){pO(t,e);function t(n){sO(this,t);var o;return o=yO(this,t,[n]),$e(o,"actionSetting",{type:"object",fields:{dataCode:{type:"string",required:!0,message:f("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),o}return t}(U),wi=function(e){pO(t,e);function t(n){sO(this,t);var o;o=yO(this,t,[n]),$e(o,"isShowSimpleSearch",void 0),$e(o,"isShowToolbar",void 0),$e(o,"actionSetting",void 0),$e(o,"listHeightSetting",void 0),$e(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Pi.controlName;var i;o.isShowSimpleSearch=(i=n==null?void 0:n.isShowSimpleSearch)!==null&&i!==void 0?i:!0;var u;o.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!==null&&u!==void 0?u:!0;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var a;o.actionSetting=(a=new im(n==null?void 0:n.actionSetting))!==null&&a!==void 0?a:new im;var c;return o.listHeightSetting=(c=new um(n==null?void 0:n.listHeightSetting))!==null&&c!==void 0?c:new um,o}return t}(W);$e(wi,"Rules",$N);function PN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EN(e,t,n){return t=$i(t),BN(e,hO()?Reflect.construct(t,n||[],$i(e).constructor):t.apply(e,n))}function SN(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 TN(e,t,n){return t&&vO(e.prototype,t),n&&vO(e,n),e}function Oy(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 RN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BN(e,t){return t&&(DN(t)==="object"||typeof t=="function")?t:PN(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wy(e,t)}function DN(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 Pi=function(e){RN(t,e);function t(n){SN(this,t);var o;return o=EN(this,t,[n]),Oy(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return TN(t,null,[{key:"controlName",get:function(){return f("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"reference-list"}}]),t}(L);Oy(Pi,"controlEventKeys",["on_list_rowclick"]),Oy(Pi,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE,y.IS_SHOW_SIMPLE_SEARCH,y.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function AN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IN(e,t,n){return t=Ei(t),LN(e,mO()?Reflect.construct(t,n||[],Ei(e).constructor):t.apply(e,n))}function kN(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 FN(e,t,n){return t&&bO(e.prototype,t),n&&bO(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 Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(e)}function xN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LN(e,t){return t&&(CN(t)==="object"||typeof t=="function")?t:AN(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(e,t)}function CN(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 jN=function(e){xN(t,e);function t(n){kN(this,t);var o;return o=IN(this,t,[n]),MN(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return FN(t,null,[{key:"controlType",get:function(){return"reference-list"}}]),t}(Vt),NN={Designer:Pi,Runtime:jN,Property:wi};function VN(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=Si(t),zN(e,gO()?Reflect.construct(t,n||[],Si(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 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 Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(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&&Ty(e,t)}function zN(e,t){return t&&(HN(t)==="object"||typeof t=="function")?t:VN(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(e,t)}function HN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gO=function(){return!!e})()}var qN=function(e){Sy(t,e);function t(n){Ey(this,t);var o;return o=Py(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=mr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),UN=function(e){Sy(t,e);function t(n){Ey(this,t);var o;return o=Py(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:mr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),po=function(e){Sy(t,e);function t(n){Ey(this,t);var o;o=Py(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 Tf(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 a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var c;o.encrypted=(c=n==null?void 0:n.encrypted)!==null&&c!==void 0?c:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return t}(k);kt(po,"Rules",qN),kt(po,"RuntimeRules",UN);function WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KN(e,t,n){return t=Ri(t),JN(e,wO()?Reflect.construct(t,n||[],Ri(e).constructor):t.apply(e,n))}function GN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OO(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 XN(e,t,n){return t&&OO(e.prototype,t),n&&OO(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 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&&Ry(e,t)}function JN(e,t){return t&&(ZN(t)==="object"||typeof t=="function")?t:WN(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(e,t)}function ZN(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 vo=function(e){QN(t,e);function t(n){GN(this,t);var o;return o=KN(this,t,[n]),Ti(o,"props",void 0),o.props=new po(n==null?void 0:n.props),o}return XN(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);Ti(vo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ti(vo,"controlFieldType",g.VARCHAR),Ti(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 YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tV(e,t,n){return t=Bi(t),rV(e,EO()?Reflect.construct(t,n||[],Bi(e).constructor):t.apply(e,n))}function eV(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 nV(e,t,n){return t&&$O(e.prototype,t),n&&$O(e,n),e}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 Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(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&&By(e,t)}function rV(e,t){return t&&(iV(t)==="object"||typeof t=="function")?t:YN(e)}function By(e,t){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(e,t)}function iV(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 uV=function(e){oV(t,e);function t(n){eV(this,t);var o;return o=tV(this,t,[n]),PO(o,"props",void 0),o.props=new po(n==null?void 0:n.props),o}return nV(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(M);PO(uV,"controlFieldType",g.VARCHAR);function lV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dy(e,t,n){return t=Di(t),cV(e,SO()?Reflect.construct(t,n||[],Di(e).constructor):t.apply(e,n))}function Ay(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 Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(e)}function Iy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:lV(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(e,t)}function aV(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 fV=function(e){Iy(t,e);function t(n){Ay(this,t);var o;o=Dy(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),_V=function(e){Iy(t,e);function t(n){Ay(this,t);var o;return o=Dy(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),Ai=function(e){Iy(t,e);function t(n){Ay(this,t);var o;o=Dy(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=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\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 a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var c;o.limitMin=(c=n==null?void 0:n.limitMin)!==null&&c!==void 0?c:"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:Fi.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 $;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(h){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new pt(h))})),o}return t}(k);ot(Ai,"Rules",fV),ot(Ai,"RuntimeRules",_V);function yV(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=ki(t),hV(e,RO()?Reflect.construct(t,n||[],ki(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 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 dV(e,t,n){return t&&TO(e.prototype,t),n&&TO(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 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&&Fy(e,t)}function hV(e,t){return t&&(bV(t)==="object"||typeof t=="function")?t:yV(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(e,t)}function bV(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 Fi=function(e){vV(t,e);function t(n){pV(this,t);var o;return o=sV(this,t,[n]),Ii(o,"props",void 0),o.props=new Ai(n==null?void 0:n.props),o}return dV(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);Ii(Fi,"controlEventKeys",["on_change","on_click"]),Ii(Fi,"controlFieldType",g.ARRAY),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:"limit-select",visible:!0},{key:"options-order",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 gV(e,t,n){return t=Mi(t),PV(e,AO()?Reflect.construct(t,n||[],Mi(e).constructor):t.apply(e,n))}function OV(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 wV(e,t,n){return t&&BO(e.prototype,t),n&&BO(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 Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(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&&My(e,t)}function PV(e,t){return t&&(EV(t)==="object"||typeof t=="function")?t:mV(e)}function My(e,t){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(e,t)}function EV(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 SV=function(e){$V(t,e);function t(n){OV(this,t);var o;return o=gV(this,t,[n]),DO(o,"props",void 0),o.props=new Ai(n==null?void 0:n.props),o}return wV(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(M);DO(SV,"controlFieldType",g.ARRAY);function TV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IO(e,t,n){return t=xi(t),RV(e,MO()?Reflect.construct(t,n||[],xi(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 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 xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xi(e)}function FO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:TV(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(e,t)}function BV(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 DV=function(e){FO(t,e);function t(n){return kO(this,t),IO(this,t,[n])}return t}(Ce),Ly=function(e){FO(t,e);function t(n){kO(this,t);var o;o=IO(this,t,[n]),Ot(o,"radioMode",void 0),Ot(o,"options",void 0),Ot(o,"optionConfig",void 0),Ot(o,"optionsFormat",void 0),Ot(o,"defaultShowOptions",void 0),Ot(o,"otherOption",void 0),Ot(o,"optionsOrder",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=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\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 a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!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:ji.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 $;($=o.multistageFilling)===null||$===void 0||$.push(new pt(m))})),o}return t}(k);Ot(Ly,"Rules",DV);function AV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IV(e,t,n){return t=Ci(t),xV(e,LO()?Reflect.construct(t,n||[],Ci(e).constructor):t.apply(e,n))}function kV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FV(e,t,n){return t&&xO(e.prototype,t),n&&xO(e,n),e}function Li(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){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(e)}function MV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:AV(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(e,t)}function LV(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 ji=function(e){MV(t,e);function t(n){kV(this,t);var o;return o=IV(this,t,[n]),Li(o,"props",void 0),o.props=new Ly(n==null?void 0:n.props),o}return FV(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);Li(ji,"controlEventKeys",["on_change","on_click"]),Li(ji,"controlFieldType",g.VARCHAR),Li(ji,"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 CV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jV(e,t,n){return t=Ni(t),HV(e,NO()?Reflect.construct(t,n||[],Ni(e).constructor):t.apply(e,n))}function NV(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 VV(e,t,n){return t&&CO(e.prototype,t),n&&CO(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 Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(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 HV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:CV(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jy(e,t)}function qV(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 UV=function(e){zV(t,e);function t(n){NV(this,t);var o;return o=jV(this,t,[n]),jO(o,"props",void 0),o.props=new Ly(n==null?void 0:n.props),o}return VV(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(M);jO(UV,"controlFieldType",g.VARCHAR);function WV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ny(e,t,n){return t=Vi(t),KV(e,VO()?Reflect.construct(t,n||[],Vi(e).constructor):t.apply(e,n))}function Vy(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 Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vi(e)}function zy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KV(e,t){return t&&(GV(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 GV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VO=function(){return!!e})()}var XV=function(e){zy(t,e);function t(n){Vy(this,t);var o;o=Ny(this,t,[n]),ft(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:""}]),ft(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=mr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),QV=function(e){zy(t,e);function t(n){Vy(this,t);var o;o=Ny(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},f(r===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:mr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),zi=function(e){zy(t,e);function t(n){Vy(this,t);var o;o=Ny(this,t,[n]),ft(o,"rangeMin",void 0),ft(o,"rangeMax",void 0),ft(o,"numberType",void 0),ft(o,"percentageFormat",void 0),ft(o,"micrometer",void 0),ft(o,"precision",void 0),ft(o,"showUpperCase",void 0),ft(o,"isShowUnit",void 0),ft(o,"unitPosition",void 0),ft(o,"unit",void 0),ft(o,"defaultValue",void 0),ft(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 a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c: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:Ui.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 $;return o.defaultValue=($=n==null?void 0:n.defaultValue)!==null&&$!==void 0?$:"",o.regularRules=new Tf(n==null?void 0:n.regularRules),o}return t}(k);ft(zi,"Rules",XV),ft(zi,"RuntimeRules",QV);function JV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZV(e,t,n){return t=We(t),nz(e,HO()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}function YV(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 tz(e,t,n){return t&&zO(e.prototype,t),n&&zO(e,n),e}function Hi(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?qi=Reflect.get:qi=function(r,i,u){var l=oz(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},qi(e,t,n||e)}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(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&&qy(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:JV(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qy(e,t)}function oz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=We(e),e!==null););return e}function rz(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 Ui=function(e){ez(t,e);function t(n){YV(this,t);var o;return o=ZV(this,t,[n]),Hi(o,"props",void 0),o.props=new zi(n==null?void 0:n.props),o}return tz(t,[{key:"toDataBindModel",value:function(o){var r=qi(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);Hi(Ui,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Hi(Ui,"controlFieldType",g.DECIMAL),Hi(Ui,"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 iz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uz(e,t,n){return t=Wi(t),fz(e,WO()?Reflect.construct(t,n||[],Wi(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 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 cz(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 Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(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&&Uy(e,t)}function fz(e,t){return t&&(_z(t)==="object"||typeof t=="function")?t:iz(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uy(e,t)}function _z(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 yz=function(e){az(t,e);function t(n){lz(this,t);var o;return o=uz(this,t,[n]),UO(o,"props",void 0),o.props=new zi(n==null?void 0:n.props),o}return cz(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(M);UO(yz,"controlFieldType",g.DECIMAL);function sz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pz(e,t,n){return t=Ki(t),hz(e,KO()?Reflect.construct(t,n||[],Ki(e).constructor):t.apply(e,n))}function dz(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 Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(e)}function vz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hz(e,t){return t&&(bz(t)==="object"||typeof t=="function")?t:sz(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wy(e,t)}function bz(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 GO=function(e){vz(t,e);function t(n){dz(this,t);var o,r;o=pz(this,t,[n]),pe(o,"dateType",void 0),pe(o,"dateFormat",void 0),pe(o,"commonTimeSetting",void 0),pe(o,"setValueType",void 0),pe(o,"defaultValue",void 0),pe(o,"limitDateList",void 0),pe(o,"allowDateRange",void 0),pe(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Fe.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 a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Xy.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 O_(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 mz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gz(e,t,n){return t=Ke(t),Pz(e,QO()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function Oz(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 wz(e,t,n){return t&&XO(e.prototype,t),n&&XO(e,n),e}function Ky(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Gi=Reflect.get:Gi=function(r,i,u){var l=Ez(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Gi(e,t,n||e)}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function $z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pz(e,t){return t&&(Sz(t)==="object"||typeof t=="function")?t:mz(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gy(e,t)}function Ez(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}function Sz(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 Xy=function(e){$z(t,e);function t(n){Oz(this,t);var o;return o=gz(this,t,[n]),Ky(o,"props",void 0),o.props=new GO(n==null?void 0:n.props),o}return wz(t,[{key:"toDataBindModel",value:function(o){var r=Gi(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);Ky(Xy,"controlFieldType",g.TIMESTAMP),Ky(Xy,"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 Tz(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=Xi(t),Iz(e,YO()?Reflect.construct(t,n||[],Xi(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 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 Dz(e,t,n){return t&&JO(e.prototype,t),n&&JO(e,n),e}function ZO(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 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&&Qy(e,t)}function Iz(e,t){return t&&(kz(t)==="object"||typeof t=="function")?t:Tz(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(e,t)}function kz(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 Fz=function(e){Az(t,e);function t(n){Bz(this,t);var o;return o=Rz(this,t,[n]),ZO(o,"props",void 0),o.props=new GO(n==null?void 0:n.props),o}return Dz(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(M);ZO(Fz,"controlFieldType",g.TIMESTAMP);function Mz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tw(e,t,n){return t=Qi(t),xz(e,ow()?Reflect.construct(t,n||[],Qi(e).constructor):t.apply(e,n))}function ew(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 Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(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&&Jy(e,t)}function xz(e,t){return t&&(Lz(t)==="object"||typeof t=="function")?t:Mz(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(e,t)}function Lz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ow=function(){return!!e})()}var Cz=function(e){nw(t,e);function t(n){ew(this,t);var o;return o=tw(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),Zy=function(e){nw(t,e);function t(n){ew(this,t);var o,r;o=tw(this,t,[n]),Tt(o,"dataBind",void 0),Tt(o,"rangeMin",void 0),Tt(o,"rangeMax",void 0),Tt(o,"placeholderStart",void 0),Tt(o,"placeholderEnd",void 0),Tt(o,"dateFormat",void 0),Tt(o,"commonTimeSetting",void 0),Tt(o,"dateType",void 0),Tt(o,"setValueType",void 0),Tt(o,"defaultValue",void 0),Tt(o,"limitDateList",void 0),o.dataBind=new jM(n==null?void 0:n.dataBind),o.defaultValue=new NM(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Fe.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 a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var c;o.rangeMin=(c=n==null?void 0:n.rangeMin)!==null&&c!==void 0?c:"";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:es.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new O_(m)}))!==null&&O!==void 0?O:[],o}return t}(k);Tt(Zy,"RuntimeRules",Cz);function jz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nz(e,t,n){return t=Ge(t),qz(e,iw()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function Vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rw(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 zz(e,t,n){return t&&rw(e.prototype,t),n&&rw(e,n),e}function Yy(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ji=Reflect.get:Ji=function(r,i,u){var l=Uz(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ji(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(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&&ts(e,t)}function qz(e,t){return t&&(Wz(t)==="object"||typeof t=="function")?t:jz(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ts(e,t)}function Uz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function Wz(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 es=function(e){Hz(t,e);function t(n){Vz(this,t);var o;return o=Nz(this,t,[n]),Yy(o,"props",void 0),o.props=new Zy(n==null?void 0:n.props),o}return zz(t,[{key:"toDataBindModel",value:function(o){var r=Ji(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);Yy(es,"controlFieldType",g.TIMESCOPE),Yy(es,"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 Kz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gz(e,t,n){return t=Zi(t),Zz(e,cw()?Reflect.construct(t,n||[],Zi(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 uw(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 Qz(e,t,n){return t&&uw(e.prototype,t),n&&uw(e,n),e}function lw(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 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&&ns(e,t)}function Zz(e,t){return t&&(Yz(t)==="object"||typeof t=="function")?t:Kz(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(e,t)}function Yz(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 tH=function(e){Jz(t,e);function t(n){Xz(this,t);var o;return o=Gz(this,t,[n]),lw(o,"props",void 0),o.props=new Zy(n==null?void 0:n.props),o}return Qz(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(M);lw(tH,"controlFieldType",g.TIMESCOPE);function eH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function os(e,t,n){return t=Yi(t),nH(e,aw()?Reflect.construct(t,n||[],Yi(e).constructor):t.apply(e,n))}function rs(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 Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(e)}function is(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function nH(e,t){return t&&(oH(t)==="object"||typeof t=="function")?t:eH(e)}function us(e,t){return us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},us(e,t)}function oH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aw=function(){return!!e})()}var rH=function(e){is(t,e);function t(n){rs(this,t);var o;return o=os(this,t,[n]),Yt(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")}),Yt(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")}),Yt(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),iH=function(e){is(t,e);function t(n){rs(this,t);var o;return o=os(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),tu=function(e){is(t,e);function t(n){rs(this,t);var o;o=os(this,t,[n]),Yt(o,"maxLength",void 0),Yt(o,"minLength",void 0),Yt(o,"defaultValue",void 0),Yt(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:ou.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o.rowHeightSetting=new X0(n==null?void 0:n.rowHeightSetting),o}return t}(k);Yt(tu,"Rules",rH),Yt(tu,"RuntimeRules",iH);function uH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lH(e,t,n){return t=nu(t),_H(e,_w()?Reflect.construct(t,n||[],nu(e).constructor):t.apply(e,n))}function cH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(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 aH(e,t,n){return t&&fw(e.prototype,t),n&&fw(e,n),e}function eu(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){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(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&&ls(e,t)}function _H(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:uH(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(e,t)}function yH(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 ou=function(e){fH(t,e);function t(n){cH(this,t);var o;return o=lH(this,t,[n]),eu(o,"props",void 0),o.props=new tu(n==null?void 0:n.props),o}return aH(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);eu(ou,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),eu(ou,"controlFieldType",g.TEXT),eu(ou,"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 sH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pH(e,t,n){return t=ru(t),bH(e,pw()?Reflect.construct(t,n||[],ru(e).constructor):t.apply(e,n))}function dH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yw(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 vH(e,t,n){return t&&yw(e.prototype,t),n&&yw(e,n),e}function sw(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 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&&cs(e,t)}function bH(e,t){return t&&(mH(t)==="object"||typeof t=="function")?t:sH(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cs(e,t)}function mH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pw=function(){return!!e})()}var gH=function(e){hH(t,e);function t(n){dH(this,t);var o;return o=pH(this,t,[n]),sw(o,"props",void 0),o.props=new tu(n==null?void 0:n.props),o}return vH(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(M);sw(gH,"controlFieldType",g.TEXT);function OH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function as(e,t,n){return t=iu(t),wH(e,dw()?Reflect.construct(t,n||[],iu(e).constructor):t.apply(e,n))}function fs(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 iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(e)}function _s(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:OH(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ys(e,t)}function $H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dw=function(){return!!e})()}var PH=function(e){_s(t,e);function t(n){fs(this,t);var o;return o=as(this,t,[n]),de(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")}),de(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")}),de(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),EH=function(e){_s(t,e);function t(n){fs(this,t);var o;return o=as(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),uu=function(e){_s(t,e);function t(n){fs(this,t);var o;o=as(this,t,[n]),de(o,"maxLength",void 0),de(o,"minLength",void 0),de(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:au.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o}return t}(k);de(uu,"Rules",PH),de(uu,"RuntimeRules",EH);function SH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TH(e,t,n){return t=cu(t),AH(e,hw()?Reflect.construct(t,n||[],cu(e).constructor):t.apply(e,n))}function RH(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 BH(e,t,n){return t&&vw(e.prototype,t),n&&vw(e,n),e}function lu(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 DH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AH(e,t){return t&&(IH(t)==="object"||typeof t=="function")?t:SH(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(e,t)}function IH(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 au=function(e){DH(t,e);function t(n){RH(this,t);var o;return o=TH(this,t,[n]),lu(o,"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return BH(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);lu(au,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),lu(au,"controlFieldType",g.TEXT),lu(au,"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 kH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FH(e,t,n){return t=fu(t),CH(e,gw()?Reflect.construct(t,n||[],fu(e).constructor):t.apply(e,n))}function MH(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 xH(e,t,n){return t&&bw(e.prototype,t),n&&bw(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 fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(e)}function LH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ps(e,t)}function CH(e,t){return t&&(jH(t)==="object"||typeof t=="function")?t:kH(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(e,t)}function jH(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 NH=function(e){LH(t,e);function t(n){MH(this,t);var o;return o=FH(this,t,[n]),mw(o,"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return xH(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(M);mw(NH,"controlFieldType",g.TEXT);function VH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ow(e,t,n){return t=_u(t),zH(e,Pw()?Reflect.construct(t,n||[],_u(e).constructor):t.apply(e,n))}function ww(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 _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(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&&ds(e,t)}function zH(e,t){return t&&(HH(t)==="object"||typeof t=="function")?t:VH(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(e,t)}function HH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pw=function(){return!!e})()}var qH=function(e){$w(t,e);function t(n){ww(this,t);var o;return o=Ow(this,t,[n]),wt(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),vs=function(e){$w(t,e);function t(n){ww(this,t);var o;o=Ow(this,t,[n]),wt(o,"options",void 0),wt(o,"defaultShowOptions",void 0),wt(o,"optionConfig",void 0),wt(o,"defaultValue",void 0),wt(o,"datasourceBind",void 0),wt(o,"multistageFilling",void 0),wt(o,"allowCopyOptions",void 0),wt(o,"openMultistageFilling",void 0),wt(o,"viewFormModelType",void 0),wt(o,"canViewForm",void 0),wt(o,"formBind",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\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:ms.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";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 pt(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 xe(n==null?void 0:n.formBind),o}return t}(k);wt(vs,"Rules",qH);function UH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WH(e,t,n){return t=yu(t),QH(e,Sw()?Reflect.construct(t,n||[],yu(e).constructor):t.apply(e,n))}function KH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(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 GH(e,t,n){return t&&Ew(e.prototype,t),n&&Ew(e,n),e}function hs(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 XH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(JH(t)==="object"||typeof t=="function")?t:UH(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(e,t)}function JH(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 ms=function(e){XH(t,e);function t(n){KH(this,t);var o;return o=WH(this,t,[n]),hs(o,"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return GH(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);hs(ms,"controlFieldType",g.VARCHAR),hs(ms,"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 ZH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YH(e,t,n){return t=su(t),oq(e,Bw()?Reflect.construct(t,n||[],su(e).constructor):t.apply(e,n))}function tq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tw(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&&Tw(e.prototype,t),n&&Tw(e,n),e}function Rw(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 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&&gs(e,t)}function oq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:ZH(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(e,t)}function rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bw=function(){return!!e})()}var iq=function(e){nq(t,e);function t(n){tq(this,t);var o;return o=YH(this,t,[n]),Rw(o,"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return eq(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(M);Rw(iq,"controlFieldType",g.VARCHAR);function uq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Os(e,t,n){return t=pu(t),lq(e,Dw()?Reflect.construct(t,n||[],pu(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 $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 pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pu(e)}function $s(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function lq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:uq(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(e,t)}function cq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dw=function(){return!!e})()}var aq=function(e){$s(t,e);function t(n){ws(this,t);var o;return o=Os(this,t,[n]),$t(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),fq=function(e){$s(t,e);function t(n){ws(this,t);var o;return o=Os(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),du=function(e){$s(t,e);function t(n){ws(this,t);var o;o=Os(this,t,[n]),$t(o,"options",void 0),$t(o,"defaultShowOptions",void 0),$t(o,"optionConfig",void 0),$t(o,"defaultValue",void 0),$t(o,"datasourceBind",void 0),$t(o,"multistageFilling",void 0),$t(o,"openMultistageFilling",void 0),$t(o,"viewFormModelType",void 0),$t(o,"canViewForm",void 0),$t(o,"formBind",void 0);var r;o.options=Xt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\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:Ts.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];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 pt(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 xe(n==null?void 0:n.formBind),o}return t}(k);$t(du,"Rules",aq),$t(du,"RuntimeRules",fq);function _q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yq(e,t,n){return t=vu(t),vq(e,Iw()?Reflect.construct(t,n||[],vu(e).constructor):t.apply(e,n))}function sq(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 pq(e,t,n){return t&&Aw(e.prototype,t),n&&Aw(e,n),e}function Es(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 dq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vq(e,t){return t&&(hq(t)==="object"||typeof t=="function")?t:_q(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ss(e,t)}function hq(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 Ts=function(e){dq(t,e);function t(n){sq(this,t);var o;return o=yq(this,t,[n]),Es(o,"props",void 0),o.props=new du(n==null?void 0:n.props),o}return pq(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);Es(Ts,"controlFieldType",g.ARRAY),Es(Ts,"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 bq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mq(e,t,n){return t=hu(t),$q(e,Mw()?Reflect.construct(t,n||[],hu(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 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 Oq(e,t,n){return t&&kw(e.prototype,t),n&&kw(e,n),e}function Fw(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 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&&Rs(e,t)}function $q(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:bq(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rs(e,t)}function Pq(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 Eq=function(e){wq(t,e);function t(n){gq(this,t);var o;return o=mq(this,t,[n]),Fw(o,"props",void 0),o.props=new du(n==null?void 0:n.props),o}return Oq(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(M);Fw(Eq,"controlFieldType",g.ARRAY);function Sq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xw(e,t,n){return t=bu(t),Tq(e,jw()?Reflect.construct(t,n||[],bu(e).constructor):t.apply(e,n))}function Lw(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 bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(e)}function Cw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tq(e,t){return t&&(Rq(t)==="object"||typeof t=="function")?t:Sq(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(e,t)}function Rq(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 Bq=function(e){Cw(t,e);function t(n){Lw(this,t);var o;return o=xw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Ds=function(e){Cw(t,e);function t(n){Lw(this,t);var o;o=xw(this,t,[n]),te(o,"showType",void 0),te(o,"range",void 0),te(o,"rangeOptions",void 0),te(o,"multiple",void 0),te(o,"defaultValueType",void 0),te(o,"defaultValue",void 0),te(o,"multistageFilling",void 0),te(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 a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:ks.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 pt(b))})),o}return t}(k);te(Ds,"RuntimeRules",Bq);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=mu(t),Mq(e,Vw()?Reflect.construct(t,n||[],mu(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 Nw(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&&Nw(e.prototype,t),n&&Nw(e,n),e}function As(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 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&&Is(e,t)}function Mq(e,t){return t&&(xq(t)==="object"||typeof t=="function")?t:Dq(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(e,t)}function xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vw=function(){return!!e})()}var ks=function(e){Fq(t,e);function t(n){Iq(this,t);var o;return o=Aq(this,t,[n]),As(o,"props",void 0),o.props=new Ds(n==null?void 0:n.props),o}return kq(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);As(ks,"controlFieldType",g.EMPLOYEES),As(ks,"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 Lq(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=gu(t),zq(e,qw()?Reflect.construct(t,n||[],gu(e).constructor):t.apply(e,n))}function jq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zw(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 Nq(e,t,n){return t&&zw(e.prototype,t),n&&zw(e,n),e}function Hw(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 Vq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:Lq(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fs(e,t)}function Hq(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 qq=function(e){Vq(t,e);function t(n){jq(this,t);var o;return o=Cq(this,t,[n]),Hw(o,"props",void 0),o.props=new Ds(n==null?void 0:n.props),o}return Nq(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(M);Hw(qq,"controlFieldType",g.EMPLOYEES);function Uq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ms(e,t,n){return t=Ou(t),Wq(e,Uw()?Reflect.construct(t,n||[],Ou(e).constructor):t.apply(e,n))}function xs(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 Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function Ls(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function Wq(e,t){return t&&(Kq(t)==="object"||typeof t=="function")?t:Uq(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(e,t)}function Kq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Uw=function(){return!!e})()}var Gq=10485760,Xq=104857600,Qq=1048576e3,Jq=function(e){Ls(t,e);function t(n){xs(this,t);var o;return o=Ms(this,t,[n]),Pt(o,"maxSize",{type:"number",min:0,max:Qq,message:f("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}),o}return t}(J),Zq=function(e){Ls(t,e);function t(n){xs(this,t);var o;return o=Ms(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),wu=function(e){Ls(t,e);function t(n){xs(this,t);var o;o=Ms(this,t,[n]),Pt(o,"defaultValue",void 0),Pt(o,"showType",void 0),Pt(o,"resultShowType",void 0),Pt(o,"attachmentAccept",void 0),Pt(o,"maxLimit",void 0),Pt(o,"minLimit",void 0),Pt(o,"isShowWatermark",void 0),Pt(o,"watermarkFx",void 0),Pt(o,"maxSize",void 0),Pt(o,"operation",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 a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var c;o.minLimit=(c=n==null?void 0:n.minLimit)!==null&&c!==void 0?c:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:Xq;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;o.watermarkFx=(O=n==null?void 0:n.watermarkFx)!==null&&O!==void 0?O:{};var m;return o.operation=(m=n==null?void 0:n.operation)!==null&&m!==void 0?m:["info","preview","download"],o}return t}(k);Pt(wu,"Rules",Jq),Pt(wu,"RuntimeRules",Zq);function Yq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tU(e,t,n){return t=Pu(t),rU(e,Kw()?Reflect.construct(t,n||[],Pu(e).constructor):t.apply(e,n))}function eU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(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&&Ww(e.prototype,t),n&&Ww(e,n),e}function $u(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 oU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rU(e,t){return t&&(iU(t)==="object"||typeof t=="function")?t:Yq(e)}function js(e,t){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(e,t)}function iU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kw=function(){return!!e})()}var ho=function(e){oU(t,e);function t(n){eU(this,t);var o;return o=tU(this,t,[n]),$u(o,"props",void 0),o.props=new wu(n==null?void 0:n.props),o}return nU(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);$u(ho,"controlEventKeys",["on_change"]),$u(ho,"controlFieldType",g.FILE),$u(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-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);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=Eu(t),_U(e,Qw()?Reflect.construct(t,n||[],Eu(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 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 aU(e,t,n){return t&&Gw(e.prototype,t),n&&Gw(e,n),e}function Xw(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){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(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&&Ns(e,t)}function _U(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:uU(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(e,t)}function yU(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){fU(t,e);function t(n){cU(this,t);var o;return o=lU(this,t,[n]),Xw(o,"props",void 0),o.props=new wu(n==null?void 0:n.props),o}return aU(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(M);Xw(sU,"controlFieldType",g.FILE);function pU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dU(e,t,n){return t=Su(t),mU(e,Yw()?Reflect.construct(t,n||[],Su(e).constructor):t.apply(e,n))}function vU(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 hU(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 Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(e)}function bU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mU(e,t){return t&&(gU(t)==="object"||typeof t=="function")?t:pU(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vs(e,t)}function gU(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 t$=function(e){bU(t,e);function t(n){vU(this,t);var o,r,i;o=dU(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 hU(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);Zw(t$,"controlFieldType",g.IMAGE),Zw(t$,"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 OU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zs(e,t,n){return t=Tu(t),EU(e,e$()?Reflect.construct(t,n||[],Tu(e).constructor):t.apply(e,n))}function Hs(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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function qs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function wU(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 $U(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 PU(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$U(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function EU(e,t){return t&&(SU(t)==="object"||typeof t=="function")?t:OU(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function SU(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 TU=function(e){qs(t,e);function t(n){Hs(this,t);var o;o=zs(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),RU=function(e){qs(t,e);function t(n){Hs(this,t);var o;o=zs(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:[PU(wU({},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},f(r===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}}),o}return t}(j),Ru=function(e){qs(t,e);function t(n){Hs(this,t);var o;o=zs(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 a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new LM(n==null?void 0:n.dataBind);var c;o.datasourceBind=new X((c=n==null?void 0:n.datasourceBind)!==null&&c!==void 0?c:{displayBoList:[new Pf({value:"name"})]});var _;o.defaultValue=new CM((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:qM.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=Xt(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Au.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(Ru,"Rules",TU),rt(Ru,"RuntimeRules",RU);function BU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t,n){return t=Xe(t),FU(e,o$()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function AU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(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 IU(e,t,n){return t&&n$(e.prototype,t),n&&n$(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 Du(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Du=Reflect.get:Du=function(r,i,u){var l=MU(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Du(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function kU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function FU(e,t){return t&&(xU(t)==="object"||typeof t=="function")?t:BU(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(e,t)}function MU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function xU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(o$=function(){return!!e})()}var Au=function(e){kU(t,e);function t(n){AU(this,t);var o;return o=DU(this,t,[n]),Bu(o,"props",void 0),o.props=new Ru(n==null?void 0:n.props),o}return IU(t,[{key:"toDataBindModel",value:function(o){var r=Du(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);Bu(Au,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Bu(Au,"controlFieldType",g.MONEY),Bu(Au,"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 LU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CU(e,t,n){return t=Iu(t),zU(e,u$()?Reflect.construct(t,n||[],Iu(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 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 NU(e,t,n){return t&&r$(e.prototype,t),n&&r$(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 Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(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&&Ks(e,t)}function zU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:LU(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(e,t)}function HU(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 qU=function(e){VU(t,e);function t(n){jU(this,t);var o;return o=CU(this,t,[n]),i$(o,"props",void 0),o.props=new Ru(n==null?void 0:n.props),o}return NU(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(M);i$(qU,"controlFieldType",g.MONEY);function UU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gs(e,t,n){return t=ku(t),WU(e,l$()?Reflect.construct(t,n||[],ku(e).constructor):t.apply(e,n))}function Xs(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 ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(e)}function Qs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:UU(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(e,t)}function KU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l$=function(){return!!e})()}var GU=function(e){Qs(t,e);function t(n){Xs(this,t);var o;return o=Gs(this,t,[n]),ee(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")}]),ee(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),XU=function(e){Qs(t,e);function t(n){Xs(this,t);var o;o=Gs(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),Fu=function(e){Qs(t,e);function t(n){Xs(this,t);var o,r;o=Gs(this,t,[n]),ee(o,"totalScore",void 0),ee(o,"scoreType",void 0),ee(o,"isShowExplain",void 0),ee(o,"explain",void 0),ee(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:MC.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||(r=n.explain)===null||r===void 0?void 0:r.map(function(p){return new w_(p)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new w_});var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Lu.controlName,o}return t}(k);ee(Fu,"Rules",GU),ee(Fu,"RuntimeRules",XU);function Zs(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 QU(e){if(Array.isArray(e))return Zs(e)}function JU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t,n){return t=Qe(t),rW(e,a$()?Reflect.construct(t,n||[],Qe(e).constructor):t.apply(e,n))}function YU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c$(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 tW(e,t,n){return t&&c$(e.prototype,t),n&&c$(e,n),e}function Mu(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?xu=Reflect.get:xu=function(r,i,u){var l=iW(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},xu(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(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&&Ys(e,t)}function nW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oW(){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 rW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:JU(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ys(e,t)}function iW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function uW(e){return QU(e)||nW(e)||cW(e)||oW()}function lW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cW(e,t){if(!!e){if(typeof e=="string")return Zs(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 Zs(e,t)}}function a$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a$=function(){return!!e})()}var Lu=function(e){eW(t,e);function t(n){YU(this,t);var o;return o=ZU(this,t,[n]),Mu(o,"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return tW(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 w_});(i=this.props.explain).push.apply(i,uW(l))}}xu(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);Mu(Lu,"controlEventKeys",["on_change","on_click"]),Mu(Lu,"controlFieldType",g.DECIMAL),Mu(Lu,"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 aW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fW(e,t,n){return t=Cu(t),pW(e,y$()?Reflect.construct(t,n||[],Cu(e).constructor):t.apply(e,n))}function _W(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 yW(e,t,n){return t&&f$(e.prototype,t),n&&f$(e,n),e}function _$(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 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&&tp(e,t)}function pW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:aW(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(e,t)}function dW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y$=function(){return!!e})()}var vW=function(e){sW(t,e);function t(n){_W(this,t);var o;return o=fW(this,t,[n]),_$(o,"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return yW(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(M);_$(vW,"controlFieldType",g.DECIMAL);function hW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s$(e,t,n){return t=Nu(t),bW(e,v$()?Reflect.construct(t,n||[],Nu(e).constructor):t.apply(e,n))}function p$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ju(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){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(e)}function d$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bW(e,t){return t&&(mW(t)==="object"||typeof t=="function")?t:hW(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(e,t)}function mW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v$=function(){return!!e})()}var gW=function(e){d$(t,e);function t(n){p$(this,t);var o;if(o=s$(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),np=function(e){d$(t,e);function t(n){p$(this,t);var o;o=s$(this,t,[n]),ju(o,"defaultValueType",void 0),ju(o,"defaultValue",void 0),ju(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:ip.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 VM((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:f("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740"),o}return t}(k);ju(np,"RuntimeRules",gW);function OW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wW(e,t,n){return t=Vu(t),SW(e,b$()?Reflect.construct(t,n||[],Vu(e).constructor):t.apply(e,n))}function $W(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 PW(e,t,n){return t&&h$(e.prototype,t),n&&h$(e,n),e}function op(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 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&&rp(e,t)}function SW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:OW(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(e,t)}function TW(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 ip=function(e){EW(t,e);function t(n){$W(this,t);var o;return o=wW(this,t,[n]),op(o,"props",void 0),o.props=new np(n==null?void 0:n.props),o}return PW(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);op(ip,"controlFieldType",g.ADDRESS),op(ip,"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 RW(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=zu(t),kW(e,O$()?Reflect.construct(t,n||[],zu(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 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 AW(e,t,n){return t&&m$(e.prototype,t),n&&m$(e,n),e}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 zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(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&&up(e,t)}function kW(e,t){return t&&(FW(t)==="object"||typeof t=="function")?t:RW(e)}function up(e,t){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(e,t)}function FW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(O$=function(){return!!e})()}var MW=function(e){IW(t,e);function t(n){DW(this,t);var o;return o=BW(this,t,[n]),g$(o,"props",void 0),o.props=new np(n==null?void 0:n.props),o}return AW(t,null,[{key:"controlName",get:function(){return f("CMD.e7c91751712163978")}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(M);g$(MW,"controlFieldType",g.ADDRESS);function xW(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=Hu(t),LW(e,E$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function $$(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 Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function P$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LW(e,t){return t&&(CW(t)==="object"||typeof t=="function")?t:xW(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lp(e,t)}function CW(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 jW=function(e){P$(t,e);function t(n){$$(this,t);var o;return o=w$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),cp=function(e){P$(t,e);function t(n){$$(this,t);var o;o=w$(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 a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];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:Wu.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 $;($=o.multistageFilling)===null||$===void 0||$.push(new pt(m))})),o}return t}(k);Ft(cp,"RuntimeRules",jW);function NW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VW(e,t,n){return t=Je(t),UW(e,T$()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function zW(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 HW(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Uu=Reflect.get:Uu=function(r,i,u){var l=WW(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Uu(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(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&&ap(e,t)}function UW(e,t){return t&&(KW(t)==="object"||typeof t=="function")?t:NW(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function WW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function KW(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){qW(t,e);function t(n){zW(this,t);var o;return o=VW(this,t,[n]),qu(o,"props",void 0),o.props=new cp(n==null?void 0:n.props),o}return HW(t,[{key:"toDataBindModel",value:function(o){var r=Uu(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);qu(Wu,"controlName",f("CMD.department",null,"\u90E8\u95E8")),qu(Wu,"controlFieldType",g.DEPARTMENTS),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:"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 GW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e,t,n){return t=Ku(t),YW(e,D$()?Reflect.construct(t,n||[],Ku(e).constructor):t.apply(e,n))}function QW(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 JW(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 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&&fp(e,t)}function YW(e,t){return t&&(tK(t)==="object"||typeof t=="function")?t:GW(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(e,t)}function tK(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 eK=function(e){ZW(t,e);function t(n){QW(this,t);var o;return o=XW(this,t,[n]),B$(o,"props",void 0),o.props=new cp(n==null?void 0:n.props),o}return JW(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(M);B$(eK,"controlFieldType",g.DEPARTMENTS);function nK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oK(e,t,n){return t=Gu(t),lK(e,A$()?Reflect.construct(t,n||[],Gu(e).constructor):t.apply(e,n))}function rK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iK(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 uK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lK(e,t){return t&&(cK(t)==="object"||typeof t=="function")?t:nK(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_p(e,t)}function cK(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 I$=function(e){uK(t,e);function t(n){rK(this,t);var o;o=oK(this,t,[n]),iK(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:Ju.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 aK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fK(e,t,n){return t=Qu(t),pK(e,F$()?Reflect.construct(t,n||[],Qu(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 k$(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&&k$(e.prototype,t),n&&k$(e,n),e}function Xu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(e)}function sK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pK(e,t){return t&&(dK(t)==="object"||typeof t=="function")?t:aK(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(e,t)}function dK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(F$=function(){return!!e})()}var Ju=function(e){sK(t,e);function t(n){_K(this,t);var o;return o=fK(this,t,[n]),Xu(o,"props",void 0),o.props=new I$(n==null?void 0:n.props),o}return yK(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);Xu(Ju,"controlEventKeys",["on_change"]),Xu(Ju,"controlFieldType",g.AUTO_NUMBER),Xu(Ju,"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 vK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hK(e,t,n){return t=Zu(t),OK(e,L$()?Reflect.construct(t,n||[],Zu(e).constructor):t.apply(e,n))}function bK(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 mK(e,t,n){return t&&M$(e.prototype,t),n&&M$(e,n),e}function x$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(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&&sp(e,t)}function OK(e,t){return t&&(wK(t)==="object"||typeof t=="function")?t:vK(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(e,t)}function wK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(L$=function(){return!!e})()}var $K=function(e){gK(t,e);function t(n){bK(this,t);var o;return o=hK(this,t,[n]),x$(o,"props",void 0),o.props=new I$(n==null?void 0:n.props),o}return mK(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(M);x$($K,"controlFieldType",g.AUTO_NUMBER);function PK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pp(e,t,n){return t=Yu(t),EK(e,C$()?Reflect.construct(t,n||[],Yu(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 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 Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(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&&hp(e,t)}function EK(e,t){return t&&(SK(t)==="object"||typeof t=="function")?t:PK(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hp(e,t)}function SK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(C$=function(){return!!e})()}var TK=function(e){vp(t,e);function t(n){dp(this,t);var o;return o=pp(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),RK=function(e){vp(t,e);function t(n){dp(this,t);var o;return o=pp(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),tl=function(e){vp(t,e);function t(n){dp(this,t);var o;o=pp(this,t,[n]),Mt(o,"precision",void 0),Mt(o,"micrometer",void 0),Mt(o,"showUpperCase",void 0),Mt(o,"scriptSrc",void 0),Mt(o,"scriptEcho",void 0),Mt(o,"dataBind",void 0),Mt(o,"defaultValue",void 0),Mt(o,"unitPosition",void 0),Mt(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 zM(n==null?void 0:n.dataBind),o.defaultValue=new HM(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ol.controlName;var a;o.unitPosition=(a=n==null?void 0:n.unitPosition)!==null&&a!==void 0?a:"right";var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c: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);Mt(tl,"Rules",TK),Mt(tl,"RuntimeRules",RK);function BK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DK(e,t,n){return t=Ze(t),FK(e,N$()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function AK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j$(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 IK(e,t,n){return t&&j$(e.prototype,t),n&&j$(e,n),e}function el(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?nl=Reflect.get:nl=function(r,i,u){var l=MK(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},nl(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(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&&bp(e,t)}function FK(e,t){return t&&(xK(t)==="object"||typeof t=="function")?t:BK(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bp(e,t)}function MK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function xK(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 ol=function(e){kK(t,e);function t(n){AK(this,t);var o;return o=DK(this,t,[n]),el(o,"props",void 0),o.props=new tl(n==null?void 0:n.props),o}return IK(t,[{key:"toDataBindModel",value:function(o){var r=nl(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);el(ol,"controlEventKeys",["on_change"]),el(ol,"controlFieldType",g.CALC),el(ol,"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 LK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CK(e,t,n){return t=rl(t),zK(e,H$()?Reflect.construct(t,n||[],rl(e).constructor):t.apply(e,n))}function jK(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 NK(e,t,n){return t&&V$(e.prototype,t),n&&V$(e,n),e}function z$(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 VK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function zK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:LK(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(H$=function(){return!!e})()}var qK=function(e){VK(t,e);function t(n){jK(this,t);var o;return o=CK(this,t,[n]),z$(o,"props",void 0),o.props=new tl(n==null?void 0:n.props),o}return NK(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(M);z$(qK,"controlFieldType",g.CALC);function UK(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=il(t),WK(e,K$()?Reflect.construct(t,n||[],il(e).constructor):t.apply(e,n))}function U$(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 il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(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&&gp(e,t)}function WK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:UK(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function KK(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 GK=function(e){W$(t,e);function t(n){U$(this,t);var o;return o=q$(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(a){return!a});return l?Promise.reject(f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}else return Promise.resolve()}}),o}return t}(j),Op=function(e){W$(t,e);function t(n){U$(this,t);var o;o=q$(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 a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:f("CMD.max",null,"\u6700\u5927\u503C");var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Pp.controlName,o}return t}(k);Ye(Op,"RuntimeRules",GK);function XK(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=ul(t),tG(e,X$()?Reflect.construct(t,n||[],ul(e).constructor):t.apply(e,n))}function JK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G$(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 ZK(e,t,n){return t&&G$(e.prototype,t),n&&G$(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 ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function YK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tG(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:XK(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$p(e,t)}function eG(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 Pp=function(e){YK(t,e);function t(n){JK(this,t);var o;return o=QK(this,t,[n]),wp(o,"props",void 0),o.props=new Op(n==null?void 0:n.props),o}return ZK(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);wp(Pp,"controlFieldType",g.DECIMAL_RANGE),wp(Pp,"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 nG(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=ll(t),lG(e,Z$()?Reflect.construct(t,n||[],ll(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 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 iG(e,t,n){return t&&Q$(e.prototype,t),n&&Q$(e,n),e}function J$(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 uG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:nG(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(e,t)}function cG(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 aG=function(e){uG(t,e);function t(n){rG(this,t);var o;return o=oG(this,t,[n]),J$(o,"props",void 0),o.props=new Op(n==null?void 0:n.props),o}return iG(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(M);J$(aG,"controlFieldType",g.DECIMAL_RANGE);function fG(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=cl(t),_G(e,nP()?Reflect.construct(t,n||[],cl(e).constructor):t.apply(e,n))}function tP(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 cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(e)}function eP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _G(e,t){return t&&(yG(t)==="object"||typeof t=="function")?t:fG(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(e,t)}function yG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nP=function(){return!!e})()}var sG=function(e){eP(t,e);function t(n){tP(this,t);var o;return o=Y$(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),Tp=function(e){eP(t,e);function t(n){tP(this,t);var o,r;o=Y$(this,t,[n]),xt(o,"rangeMin",void 0),xt(o,"rangeMax",void 0),xt(o,"placeholderStart",void 0),xt(o,"placeholderEnd",void 0),xt(o,"dateType",void 0),xt(o,"dateFormat",void 0),xt(o,"commonTimeSetting",void 0),xt(o,"setValueType",void 0),xt(o,"defaultValue",void 0),xt(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:Fe.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 c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"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:Dp.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function($){return new O_($)}))!==null&&m!==void 0?m:[],o}return t}(k);xt(Tp,"RuntimeRules",sG);function pG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dG(e,t,n){return t=al(t),mG(e,rP()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function vG(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 hG(e,t,n){return t&&oP(e.prototype,t),n&&oP(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 al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(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&&Bp(e,t)}function mG(e,t){return t&&(gG(t)==="object"||typeof t=="function")?t:pG(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(e,t)}function gG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rP=function(){return!!e})()}var Dp=function(e){bG(t,e);function t(n){vG(this,t);var o;return o=dG(this,t,[n]),Rp(o,"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return hG(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);Rp(Dp,"controlFieldType",g.ARRAY),Rp(Dp,"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 OG(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=fl(t),SG(e,lP()?Reflect.construct(t,n||[],fl(e).constructor):t.apply(e,n))}function $G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(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 PG(e,t,n){return t&&iP(e.prototype,t),n&&iP(e,n),e}function uP(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 EG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SG(e,t){return t&&(TG(t)==="object"||typeof t=="function")?t:OG(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ap(e,t)}function TG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lP=function(){return!!e})()}var RG=function(e){EG(t,e);function t(n){$G(this,t);var o;return o=wG(this,t,[n]),uP(o,"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return PG(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(M);uP(RG,"controlFieldType",g.ARRAY);function BG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t,n){return t=_l(t),DG(e,cP()?Reflect.construct(t,n||[],_l(e).constructor):t.apply(e,n))}function kp(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 _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(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&&Mp(e,t)}function DG(e,t){return t&&(AG(t)==="object"||typeof t=="function")?t:BG(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mp(e,t)}function AG(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 IG=function(e){Fp(t,e);function t(n){kp(this,t);var o;return o=Ip(this,t,[n]),o.dataBind={type:"any"},o}return t}(J),kG=function(e){Fp(t,e);function t(n){kp(this,t);var o;return o=Ip(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(j),yl=function(e){Fp(t,e);function t(n){kp(this,t);var o;o=Ip(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 a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return t}(k);tn(yl,"Rules",IG),tn(yl,"RuntimeRules",kG);function FG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MG(e,t,n){return t=sl(t),jG(e,fP()?Reflect.construct(t,n||[],sl(e).constructor):t.apply(e,n))}function xG(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 LG(e,t,n){return t&&aP(e.prototype,t),n&&aP(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 sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(e)}function CG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jG(e,t){return t&&(NG(t)==="object"||typeof t=="function")?t:FG(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(e,t)}function NG(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 mo=function(e){CG(t,e);function t(n){xG(this,t);var o;return o=MG(this,t,[n]),bo(o,"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return LG(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",E0.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 VG(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=pl(t),WG(e,sP()?Reflect.construct(t,n||[],pl(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 _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 qG(e,t,n){return t&&_P(e.prototype,t),n&&_P(e,n),e}function yP(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 UG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WG(e,t){return t&&(KG(t)==="object"||typeof t=="function")?t:VG(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lp(e,t)}function KG(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 GG=function(e){UG(t,e);function t(n){HG(this,t);var o;return o=zG(this,t,[n]),yP(o,"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return qG(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(M);yP(GG,"controlFieldType",g.ANY);function XG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pP(e,t,n){return t=dl(t),QG(e,hP()?Reflect.construct(t,n||[],dl(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 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 dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(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&&Cp(e,t)}function QG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:XG(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(e,t)}function JG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hP=function(){return!!e})()}var ZG=function(e){vP(t,e);function t(n){dP(this,t);var o;return o=pP(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),jp=function(e){vP(t,e);function t(n){dP(this,t);var o;o=pP(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=Xt((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 wf(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:bl.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 a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var c;o.openMultistageFilling=(c=n==null?void 0:n.openMultistageFilling)!==null&&c!==void 0?c:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Sf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var $;($=o.multistageFilling)===null||$===void 0||$.push(new pt(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 xe(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(jp,"Rules",ZG);function YG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tX(e,t,n){return t=en(t),rX(e,mP()?Reflect.construct(t,n||[],en(e).constructor):t.apply(e,n))}function eX(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 nX(e,t,n){return t&&bP(e.prototype,t),n&&bP(e,n),e}function vl(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?hl=Reflect.get:hl=function(r,i,u){var l=iX(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},hl(e,t,n||e)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(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&&Np(e,t)}function rX(e,t){return t&&(uX(t)==="object"||typeof t=="function")?t:YG(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(e,t)}function iX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=en(e),e!==null););return e}function uX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mP=function(){return!!e})()}var bl=function(e){oX(t,e);function t(n){eX(this,t);var o;return o=tX(this,t,[n]),vl(o,"props",void 0),o.props=new jp(n==null?void 0:n.props),o}return nX(t,[{key:"toDataBindModel",value:function(o){var r=hl(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);vl(bl,"controlFieldType",g.VARCHAR),vl(bl,"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}]),vl(bl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function lX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cX(e,t,n){return t=ml(t),yX(e,wP()?Reflect.construct(t,n||[],ml(e).constructor):t.apply(e,n))}function aX(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 fX(e,t,n){return t&&gP(e.prototype,t),n&&gP(e,n),e}function OP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(e)}function _X(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:lX(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(e,t)}function sX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wP=function(){return!!e})()}var pX=function(e){_X(t,e);function t(n){aX(this,t);var o;return o=cX(this,t,[n]),OP(o,"props",void 0),o.props=new jp(n==null?void 0:n.props),o}return fX(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(M);OP(pX,"controlFieldType",g.VARCHAR);function dX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vX(e,t,n){return t=gl(t),mX(e,$P()?Reflect.construct(t,n||[],gl(e).constructor):t.apply(e,n))}function hX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(e)}function bX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function mX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:dX(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(e,t)}function gX(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 PP=function(e){bX(t,e);function t(n){return hX(this,t),vX(this,t,[n])}return t}(po);function OX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wX(e,t,n){return t=Ol(t),SX(e,TP()?Reflect.construct(t,n||[],Ol(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 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 PX(e,t,n){return t&&EP(e.prototype,t),n&&EP(e,n),e}function SP(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&&Hp(e,t)}function SX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:OX(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(e,t)}function TX(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 RX=function(e){EX(t,e);function t(n){$X(this,t);var o;return o=wX(this,t,[n]),SP(o,"props",void 0),o.props=new PP(n==null?void 0:n.props),o}return PX(t,null,[{key:"controlName",get:function(){return f("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlType",get:function(){return"search-input"}}]),t}(vo);SP(RX,"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 BX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DX(e,t,n){return t=wl(t),FX(e,DP()?Reflect.construct(t,n||[],wl(e).constructor):t.apply(e,n))}function AX(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 IX(e,t,n){return t&&RP(e.prototype,t),n&&RP(e,n),e}function BP(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 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&&qp(e,t)}function FX(e,t){return t&&(MX(t)==="object"||typeof t=="function")?t:BX(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(e,t)}function MX(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 xX=function(e){kX(t,e);function t(n){AX(this,t);var o;return o=DX(this,t,[n]),BP(o,"props",void 0),o.props=new PP(n==null?void 0:n.props),o}return IX(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(M);BP(xX,"controlFieldType",g.VARCHAR);function LX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Up(e,t,n){return t=$l(t),CX(e,AP()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function Wp(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 $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function Kp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:LX(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gp(e,t)}function jX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AP=function(){return!!e})()}var NX=function(e){Kp(t,e);function t(n){Wp(this,t);var o;return o=Up(this,t,[n]),q(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Wo.call(o,n,Pe.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),VX=function(e){Kp(t,e);function t(n){Wp(this,t);var o;return o=Up(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Pl=function(e){Kp(t,e);function t(n){Wp(this,t);var o,r;o=Up(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:Pe.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 a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var c;o.levelType=(c=n==null?void 0:n.levelType)!==null&&c!==void 0?c:"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 $;o.defaultCollapseLevel=($=n==null?void 0:n.defaultCollapseLevel)!==null&&$!==void 0?$:1;var h;o.datasourceBind=new Y0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Pe.controlCustomAttributes});var w;o.filterItemDatasourceBind=new Y0((w=n==null?void 0:n.filterItemDatasourceBind)!==null&&w!==void 0?w:{attributes:Pe.controlCustomAttributes});var B;o.openMultistageFilling=(B=n==null?void 0:n.openMultistageFilling)!==null&&B!==void 0?B:!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 pt(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(Pl,"Rules",NX),q(Pl,"RuntimeRules",VX);function zX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t,n){return t=Sl(t),KX(e,kP()?Reflect.construct(t,n||[],Sl(e).constructor):t.apply(e,n))}function qX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IP(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 UX(e,t,n){return t&&IP(e.prototype,t),n&&IP(e,n),e}function El(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 WX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KX(e,t){return t&&(GX(t)==="object"||typeof t=="function")?t:zX(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(e,t)}function GX(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 Pe=function(e){WX(t,e);function t(n){qX(this,t);var o;return o=HX(this,t,[n]),El(o,"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return UX(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:f("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:f("CMD.33ee1751712159752"),required:!0}]}}]),t}(F);El(Pe,"controlEventKeys",["on_change","on_click"]),El(Pe,"controlFieldType",g.ARRAY),El(Pe,"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 XX(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=Tl(t),tQ(e,xP()?Reflect.construct(t,n||[],Tl(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 FP(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 ZX(e,t,n){return t&&FP(e.prototype,t),n&&FP(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 Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(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&&Qp(e,t)}function tQ(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:XX(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(e,t)}function eQ(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 nQ=function(e){YX(t,e);function t(n){JX(this,t);var o;return o=QX(this,t,[n]),MP(o,"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return ZX(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(M);MP(nQ,"controlFieldType",g.ARRAY);function oQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jp(e,t,n){return t=Rl(t),rQ(e,LP()?Reflect.construct(t,n||[],Rl(e).constructor):t.apply(e,n))}function Zp(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 Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},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&&td(e,t)}function rQ(e,t){return t&&(iQ(t)==="object"||typeof t=="function")?t:oQ(e)}function td(e,t){return td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},td(e,t)}function iQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LP=function(){return!!e})()}var uQ=function(e){Yp(t,e);function t(n){Zp(this,t);var o;return o=Jp(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"}),Wo.call(o,n,go.controlCustomAttributes),n.externalType===qe.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),lQ=function(e){Yp(t,e);function t(n){Zp(this,t);var o;return o=Jp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Bl=function(e){Yp(t,e);function t(n){Zp(this,t);var o;o=Jp(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 a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];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 zo((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:qC.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:UC.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:qe.ALL;var $;o.externalScope=($=n==null?void 0:n.externalScope)!==null&&$!==void 0?$:[];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(w){var B;(B=o.multistageFilling)===null||B===void 0||B.push(new pt(w))})),o}return t}(k);ut(Bl,"Rules",uQ),ut(Bl,"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=Dl(t),sQ(e,jP()?Reflect.construct(t,n||[],Dl(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 CP(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&&CP(e.prototype,t),n&&CP(e,n),e}function ed(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(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&&nd(e,t)}function sQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:cQ(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(e,t)}function pQ(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 go=function(e){yQ(t,e);function t(n){fQ(this,t);var o;return o=aQ(this,t,[n]),ed(o,"props",void 0),o.props=new Bl(n==null?void 0:n.props),o}return _Q(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:f("CMD.ffd71751712162321"),required:!0}]}}]),t}(F);ed(go,"controlFieldType",g.EMPLOYEES),ed(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 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=Al(t),gQ(e,zP()?Reflect.construct(t,n||[],Al(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 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 bQ(e,t,n){return t&&NP(e.prototype,t),n&&NP(e,n),e}function VP(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 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&&od(e,t)}function gQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:dQ(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function OQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zP=function(){return!!e})()}var wQ=function(e){mQ(t,e);function t(n){hQ(this,t);var o;return o=vQ(this,t,[n]),VP(o,"props",void 0),o.props=new Bl(n==null?void 0:n.props),o}return bQ(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(M);VP(wQ,"controlFieldType",g.EMPLOYEES);function $Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HP(e,t,n){return t=Il(t),PQ(e,WP()?Reflect.construct(t,n||[],Il(e).constructor):t.apply(e,n))}function qP(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 Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(e)}function UP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:$Q(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(e,t)}function EQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WP=function(){return!!e})()}var SQ=function(e){UP(t,e);function t(n){qP(this,t);var o;return o=HP(this,t,[n]),Ht(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(a,c,_){if(i.type==="public"&&pf(c.value)&&c.value.length===0){_(f("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}_()}},company:{type:"object",required:!0,validator:function(a,c,_){if(i.type==="public"&&i.signatureType.includes("company")&&pf(c.value)&&c.value.length===0){_(f("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}_()}}}},r},{})}}},o}return t}(J),id=function(e){UP(t,e);function t(n){qP(this,t);var o;o=HP(this,t,[n]),Ht(o,"buttonType",void 0),Ht(o,"content",void 0),Ht(o,"showType",void 0),Ht(o,"color",void 0),Ht(o,"icon",void 0),Ht(o,"command",""),Ht(o,"isLoading",!1),Ht(o,"signatureConfig",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.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 a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"iconfenlei2",o.signatureConfig=new LC(n==null?void 0:n.signatureConfig),o}return t}(k);Ht(id,"Rules",SQ);function TQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RQ(e,t,n){return t=Fl(t),IQ(e,GP()?Reflect.construct(t,n||[],Fl(e).constructor):t.apply(e,n))}function BQ(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 DQ(e,t,n){return t&&KP(e.prototype,t),n&&KP(e,n),e}function kl(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 AQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:TQ(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ud(e,t)}function kQ(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 Ml=function(e){AQ(t,e);function t(n){BQ(this,t);var o;return o=RQ(this,t,[n]),kl(o,"props",void 0),o.props=new id(n==null?void 0:n.props),o}return DQ(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);kl(Ml,"controlEventKeys",["on_click","on_click_finish"]),kl(Ml,"controlFieldType",g.VARCHAR),kl(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.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 FQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MQ(e,t,n){return t=xl(t),jQ(e,JP()?Reflect.construct(t,n||[],xl(e).constructor):t.apply(e,n))}function xQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XP(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 LQ(e,t,n){return t&&XP(e.prototype,t),n&&XP(e,n),e}function QP(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 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&&ld(e,t)}function jQ(e,t){return t&&(NQ(t)==="object"||typeof t=="function")?t:FQ(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(e,t)}function NQ(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 VQ=function(e){CQ(t,e);function t(n){xQ(this,t);var o;return o=MQ(this,t,[n]),QP(o,"props",void 0),o.props=new id(n==null?void 0:n.props),o}return LQ(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(M);QP(VQ,"controlFieldType",g.VARCHAR);function zQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cd(e,t,n){return t=Ll(t),HQ(e,ZP()?Reflect.construct(t,n||[],Ll(e).constructor):t.apply(e,n))}function ad(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 Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(e)}function fd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HQ(e,t){return t&&(qQ(t)==="object"||typeof t=="function")?t:zQ(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_d(e,t)}function qQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZP=function(){return!!e})()}var UQ=function(e){fd(t,e);function t(n){ad(this,t);var o;return o=cd(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),WQ=function(e){fd(t,e);function t(n){ad(this,t);var o;return o=cd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Cl=function(e){fd(t,e);function t(n){ad(this,t);var o;o=cd(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:Vl.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 a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var c;o.canEdit=(c=n==null?void 0:n.canEdit)!==null&&c!==void 0?c:!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:Gq;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new CC(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(Cl,"Rules",UQ),lt(Cl,"RuntimeRules",WQ);function KQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GQ(e,t,n){return t=Nl(t),ZQ(e,tE()?Reflect.construct(t,n||[],Nl(e).constructor):t.apply(e,n))}function XQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(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 QQ(e,t,n){return t&&YP(e.prototype,t),n&&YP(e,n),e}function jl(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 JQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:KQ(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yd(e,t)}function YQ(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 Vl=function(e){JQ(t,e);function t(n){XQ(this,t);var o;return o=GQ(this,t,[n]),jl(o,"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return QQ(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);jl(Vl,"controlEventKeys",["on_change","on_wps_open"]),jl(Vl,"controlFieldType",g.FILE),jl(Vl,"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 tJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eJ(e,t,n){return t=zl(t),iJ(e,oE()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function nJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eE(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 oJ(e,t,n){return t&&eE(e.prototype,t),n&&eE(e,n),e}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 zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(e)}function rJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:tJ(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(e,t)}function uJ(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 lJ=function(e){rJ(t,e);function t(n){nJ(this,t);var o;return o=eJ(this,t,[n]),nE(o,"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return oJ(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(M);nE(lJ,"controlFieldType",g.FILE);function cJ(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=Hl(t),aJ(e,rE()?Reflect.construct(t,n||[],Hl(e).constructor):t.apply(e,n))}function dd(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 Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(e)}function vd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aJ(e,t){return t&&(fJ(t)==="object"||typeof t=="function")?t:cJ(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hd(e,t)}function fJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rE=function(){return!!e})()}var _J=function(e){vd(t,e);function t(n){dd(this,t);var o;return o=pd(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"}),Wo.call(o,n,on.controlCustomAttributes),n.businessType===qe.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),yJ=function(e){vd(t,e);function t(n){dd(this,t);var o;return o=pd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),ql=function(e){vd(t,e);function t(n){dd(this,t);var o;o=pd(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 a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];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 zo((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:lm.INTERNAL;var $;o.businessScope=($=n==null?void 0:n.businessScope)!==null&&$!==void 0?$:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:qe.ALL;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(B){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new pt(B))})),o}return t}(k);Q(ql,"Rules",_J),Q(ql,"RuntimeRules",yJ);function sJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pJ(e,t,n){return t=nn(t),bJ(e,uE()?Reflect.construct(t,n||[],nn(e).constructor):t.apply(e,n))}function dJ(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 vJ(e,t,n){return t&&iE(e.prototype,t),n&&iE(e,n),e}function Ul(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Wl=Reflect.get:Wl=function(r,i,u){var l=mJ(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Wl(e,t,n||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(e)}function hJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bJ(e,t){return t&&(gJ(t)==="object"||typeof t=="function")?t:sJ(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bd(e,t)}function mJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function gJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uE=function(){return!!e})()}var on=function(e){hJ(t,e);function t(n){dJ(this,t);var o;return o=pJ(this,t,[n]),Ul(o,"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return vJ(t,[{key:"toDataBindModel",value:function(o){var r=Wl(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:f("CMD.72d21751712162321"),required:!0}]}}]),t}(F);Ul(on,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Ul(on,"controlFieldType",g.DEPARTMENTS),Ul(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 OJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wJ(e,t,n){return t=Kl(t),SJ(e,aE()?Reflect.construct(t,n||[],Kl(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 lE(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 PJ(e,t,n){return t&&lE(e.prototype,t),n&&lE(e,n),e}function cE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(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&&md(e,t)}function SJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:OJ(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function TJ(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 RJ=function(e){EJ(t,e);function t(n){$J(this,t);var o;return o=wJ(this,t,[n]),cE(o,"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return PJ(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(M);cE(RJ,"controlFieldType",g.DEPARTMENTS);function BJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gd(e,t,n){return t=Gl(t),DJ(e,fE()?Reflect.construct(t,n||[],Gl(e).constructor):t.apply(e,n))}function Od(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 Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gl(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 DJ(e,t){return t&&(AJ(t)==="object"||typeof t=="function")?t:BJ(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(e,t)}function AJ(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 IJ=function(e){wd(t,e);function t(n){Od(this,t);var o;return o=gd(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"}),Wo.call(o,n,Oo.controlCustomAttributes),n.businessType===qe.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),kJ=function(e){wd(t,e);function t(n){Od(this,t);var o;return o=gd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Xl=function(e){wd(t,e);function t(n){Od(this,t);var o;o=gd(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 wf(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 c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];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 MM((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:lm.INTERNAL;var $;o.businessScope=($=n==null?void 0:n.businessScope)!==null&&$!==void 0?$:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:qe.ALL;var w;o.organizingFunction=(w=n==null?void 0:n.organizingFunction)!==null&&w!==void 0?w:void 0;var B;o.organizationView=(B=n==null?void 0:n.organizationView)!==null&&B!==void 0?B:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new Sf(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 pt(z))})),o}return t}(k);V(Xl,"Rules",IJ),V(Xl,"RuntimeRules",kJ);function FJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MJ(e,t,n){return t=rn(t),jJ(e,yE()?Reflect.construct(t,n||[],rn(e).constructor):t.apply(e,n))}function xJ(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 LJ(e,t,n){return t&&_E(e.prototype,t),n&&_E(e,n),e}function Pd(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ql=Reflect.get:Ql=function(r,i,u){var l=NJ(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ql(e,t,n||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(e)}function CJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:FJ(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ed(e,t)}function NJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function VJ(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 Oo=function(e){CJ(t,e);function t(n){xJ(this,t);var o;return o=MJ(this,t,[n]),Pd(o,"props",void 0),o.props=new Xl(n==null?void 0:n.props),o}return LJ(t,[{key:"toDataBindModel",value:function(o){var r=Ql(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:f("CMD.895a1751712162322"),required:!0}]}}]),t}(F);Pd(Oo,"controlFieldType",g.DEPARTMENTS),Pd(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 zJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HJ(e,t,n){return t=Jl(t),KJ(e,dE()?Reflect.construct(t,n||[],Jl(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 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 UJ(e,t,n){return t&&sE(e.prototype,t),n&&sE(e,n),e}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 Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(e)}function WJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:zJ(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(e,t)}function GJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dE=function(){return!!e})()}var XJ=function(e){WJ(t,e);function t(n){qJ(this,t);var o;return o=HJ(this,t,[n]),pE(o,"props",void 0),o.props=new Xl(n==null?void 0:n.props),o}return UJ(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(M);pE(XJ,"controlFieldType",g.DEPARTMENTS);function QJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Td(e,t,n){return t=Zl(t),JJ(e,vE()?Reflect.construct(t,n||[],Zl(e).constructor):t.apply(e,n))}function Rd(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 Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(e)}function Bd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:QJ(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(e,t)}function ZJ(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 YJ=function(e){Bd(t,e);function t(n){Rd(this,t);var o;return o=Td(this,t,[n]),o.dataBind={type:"any"},o}return t}(J),tZ=function(e){Bd(t,e);function t(n){Rd(this,t);var o;return o=Td(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(j),Yl=function(e){Bd(t,e);function t(n){Rd(this,t);var o;o=Td(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:nc.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 a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return t}(k);un(Yl,"Rules",YJ),un(Yl,"RuntimeRules",tZ);function eZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nZ(e,t,n){return t=ec(t),uZ(e,bE()?Reflect.construct(t,n||[],ec(e).constructor):t.apply(e,n))}function oZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hE(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&&hE(e.prototype,t),n&&hE(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 ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(e)}function iZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uZ(e,t){return t&&(lZ(t)==="object"||typeof t=="function")?t:eZ(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(e,t)}function lZ(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 nc=function(e){iZ(t,e);function t(n){oZ(this,t);var o;return o=nZ(this,t,[n]),tc(o,"props",void 0),o.props=new Yl(n==null?void 0:n.props),o}return rZ(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);tc(nc,"controlFieldType",g.ANY),tc(nc,"controlEventKeys",[]),tc(nc,"setting",[]);function cZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aZ(e,t,n){return t=oc(t),sZ(e,OE()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function fZ(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 _Z(e,t,n){return t&&mE(e.prototype,t),n&&mE(e,n),e}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 oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(e)}function yZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sZ(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:cZ(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Id(e,t)}function pZ(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 dZ=function(e){yZ(t,e);function t(n){fZ(this,t);var o;return o=aZ(this,t,[n]),gE(o,"props",void 0),o.props=new Yl(n==null?void 0:n.props),o}return _Z(t,null,[{key:"controlType",get:function(){return s.VUE_PAGE}}]),t}(M);gE(dZ,"controlFieldType",g.ANY);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=rc(t),wZ(e,$E()?Reflect.construct(t,n||[],rc(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 wE(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&&wE(e.prototype,t),n&&wE(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 rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(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&&kd(e,t)}function wZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:vZ(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function $Z(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 PZ=function(e){OZ(t,e);function t(n){return bZ(this,t),hZ(this,t,[n])}return mZ(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);gZ(PZ,"excludes",[s.GRID]);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=ic(t),BZ(e,EE()?Reflect.construct(t,n||[],ic(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 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 ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(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&&Fd(e,t)}function BZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:EZ(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(e,t)}function DZ(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 AZ=24,wo=function(e){RZ(t,e);function t(n){TZ(this,t);var o;o=SZ(this,t,[n]),PE(o,"span",void 0),PE(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:AZ;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(Z);function IZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kZ(e,t,n){return t=uc(t),LZ(e,TE()?Reflect.construct(t,n||[],uc(e).constructor):t.apply(e,n))}function FZ(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 MZ(e,t,n){return t&&SE(e.prototype,t),n&&SE(e,n),e}function Md(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 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&&xd(e,t)}function LZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:IZ(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 TE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TE=function(){return!!e})()}var $o=function(e){xZ(t,e);function t(n){FZ(this,t);var o;return o=kZ(this,t,[n]),Md(o,"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return MZ(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);Md($o,"excludes",[s.COL,s.SUBTABLE,s.SUBTABLE_COLUMN,s.GRID_LAYOUT_CONTAINER,s.DIVIDER]),Md($o,"childrenMaxLength",1);function jZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NZ(e,t,n){return t=lc(t),UZ(e,BE()?Reflect.construct(t,n||[],lc(e).constructor):t.apply(e,n))}function VZ(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 zZ(e,t,n){return t&&RE(e.prototype,t),n&&RE(e,n),e}function HZ(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 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&&Ld(e,t)}function UZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:jZ(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(e,t)}function WZ(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 KZ=function(e){qZ(t,e);function t(n){VZ(this,t);var o;return o=NZ(this,t,[n]),HZ(o,"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return zZ(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(Oe),DE={Designer:$o,Runtime:KZ,Property:wo};function GZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XZ(e,t,n){return t=cc(t),ZZ(e,IE()?Reflect.construct(t,n||[],cc(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 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 cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(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&&Cd(e,t)}function ZZ(e,t){return t&&(YZ(t)==="object"||typeof t=="function")?t:GZ(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function YZ(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 jd=function(e){JZ(t,e);function t(n){QZ(this,t);var o;o=XZ(this,t,[n]),AE(o,"layoutMode",void 0),AE(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 tY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eY(e,t,n){return t=ac(t),iY(e,FE()?Reflect.construct(t,n||[],ac(e).constructor):t.apply(e,n))}function nY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(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 oY(e,t,n){return t&&kE(e.prototype,t),n&&kE(e,n),e}function Nd(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 rY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iY(e,t){return t&&(uY(t)==="object"||typeof t=="function")?t:tY(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(e,t)}function uY(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 zd=function(e){rY(t,e);function t(n){nY(this,t);var o;return o=eY(this,t,[n]),Nd(o,"props",void 0),o.props=new jd(n==null?void 0:n.props),o}return oY(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);Nd(zd,"excludes",[s.ROW]),Nd(zd,"setting",[{key:"col-setting",visible:!0}]);function lY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e,t,n){return t=fc(t),sY(e,xE()?Reflect.construct(t,n||[],fc(e).constructor):t.apply(e,n))}function aY(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 fY(e,t,n){return t&&ME(e.prototype,t),n&&ME(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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(e)}function yY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sY(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:lY(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(e,t)}function pY(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 dY=function(e){yY(t,e);function t(n){aY(this,t);var o;return o=cY(this,t,[n]),_Y(o,"props",void 0),o.props=new jd(n==null?void 0:n.props),o}return fY(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(Oe);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=_c(t),OY(e,CE()?Reflect.construct(t,n||[],_c(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 LE(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 mY(e,t,n){return t&&LE(e.prototype,t),n&&LE(e,n),e}function qd(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 gY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OY(e,t){return t&&(wY(t)==="object"||typeof t=="function")?t:vY(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function wY(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 $Y=4,yc=function(e){gY(t,e);function t(n){return bY(this,t),hY(this,t,[n])}return mY(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}(zd);qd(yc,"excludes",[s.GRID_ROW]),qd(yc,"setting",[]),qd(yc,"childrenMaxLength",$Y);function PY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EY(e,t,n){return t=sc(t),BY(e,NE()?Reflect.construct(t,n||[],sc(e).constructor):t.apply(e,n))}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jE(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 TY(e,t,n){return t&&jE(e.prototype,t),n&&jE(e,n),e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(e)}function RY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BY(e,t){return t&&(DY(t)==="object"||typeof t=="function")?t:PY(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(e,t)}function DY(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 AY=function(e){RY(t,e);function t(n){return SY(this,t),EY(this,t,[n])}return TY(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(dY);function IY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kY(e,t,n){return t=pc(t),xY(e,VE()?Reflect.construct(t,n||[],pc(e).constructor):t.apply(e,n))}function FY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(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&&Kd(e,t)}function xY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:IY(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(e,t)}function LY(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 CY=function(e){MY(t,e);function t(n){return FY(this,t),kY(this,t,[n])}return t}(jd),jY={Designer:yc,Runtime:AY,Property:CY};function NY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zE(e,t,n){return t=dc(t),VY(e,UE()?Reflect.construct(t,n||[],dc(e).constructor):t.apply(e,n))}function HE(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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(e)}function qE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VY(e,t){return t&&(zY(t)==="object"||typeof t=="function")?t:NY(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(e,t)}function zY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UE=function(){return!!e})()}var HY=function(e){qE(t,e);function t(){HE(this,t);var n;return n=zE(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),WE=function(e){qE(t,e);function t(n){HE(this,t);var o;o=zE(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(WE,"Rules",HY);function qY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UY(e,t,n){return t=vc(t),XY(e,GE()?Reflect.construct(t,n||[],vc(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 KE(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 KY(e,t,n){return t&&KE(e.prototype,t),n&&KE(e,n),e}function Xd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function GY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XY(e,t){return t&&(QY(t)==="object"||typeof t=="function")?t:qY(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qd(e,t)}function QY(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 XE=function(e){GY(t,e);function t(n){WY(this,t);var o;return o=UY(this,t,[n]),Xd(o,"props",void 0),o.props=new WE(n==null?void 0:n.props),o}return KY(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);Xd(XE,"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}]),Xd(XE,"excludes",[s.CARD_GROUP]);function JY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QE(e,t,n){return t=hc(t),ZY(e,YE()?Reflect.construct(t,n||[],hc(e).constructor):t.apply(e,n))}function JE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(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 ZE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:JY(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function YY(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 ttt=function(e){ZE(t,e);function t(n){JE(this,t);var o;return o=QE(this,t,[n]),qt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),qt(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),qt(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}(U),bc=function(e){ZE(t,e);function t(n){JE(this,t);var o;o=QE(this,t,[n]),qt(o,"metaAutoWidth",void 0),qt(o,"caption",void 0),qt(o,"fixed",void 0),qt(o,"isShowCaptionTip",void 0),qt(o,"captionTip",void 0),qt(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 a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new Q0(n==null?void 0:n.metaAutoWidth),o}return t}(Z);qt(bc,"Rules",ttt);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=mc(t),itt(e,tS()?Reflect.construct(t,n||[],mc(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 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 mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(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&&Zd(e,t)}function itt(e,t){return t&&(utt(t)==="object"||typeof t=="function")?t:ett(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(e,t)}function utt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tS=function(){return!!e})()}var Lt=function(e){rtt(t,e);function t(n){ott(this,t);var o;return o=ntt(this,t,[n]),Ee(o,"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return t}(Y);Ee(Lt,"controlName",f("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C")),Ee(Lt,"controlType","subtable-column"),Ee(Lt,"controlIcon","subtable-column"),Ee(Lt,"childrenMaxLength",1),Ee(Lt,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Ee(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 ltt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ctt(e,t,n){return t=gc(t),_tt(e,nS()?Reflect.construct(t,n||[],gc(e).constructor):t.apply(e,n))}function att(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eS(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 ftt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _tt(e,t){return t&&(ytt(t)==="object"||typeof t=="function")?t:ltt(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function ytt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nS=function(){return!!e})()}var oS=function(e){ftt(t,e);function t(n){att(this,t);var o;return o=ctt(this,t,[n]),eS(o,"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return t}(Oe);eS(oS,"controlType","subtable-column");var stt={Designer:Lt,Runtime:oS,Property:bc};function ptt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dtt(e,t,n){return t=Oc(t),btt(e,rS()?Reflect.construct(t,n||[],Oc(e).constructor):t.apply(e,n))}function vtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(e)}function htt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 btt(e,t){return t&&(mtt(t)==="object"||typeof t=="function")?t:ptt(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function mtt(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 gtt=function(e){htt(t,e);function t(n){return vtt(this,t),dtt(this,t,[n])}return t}(Z);function Ott(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wtt(e,t,n){return t=wc(t),Ett(e,iS()?Reflect.construct(t,n||[],wc(e).constructor):t.apply(e,n))}function $tt(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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function Ptt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ett(e,t){return t&&(Stt(t)==="object"||typeof t=="function")?t:Ott(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(e,t)}function Stt(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 ln=function(e){Ptt(t,e);function t(n){$tt(this,t);var o;return o=wtt(this,t,[n]),Se(o,"props",void 0),o.props=new gtt(n==null?void 0:n.props),o}return t}(Y);Se(ln,"controlName",f("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C")),Se(ln,"controlType","subtable-row"),Se(ln,"controlIcon","subtable-row"),Se(ln,"childrenMaxLength",1),Se(ln,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.SUBTABLE_ROW,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Se(ln,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0}]);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=$c(t),Att(e,uS()?Reflect.construct(t,n||[],$c(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 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 $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function Dtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Att(e,t){return t&&(Itt(t)==="object"||typeof t=="function")?t:Ttt(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function Itt(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 lS=function(e){Dtt(t,e);function t(n){Btt(this,t);var o;o=Rtt(this,t,[n]),Rt(o,"widthType",void 0),Rt(o,"width",void 0),Rt(o,"caption",void 0),Rt(o,"fieldCode",void 0),Rt(o,"fieldType",void 0),Rt(o,"fieldName",void 0),Rt(o,"datasourceBind",void 0),Rt(o,"fixed",void 0),Rt(o,"textCleanFormart",void 0),Rt(o,"decimalKeepPrecision",void 0),Rt(o,"timestampDateType",void 0),Rt(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 a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var c;o.fieldName=(c=n==null?void 0:n.fieldName)!==null&&c!==void 0?c:"",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:Fe.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return t}(Z);function ktt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ftt(e,t,n){return t=Pc(t),Ltt(e,cS()?Reflect.construct(t,n||[],Pc(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 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 Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(e)}function xtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ltt(e,t){return t&&(Ctt(t)==="object"||typeof t=="function")?t:ktt(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(e,t)}function Ctt(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 cn=function(e){xtt(t,e);function t(n){Mtt(this,t);var o;return o=Ftt(this,t,[n]),Te(o,"props",void 0),o.props=new lS(n==null?void 0:n.props),o}return t}(Y);Te(cn,"controlName",f("CMD.8ba01751712155518")),Te(cn,"controlType","gridtable-column"),Te(cn,"controlIcon","gridtable-column"),Te(cn,"childrenMaxLength",1),Te(cn,"excludes",[s.GRID_TABLE,s.GRID_TABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Te(cn,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function jtt(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=Ec(t),Htt(e,fS()?Reflect.construct(t,n||[],Ec(e).constructor):t.apply(e,n))}function Vtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(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 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&&rv(e,t)}function Htt(e,t){return t&&(qtt(t)==="object"||typeof t=="function")?t:jtt(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(e,t)}function qtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fS=function(){return!!e})()}var Utt=function(e){ztt(t,e);function t(n){Vtt(this,t);var o;return o=Ntt(this,t,[n]),aS(o,"props",void 0),o.props=new lS(n==null?void 0:n.props),o}return t}(Oe);aS(Utt,"controlType","gridtable-column");function Wtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ktt(e,t,n){return t=Sc(t),Qtt(e,yS()?Reflect.construct(t,n||[],Sc(e).constructor):t.apply(e,n))}function Gtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(e)}function Xtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qtt(e,t){return t&&(Jtt(t)==="object"||typeof t=="function")?t:Wtt(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function Jtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yS=function(){return!!e})()}var Ztt=function(e){Xtt(t,e);function t(n){Gtt(this,t);var o;o=Ktt(this,t,[n]),_S(o,"childMinWidth",void 0),_S(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 Ytt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tet(e,t,n){return t=Tc(t),ret(e,pS()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}function eet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sS(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&&sS(e.prototype,t),n&&sS(e,n),e}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 Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function oet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ret(e,t){return t&&(iet(t)==="object"||typeof t=="function")?t:Ytt(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(e,t)}function iet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pS=function(){return!!e})()}var dS=function(e){oet(t,e);function t(n){eet(this,t);var o;return o=tet(this,t,[n]),uv(o,"props",void 0),o.props=new Ztt(n==null?void 0:n.props),o}return net(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);uv(dS,"excludes",[s.GRID_LAYOUT_CONTAINER,s.CARD_GROUP,s.TAB]),uv(dS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function uet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cet(e,t,n){return t=Rc(t),yet(e,vS()?Reflect.construct(t,n||[],Rc(e).constructor):t.apply(e,n))}function aet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fet(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 _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&&cv(e,t)}function yet(e,t){return t&&(set(t)==="object"||typeof t=="function")?t:uet(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function set(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 pet=function(e){_et(t,e);function t(n){aet(this,t);var o;o=cet(this,t,[n]),fet(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 det(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hS(e,t,n){return t=Bc(t),vet(e,gS()?Reflect.construct(t,n||[],Bc(e).constructor):t.apply(e,n))}function bS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function av(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 mS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vet(e,t){return t&&(het(t)==="object"||typeof t=="function")?t:det(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(e,t)}function het(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gS=function(){return!!e})()}var bet=function(e){mS(t,e);function t(n){bS(this,t);var o;return o=hS(this,t,[n]),av(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),o}return t}(U),OS=function(e){mS(t,e);function t(n){bS(this,t);var o;o=hS(this,t,[n]),av(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fc.controlName,o}return t}(Z);av(OS,"Rules",bet);function met(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=Dc(t),Pet(e,$S()?Reflect.construct(t,n||[],Dc(e).constructor):t.apply(e,n))}function Oet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wS(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 wet(e,t,n){return t&&wS(e.prototype,t),n&&wS(e,n),e}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 Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(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&&yv(e,t)}function Pet(e,t){return t&&(Eet(t)==="object"||typeof t=="function")?t:met(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function Eet(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 Ac=function(e){$et(t,e);function t(n){Oet(this,t);var o;return o=get(this,t,[n]),_v(o,"props",void 0),o.props=new OS(n==null?void 0:n.props),o}return wet(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);_v(Ac,"excludes",[s.TAB]),_v(Ac,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"super-setting",visible:!0}]);function Tet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ret(e,t,n){return t=kc(t),Iet(e,ES()?Reflect.construct(t,n||[],kc(e).constructor):t.apply(e,n))}function Bet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PS(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 Det(e,t,n){return t&&PS(e.prototype,t),n&&PS(e,n),e}function Ic(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 Aet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iet(e,t){return t&&(ket(t)==="object"||typeof t=="function")?t:Tet(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(e,t)}function ket(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 Fc=function(e){Aet(t,e);function t(n){Bet(this,t);var o;o=Ret(this,t,[n]),Ic(o,"props",void 0),o.props=new pet(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new Ac,new Ac],o}return Det(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);Ic(Fc,"excludes",[s.TAB]),Ic(Fc,"controlEventKeys",["on_change_tab"]),Ic(Fc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Fet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Met(e,t,n){return t=Mc(t),Cet(e,SS()?Reflect.construct(t,n||[],Mc(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 Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(e)}function Let(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cet(e,t){return t&&(jet(t)==="object"||typeof t=="function")?t:Fet(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(e,t)}function jet(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 Net=function(e){Let(t,e);function t(n){return xet(this,t),Met(this,t,[n])}return t}(Z);function Vet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zet(e,t,n){return t=xc(t),Wet(e,BS()?Reflect.construct(t,n||[],xc(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 qet(e,t,n){return t&&TS(e.prototype,t),n&&TS(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 xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(e)}function Uet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wet(e,t){return t&&(Ket(t)==="object"||typeof t=="function")?t:Vet(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(e,t)}function Ket(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 Get=function(e){Uet(t,e);function t(n){Het(this,t);var o;return o=zet(this,t,[n]),RS(o,"props",void 0),o.props=new Net({}),o.children=(n==null?void 0:n.children)||[new $o({props:new wo({span:12})}),new $o({props:new wo({span:12})})],o}return qet(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);RS(Get,"excludes",[s.GRID_ROW,s.ROW,s.GRID,s.SUBTABLE,s.TAB,s.TOOLBOX]);function Xet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vv(e,t,n){return t=Lc(t),Qet(e,DS()?Reflect.construct(t,n||[],Lc(e).constructor):t.apply(e,n))}function hv(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 Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(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&&mv(e,t)}function Qet(e,t){return t&&(Jet(t)==="object"||typeof t=="function")?t:Xet(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mv(e,t)}function Jet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DS=function(){return!!e})()}var Zet=function(e){bv(t,e);function t(n){hv(this,t);var o;return o=vv(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(ge),Yet=function(e){bv(t,e);function t(n){hv(this,t);var o;if(o=vv(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")}}}}]}}]),Vf.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}(U),Eo=function(e){bv(t,e);function t(n){hv(this,t);var o;o=vv(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 AM(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 kM(n==null?void 0:n.joinRelation);var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"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 JM(n==null?void 0:n.rowStyle),o}return t}(Z);H(Eo,"Rules",Yet),H(Eo,"RuntimeRules",Zet);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=Cc(t),int(e,IS()?Reflect.construct(t,n||[],Cc(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 AS(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&&AS(e.prototype,t),n&&AS(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 Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(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&&gv(e,t)}function int(e,t){return t&&(unt(t)==="object"||typeof t=="function")?t:tnt(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function unt(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 To=function(e){rnt(t,e);function t(n){nnt(this,t);var o;return o=ent(this,t,[n]),So(o,"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return ont(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 lnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cnt(e,t,n){return t=jc(t),snt(e,FS()?Reflect.construct(t,n||[],jc(e).constructor):t.apply(e,n))}function ant(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 fnt(e,t,n){return t&&kS(e.prototype,t),n&&kS(e,n),e}function _nt(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 ynt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 snt(e,t){return t&&(pnt(t)==="object"||typeof t=="function")?t:lnt(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ov(e,t)}function pnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FS=function(){return!!e})()}var dnt=function(e){ynt(t,e);function t(n){ant(this,t);var o;return o=cnt(this,t,[n]),_nt(o,"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return fnt(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(Oe),vnt={Designer:To,Runtime:dnt,Property:Eo};function hnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MS(e,t,n){return t=Nc(t),bnt(e,CS()?Reflect.construct(t,n||[],Nc(e).constructor):t.apply(e,n))}function xS(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 Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(e)}function LS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bnt(e,t){return t&&(mnt(t)==="object"||typeof t=="function")?t:hnt(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(e,t)}function mnt(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 gnt=function(e){LS(t,e);function t(n){xS(this,t);var o;return o=MS(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(ge),Vc=function(e){LS(t,e);function t(n){xS(this,t);var o;o=MS(this,t,[n]),ve(o,"save",void 0),ve(o,"cancel",void 0),ve(o,"saveAs",void 0),ve(o,"print",void 0),ve(o,"custom",void 0),ve(o,"isLoading",void 0),ve(o,"datasourceBind",void 0);var r;o.save=new ue((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 ue((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 ue((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 ue((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:f("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(_){return new ue(_)});var c;return o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return t}(Z);ve(Vc,"RuntimeRules",gnt);function Ont(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wnt(e,t,n){return t=zc(t),Snt(e,VS()?Reflect.construct(t,n||[],zc(e).constructor):t.apply(e,n))}function $nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jS(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 Pnt(e,t,n){return t&&jS(e.prototype,t),n&&jS(e,n),e}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 zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(e)}function Ent(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Snt(e,t){return t&&(Tnt(t)==="object"||typeof t=="function")?t:Ont(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function Tnt(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 zS=function(e){Ent(t,e);function t(n){$nt(this,t);var o;return o=wnt(this,t,[n]),NS(o,"props",void 0),o.props=new Vc(n==null?void 0:n.props),o}return Pnt(t,null,[{key:"controlName",get:function(){return f("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}},{key:"controlType",get:function(){return"data-view"}}]),t}(Y);NS(zS,"excludes",[]);function Rnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bnt(e,t,n){return t=Hc(t),Fnt(e,qS()?Reflect.construct(t,n||[],Hc(e).constructor):t.apply(e,n))}function Dnt(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 Ant(e,t,n){return t&&HS(e.prototype,t),n&&HS(e,n),e}function Int(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 knt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fnt(e,t){return t&&(Mnt(t)==="object"||typeof t=="function")?t:Rnt(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(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 xnt=function(e){knt(t,e);function t(n){Dnt(this,t);var o;return o=Bnt(this,t,[n]),Int(o,"props",void 0),o.props=new Vc(n==null?void 0:n.props),o}return Ant(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(Oe),Lnt={Designer:zS,Runtime:xnt,Property:Vc};function Cnt(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=qc(t),znt(e,US()?Reflect.construct(t,n||[],qc(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 Ev(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&&Sv(e,t)}function znt(e,t){return t&&(Hnt(t)==="object"||typeof t=="function")?t:Cnt(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sv(e,t)}function Hnt(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 qnt=function(e){Vnt(t,e);function t(n){Nnt(this,t);var o;o=jnt(this,t,[n]),Ev(o,"position",void 0),Ev(o,"opacity",void 0),Ev(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 Unt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wnt(e,t,n){return t=Wc(t),Qnt(e,KS()?Reflect.construct(t,n||[],Wc(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 WS(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 Gnt(e,t,n){return t&&WS(e.prototype,t),n&&WS(e,n),e}function Uc(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 Xnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qnt(e,t){return t&&(Jnt(t)==="object"||typeof t=="function")?t:Unt(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(e,t)}function Jnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KS=function(){return!!e})()}var Rv=function(e){Xnt(t,e);function t(n){Knt(this,t);var o;o=Wnt(this,t,[n]),Uc(o,"props",void 0);var r;return o.props=new qnt((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return Gnt(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);Uc(Rv,"slotPosition",{default:"action-bar-slot"}),Uc(Rv,"excludes",[]),Uc(Rv,"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 Znt(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=Kc(t),Ynt(e,GS()?Reflect.construct(t,n||[],Kc(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 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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(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&&Iv(e,t)}function Ynt(e,t){return t&&(tot(t)==="object"||typeof t=="function")?t:Znt(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(e,t)}function tot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GS=function(){return!!e})()}var eot=function(e){Av(t,e);function t(n){Dv(this,t);var o;return o=Bv(this,t,[n]),R(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),R(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")}]),R(o,"formKey",{type:"string",required:!1,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),R(o,"maxHeight",{type:"number",required:!0,message:f("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")}),R(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),R(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}(U),not=function(e){Av(t,e);function t(n){Dv(this,t);var o;return o=Bv(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}(ge),kv=function(e){Av(t,e);function t(n,o){Dv(this,t);var r;r=Bv(this,t,[n,o,t.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"importConfig",void 0),R(r,"canExport",void 0),R(r,"exportConfig",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0),R(r,"sortable",void 0),R(r,"sortKey",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:Qc.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 a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var c;r.openType=(c=o==null?void 0:o.openType)!==null&&c!==void 0?c:"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:zC;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 $;r.defaultRows=($=o==null?void 0:o.defaultRows)!==null&&$!==void 0?$: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 w;r.canDelete=(w=o==null?void 0:o.canDelete)!==null&&w!==void 0?w:!0;var B;r.canCheck=(B=o==null?void 0:o.canCheck)!==null&&B!==void 0?B:!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 Ut;r.captionTip=(Ut=o==null?void 0:o.captionTip)!==null&&Ut!==void 0?Ut:"";var Mo;r.mobileShowType=(Mo=o==null?void 0:o.mobileShowType)!==null&&Mo!==void 0?Mo:"list";var Un;r.mobileDefaultNum=(Un=o==null?void 0:o.mobileDefaultNum)!==null&&Un!==void 0?Un:10;var Ie;r.dataStorageDoc=(Ie=o==null?void 0:o.dataStorageDoc)!==null&&Ie!==void 0?Ie:new TM;var Wt;r.fixedColumn=(Wt=o==null?void 0:o.fixedColumn)!==null&&Wt!==void 0?Wt:[];var b0;r.mobileRowCaption=(b0=o==null?void 0:o.mobileRowCaption)!==null&&b0!==void 0?b0:f("CMD.detailed",null,"\u660E\u7EC6");var m0;r.mobileIsTile=(m0=o==null?void 0:o.mobileIsTile)!==null&&m0!==void 0?m0:!1;var g0;r.isPaste=(g0=o==null?void 0:o.isPaste)!==null&&g0!==void 0?g0:!1;var O0;r.pageSize=(O0=o==null?void 0:o.pageSize)!==null&&O0!==void 0?O0:10;var w0;r.pageSizeOptions=(w0=o==null?void 0:o.pageSizeOptions)!==null&&w0!==void 0?w0:[10,20,50,100],r.importConfig=new NC(o==null?void 0:o.importConfig),r.exportConfig=new VC(o==null?void 0:o.exportConfig);var $0;r.sortable=($0=o==null?void 0:o.sortable)!==null&&$0!==void 0?$0:!1;var P0;return r.sortKey=(P0=o==null?void 0:o.sortKey)!==null&&P0!==void 0?P0:{},r}return t}(Zf);R(kv,"Rules",eot),R(kv,"RuntimeRules",not);function oot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rot(e,t,n){return t=Xc(t),cot(e,QS()?Reflect.construct(t,n||[],Xc(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 XS(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 uot(e,t,n){return t&&XS(e.prototype,t),n&&XS(e,n),e}function Gc(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 lot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cot(e,t){return t&&(aot(t)==="object"||typeof t=="function")?t:oot(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(e,t)}function aot(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 Qc=function(e){lot(t,e);function t(n){iot(this,t);var o,r;return o=rot(this,t,[n]),Gc(o,"props",void 0),o.props=new kv(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 uot(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}(e_);Gc(Qc,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Gc(Qc,"slotPosition",{toolbar:"subtable-toolbar-slot"}),Gc(Qc,"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 fot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ot(e,t,n){return t=Jc(t),pot(e,JS()?Reflect.construct(t,n||[],Jc(e).constructor):t.apply(e,n))}function yot(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 Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(e)}function sot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pot(e,t){return t&&(dot(t)==="object"||typeof t=="function")?t:fot(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(e,t)}function dot(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 vot=function(e){sot(t,e);function t(n,o){yot(this,t);var r;r=_ot(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 a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var c;return r.pageSizeOptions=(c=o==null?void 0:o.pageSizeOptions)!==null&&c!==void 0?c:[10,20,50,100,500],r}return t}(Zf);function hot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZS(e,t,n){return t=Zc(t),mot(e,eT()?Reflect.construct(t,n||[],Zc(e).constructor):t.apply(e,n))}function YS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bot(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 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&&xv(e,t)}function mot(e,t){return t&&(got(t)==="object"||typeof t=="function")?t:hot(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function got(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eT=function(){return!!e})()}var Oot=function(e){tT(t,e);function t(n){YS(this,t);var o;return o=ZS(this,t,[n]),o.caption.required=!1,o}return t}(zt),Lv=function(e){tT(t,e);function t(n){YS(this,t);var o,r,i;o=ZS(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 a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var c;o.autoWidth.minWidth=(c=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&c!==void 0?c: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}(K);bot(Lv,"Rules",Oot);function wot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ot(e,t,n){return t=Yc(t),Sot(e,nT()?Reflect.construct(t,n||[],Yc(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 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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(e)}function Eot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sot(e,t){return t&&(Tot(t)==="object"||typeof t=="function")?t:wot(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(e,t)}function Tot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nT=function(){return!!e})()}var an=function(e){Eot(t,e);function t(n){Pot(this,t);var o;return o=$ot(this,t,[n]),Bo(o,"props",void 0),o.props=new Lv(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 Rot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bot(e,t,n){return t=ta(t),Iot(e,oT()?Reflect.construct(t,n||[],ta(e).constructor):t.apply(e,n))}function Dot(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 ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(e)}function Aot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iot(e,t){return t&&(kot(t)==="object"||typeof t=="function")?t:Rot(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(e,t)}function kot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oT=function(){return!!e})()}var rT=function(e){Aot(t,e);function t(n){Dot(this,t);var o;return o=Bot(this,t,[n]),jv(o,"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return t}(nt);jv(rT,"controlType","order-column"),jv(rT,"controlFieldType",g.DECIMAL);function Fot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mot(e,t,n){return t=ea(t),Cot(e,uT()?Reflect.construct(t,n||[],ea(e).constructor):t.apply(e,n))}function xot(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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(e)}function Lot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cot(e,t){return t&&(jot(t)==="object"||typeof t=="function")?t:Fot(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(e,t)}function jot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uT=function(){return!!e})()}var lT=function(e){Lot(t,e);function t(n){xot(this,t);var o,r;o=Mot(this,t,[n]),iT(o,"showType",void 0),iT(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 a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var c;return o.limit=(c=n==null?void 0:n.limit)!==null&&c!==void 0?c:3,o}return t}(K);function Not(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cT(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function Vot(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){cT(i,o,r,u,l,"next",a)}function l(a){cT(i,o,r,u,l,"throw",a)}u(void 0)})}}function zot(e,t,n){return t=Re(t),Wot(e,fT()?Reflect.construct(t,n||[],Re(e).constructor):t.apply(e,n))}function Hot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aT(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 qot(e,t,n){return t&&aT(e.prototype,t),n&&aT(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=Kot(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ao(e,t,n||e)}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(e)}function Uot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wot(e,t){return t&&(Got(t)==="object"||typeof t=="function")?t:Not(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zv(e,t)}function Kot(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Re(e),e!==null););return e}function Got(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fT=function(){return!!e})()}function Xot(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var fn=function(e){Uot(t,e);function t(n){Hot(this,t);var o;return o=zot(this,t,[n]),Do(o,"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return qot(t,[{key:"toDataBindModel",value:function(){var o=Ao(Re(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(Re(t.prototype),"validate",i)};return Vot(function(){return Xot(this,function(a){switch(a.label){case 0:return[4,l().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(this.children.map(function(c){return c.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}}]),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 Qot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jot(e,t,n){return t=na(t),trt(e,_T()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function Zot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hv(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 Yot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 trt(e,t){return t&&(ert(t)==="object"||typeof t=="function")?t:Qot(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(e,t)}function ert(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 yT=function(e){Yot(t,e);function t(n){Zot(this,t);var o;return o=Jot(this,t,[n]),Hv(o,"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return t}(nt);Hv(yT,"controlType","operation-column"),Hv(yT,"controlFieldType",g.FILE);function nrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sT(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function ort(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){sT(i,o,r,u,l,"next",a)}function l(a){sT(i,o,r,u,l,"throw",a)}u(void 0)})}}function rrt(e,t,n){return t=Be(t),yrt(e,dT()?Reflect.construct(t,n||[],Be(e).constructor):t.apply(e,n))}function irt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pT(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 urt(e,t,n){return t&&pT(e.prototype,t),n&&pT(e,n),e}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 Io(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Io=Reflect.get:Io=function(r,i,u){var l=srt(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Io(e,t,n||e)}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Be(e)}function lrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 crt(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function art(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){ne(e,r,n[r])})}return e}function frt(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 _rt(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):frt(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function yrt(e,t){return t&&(prt(t)==="object"||typeof t=="function")?t:nrt(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(e,t)}function srt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Be(e),e!==null););return e}function prt(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})()}function drt(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var vrt=1e4,oa=function(t){lrt(n,t);function n(o){irt(this,n);var r;r=rrt(this,n,[o]),ne(r,"props",void 0),ne(r,"children",void 0),ne(r,"excludes",void 0),ne(r,"childrenMaxLength",void 0);var i=crt(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new vot(r,o==null?void 0:o.props),Kt(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=Bt(u),r.childrenMaxLength=l,r}return urt(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(Be(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return _rt(art({},r),{children:i})}},{key:"validate",value:function(r,i){var u=this,l=this,a=function(){return Io(Be(n.prototype),"validate",u)};return ort(function(){return drt(this,function(c){switch(c.label){case 0:return[4,a().call(l,r,i)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(_){return _.validate(r,i)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}}],[{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}(e_);ne(oa,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),ne(oa,"setting",[{key:"list-fixed-header",visible:!0}]),ne(oa,"excludes",[]),ne(oa,"childrenMaxLength",vrt);function hrt(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=ra(t),brt(e,mT()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function hT(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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function bT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 brt(e,t){return t&&(mrt(t)==="object"||typeof t=="function")?t:hrt(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wv(e,t)}function mrt(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 grt=function(e){bT(t,e);function t(n){hT(this,t);var o;return o=vT(this,t,[n]),_e.call(o,n),o}return t}(Lb),Kv=function(e){bT(t,e);function t(n){hT(this,t);var o;o=vT(this,t,[n]),he(o,"optionConfig",void 0),he(o,"datasourceBind",void 0),he(o,"showLinkOperation",void 0),he(o,"linkOperationOption",void 0),he(o,"options",void 0),he(o,"lineEllipsis",void 0),he(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=Xt((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 Gt(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var c;return o.dictionaryTagConfig=(c=n==null?void 0:n.dictionaryTagConfig)!==null&&c!==void 0?c:{isTag:!1},o}return t}(K);he(Kv,"Rules",grt);function Ort(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wrt(e,t,n){return t=ia(t),Ert(e,gT()?Reflect.construct(t,n||[],ia(e).constructor):t.apply(e,n))}function $rt(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 ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(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&&Gv(e,t)}function Ert(e,t){return t&&(Srt(t)==="object"||typeof t=="function")?t:Ort(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(e,t)}function Srt(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 yn=function(e){Prt(t,e);function t(n){$rt(this,t);var o;return o=wrt(this,t,[n]),_n(o,"props",void 0),o.props=new Kv(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 Trt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rrt(e,t,n){return t=ua(t),Art(e,OT()?Reflect.construct(t,n||[],ua(e).constructor):t.apply(e,n))}function Brt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xv(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 Drt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Art(e,t){return t&&(Irt(t)==="object"||typeof t=="function")?t:Trt(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(e,t)}function Irt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OT=function(){return!!e})()}var wT=function(e){Drt(t,e);function t(n){Brt(this,t);var o;return o=Rrt(this,t,[n]),Xv(o,"props",void 0),o.props=new Kv(n==null?void 0:n.props),o}return t}(nt);Xv(wT,"controlType","varchar-column"),Xv(wT,"controlFieldType",g.VARCHAR);function krt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $T(e,t,n){return t=la(t),Frt(e,ST()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function PT(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 la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(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&&Jv(e,t)}function Frt(e,t){return t&&(Mrt(t)==="object"||typeof t=="function")?t:krt(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jv(e,t)}function Mrt(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 xrt=function(e){ET(t,e);function t(n){PT(this,t);var o;return o=$T(this,t,[n]),_e.call(o,n),o}return t}(zt),Zv=function(e){ET(t,e);function t(n){PT(this,t);var o;o=$T(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 Gt(n==null?void 0:n.linkOperationOption),o}return t}(K);ko(Zv,"Rules",xrt);function Lrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Crt(e,t,n){return t=pn(t),zrt(e,RT()?Reflect.construct(t,n||[],pn(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 TT(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 Nrt(e,t,n){return t&&TT(e.prototype,t),n&&TT(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 ca(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ca=Reflect.get:ca=function(r,i,u){var l=Hrt(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ca(e,t,n||e)}function pn(e){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(e)}function Vrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zrt(e,t){return t&&(qrt(t)==="object"||typeof t=="function")?t:Lrt(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(e,t)}function Hrt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pn(e),e!==null););return e}function qrt(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 dn=function(e){Vrt(t,e);function t(n){jrt(this,t);var o;return o=Crt(this,t,[n]),sn(o,"props",void 0),o.props=new Zv(n==null?void 0:n.props),o}return Nrt(t,[{key:"toDataBindModel",value:function(o){var r=ca(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 Urt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wrt(e,t,n){return t=aa(t),Xrt(e,BT()?Reflect.construct(t,n||[],aa(e).constructor):t.apply(e,n))}function Krt(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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(e)}function Grt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xrt(e,t){return t&&(Qrt(t)==="object"||typeof t=="function")?t:Urt(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eh(e,t)}function Qrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BT=function(){return!!e})()}var DT=function(e){Grt(t,e);function t(n){Krt(this,t);var o;return o=Wrt(this,t,[n]),th(o,"props",void 0),o.props=new Zv(n==null?void 0:n.props),o}return t}(nt);th(DT,"controlType","text-column"),th(DT,"controlFieldType",g.TEXT);function Jrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AT(e,t,n){return t=fa(t),Zrt(e,FT()?Reflect.construct(t,n||[],fa(e).constructor):t.apply(e,n))}function IT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(e)}function kT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zrt(e,t){return t&&(Yrt(t)==="object"||typeof t=="function")?t:Jrt(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(e,t)}function Yrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FT=function(){return!!e})()}var tit=function(e){kT(t,e);function t(n){IT(this,t);var o;return o=AT(this,t,[n]),_e.call(o,n),o}return t}(zt),oh=function(e){kT(t,e);function t(n){IT(this,t);var o;o=AT(this,t,[n]),oe(o,"optionConfig",void 0),oe(o,"datasourceBind",void 0),oe(o,"showLinkOperation",void 0),oe(o,"linkOperationOption",void 0),oe(o,"options",void 0),oe(o,"precision",void 0),oe(o,"micrometer",void 0),oe(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 a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.options=Xt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Gt(n==null?void 0:n.linkOperationOption),o}return t}(K);oe(oh,"Rules",tit);function eit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nit(e,t,n){return t=hn(t),uit(e,xT()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function oit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MT(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 rit(e,t,n){return t&&MT(e.prototype,t),n&&MT(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 _a(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?_a=Reflect.get:_a=function(r,i,u){var l=lit(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},_a(e,t,n||e)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(e)}function iit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uit(e,t){return t&&(cit(t)==="object"||typeof t=="function")?t:eit(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(e,t)}function lit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hn(e),e!==null););return e}function cit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xT=function(){return!!e})()}var bn=function(e){iit(t,e);function t(n){oit(this,t);var o;return o=nit(this,t,[n]),vn(o,"props",void 0),o.props=new oh(n==null?void 0:n.props),o}return rit(t,[{key:"toDataBindModel",value:function(o){var r=_a(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 ait(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fit(e,t,n){return t=ya(t),sit(e,LT()?Reflect.construct(t,n||[],ya(e).constructor):t.apply(e,n))}function _it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ih(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(e)}function yit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sit(e,t){return t&&(pit(t)==="object"||typeof t=="function")?t:ait(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(e,t)}function pit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LT=function(){return!!e})()}var CT=function(e){yit(t,e);function t(n){_it(this,t);var o;return o=fit(this,t,[n]),ih(o,"props",void 0),o.props=new oh(n==null?void 0:n.props),o}return t}(nt);ih(CT,"controlType","decimal-column"),ih(CT,"controlFieldType",g.DECIMAL);function dit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t,n){return t=pa(t),vit(e,zT()?Reflect.construct(t,n||[],pa(e).constructor):t.apply(e,n))}function NT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sa(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 VT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vit(e,t){return t&&(hit(t)==="object"||typeof t=="function")?t:dit(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(e,t)}function hit(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 bit=function(e){VT(t,e);function t(n){NT(this,t);var o;return o=jT(this,t,[n]),_e.call(o,n),o}return t}(zt),ch=function(e){VT(t,e);function t(n){NT(this,t);var o;o=jT(this,t,[n]),sa(o,"dateType",void 0),sa(o,"showLinkOperation",void 0),sa(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:Fe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(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}(K);sa(ch,"Rules",bit);function mit(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=gn(t),Pit(e,qT()?Reflect.construct(t,n||[],gn(e).constructor):t.apply(e,n))}function Oit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HT(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 wit(e,t,n){return t&&HT(e.prototype,t),n&&HT(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 da(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?da=Reflect.get:da=function(r,i,u){var l=Eit(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},da(e,t,n||e)}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(e)}function $it(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pit(e,t){return t&&(Sit(t)==="object"||typeof t=="function")?t:mit(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(e,t)}function Eit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gn(e),e!==null););return e}function Sit(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 On=function(e){$it(t,e);function t(n){Oit(this,t);var o;return o=git(this,t,[n]),mn(o,"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return wit(t,[{key:"toDataBindModel",value:function(o){var r=da(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 Tit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rit(e,t,n){return t=va(t),Ait(e,UT()?Reflect.construct(t,n||[],va(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 fh(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 Dit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ait(e,t){return t&&(Iit(t)==="object"||typeof t=="function")?t:Tit(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(e,t)}function Iit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UT=function(){return!!e})()}var WT=function(e){Dit(t,e);function t(n){Bit(this,t);var o;return o=Rit(this,t,[n]),fh(o,"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return t}(nt);fh(WT,"controlType","timescope-column"),fh(WT,"controlFieldType",g.TIMESCOPE);function kit(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=ba(t),Fit(e,QT()?Reflect.construct(t,n||[],ba(e).constructor):t.apply(e,n))}function GT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ha(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 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&&yh(e,t)}function Fit(e,t){return t&&(Mit(t)==="object"||typeof t=="function")?t:kit(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(e,t)}function Mit(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 xit=function(e){XT(t,e);function t(n){GT(this,t);var o;return o=KT(this,t,[n]),_e.call(o,n),o}return t}(zt),sh=function(e){XT(t,e);function t(n){GT(this,t);var o;o=KT(this,t,[n]),ha(o,"dateType",void 0),ha(o,"showLinkOperation",void 0),ha(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:Fe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Gt(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}(K);ha(sh,"Rules",xit);function Lit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cit(e,t,n){return t=$n(t),zit(e,ZT()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}function jit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JT(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 Nit(e,t,n){return t&&JT(e.prototype,t),n&&JT(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 ma(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ma=Reflect.get:ma=function(r,i,u){var l=Hit(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ma(e,t,n||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(e)}function Vit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zit(e,t){return t&&(qit(t)==="object"||typeof t=="function")?t:Lit(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(e,t)}function Hit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function qit(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 Pn=function(e){Vit(t,e);function t(n){jit(this,t);var o;return o=Cit(this,t,[n]),wn(o,"props",void 0),o.props=new sh(n==null?void 0:n.props),o}return Nit(t,[{key:"toDataBindModel",value:function(o){var r=ma($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 Uit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wit(e,t,n){return t=ga(t),Xit(e,YT()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}function Kit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dh(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){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(e)}function Git(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xit(e,t){return t&&(Qit(t)==="object"||typeof t=="function")?t:Uit(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vh(e,t)}function Qit(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 tR=function(e){Git(t,e);function t(n){Kit(this,t);var o;return o=Wit(this,t,[n]),dh(o,"props",void 0),o.props=new sh(n==null?void 0:n.props),o}return t}(nt);dh(tR,"controlType","timestamp-column"),dh(tR,"controlFieldType",g.TIMESTAMP);function Jit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eR(e,t,n){return t=Oa(t),Zit(e,rR()?Reflect.construct(t,n||[],Oa(e).constructor):t.apply(e,n))}function nR(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 Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(e)}function oR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zit(e,t){return t&&(Yit(t)==="object"||typeof t=="function")?t:Jit(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(e,t)}function Yit(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 tut=function(e){oR(t,e);function t(n){nR(this,t);var o;return o=eR(this,t,[n]),_e.call(o,n),o}return t}(Lb),bh=function(e){oR(t,e);function t(n){nR(this,t);var o;o=eR(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 Gt(n==null?void 0:n.linkOperationOption);var l;return o.options=Xt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return t}(K);En(bh,"Rules",tut);function eut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nut(e,t,n){return t=wa(t),iut(e,iR()?Reflect.construct(t,n||[],wa(e).constructor):t.apply(e,n))}function out(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 wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function rut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iut(e,t){return t&&(uut(t)==="object"||typeof t=="function")?t:eut(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(e,t)}function uut(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 Tn=function(e){rut(t,e);function t(n){out(this,t);var o;return o=nut(this,t,[n]),Sn(o,"props",void 0),o.props=new bh(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 lut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cut(e,t,n){return t=$a(t),_ut(e,uR()?Reflect.construct(t,n||[],$a(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 gh(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 fut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ut(e,t){return t&&(yut(t)==="object"||typeof t=="function")?t:lut(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(e,t)}function yut(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){fut(t,e);function t(n){aut(this,t);var o;return o=cut(this,t,[n]),gh(o,"props",void 0),o.props=new bh(n==null?void 0:n.props),o}return t}(nt);gh(lR,"controlType","array-column"),gh(lR,"controlFieldType",g.ARRAY);function sut(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=Pa(t),but(e,cR()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function dut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vut(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 hut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 but(e,t){return t&&(mut(t)==="object"||typeof t=="function")?t:sut(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function mut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cR=function(){return!!e})()}var aR=function(e){hut(t,e);function t(n){dut(this,t);var o;o=put(this,t,[n]),vut(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}(K);function gut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Out(e,t,n){return t=Bn(t),Eut(e,_R()?Reflect.construct(t,n||[],Bn(e).constructor):t.apply(e,n))}function wut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fR(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 $ut(e,t,n){return t&&fR(e.prototype,t),n&&fR(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 Ea(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ea=Reflect.get:Ea=function(r,i,u){var l=Sut(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ea(e,t,n||e)}function Bn(e){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(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&&$h(e,t)}function Eut(e,t){return t&&(Tut(t)==="object"||typeof t=="function")?t:gut(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$h(e,t)}function Sut(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bn(e),e!==null););return e}function Tut(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 Dn=function(e){Put(t,e);function t(n){wut(this,t);var o;return o=Out(this,t,[n]),Rn(o,"props",void 0),o.props=new aR(n==null?void 0:n.props),o}return $ut(t,[{key:"toDataBindModel",value:function(o){var r=Ea(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 Rut(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=Sa(t),Iut(e,yR()?Reflect.construct(t,n||[],Sa(e).constructor):t.apply(e,n))}function Dut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ph(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 Aut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iut(e,t){return t&&(kut(t)==="object"||typeof t=="function")?t:Rut(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(e,t)}function kut(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 sR=function(e){Aut(t,e);function t(n){Dut(this,t);var o;return o=But(this,t,[n]),Ph(o,"props",void 0),o.props=new aR(n==null?void 0:n.props),o}return t}(nt);Ph(sR,"controlType","department-column"),Ph(sR,"controlFieldType",g.DEPARTMENTS);function Fut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pR(e,t,n){return t=Ta(t),Mut(e,hR()?Reflect.construct(t,n||[],Ta(e).constructor):t.apply(e,n))}function dR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sh(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 vR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mut(e,t){return t&&(xut(t)==="object"||typeof t=="function")?t:Fut(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(e,t)}function xut(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 Lut=function(e){vR(t,e);function t(n){dR(this,t);var o;return o=pR(this,t,[n]),_e.call(o,n),o}return t}(zt),Rh=function(e){vR(t,e);function t(n){dR(this,t);var o;o=pR(this,t,[n]),Sh(o,"showLinkOperation",void 0),Sh(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 Gt(n==null?void 0:n.linkOperationOption),o}return t}(K);Sh(Rh,"Rules",Lut);function Cut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jut(e,t,n){return t=Ra(t),zut(e,bR()?Reflect.construct(t,n||[],Ra(e).constructor):t.apply(e,n))}function Nut(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 Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(e)}function Vut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zut(e,t){return t&&(Hut(t)==="object"||typeof t=="function")?t:Cut(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(e,t)}function Hut(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 In=function(e){Vut(t,e);function t(n){Nut(this,t);var o;return o=jut(this,t,[n]),An(o,"props",void 0),o.props=new Rh(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 qut(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=Ba(t),Gut(e,mR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function Wut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dh(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 Kut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gut(e,t){return t&&(Xut(t)==="object"||typeof t=="function")?t:qut(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(e,t)}function Xut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mR=function(){return!!e})()}var gR=function(e){Kut(t,e);function t(n){Wut(this,t);var o;return o=Uut(this,t,[n]),Dh(o,"props",void 0),o.props=new Rh(n==null?void 0:n.props),o}return t}(nt);Dh(gR,"controlType","auto-number-column"),Dh(gR,"controlFieldType",g.AUTO_NUMBER);function Qut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jut(e,t,n){return t=Da(t),elt(e,OR()?Reflect.construct(t,n||[],Da(e).constructor):t.apply(e,n))}function Zut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yut(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 tlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 elt(e,t){return t&&(nlt(t)==="object"||typeof t=="function")?t:Qut(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(e,t)}function nlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OR=function(){return!!e})()}var wR=function(e){tlt(t,e);function t(n){Zut(this,t);var o;o=Jut(this,t,[n]),Yut(o,"operation",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fn.controlName;var i;return o.operation=(i=n==null?void 0:n.operation)!==null&&i!==void 0?i:["info","preview","download"],o}return t}(K);function olt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rlt(e,t,n){return t=Aa(t),llt(e,$R()?Reflect.construct(t,n||[],Aa(e).constructor):t.apply(e,n))}function ilt(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 Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(e)}function ult(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 llt(e,t){return t&&(clt(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 clt(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 Fn=function(e){ult(t,e);function t(n){ilt(this,t);var o;return o=rlt(this,t,[n]),kn(o,"props",void 0),o.props=new wR(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:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);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=Ia(t),slt(e,PR()?Reflect.construct(t,n||[],Ia(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 Fh(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 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&&Mh(e,t)}function slt(e,t){return t&&(plt(t)==="object"||typeof t=="function")?t:alt(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mh(e,t)}function plt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PR=function(){return!!e})()}var ER=function(e){ylt(t,e);function t(n){_lt(this,t);var o;return o=flt(this,t,[n]),Fh(o,"props",void 0),o.props=new wR(n==null?void 0:n.props),o}return t}(nt);Fh(ER,"controlType","file-column"),Fh(ER,"controlFieldType",g.FILE);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=ka(t),mlt(e,SR()?Reflect.construct(t,n||[],ka(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 ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(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 mlt(e,t){return t&&(glt(t)==="object"||typeof t=="function")?t:dlt(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xh(e,t)}function glt(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 TR=function(e){blt(t,e);function t(n){hlt(this,t);var o;o=vlt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:xn.controlName,o}return t}(K);function Olt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wlt(e,t,n){return t=Fa(t),Elt(e,RR()?Reflect.construct(t,n||[],Fa(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 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){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(e)}function Plt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Elt(e,t){return t&&(Slt(t)==="object"||typeof t=="function")?t:Olt(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(e,t)}function Slt(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 xn=function(e){Plt(t,e);function t(n){$lt(this,t);var o;return o=wlt(this,t,[n]),Mn(o,"props",void 0),o.props=new TR(n==null?void 0:n.props),o}return t}(et);Mn(xn,"controlType","image-column"),Mn(xn,"controlName",f("CMD.image",null,"\u56FE\u7247")),Mn(xn,"controlIcon","image-column"),Mn(xn,"controlFieldType",g.IMAGE),Mn(xn,"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 Tlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rlt(e,t,n){return t=Ma(t),Alt(e,BR()?Reflect.construct(t,n||[],Ma(e).constructor):t.apply(e,n))}function Blt(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 Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(e)}function Dlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Alt(e,t){return t&&(Ilt(t)==="object"||typeof t=="function")?t:Tlt(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(e,t)}function Ilt(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 DR=function(e){Dlt(t,e);function t(n){Blt(this,t);var o;return o=Rlt(this,t,[n]),Ch(o,"props",void 0),o.props=new TR(n==null?void 0:n.props),o}return t}(nt);Ch(DR,"controlType","image-column"),Ch(DR,"controlFieldType",g.IMAGE);function klt(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),Llt(e,AR()?Reflect.construct(t,n||[],xa(e).constructor):t.apply(e,n))}function Mlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function xlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Llt(e,t){return t&&(Clt(t)==="object"||typeof t=="function")?t:klt(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function Clt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AR=function(){return!!e})()}var IR=function(e){xlt(t,e);function t(n){Mlt(this,t);var o;o=Flt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Cn.controlName,o}return t}(K);function jlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nlt(e,t,n){return t=La(t),Hlt(e,kR()?Reflect.construct(t,n||[],La(e).constructor):t.apply(e,n))}function Vlt(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 La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(e)}function zlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hlt(e,t){return t&&(qlt(t)==="object"||typeof t=="function")?t:jlt(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vh(e,t)}function qlt(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 Cn=function(e){zlt(t,e);function t(n){Vlt(this,t);var o;return o=Nlt(this,t,[n]),Ln(o,"props",void 0),o.props=new IR(n==null?void 0:n.props),o}return t}(et);Ln(Cn,"controlType","people-column"),Ln(Cn,"controlName",f("CMD.people",null,"\u4EBA\u5458")),Ln(Cn,"controlIcon","people-column"),Ln(Cn,"controlFieldType",g.EMPLOYEES),Ln(Cn,"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 Ult(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wlt(e,t,n){return t=Ca(t),Xlt(e,FR()?Reflect.construct(t,n||[],Ca(e).constructor):t.apply(e,n))}function Klt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zh(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){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ca(e)}function Glt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xlt(e,t){return t&&(Qlt(t)==="object"||typeof t=="function")?t:Ult(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(e,t)}function Qlt(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 MR=function(e){Glt(t,e);function t(n){Klt(this,t);var o;return o=Wlt(this,t,[n]),zh(o,"props",void 0),o.props=new IR(n==null?void 0:n.props),o}return t}(nt);zh(MR,"controlType","people-column"),zh(MR,"controlFieldType",g.EMPLOYEES);function Jlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xR(e,t,n){return t=ja(t),Zlt(e,jR()?Reflect.construct(t,n||[],ja(e).constructor):t.apply(e,n))}function LR(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 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&&Uh(e,t)}function Zlt(e,t){return t&&(Ylt(t)==="object"||typeof t=="function")?t:Jlt(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uh(e,t)}function Ylt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jR=function(){return!!e})()}var tct=function(e){CR(t,e);function t(n){LR(this,t);var o;return o=xR(this,t,[n]),_e.call(o,n),o}return t}(zt),Wh=function(e){CR(t,e);function t(n){LR(this,t);var o;o=xR(this,t,[n]),qh(o,"showLinkOperation",void 0),qh(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 Gt(n==null?void 0:n.linkOperationOption),o}return t}(K);qh(Wh,"Rules",tct);function ect(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nct(e,t,n){return t=Na(t),ict(e,NR()?Reflect.construct(t,n||[],Na(e).constructor):t.apply(e,n))}function oct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(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 rct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ict(e,t){return t&&(uct(t)==="object"||typeof t=="function")?t:ect(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(e,t)}function uct(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 Nn=function(e){rct(t,e);function t(n){oct(this,t);var o;return o=nct(this,t,[n]),jn(o,"props",void 0),o.props=new Wh(n==null?void 0:n.props),o}return t}(et);jn(Nn,"controlType","location-column"),jn(Nn,"controlName",f("CMD.location",null,"\u5730\u5740")),jn(Nn,"controlIcon","location-column"),jn(Nn,"controlFieldType",g.ADDRESS),jn(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 lct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cct(e,t,n){return t=Va(t),_ct(e,VR()?Reflect.construct(t,n||[],Va(e).constructor):t.apply(e,n))}function act(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gh(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 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&&Xh(e,t)}function _ct(e,t){return t&&(yct(t)==="object"||typeof t=="function")?t:lct(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(e,t)}function yct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VR=function(){return!!e})()}var zR=function(e){fct(t,e);function t(n){act(this,t);var o;return o=cct(this,t,[n]),Gh(o,"props",void 0),o.props=new Wh(n==null?void 0:n.props),o}return t}(nt);Gh(zR,"controlType","location-column"),Gh(zR,"controlFieldType",g.ADDRESS);function sct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HR(e,t,n){return t=Ha(t),pct(e,WR()?Reflect.construct(t,n||[],Ha(e).constructor):t.apply(e,n))}function qR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function za(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 UR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pct(e,t){return t&&(dct(t)==="object"||typeof t=="function")?t:sct(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qh(e,t)}function dct(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 vct=function(e){UR(t,e);function t(n){qR(this,t);var o;return o=HR(this,t,[n]),za(o,"sortFieldCode",{type:"string",message:f("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return t}(zt),Jh=function(e){UR(t,e);function t(n){qR(this,t);var o;o=HR(this,t,[n]),za(o,"fieldCodeList",void 0),za(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:be.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}(K);za(Jh,"Rules",vct);function hct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bct(e,t,n){return t=Vn(t),$ct(e,GR()?Reflect.construct(t,n||[],Vn(e).constructor):t.apply(e,n))}function mct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(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 gct(e,t,n){return t&&KR(e.prototype,t),n&&KR(e,n),e}function Ct(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?qa=Reflect.get:qa=function(r,i,u){var l=Pct(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},qa(e,t,n||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(e)}function Oct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wct(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function $ct(e,t){return t&&(Ect(t)==="object"||typeof t=="function")?t:hct(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(e,t)}function Pct(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}function Ect(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 Sct=1,be=function(t){Oct(n,t);function n(o){mct(this,n);var r;r=bct(this,n,[o]),Ct(r,"excludes",void 0),Ct(r,"childrenMaxLength",void 0),Ct(r,"props",void 0),Ct(r,"children",void 0);var i=wct(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Jh(o==null?void 0:o.props),Kt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Bt(u),r.childrenMaxLength=l,r}return gct(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=qa(Vn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(et);Ct(be,"controlType","custom-column"),Ct(be,"controlName",f("CMD.custom",null,"\u81EA\u5B9A\u4E49")),Ct(be,"controlIcon","custom-column"),Ct(be,"slots",["column-column-slot"]),Ct(be,"excludes",[]),Ct(be,"childrenMaxLength",Sct),Ct(be,"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 Tct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rct(e,t,n){return t=Ua(t),Act(e,XR()?Reflect.construct(t,n||[],Ua(e).constructor):t.apply(e,n))}function Bct(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 Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ua(e)}function Dct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Act(e,t){return t&&(Ict(t)==="object"||typeof t=="function")?t:Tct(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t0(e,t)}function Ict(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 kct=function(e){Dct(t,e);function t(n){Bct(this,t);var o;return o=Rct(this,t,[n]),Yh(o,"props",void 0),Yh(o,"children",void 0),o.props=new Jh(n==null?void 0:n.props),Kt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(nt);Yh(kct,"controlType","custom-column");function Fct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mct(e,t,n){return t=Wa(t),jct(e,QR()?Reflect.construct(t,n||[],Wa(e).constructor):t.apply(e,n))}function xct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lct(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 Cct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jct(e,t){return t&&(Nct(t)==="object"||typeof t=="function")?t:Fct(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(e,t)}function Nct(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){Cct(t,e);function t(n){xct(this,t);var o;o=Mct(this,t,[n]),Lct(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:De.controlName;var i;return o.datasourceBind=new zo((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:De.controlCustomAttributes}),o}return t}(K);function Vct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zct(e,t,n){return t=Ka(t),Wct(e,YR()?Reflect.construct(t,n||[],Ka(e).constructor):t.apply(e,n))}function Hct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(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 qct(e,t,n){return t&&ZR(e.prototype,t),n&&ZR(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 Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ka(e)}function Uct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function Wct(e,t){return t&&(Kct(t)==="object"||typeof t=="function")?t:Vct(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n0(e,t)}function Kct(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 De=function(e){Uct(t,e);function t(n){Hct(this,t);var o;return o=zct(this,t,[n]),zn(o,"props",void 0),o.props=new JR(n==null?void 0:n.props),o}return qct(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:f("CMD.81231751712162319"),required:!0}]}}]),t}(et);zn(De,"controlType","employee-column"),zn(De,"controlName",f("CMD.employee",null,"\u4EBA\u5458")),zn(De,"controlIcon","employee-column"),zn(De,"controlFieldType",g.EMPLOYEES),zn(De,"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 Gct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xct(e,t,n){return t=Ga(t),Zct(e,tB()?Reflect.construct(t,n||[],Ga(e).constructor):t.apply(e,n))}function Qct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o0(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){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ga(e)}function Jct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zct(e,t){return t&&(Yct(t)==="object"||typeof t=="function")?t:Gct(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r0(e,t)}function Yct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tB=function(){return!!e})()}var eB=function(e){Jct(t,e);function t(n){Qct(this,t);var o;return o=Xct(this,t,[n]),o0(o,"props",void 0),o.props=new JR(n==null?void 0:n.props),o}return t}(nt);o0(eB,"controlType","employee-column"),o0(eB,"controlFieldType",g.EMPLOYEES);function tat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eat(e,t,n){return t=Xa(t),rat(e,nB()?Reflect.construct(t,n||[],Xa(e).constructor):t.apply(e,n))}function nat(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 Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(e)}function oat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rat(e,t){return t&&(iat(t)==="object"||typeof t=="function")?t:tat(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u0(e,t)}function iat(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 oB=function(e){oat(t,e);function t(n){nat(this,t);var o;o=eat(this,t,[n]),i0(o,"lineEllipsis",void 0),i0(o,"showLinkOperation",void 0),i0(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 Gt(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}(K);function uat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lat(e,t,n){return t=Qa(t),fat(e,rB()?Reflect.construct(t,n||[],Qa(e).constructor):t.apply(e,n))}function cat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qa(e)}function aat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fat(e,t){return t&&(_at(t)==="object"||typeof t=="function")?t:uat(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l0(e,t)}function _at(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 Hn=function(e){aat(t,e);function t(n){cat(this,t);var o;return o=lat(this,t,[n]),Ae(o,"props",void 0),Ae(o,"children",void 0),o.props=new oB(n==null?void 0:n.props),o}return t}(et);Ae(Hn,"controlType","approval-status-column"),Ae(Hn,"controlName",f("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001")),Ae(Hn,"controlIcon","approval-status-column"),Ae(Hn,"excludes",[]),Ae(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 yat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sat(e,t,n){return t=Ja(t),vat(e,iB()?Reflect.construct(t,n||[],Ja(e).constructor):t.apply(e,n))}function pat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ja(e)}function dat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vat(e,t){return t&&(hat(t)==="object"||typeof t=="function")?t:yat(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a0(e,t)}function hat(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 bat=function(e){dat(t,e);function t(n){pat(this,t);var o;return o=sat(this,t,[n]),c0(o,"props",void 0),c0(o,"children",void 0),o.props=new oB(n==null?void 0:n.props),o}return t}(nt);c0(bat,"controlType","approval-status-column");function mat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uB(e,t,n){return t=Za(t),gat(e,aB()?Reflect.construct(t,n||[],Za(e).constructor):t.apply(e,n))}function lB(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 Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Za(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&&f0(e,t)}function gat(e,t){return t&&(Oat(t)==="object"||typeof t=="function")?t:mat(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f0(e,t)}function Oat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aB=function(){return!!e})()}var wat=function(e){cB(t,e);function t(n){lB(this,t);var o;return o=uB(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(ge),_0=function(e){cB(t,e);function t(n){lB(this,t);var o;o=uB(this,t,[n]),Et(o,"search",void 0),Et(o,"cancel",void 0),Et(o,"searchType",void 0),Et(o,"labelPosition",void 0),Et(o,"viewType",void 0),Et(o,"isLoading",void 0),Et(o,"custom",void 0),Et(o,"queryTypeMap",void 0),Et(o,"childMinWidth",void 0),Et(o,"colGap",void 0),Et(o,"viewConfig",void 0),Et(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 ue((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:f("CMD.query",null,"\u67E5\u8BE2"),isShow:!0});var a;o.cancel=new ue((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:f("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0});var c;o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function($){return new ue($)});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}(f_);Et(_0,"RuntimeRules",wat);function $at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pat(e,t,n){return t=tf(t),Tat(e,fB()?Reflect.construct(t,n||[],tf(e).constructor):t.apply(e,n))}function Eat(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 tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tf(e)}function Sat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tat(e,t){return t&&(Rat(t)==="object"||typeof t=="function")?t:$at(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y0(e,t)}function Rat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fB=function(){return!!e})()}var s0=function(e){Sat(t,e);function t(n){Eat(this,t);var o;return o=Pat(this,t,[n]),Ya(o,"props",void 0),o.props=new _0(n==null?void 0:n.props),o}return t}(jL);Ya(s0,"controlType","simple-search"),Ya(s0,"slotPosition",{default:"search"}),Ya(s0,"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 Bat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dat(e,t,n){return t=ef(t),kat(e,_B()?Reflect.construct(t,n||[],ef(e).constructor):t.apply(e,n))}function Aat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ef(e)}function Iat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kat(e,t){return t&&(Fat(t)==="object"||typeof t=="function")?t:Bat(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d0(e,t)}function Fat(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 Mat=function(e){Iat(t,e);function t(n){Aat(this,t);var o;o=Dat(this,t,[n]),p0(o,"props",void 0),p0(o,"children",void 0),o.props=new _0(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}(WL);p0(Mat,"controlType","simple-search");function i_t(e){return e}f("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C");const xat=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];Gat(t==null?void 0:t.events),zat(o),Hat(o);const r=Vat(o),i=qat(r,t);let u=re(C(i,l=>Nat(l,t)));return n?u:u[0]},Lat=[s.DIVIDER,s.TEXT,s.TITLE,s.LINK,s.BUTTON,"list-btn-export-list","list-btn-export-record"],Cat=["subtable","grid-table"],jat=["simple-search"];function Nat(e,t){var r,i,u,l,a,c;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Lat.includes(n.type)?n.controlType="base":n.controlType="form",Cat.includes(n.type)&&(n.controlType="list"),jat.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),_t((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),_t((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),_t((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=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(_t(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(_t(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",((c=n.children[0])==null?void 0:c.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((p,d)=>{const b=new stt.Designer;b.props.caption=_t(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=_t(_.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 DE.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={};_&&(yB(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={};_&&(yB(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=_t(_.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=_t(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=_t(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=_t(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"),Xat(n,t==null?void 0:t.control_events),n}function yB(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(c=>c===r),a=u.hide_controls.findIndex(c=>c===r);l>-1&&u.show_controls.splice(l,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Vat(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new Lnt.Designer().toSchema();return o.children=e,[o]}function zat(e){e.forEach(t=>{t.children&&Kat(t.children)})}function Hat(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 qat(e,t){var b,O,m,$,h,w,B,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;Uat(i),l.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,Wat(l,u);const a=(m=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?m:t==null?void 0:t.dataCode,c=((h=($=o==null?void 0:o.source_config)==null?void 0:$.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,_=(B=(w=o==null?void 0:o.source_config)==null?void 0:w.orders)!=null?B:[],p=new vnt.Designer;p.props.datasourceBind=new X({dataCode:a,svcCode:c,orders:nM(_)}),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=_t(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 Uat(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=_t(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 Wat(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:_t(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=_t(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 Kat(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 Gat(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 Xat(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 Qat=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>Jat(i)));return n?r:r[0]};function Jat(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 It({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const Zat=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>Yat(i)));return n?r:r[0]};function Yat(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 tft=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>eft(i)));return n?r:r[0]};function eft(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 nft=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>rft(i)));return n?r:r[0]},oft=[s.ROW,s.TAB,s.SUBTABLE,s.GRID_ROW,s.CARD_GROUP];function rft(e,t){return e.type===s.TAB_PANE&&(e.children=e.children.map(n=>{if(oft.includes(n.type))return n;const o=new jY.Designer,r=new DE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const ift=(e,t)=>{const n=Array.isArray(e);let r=re(C(n?e:[e],i=>uft(i)));return n?r:r[0]};function uft(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 lft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>cft(i));return n?r:r[0]};function cft(e,t){return e.type===s.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const aft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>fft(i));return n?r:r[0]};function me(e,t){e.field_code&&(e.field_type=t)}function fft(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)&&me(e.props.data_bind,n[e.type]),e.type===s.AMOUNT&&(me(e.props.data_bind.amount,g.DECIMAL),me(e.props.data_bind.currency,g.VARCHAR)),e.type===s.CALC&&(me(e.props.data_bind.result,g.DECIMAL),me(e.props.data_bind.unit,g.VARCHAR)),e.type===s.DATE_RANGE&&(me(e.props.data_bind.min,g.TIMESTAMP),me(e.props.data_bind.max,g.TIMESTAMP)),e.type===s.VUE_FORM_ITEM&&me(e.props.data_bind,(o=e.field_type)!=null?o:g.ANY),e}const _ft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>yft(i));return n?r:r[0]};function yft(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 sft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>pft(i));return n?r:r[0]};function pft(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 dft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>vft(i));return n?r:r[0]};function vft(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 hft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>bft(i));return n?r:r[0]};function bft(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 mft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>gft(i));return n?r:r[0]};function gft(e,t){return e.type===s.TITLE&&e.props.config.push(we.ShowTitle),e.type===s.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,l,a,c,_,p,d,b,O,m,$,h,w,B,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 hy.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=(a=n.props)==null?void 0:a.check.form_key,(c=n.props)!=null&&c.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 hy.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,($=n.props)!=null&&$.edit.is_show&&n.children.push(D.toSchema()),(h=n.props)==null||delete h.edit}if(((w=n.props)==null?void 0:w.delete)!==void 0){const D=new hy.Designer;Object.defineProperty(D,"id",{value:"listPageDeleteBtnId"}),D.props.code="delete",D.props.icon="iconlajitong",D.props.command="delete",D.props.content=(B=n.props)==null?void 0:B.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 Oft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>wft(i,t));return n?r:r[0]};function wft(e,t){e.type===s.SUBTABLE&&e.props.headers.map(o=>{var i;o.props.meta_auto_width=new Q0,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 gf)}),e.type===s.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),$ft(t),e}function $ft(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(v0()),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:[Pft()]}];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(v0())}}}function Pft(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[v0()]}}function v0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Eft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Sft(i,t));return n?r:r[0]};function Sft(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 Tf),e}const Tft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Rft(i));return n?r:r[0]};function Rft(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 Bft(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 Dft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=Aft(u);return r[u.id]=u,l});return Bft(r,t),n?i:i[0]};function Aft(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=re(new X0({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(a=>{a.value==="org_type_code"&&(a.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),a.value==="org_pattern_code"&&(a.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 Ift=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=kft(u);return r[u.id]=u,l});return Fft(r,t),n?i:i[0]};function kft(e,t){return e}function Fft(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,a,c;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 $;($=m==null?void 0:m.handlers)==null||$.map(h=>{var w,B,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=(B=(w=h.params)==null?void 0:w.options)==null?void 0:B.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((a=(l=r.props)==null?void 0:l.opt_obj)==null?void 0:a.opt_type)&&((c=t.dataModelExtend)==null?void 0:c.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 Mft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=xft(u);return r[u.id]=u,l});return Lft(r,t),n?i:i[0]};function xft(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 Lft(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 Cft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>jft(i));return n?r:r[0]};function jft(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 Nft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Vft(i));return Wft(r),zft(r),n?r:r[0]};function Vft(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 zft(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_"]},a;if(o.row_style_rules_script){const c=o.row_style_rules_script.find(_=>_.id===u);c&&(a=Uft(i.filters,c.script))}i.settings=[l],i.script=a,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 sB(e,t){return t||(t={}),e.forEach(n=>{if(n.children)sB(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 Hft(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(n=>n.replace(/^\s+|\s+$/gm,""))}function qft(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 Uft(e,t){const n=sB(e);return Hft(t).forEach(r=>{Object.keys(n).forEach(i=>{if(r.indexOf(`params.data.data_value_map['${i}']`)>-1){const a=n[i].type,{operate:c,value:_}=qft(r);let p=`SpecialMatch(data, sys, '${i}', '${a}', '${c}', ${_||"''"})`;t=t.replace(r,p)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function Wft(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 a=i.children||[];i.children=[].concat(a,l)}}),t.props.footers=[]}}return e}const Kft=(e,t)=>{const n=Array.isArray(e);let r=Gft(n?e:[e],t);return n?r:r[0]};function Gft(e,t){const n=Qft(t);return n.length>0&&(Xft(n,t),pB(n,e)),e}function pB(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):pB(e,r.children)}}}function Xft(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 Qft(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 a=(l=u.params)==null?void 0:l.relation_control_id;a&&t.push(a)}})})})}),t}const Jft=(e,t)=>{console.log(t,"payload");const n=Array.isArray(e);let r=C(n?e:[e],i=>Yft(i));return n?r:r[0]},Zft=e=>["yylb_kujg9i5r","btdev_listin_n","yylb_gd_ryneloyh","byteluck_list_"].some(t=>t.includes(e)||e.includes(t));function Yft(e,t){if(Zft(e.type)){const n=re(new NN.Runtime);n.id=e.id,n.props.action_setting=e.props.action_setting,n.props.is_show_toolbar=e.props.is_show_toolbar,n.props.is_show_simple_search=e.props.show_simple_search,n.props.is_hide=e.props.is_hide,e.props.list_height===""?Object.assign(n.props.list_height_setting,{height:void 0}):Object.assign(n.props.list_height_setting,{height:Number(e.props.list_height)}),n.props.list_height_setting.row=e.props.list_rows_max===""?20:Number(e.props.list_rows_max),n.props.caption=e.props.caption,e=n}return e}var dB={"v1.0":xat,"v2.0":Qat,"v2.1":Zat,"v2.2":tft,"v2.3":nft,"v2.4":ift,"v2.5":lft,"v2.6":aft,"v2.7":_ft,"v2.8":sft,"v2.9":dft,"v2.10":hft,"v3.0":mft,"v3.1":Oft,"v3.2":Eft,"v3.3":Tft,"v3.4":Dft,"v3.5":Ift,"v3.6":Mft,"v3.7":Cft,"v3.8":Nft,"v3.10":Kft,"v3.11":Jft,"v3.12":()=>{}};const vB=(e,t)=>{const n=hB(e),o=hB(t),r=n.pop(),i=o.pop(),u=gB(n,o);return u!==0?u:r&&i?gB(r.split("."),i.split(".")):r||i?r?-1:1:0},nf=(e,t,n)=>{o_t(n);const o=vB(e,t);return OB[n].includes(o)},t_t=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,hB=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(t_t);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},bB=e=>e==="*"||e==="x"||e==="X",mB=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},e_t=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],n_t=(e,t)=>{if(bB(e)||bB(t))return 0;const[n,o]=e_t(mB(e),mB(t));return n>o?1:n<o?-1:0},gB=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=n_t(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},OB={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},wB=Object.keys(OB),o_t=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(wB.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${wB.join("|")}`)};function h0(e){return e.replace(/^v/,"")}const qn=Object.keys(dB).map(e=>h0(e)).sort(vB),Fo=qn[qn.length-1];class r_t{constructor(t,n=Fo){this.schemaVersion=t,this.toVersion=n,nf(n,Fo,">")?Xn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${Fo}`):(!qn.includes(h0(n))||!qn.includes(h0(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(nf(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,l)=>{var p;const a=(p=l[u+1])!=null?p:this.toVersion;Co(`Version Builder: current version: ${i}, nextVersion: ${a}`);const c=dB[i];let _=r;if(typeof c=="function"){const d=c(r,n);d&&(_=d)}return _},t);return Co(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return qn.filter(t=>nf(t,this.schemaVersion,">=")&&nf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Fo}static get version(){return Fo}}ke.VersionBuilder=r_t,Object.defineProperty(ke,"__esModule",{value:!0})});
|