@byteluck-fe/model-driven-upgrade 2.23.0-beta.25-zt → 2.23.0-beta.26-dx
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +1 -1
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(Le,Qn){typeof exports=="object"&&typeof module!="undefined"?Qn(exports):typeof define=="function"&&define.amd?define(["exports"],Qn):(Le=typeof globalThis!="undefined"?globalThis:Le||self,Qn(Le.modelDrivenUpgrade={}))})(this,function(Le){"use strict";var Qn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",v3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",h3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",b3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",m3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",g3="{caption}\u5FC5\u586B",O3="\u8BF7\u8F93\u5165\u6807\u9898",w3="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",$3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",P3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",E3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",S3="\u8BF7\u7ED1\u5B9A\u8868\u5355",T3="\u8BF7\u7ED1\u5B9A\u5217\u8868",R3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",B3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",D3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",A3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",I3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",k3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",F3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",x3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",M3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",L3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",j3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",C3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",N3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",V3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",z3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",H3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",U3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",q3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",W3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",K3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",G3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",X3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Q3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",J3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Z3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Y3="\u8BF7\u9009\u62E9\u7701",t1="\u8BF7\u9009\u62E9\u5E02",e1="\u8BF7\u9009\u62E9\u533A",n1="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",o1="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",r1="\u8BF7\u8F93\u5165\u5217\u5BBD",i1="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",u1="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",l1="\u8BF7\u9009\u62E9\u63A7\u4EF6",c1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",a1="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",f1="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",_1="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",y1="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",s1="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",p1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",d1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",v1="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",h1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",b1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",m1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",g1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",O1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",w1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",$1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",P1="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",E1="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",S1="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",T1="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",R1="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",B1="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",D1="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",A1="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",I1="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",k1="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",F1="\u6279\u91CF\u5220\u9664",x1="\u6279\u91CF\u6253\u5370",M1="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",L1="\u6309\u94AE",j1="\u521B\u5EFA\u5355\u636E",C1="\u4EEA\u8868\u76D8",N1="\u5206\u5272\u7EBF",V1="\u5BFC\u51FA",z1="\u8868\u5355\u64CD\u4F5C",H1="\u5BFC\u5165",U1="\u53D1\u7968\u8BC6\u522B",q1="\u94FE\u63A5",W1="\u5217\u8868\u9009\u62E9",K1="\u5217\u8868\u89C6\u56FE",G1="\u64CD\u4F5C\u6309\u94AE",X1="\u5206\u9875",Q1="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",J1="\u8BF4\u660E\u6587\u5B57",Z1="\u6587\u5B57\u8BC6\u522B",Y1="\u6807\u9898\u7EC4\u4EF6",tD="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",eD="\u6570\u7EC4",nD="\u81EA\u52A8\u7F16\u53F7",oD="\u81EA\u5B9A\u4E49",rD="\u6570\u503C",iD="\u90E8\u95E8",uD="\u4EBA\u5458",lD="\u9644\u4EF6",cD="\u56FE\u7247",aD="\u5730\u5740",fD="\u64CD\u4F5C",_D="\u5E8F\u53F7",yD="\u4EBA\u5458",sD="\u957F\u6587\u672C",pD="\u65E5\u671F\u533A\u95F4",dD="\u65E5\u671F",vD="\u77ED\u6587\u672C",hD="\u6362\u884C\u5BB9\u5668Wrap",bD="\u8868\u683C",mD="\u660E\u7EC6\u5B50\u8868",gD="\u5730\u5740",OD="\u91D1\u989D",wD="\u8BA1\u7B97\u516C\u5F0F",$D="\u591A\u9009",PD="\u7535\u5B50\u7B7E\u7AE0",ED="\u5355\u884C\u6587\u672C",SD="\u6570\u5B57",TD="\u4E1A\u52A1\u7EC4\u7EC7",RD="\u5355\u9009",BD="\u5BCC\u6587\u672C",DD="\u8BC4\u5206",AD="\u6570\u5B57\u533A\u95F4",ID="\u4E0B\u62C9\u5355\u9009",kD="\u4E0B\u62C9\u591A\u9009",FD="\u5173\u8054\u5355\u9009",xD="\u591A\u884C\u6587\u672C",MD="\u6811",LD="Vue\u5BB9\u5668",jD="Vue\u9875\u9762",CD="\u5728\u7EBF\u6587\u6863",ND="\u6309\u94AE\u64CD\u4F5C\u680F",VD="\u9AD8\u7EA7\u5BB9\u5668",zD="\u5206\u7EC4",HD="\u6805\u683C\u5217",UD="\u6570\u636E\u5BB9\u5668",qD="\u753B\u5E03",WD="\u6362\u884C\u5BB9\u5668",KD="\u6805\u683C\u7B49\u5206\u884C",GD="\u5217\u8868\u5BB9\u5668",XD="\u81EA\u7531\u9875\u9762",QD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",JD="\u5B9A\u4F4D\u5BB9\u5668",ZD="\u6805\u683C\u5E03\u5C40",YD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",tA="\u660E\u7EC6\u5B50\u8868\u884C",eA="\u6807\u7B7E\u9875",nA="\u6807\u7B7E\u5355\u5143",oA="\u5DE5\u5177\u680F",rA="\u6279\u91CF\u63D0\u4EA4",iA="\u5BFC\u51FA\u8BB0\u5F55",uA="\u5217\u8868\u89C6\u56FE",lA="\u7ED3\u675F\u65F6\u95F4",cA="\u5F00\u59CB\u65F6\u95F4",aA="\u5355\u4F4D",fA="\u7ED3\u679C",_A="\u5E01\u79CD",yA="\u7ED3\u675F\u65E5\u671F",sA="\u5F00\u59CB\u65E5\u671F",pA="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",dA="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",vA="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",hA="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",bA="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",mA="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",gA="\u8BF7\u9009\u62E9",OA="\u8BF7\u9009\u62E9\u7EC4\u7EC7",wA="\u8BF7\u9009\u62E9\u90E8\u95E8",$A="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",PA="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",EA="\u8BF7\u9009\u62E9\u5730\u5740",SA="\u5F39\u7A97\u786E\u8BA4\u65F6",TA="\u6807\u7B7E\u9875\u5207\u6362\u65F6",RA="\u884C\u9009\u4E2D\u65F6",BA="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",DA="\u884C\u5220\u9664\u524D",AA="\u884C\u70B9\u51FB\u65F6",IA="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",kA="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",FA="\u91CD\u547D\u540D\u65F6",xA="\u4FDD\u5B58\u6587\u4EF6\u65F6",MA="\u6253\u5F00\u6587\u4EF6\u65F6",LA="\u83B7\u53D6\u7126\u70B9\u65F6",jA="\u5931\u53BB\u7126\u70B9\u65F6",CA="\u7528\u6237\u8F93\u5165\u65F6",NA="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",VA="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",zA="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",HA="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",UA="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",qA="\u641C\u7D22\u65F6",WA="\u503C\u53D1\u751F\u53D8\u5316\u65F6",KA="\u6267\u884C\u5B8C\u6210\u65F6",GA="\u70B9\u51FB\u65F6",XA="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",QA="\u8BF7\u8F93\u5165\u65E5\u671F",JA="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",ZA="\u8BF7\u8F93\u5165",YA="\u9ED8\u8BA4\u6A21\u7248",t2="\u5DE6\u53F3\u5E03\u5C40",e2="\u4E0A\u4E0B\u5E03\u5C40",n2="\u53EA\u8BFB",o2="\u5FC5\u586B",r2="\u63D0\u793A\u6587\u5B57",i2="\u9690\u85CF\u6807\u9898",u2="\u6807\u9898\u5FC5\u586B",l2="\u7EC4\u7EC7\u5F62\u6001",c2="\u4E1A\u52A1\u7C7B\u578B",a2="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",f2="\u9690\u85CF",_2="\u6D41\u7A0B\u72B6\u6001",y2="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",s2="\u5220\u9664",p2="\u7F16\u8F91",d2="\u67E5\u770B",v2="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",h2="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",b2="\u5145\u6EE1\u6574\u884C",m2="\u6700\u5C0F\u503C",g2="\u6700\u5927\u503C",O2="\u65B0\u5EFA\u6587\u6863",w2="\u91CD\u7F6E",$2="\u67E5\u8BE2",P2="\u660E\u7EC6",E2="\u6253\u5370",S2="\u4FDD\u5B58\u8349\u7A3F",T2="\u4FDD\u5B58",R2="\u53D6\u6D88",B2="\u4E0A\u4F20\u56FE\u7247",D2="\u53D1\u8D77\u7B7E\u7F72",A2="\u4E0A\u4F20\u9644\u4EF6",I2="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",k2="\u5F15\u7528\u5217\u8868",F2="\u9009\u9879\u4E00",x2="\u9009\u9879\u4E8C",M2="\u9009\u9879\u4E09",L2={isNotNumber:Qn,isNotString:v3,isNotObject:h3,isNotArray:b3,isNotBoolean:m3,runtimeRequired:g3,pleaseEnterCaption:O3,pleaseEnterCaptionTip:w3,pleaseEnterRowCaption:$3,pleaseEnterPlaceholder:P3,pleaseEnterFieldCode:E3,pleaseEnterForm:S3,pleaseEnterList:T3,pleaseEnterProcess:R3,pleaseEnterLabel:B3,pleaseEnterValue:D3,bizKeyNotBindFiled:A3,pleaseSelectOneField:I3,pleaseEnterNumberRange:k3,pleaseEnterAValueGreaterThanMin:F3,pleaseEnterAValueLessThanMax:x3,numberRangeSetError:M3,stringRangeError:L3,attachmentMaxSize:j3,pleaseEnterTotalScoreSetting:C3,theTotalScoreMustNotBeLessThan1:N3,scoreDefaultValueRange:V3,attachmentLimitError:z3,PleaseReselectTheOptionalQuantity:H3,TheMaximumLengthIsGreaterThanTheMinimumLength:U3,TheMinimumLengthIsGreaterThanTheMaximumLength:q3,PleaseSelectTheCorrectOptionSettings:W3,optionIdIsRepeat:K3,optionIsRequired:G3,pleaseEnterDataCode:X3,pleaseEnterValueFieldCode:Q3,pleaseEnterSvcCode:J3,pleaseBindAtLeastOneDisplayValue:Z3,pleaseSelectProvince:Y3,pleaseSelectCity:t1,pleaseSelectDistrict:e1,limitRowsCannotBeLessThan0:n1,TheNumberOfRowsCannotBeLessThanMinRows:o1,pleaseEnterColumnWidth:r1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:i1,pleaseCompleteAllRulesAndConditions:u1,pleaseSelectControl:l1,pleaseSelectAtLeastOneColumn:c1,pleaseSelectFillBackMode:a1,pleaseSelectDashboard:f1,rootNodeIsRequired:_1,theViewNameCannotBeEmpty:y1,pleaseSelectOcrType:s1,pleaseSelectAtLeastOneFieldToFillIn:p1,pleaseChooseAtLeastOne:d1,pleaseEnterButtonContent:v1,pleaseEnterDataCodeInDataSetting:h1,pleaseEnterValueFieldCodeInDataSetting:b1,pleaseEnterSvcCodeInDataSetting:m1,pleaseBindAtLeastOneDisplayValueInDataSetting:g1,rootNodeIsRequiredInDataSetting:O1,pleaseEnterMaxHeight:w1,pleaseEnterWatermark:$1,pleaseEnterFileName:P1,pleaseUploadAtLeastOnePrintTemplate:E1,pleaseAssignBusiness:S1,pleaseAssignExternal:T1,pleaseEnterAliasCode:R1,pleaseSelectDataCode:B1,pleaseSelectSvcCode:D1,pleaseSelectJoinFieldCode:A1,pleaseSelectMainFieldCode:I1,pleaseSelectSortFieldCode:k1,batchDeleteButton:F1,batchPrintListButton:x1,batchPrintRecordList:M1,button:L1,createFormListButton:j1,dashboard:C1,divider:N1,exportListButton:V1,formSelectButton:z1,importRecordListButton:H1,invoiceCheckButton:U1,link:q1,listSelectButton:W1,ListViewSelect:K1,operationButton:G1,pagination:X1,submissionRecordListButton:Q1,text:J1,textOcrButton:Z1,title:Y1,approvalStatusColumn:tD,array:eD,autoNumber:nD,custom:oD,decimal:rD,department:iD,employee:uD,file:lD,image:cD,location:aD,operation:fD,order:_D,people:yD,long:sD,timescope:pD,timestamp:dD,varchar:vD,gridLayoutWrap:hD,gridTable:bD,subTable:mD,address:gD,amount:OD,calc:wD,checkBox:$D,electronicSignature:PD,input:ED,number:SD,organizationSelection:TD,radio:RD,richText:BD,score:DD,searchNumberRange:AD,select:ID,selectMultiple:kD,selectRelation:FD,textarea:xD,tree:MD,vueFormItem:LD,vuePage:jD,WPS:CD,actionBar:ND,advancedContainer:VD,cardGroup:zD,col:HD,dataView:UD,grid:qD,gridLayoutContainer:WD,gridRow:KD,listView:GD,page:XD,position:QD,positioningContainer:JD,row:ZD,subtableColumn:YD,subtableRow:tA,tab:eA,tabPane:nA,toolbox:oA,batchSubmissionListButton:rA,exportRecordListButton:iA,listViewSelect:uA,endTime:lA,startTime:cA,unit:aA,result:fA,currency:_A,endDate:yA,startDate:sA,pleaseSelectCompanyName:pA,pleaseSelectPhoneOrEmail:dA,pleaseSelectSignType:vA,pleaseSelectSigner:hA,pleaseSelectOnlyOne:bA,pleaseSelectSignFile:mA,pleaseSelect:gA,pleaseSelectOrg:OA,pleaseSelectDept:wA,pleaseSelectEndDate:$A,pleaseSelectStartDate:PA,pleaseChooseAddress:EA,modalConfirm:SA,tabChange:TA,rowSelected:RA,listDataImport:BA,rowDelete:DA,rowClick:AA,cellRender:IA,onClickBtn:kA,rename:FA,onSaveFile:xA,onOpenFile:MA,onFocus:LA,onBlur:jA,onInput:CA,listDataAdd:NA,listDataDelete:VA,listDataBack:zA,listDataCreate:HA,listDataChange:UA,search:qA,valueChange:WA,finished:KA,click:GA,pleaseEnterNameorEmail:XA,pleaseEnterDate:QA,pleaseEnterAutonumber:JA,pleaseEnter:ZA,defaultTemplate:YA,left:t2,top:e2,default:"\u666E\u901A",readonly:n2,required:o2,textTip:r2,hideCaption:i2,titleRequired:u2,organizationalForm:l2,businessType:c2,deleteConfirm:a2,hide:f2,processStatus:_2,approvedDocuments:y2,delete:s2,edit:p2,view:d2,loadCtrlErrorTip:v2,loadCtrlError:h2,fullLine:b2,min:m2,max:g2,createWPS:O2,reset:w2,query:$2,detailed:P2,print:E2,draft:S2,save:T2,cancel:R2,uploadImg:B2,signature:D2,uploadFile:A2,linkContent:I2,referenceList:k2,optionOne:F2,optionTwo:x2,optionThird:M2},j2="Please enter a number",C2="Please enter a string",N2="Please enter an object",V2="Please enter an array",z2="Please enter a boolean",H2="{caption} Required",U2="Please enter the title",q2="Please enter the bubble prompt",W2="Please enter the row title",K2="Please enter the prompt text",G2="Please bind data items",X2="Please bind the form",Q2="Please bind the list",J2="Please bind the process",Z2="Please enter the displayed value",Y2="Please enter the stored value",t5="The document number is not bound to the data item",e5="Please select at least one display field",n5="Please enter a value greater than or equal to {min} and less than or equal to {max}",o5="Please enter a value greater than or equal to {min}",r5="Please enter a value less than or equal to {max}",i5="The value range is set incorrectly",u5="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",l5="The attachment size must be between 0MB and 1000MB",c5="Please fill in the total score setting",a5="The total score cannot be less than 1",f5="The default value must be between {min} and {max}",_5="The number of attachment uploads exceeds the limit",y5="Please re-select the optional quantity",s5="The maximum length of the control must be greater than the minimum length",p5="The minimum length of the control must be less than the maximum length",d5="Please select the correct option setting",v5="Option ID cannot be repeated",h5="Please enter at least one option",b5="Please bind the data source",m5="Please bind the stored value",g5="Please bind the service",O5="At least one display value must be bound",w5="Please select a province",$5="Please select a city",P5="Please select a district",E5="The minimum number of lines to fill in cannot be less than 0",S5="The number of rows cannot be less than {min} rows",T5="Please enter the column width",R5="Please set the logical relationship of all rule conditions",B5="Please complete all rules and conditions",D5="please select control",A5="Please select the dashboard",I5="View name cannot be empty",k5="Please select recognition type",F5="Please select at least one field to fill in",x5="Please select at least one",M5="Please enter the button title",L5="Please bind the business model in the data settings",j5="Please bind storage values in data settings",C5="Please bind the service in the data settings",N5="Please bind at least one display value in the data settings",V5="Please select the root node in the data settings",z5="Please enter the maximum height",H5="The input content cannot be empty",U5="Watermark cannot be empty",q5="File name cannot be empty",W5="Please upload at least one printing template!\uFF01",K5="Please select a specific business department",G5="Please select a specified external organization",X5="Please enter a sub table alias",Q5="Please select the associated table to set the business model",J5="Please select the association table to set the binding service",Z5="Select associated sub table fields",Y5="Please select the associated main table field",tI="Please select the sort field",eI="\u6279\u91CF\u5220\u9664",nI="\u6279\u91CF\u6253\u5370",oI="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",rI="\u6309\u94AE",iI="\u521B\u5EFA\u5355\u636E",uI="\u4EEA\u8868\u76D8",lI="\u5206\u5272\u7EBF",cI="\u5BFC\u51FA",aI="\u8868\u5355\u64CD\u4F5C",fI="\u5BFC\u5165",_I="\u53D1\u7968\u8BC6\u522B",yI="\u94FE\u63A5",sI="\u5217\u8868\u9009\u62E9",pI="\u5217\u8868\u89C6\u56FE",dI="\u64CD\u4F5C\u6309\u94AE",vI="\u5206\u9875",hI="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",bI="\u8BF4\u660E\u6587\u5B57",mI="\u6587\u5B57\u8BC6\u522B",gI="\u6807\u9898\u7EC4\u4EF6",OI="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",wI="\u6570\u7EC4",$I="\u81EA\u52A8\u7F16\u53F7",PI="\u81EA\u5B9A\u4E49",EI="\u6570\u503C",SI="\u90E8\u95E8",TI="\u4EBA\u5458",RI="\u9644\u4EF6",BI="\u56FE\u7247",DI="\u5730\u5740",AI="\u64CD\u4F5C",II="\u5E8F\u53F7",kI="\u4EBA\u5458",FI="\u957F\u6587\u672C",xI="\u65E5\u671F\u533A\u95F4",MI="\u65E5\u671F",LI="\u77ED\u6587\u672C",jI="\u6362\u884C\u5BB9\u5668Wrap",CI="\u8868\u683C",NI="\u660E\u7EC6\u5B50\u8868",VI="\u5730\u5740",zI="\u91D1\u989D",HI="\u8BA1\u7B97\u516C\u5F0F",UI="\u591A\u9009",qI="\u7535\u5B50\u7B7E\u7AE0",WI="\u5355\u884C\u6587\u672C",KI="\u6570\u5B57",GI="\u4E1A\u52A1\u7EC4\u7EC7",XI="\u5355\u9009",QI="\u5BCC\u6587\u672C",JI="\u8BC4\u5206",ZI="\u6570\u5B57\u533A\u95F4",YI="\u4E0B\u62C9\u5355\u9009",tk="\u4E0B\u62C9\u591A\u9009",ek="\u5173\u8054\u5355\u9009",nk="\u591A\u884C\u6587\u672C",ok="\u6811",rk="Vue\u5BB9\u5668",ik="Vue\u9875\u9762",uk="\u5728\u7EBF\u6587\u6863",lk="\u6309\u94AE\u64CD\u4F5C\u680F",ck="\u9AD8\u7EA7\u5BB9\u5668",ak="\u5206\u7EC4",fk="\u6805\u683C\u5217",_k="\u6570\u636E\u5BB9\u5668",yk="\u753B\u5E03",sk="\u6362\u884C\u5BB9\u5668",pk="\u6805\u683C\u7B49\u5206\u884C",dk="\u5217\u8868\u5BB9\u5668",vk="\u81EA\u7531\u9875\u9762",hk="\u5B9A\u4F4D\u5B50\u5BB9\u5668",bk="\u5B9A\u4F4D\u5BB9\u5668",mk="\u6805\u683C\u5E03\u5C40",gk="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Ok="\u660E\u7EC6\u5B50\u8868\u884C",wk="\u6807\u7B7E\u9875",$k="\u6807\u7B7E\u5355\u5143",Pk="\u5DE5\u5177\u680F",Ek="\u6279\u91CF\u63D0\u4EA4",Sk="\u5BFC\u51FA\u8BB0\u5F55",Tk="\u5217\u8868\u89C6\u56FE",Rk="\u5F15\u7528\u5217\u8868",Bk="\u9009\u9879\u4E00",Dk="\u9009\u9879\u4E8C",Ak="\u9009\u9879\u4E09",Ik={isNotNumber:j2,isNotString:C2,isNotObject:N2,isNotArray:V2,isNotBoolean:z2,runtimeRequired:H2,pleaseEnterCaption:U2,pleaseEnterCaptionTip:q2,pleaseEnterRowCaption:W2,pleaseEnterPlaceholder:K2,pleaseEnterFieldCode:G2,pleaseEnterForm:X2,pleaseEnterList:Q2,pleaseEnterProcess:J2,pleaseEnterLabel:Z2,pleaseEnterValue:Y2,bizKeyNotBindFiled:t5,pleaseSelectOneField:e5,pleaseEnterNumberRange:n5,pleaseEnterAValueGreaterThanMin:o5,pleaseEnterAValueLessThanMax:r5,numberRangeSetError:i5,stringRangeError:u5,attachmentMaxSize:l5,pleaseEnterTotalScoreSetting:c5,theTotalScoreMustNotBeLessThan1:a5,scoreDefaultValueRange:f5,attachmentLimitError:_5,PleaseReselectTheOptionalQuantity:y5,TheMaximumLengthIsGreaterThanTheMinimumLength:s5,TheMinimumLengthIsGreaterThanTheMaximumLength:p5,PleaseSelectTheCorrectOptionSettings:d5,optionIdIsRepeat:v5,optionIsRequired:h5,pleaseEnterDataCode:b5,pleaseEnterValueFieldCode:m5,pleaseEnterSvcCode:g5,pleaseBindAtLeastOneDisplayValue:O5,pleaseSelectProvince:w5,pleaseSelectCity:$5,pleaseSelectDistrict:P5,limitRowsCannotBeLessThan0:E5,TheNumberOfRowsCannotBeLessThanMinRows:S5,pleaseEnterColumnWidth:T5,pleaseSetTheLogicalRelationshipOfAllRuleConditions:R5,pleaseCompleteAllRulesAndConditions:B5,pleaseSelectControl:D5,pleaseSelectDashboard:A5,theViewNameCannotBeEmpty:I5,pleaseSelectOcrType:k5,pleaseSelectAtLeastOneFieldToFillIn:F5,pleaseChooseAtLeastOne:x5,pleaseEnterButtonContent:M5,pleaseEnterDataCodeInDataSetting:L5,pleaseEnterValueFieldCodeInDataSetting:j5,pleaseEnterSvcCodeInDataSetting:C5,pleaseBindAtLeastOneDisplayValueInDataSetting:N5,rootNodeIsRequiredInDataSetting:V5,pleaseEnterMaxHeight:z5,pleaseEnter:H5,pleaseEnterWatermark:U5,pleaseEnterFileName:q5,pleaseUploadAtLeastOnePrintTemplate:W5,pleaseAssignBusiness:K5,pleaseAssignExternal:G5,pleaseEnterAliasCode:X5,pleaseSelectDataCode:Q5,pleaseSelectSvcCode:J5,pleaseSelectJoinFieldCode:Z5,pleaseSelectMainFieldCode:Y5,pleaseSelectSortFieldCode:tI,batchDeleteButton:eI,batchPrintListButton:nI,batchPrintRecordList:oI,button:rI,createFormListButton:iI,dashboard:uI,divider:lI,exportListButton:cI,formSelectButton:aI,importRecordListButton:fI,invoiceCheckButton:_I,link:yI,listSelectButton:sI,ListViewSelect:pI,operationButton:dI,pagination:vI,submissionRecordListButton:hI,text:bI,textOcrButton:mI,title:gI,approvalStatusColumn:OI,array:wI,autoNumber:$I,custom:PI,decimal:EI,department:SI,employee:TI,file:RI,image:BI,location:DI,operation:AI,order:II,people:kI,long:FI,timescope:xI,timestamp:MI,varchar:LI,gridLayoutWrap:jI,gridTable:CI,subTable:NI,address:VI,amount:zI,calc:HI,checkBox:UI,electronicSignature:qI,input:WI,number:KI,organizationSelection:GI,radio:XI,richText:QI,score:JI,searchNumberRange:ZI,select:YI,selectMultiple:tk,selectRelation:ek,textarea:nk,tree:ok,vueFormItem:rk,vuePage:ik,WPS:uk,actionBar:lk,advancedContainer:ck,cardGroup:ak,col:fk,dataView:_k,grid:yk,gridLayoutContainer:sk,gridRow:pk,listView:dk,page:vk,position:hk,positioningContainer:bk,row:mk,subtableColumn:gk,subtableRow:Ok,tab:wk,tabPane:$k,toolbox:Pk,batchSubmissionListButton:Ek,exportRecordListButton:Sk,listViewSelect:Tk,referenceList:Rk,optionOne:Bk,optionTwo:Dk,optionThird:Ak},kk="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fk="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xk="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mk="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lk="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jk="{caption}\u5FC5\u9808",Ck="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nk="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vk="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zk="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hk="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uk="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qk="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wk="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kk="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gk="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Xk="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Qk="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Jk="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zk="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Yk="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",t6="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",e6="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n6="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",o6="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",r6="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",i6="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",u6="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",l6="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",c6="\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",a6="\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",f6="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_6="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",y6="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",s6="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",p6="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",d6="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",v6="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",h6="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",b6="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",m6="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",g6="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",O6="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",w6="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$6="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",P6="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",E6="please select control",S6="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",T6="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",R6="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",B6="\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",D6="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",A6="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",I6="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",k6="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",F6="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",x6="\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",M6="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",L6="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",j6="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",C6="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",N6="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",V6="\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",z6="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",H6="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",U6="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",q6="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",W6="\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",K6="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",G6="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",X6="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q6="\u6279\u91CF\u5220\u9664",J6="\u6279\u91CF\u6253\u5370",Z6="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Y6="\u6309\u94AE",tF="\u521B\u5EFA\u5355\u636E",eF="\u4EEA\u8868\u76D8",nF="\u5206\u5272\u7EBF",oF="\u5BFC\u51FA",rF="\u8868\u5355\u64CD\u4F5C",iF="\u5BFC\u5165",uF="\u53D1\u7968\u8BC6\u522B",lF="\u94FE\u63A5",cF="\u5217\u8868\u9009\u62E9",aF="\u5217\u8868\u89C6\u56FE",fF="\u64CD\u4F5C\u6309\u94AE",_F="\u5206\u9875",yF="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",sF="\u8BF4\u660E\u6587\u5B57",pF="\u6587\u5B57\u8BC6\u522B",dF="\u6807\u9898\u7EC4\u4EF6",vF="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",hF="\u6570\u7EC4",bF="\u81EA\u52A8\u7F16\u53F7",mF="\u81EA\u5B9A\u4E49",gF="\u6570\u503C",OF="\u90E8\u95E8",wF="\u4EBA\u5458",$F="\u9644\u4EF6",PF="\u56FE\u7247",EF="\u5730\u5740",SF="\u64CD\u4F5C",TF="\u5E8F\u53F7",RF="\u4EBA\u5458",BF="\u957F\u6587\u672C",DF="\u65E5\u671F\u533A\u95F4",AF="\u65E5\u671F",IF="\u77ED\u6587\u672C",kF="\u6362\u884C\u5BB9\u5668Wrap",FF="\u8868\u683C",xF="\u660E\u7EC6\u5B50\u8868",MF="\u5730\u5740",LF="\u91D1\u989D",jF="\u8BA1\u7B97\u516C\u5F0F",CF="\u591A\u9009",NF="\u7535\u5B50\u7B7E\u7AE0",VF="\u5355\u884C\u6587\u672C",zF="\u6570\u5B57",HF="\u4E1A\u52A1\u7EC4\u7EC7",UF="\u5355\u9009",qF="\u5BCC\u6587\u672C",WF="\u8BC4\u5206",KF="\u6570\u5B57\u533A\u95F4",GF="\u4E0B\u62C9\u5355\u9009",XF="\u4E0B\u62C9\u591A\u9009",QF="\u5173\u8054\u5355\u9009",JF="\u591A\u884C\u6587\u672C",ZF="\u6811",YF="Vue\u5BB9\u5668",tx="Vue\u9875\u9762",ex="\u5728\u7EBF\u6587\u6863",nx="\u6309\u94AE\u64CD\u4F5C\u680F",ox="\u9AD8\u7EA7\u5BB9\u5668",rx="\u5206\u7EC4",ix="\u6805\u683C\u5217",ux="\u6570\u636E\u5BB9\u5668",lx="\u753B\u5E03",cx="\u6362\u884C\u5BB9\u5668",ax="\u6805\u683C\u7B49\u5206\u884C",fx="\u5217\u8868\u5BB9\u5668",_x="\u81EA\u7531\u9875\u9762",yx="\u5B9A\u4F4D\u5B50\u5BB9\u5668",sx="\u5B9A\u4F4D\u5BB9\u5668",px="\u6805\u683C\u5E03\u5C40",dx="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",vx="\u660E\u7EC6\u5B50\u8868\u884C",hx="\u6807\u7B7E\u9875",bx="\u6807\u7B7E\u5355\u5143",mx="\u5DE5\u5177\u680F",gx="\u6279\u91CF\u63D0\u4EA4",Ox="\u5BFC\u51FA\u8BB0\u5F55",wx="\u5217\u8868\u89C6\u56FE",$x="\u5F15\u7528\u5217\u8868",Px="\u9009\u9879\u4E00",Ex="\u9009\u9879\u4E8C",Sx="\u9009\u9879\u4E09",Tx={isNotNumber:kk,isNotString:Fk,isNotObject:xk,isNotArray:Mk,isNotBoolean:Lk,runtimeRequired:jk,pleaseEnterCaption:Ck,pleaseEnterCaptionTip:Nk,pleaseEnterRowCaption:Vk,pleaseEnterPlaceholder:zk,pleaseEnterFieldCode:Hk,pleaseEnterForm:Uk,pleaseEnterList:qk,pleaseEnterProcess:Wk,pleaseEnterLabel:Kk,pleaseEnterValue:Gk,bizKeyNotBindFiled:Xk,pleaseSelectOneField:Qk,pleaseEnterNumberRange:Jk,pleaseEnterAValueGreaterThanMin:Zk,pleaseEnterAValueLessThanMax:Yk,numberRangeSetError:t6,stringRangeError:e6,attachmentMaxSize:n6,pleaseEnterTotalScoreSetting:o6,theTotalScoreMustNotBeLessThan1:r6,scoreDefaultValueRange:i6,attachmentLimitError:u6,PleaseReselectTheOptionalQuantity:l6,TheMaximumLengthIsGreaterThanTheMinimumLength:c6,TheMinimumLengthIsGreaterThanTheMaximumLength:a6,PleaseSelectTheCorrectOptionSettings:f6,optionIdIsRepeat:_6,optionIsRequired:y6,pleaseEnterDataCode:s6,pleaseEnterValueFieldCode:p6,pleaseEnterSvcCode:d6,pleaseBindAtLeastOneDisplayValue:v6,pleaseSelectProvince:h6,pleaseSelectCity:b6,pleaseSelectDistrict:m6,limitRowsCannotBeLessThan0:g6,TheNumberOfRowsCannotBeLessThanMinRows:O6,pleaseEnterColumnWidth:w6,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$6,pleaseCompleteAllRulesAndConditions:P6,pleaseSelectControl:E6,pleaseSelectDashboard:S6,theViewNameCannotBeEmpty:T6,pleaseSelectOcrType:R6,pleaseSelectAtLeastOneFieldToFillIn:B6,pleaseChooseAtLeastOne:D6,pleaseEnterButtonContent:A6,pleaseEnterDataCodeInDataSetting:I6,pleaseEnterValueFieldCodeInDataSetting:k6,pleaseEnterSvcCodeInDataSetting:F6,pleaseBindAtLeastOneDisplayValueInDataSetting:x6,rootNodeIsRequiredInDataSetting:M6,pleaseEnterMaxHeight:L6,pleaseEnter:j6,pleaseEnterWatermark:C6,pleaseEnterFileName:N6,pleaseUploadAtLeastOnePrintTemplate:V6,pleaseAssignBusiness:z6,pleaseAssignExternal:H6,pleaseEnterAliasCode:U6,pleaseSelectDataCode:q6,pleaseSelectSvcCode:W6,pleaseSelectJoinFieldCode:K6,pleaseSelectMainFieldCode:G6,pleaseSelectSortFieldCode:X6,batchDeleteButton:Q6,batchPrintListButton:J6,batchPrintRecordList:Z6,button:Y6,createFormListButton:tF,dashboard:eF,divider:nF,exportListButton:oF,formSelectButton:rF,importRecordListButton:iF,invoiceCheckButton:uF,link:lF,listSelectButton:cF,ListViewSelect:aF,operationButton:fF,pagination:_F,submissionRecordListButton:yF,text:sF,textOcrButton:pF,title:dF,approvalStatusColumn:vF,array:hF,autoNumber:bF,custom:mF,decimal:gF,department:OF,employee:wF,file:$F,image:PF,location:EF,operation:SF,order:TF,people:RF,long:BF,timescope:DF,timestamp:AF,varchar:IF,gridLayoutWrap:kF,gridTable:FF,subTable:xF,address:MF,amount:LF,calc:jF,checkBox:CF,electronicSignature:NF,input:VF,number:zF,organizationSelection:HF,radio:UF,richText:qF,score:WF,searchNumberRange:KF,select:GF,selectMultiple:XF,selectRelation:QF,textarea:JF,tree:ZF,vueFormItem:YF,vuePage:tx,WPS:ex,actionBar:nx,advancedContainer:ox,cardGroup:rx,col:ix,dataView:ux,grid:lx,gridLayoutContainer:cx,gridRow:ax,listView:fx,page:_x,position:yx,positioningContainer:sx,row:px,subtableColumn:dx,subtableRow:vx,tab:hx,tabPane:bx,toolbox:mx,batchSubmissionListButton:gx,exportRecordListButton:Ox,listViewSelect:wx,referenceList:$x,optionOne:Px,optionTwo:Ex,optionThird:Sx},df={zhCN:L2,enUS:Ik,jaJP:Tx},eb;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(eb||(eb={}));var nb;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(nb||(nb={}));var vf,Rx=(vf=window.localStorage.getItem("locale"))!==null&&vf!==void 0?vf:"zh-CN",je;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(je||(je={}));var ob;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(ob||(ob={}));var s;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.SIGNATURE_COLUMN="signature-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.HANDSIGNATURE="signature",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"})(s||(s={}));var rb;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(rb||(rb={}));var g;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY",e.SIGNATURE="signature"})(g||(g={}));var re;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(re||(re={}));var ib={DEFAULT:"default"},ub="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Bx=ub+"0123456789";function Ct(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?ub:Bx,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}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 Dx(e){if(Array.isArray(e))return hf(e)}function Ax(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lb(e,t,n){return t=Jn(t),xx(e,mf()?Reflect.construct(t,n||[],Jn(e).constructor):t.apply(e,n))}function cb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function No(e,t,n){return mf()?No=Reflect.construct:No=function(r,i,u){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),a=new c;return u&&Zn(a,u.prototype),a},No.apply(null,arguments)}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(e)}function ab(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ix(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function kx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fx(){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 xx(e,t){return t&&(Mx(t)==="object"||typeof t=="function")?t:Ax(e)}function Zn(e,t){return Zn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zn(e,t)}function fb(e){return Dx(e)||kx(e)||Lx(e)||Fx()}function Mx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lx(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){var t=typeof Map=="function"?new Map:void 0;return bf=function(o){if(o===null||!Ix(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 No(o,arguments,Jn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Zn(r,o)},bf(e)}function mf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mf=function(){return!!e})()}var gf=console;function Of(){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=gf).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(fb(r)))}function Vo(){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=gf).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(fb(r)))}function jx(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var wf=function(e){ab(t,e);function t(n){cb(this,t);var o;return o=lb(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?jx(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(bf(Error)),Cx=function(e){ab(t,e);function t(n){cb(this,t);var o;return o=lb(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(wf);function Yn(e){throw new wf(e)}function _b(e){throw new Cx(e)}function Nx(e){gf.error(new wf(e))}const f=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const o=e.split(".");let r;const i=(window.baitedaWorkers||{}).languageMessages||{};o.forEach((l,c)=>{c===0?r=i[l]:r&&(r=r[l])});let u="";return r&&(u=r),t&&Object.keys(t).forEach(l=>{const c=t[l];u=u.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),c)}),u||(n?u=n:u=e),u};function Vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zx(e,t,n){return t&&yb(e.prototype,t),n&&yb(e,n),e}function Hx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sb=function(){function e(){Vx(this,e)}return zx(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return f("CMD."+n,o,df==null||(r=df[Rx.split("-").join("")])===null||r===void 0?void 0:r[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,o){}}]),e}();Hx(sb,"$i18n",sb.resetI18n());function Ux(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,l,c){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Of("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return l===c.length-1&&!Object.is(a[u],n)&&(a[u]=n,r=!0),a[u]}},e),r}var qx=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},$f={exports:{}};(function(e){(function(t){var n=function(h,$,E){if(!a($)||p($)||d($)||b($)||c($))return $;var T,R=0,z=0;if(_($))for(T=[],z=$.length;R<z;R++)T.push(n(h,$[R],E));else{T={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(T[h(A,E)]=n(h,$[A],E))}return T},o=function(h,$){$=$||{};var E=$.separator||"_",T=$.split||/(?=[A-Z])/;return h.split(T).join(E)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,E){return E?E.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},l=Object.prototype.toString,c=function(h){return typeof h=="function"},a=function(h){return h===Object(h)},_=function(h){return l.call(h)=="[object Array]"},p=function(h){return l.call(h)=="[object Date]"},d=function(h){return l.call(h)=="[object RegExp]"},b=function(h){return l.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},m=function(h,$){var E=$&&"process"in $?$.process:$;return typeof E!="function"?h:function(T,R){return E(T,h,R)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(m(r,$),h)},decamelizeKeys:function(h,$){return n(m(u,$),h,$)},pascalizeKeys:function(h,$){return n(m(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(qx)})($f);var pb={};Object.defineProperty(pb,"__esModule",{value:!0});function Pf(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Pf(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:Pf(o)}return t}}var Wx=pb.default=Pf;function Kx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":Kx(e))==="object"?Wx(e):e}function ft(e){return db(e)&&"zh"in e}function db(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ef(e){return Array.isArray(e)}function Ce(e){return isNaN(parseFloat(e))?"":Number(e)}function Gx(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 Xx(e){return $f.exports.camelizeKeys(e)}function ie(e){return $f.exports.decamelizeKeys(e)}function Sf(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 Qx(e){if(Array.isArray(e))return Sf(e)}function vb(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function Jx(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){vb(i,o,r,u,l,"next",c)}function l(c){vb(i,o,r,u,l,"throw",c)}u(void 0)})}}function Zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hb(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 Yx(e,t,n){return t&&hb(e.prototype,t),n&&hb(e,n),e}function bb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tM(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eM(){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 Tf(e){return Qx(e)||tM(e)||nM(e)||eM()}function nM(e,t){if(!!e){if(typeof e=="string")return Sf(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 Sf(e,t)}}function oM(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var rM=function(){function e(){Zx(this,e),bb(this,"_events",new Map),bb(this,"debug",!1)}return Yx(e,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var u=this;return Jx(function(){var l,c,a,_,p,d,b,O,m,w,h,$;return oM(this,function(E){switch(E.label){case 0:if(l=u._events.get(n),c=[],!l)return[3,10];a=l.slice(),_=!0,p=!1,d=void 0,E.label=1;case 1:E.trys.push([1,8,9,10]),b=a[Symbol.iterator](),E.label=2;case 2:if(_=(O=b.next()).done)return[3,7];if(m=O.value,!l.includes(m))return[3,6];E.label=3;case 3:return E.trys.push([3,5,,6]),u.debug&&Vo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Tf(r))),[4,m.apply(null,Tf(r))];case 4:return w=E.sent(),u.debug&&Vo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Tf(r),[w])),c.push(w),w===!1?[3,7]:[3,6];case 5:return h=E.sent(),Nx(String(h)+":"+String(h.stack)),[3,6];case 6:return _=!0,[3,2];case 7:return[3,10];case 8:return $=E.sent(),p=!0,d=$,[3,10];case 9:try{!_&&b.return!=null&&b.return()}finally{if(p)throw d}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function iM(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 uM(e,t,n){return t&&mb(e.prototype,t),n&&mb(e,n),e}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}var cM=[{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"}],aM=function(){function e(){iM(this,e)}return uM(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}();lM(aM,"events",cM);function Rf(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 fM(e){if(Array.isArray(e))return Rf(e)}function _M(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yM(){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 gb(e){return fM(e)||_M(e)||sM(e)||yM()}function sM(e,t){if(!!e){if(typeof e=="string")return Rf(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 Rf(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 Ob(e,t,n){n!=="Runtime"&&(e.parent=t,Bf(e,"parent"))}function pM(e,t,n){e.forEach(function(o){Ob(o,t,n)})}var wb=Symbol("targetKey");function $b(e){var t;return(t=e[wb])!==null&&t!==void 0?t:e}function Pb(e,t,n){return pM(e,t,n),new Proxy(e,{get:function(r,i){for(var u=arguments.length,l=new Array(u>2?u-2:0),c=2;c<u;c++)l[c-2]=arguments[c];var a;return i===wb?r:(a=Reflect).get.apply(a,[r,i].concat(gb(l)))},set:function(r,i,u){for(var l=arguments.length,c=new Array(l>3?l-3:0),a=3;a<l;a++)c[a-3]=arguments[a];var _;if(Ef(e)&&i==="length"&&u===e.length)return!0;var p=(_=Reflect).set.apply(_,[r,i,u].concat(gb(c)));return db(u)&&Ob(u,t,n),p}})}function Wt(e,t,n,o,r){var i=o!=null?o:e,u=Pb($b(n!=null?n:[]),i,r);Object.defineProperty(e,t,{get:function(){return u},set:function(c){u=Pb($b(c),i,r)},enumerable:!0})}function dM(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 vM(e,t,n){return t&&Eb(e.prototype,t),n&&Eb(e,n),e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sb=[],zo=function(){function e(t){dM(this,e),ue(this,"registeredControlTypes",new Set),ue(this,"controlConfigMap",new Map),ue(this,"_controls",[]),ue(this,"_type",void 0),this._type=t,this._initControls(t)}return vM(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__||Yn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(Of("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===je.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===je.FORM}},{key:"isListControl",value:function(n){return n.controlType===je.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===je.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(_){return r.createControl(_,o)});if(n.children&&(n.children=n.children.map(function(_){return r.createControl(_,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(_){return r.createControl(_,o)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof o=="function"){var c=o(l);c&&(l=c)}var a;return u.mode==="Runtime"?(a=l,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(l),a}else Yn("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 c=u[i],a=l[i];if(!(!c&&!a)){var _=a.findIndex(function(b){return b==n}),p=l[c]||[],d;return p.length!==a.length?d=p[0]:d=p[_],d}}}}),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__)&&Yn("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===r.controlType});return l>-1&&(Of("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),e}();ue(zo,"staticControlsRuntimeRules",new Map),ue(zo,"staticControls",Sb),ue(zo,"staticRegisteredTypes",new Set(Sb.map(function(e){return e.Designer.controlType}))),ue(zo,"staticRegisteredConfigs",new Map);function hM(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=Ho(t),bM(e,Tb()?Reflect.construct(t,n||[],Ho(e).constructor):t.apply(e,n))}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(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&&Df(e,t)}function bM(e,t){return t&&(mM(t)==="object"||typeof t=="function")?t:hM(e)}function Df(e,t){return Df=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Df(e,t)}function mM(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 It=function e(t){S(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},Af=function e(t){S(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},Rb=function e(t){S(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},Bb=function e(t){S(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Rb(t==null?void 0:t.pc),this.mobile=new Rb(t==null?void 0:t.mobile)},If=function(e){At(t,e);function t(n){S(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}(Af),Db=function e(t){S(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new If(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new If(t==null?void 0:t.mobile):new If({width:130,minWidth:180})},gM=function e(t){S(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:[]},Ne=function e(t){S(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:""},OM=function(e){At(t,e);function t(n){S(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}(Ne),Ab=function e(t){S(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:""},kf=function e(t){S(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 Ab(u)}))!==null&&i!==void 0?i:[]},wM=function e(t){S(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},$M=function(e){At(t,e);function t(n){S(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}(Ne),PM=function e(t){S(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 Ne(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 wM(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 $M(u)}))!==null&&i!==void 0?i:[]},EM=function e(t){S(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},to=function e(t){S(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:[]},Ff=function e(t){var n=this;S(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Ct();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(l){if(l.children!==void 0){var c,a=new e(l);(c=n.children)===null||c===void 0||c.push(a)}else{var _,p=new Uo(l);(_=n.children)===null||_===void 0||_.push(p)}}))},Uo=function e(t){S(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ct();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=t==null?void 0:t.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new EM(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new to(t==null?void 0:t.rightVariableBo)},SM=function e(t){S(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(t==null?void 0:t.datasourceBind);var o;this.relationFields=(o=t==null?void 0:t.relationFields)!==null&&o!==void 0?o:[]},st=function e(t){S(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:""},xf=function e(t){S(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},TM=function e(t){S(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 Mf(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 Ff(l):new Uo(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 Ff(l):new Uo(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 TM(l)}))!==null&&u!==void 0?u:[]}var X=function e(t){var n=this;S(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 xf(_))}));var l;this.keywordMapping=(l=t==null?void 0:t.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=t==null?void 0:t.showOrder)!==null&&c!==void 0?c:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Mf.call(this,t)},Lf=function e(t){S(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=t==null?void 0:t.displayBoList)!==null&&o!==void 0?o:[]},Kt=function e(t){S(this,e),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var l;this.formKey=(l=t==null?void 0:t.formKey)!==null&&l!==void 0?l:void 0,this.formType=t==null?void 0:t.formType;var c;this.icon=(c=t==null?void 0:t.icon)!==null&&c!==void 0?c:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var _;this.openType=(_=t==null?void 0:t.openType)!==null&&_!==void 0?_:"modal";var p;this.priorityProcess=(p=t==null?void 0:t.priorityProcess)!==null&&p!==void 0?p:!0},Ib=function e(t){S(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 xf(u)}))!==null&&i!==void 0?i:[]},qo=function(e){At(t,e);function t(n){S(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 Ib(u)}))!==null&&i!==void 0?i:[],o}return t}(X),RM=function(e){At(t,e);function t(n){S(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 Ib(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),kb=function(e){At(t,e);function t(n){S(this,t);var o;o=Dt(this,t,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new to(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}(qo),Fb=function e(t){S(this,e);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(u){return new st(u)}))!==null&&i!==void 0?i:[]},xb=function(e){At(t,e);function t(n){S(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),Mf.call(o,n),o}return t}(Fb),Mb=function(e){At(t,e);function t(n){S(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}(Fb),jf=function e(t){S(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:""},BM=function e(t){S(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ct(8);var o;this.label=(o=t==null?void 0:t.label)!==null&&o!==void 0?o:"";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:this.label};function Gt(e){var t;return(t=e==null?void 0:e.map(function(n){return new BM(n)}))!==null&&t!==void 0?t:[]}var Cf=function e(){S(this,e)},DM=function(e){At(t,e);function t(n){S(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}(Cf),AM=function e(t){S(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"},IM=function(e){At(t,e);function t(n){S(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}(Cf),kM=function e(t){S(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:""},FM=function e(t){S(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:""},xM=function(e){At(t,e);function t(n){S(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}(Cf),MM=function e(t){S(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:""},Nf;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Nf||(Nf={}));var y;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",e.IS_SHOW_TOOL_BAE="isShowToolbar"})(y||(y={}));var Vf;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Vf||(Vf={}));var le=function e(t){S(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},LM=function e(t){S(this,e);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Ct(8);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new Ab(u)}))!==null&&i!==void 0?i:[],Mf.call(this,t)},jM=function e(t){S(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"},CM=function e(t){S(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:""},NM=function e(t){S(this,e);var n,o;v(this,"id",void 0),v(this,"name",void 0),v(this,"settings",void 0),v(this,"filters",void 0),v(this,"script",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Ct();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(n=t.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Ff(c):new Uo(c)}))!==null&&u!==void 0?u:[];var l;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(l=t==null||(o=t.settings)===null||o===void 0?void 0:o.map(function(c){return new VM(c)}))!==null&&l!==void 0?l:[]:[],this.script=t==null?void 0:t.script},VM=function e(t){S(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"},zM=function e(t){S(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 NM(u)}))!==null&&i!==void 0?i:[]:[]};function HM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UM(e,t,n){return t=eo(t),KM(e,Uf()?Reflect.construct(t,n||[],eo(e).constructor):t.apply(e,n))}function zf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wo(e,t,n){return Uf()?Wo=Reflect.construct:Wo=function(r,i,u){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),a=new c;return u&&no(a,u.prototype),a},Wo.apply(null,arguments)}function Xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eo(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&&no(e,t)}function WM(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function KM(e,t){return t&&(GM(t)==="object"||typeof t=="function")?t:HM(e)}function no(e,t){return no=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},no(e,t)}function GM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hf(e){var t=typeof Map=="function"?new Map:void 0;return Hf=function(o){if(o===null||!WM(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 Wo(o,arguments,eo(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),no(r,o)},Hf(e)}function Uf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Uf=function(){return!!e})()}var W=function e(t){zf(this,e),Xt(this,"isHide",{type:"boolean"})},we=function(e){qM(t,e);function t(n){return zf(this,t),UM(this,t)}return t}(Hf(Array)),K=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";zf(this,e),Xt(this,"isHide",void 0),Xt(this,"className",void 0),Xt(this,"style",void 0),Xt(this,"caption",void 0),Xt(this,"defaultState",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new jM(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};Xt(K,"mode",void 0),Xt(K,"Rules",W),Xt(K,"RuntimeRules",we);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 XM(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qf(e)}function Ko(e,t){return Ko=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ko(e,t)}function QM(){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 Go(e,t,n){return QM()?Go=Reflect.construct:Go=function(r,i,u){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),a=new c;return u&&Ko(a,u.prototype),a},Go.apply(null,arguments)}function JM(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Wf(e){var t=typeof Map=="function"?new Map:void 0;return Wf=function(o){if(o===null||!JM(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 Go(o,arguments,qf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ko(r,o)},Wf(e)}var ZM=/%[sdj%]/g,Lb=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Lb=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function Kf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function vt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=1,r=t[0],i=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var u=String(r).replace(ZM,function(l){if(l==="%%")return"%";if(o>=i)return l;switch(l){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(c){return"[Circular]"}break;default:return l}});return u}return r}function YM(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||YM(t)&&typeof e=="string"&&!e)}function tL(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 jb(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 eL(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Cb=function(e){XM(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}(Wf(Error));function nL(e,t,n,o){if(t.first){var r=new Promise(function(p,d){var b=function(w){return o(w),w.length?d(new Cb(w,Kf(w))):p()},O=eL(e);jb(O,n,b)});return r.catch(function(p){return p}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),l=u.length,c=0,a=[],_=new Promise(function(p,d){var b=function(m){if(a.push.apply(a,m),c++,c===l)return o(a),a.length?d(new Cb(a,Kf(a))):p()};u.length||(o(a),p()),u.forEach(function(O){var m=e[O];i.indexOf(O)!==-1?jb(m,n,b):tL(m,n,b)})});return _.catch(function(p){return p}),_}function Nb(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 Vb(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 zb(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||G(t,i||e.type))&&o.push(vt(r.messages.required,e.fullField))}function oL(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(vt(r.messages.whitespace,e.fullField))}var Gf={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},oo={integer:function(t){return oo.number(t)&&parseInt(t,10)===t},float:function(t){return oo.number(t)&&!oo.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"&&!oo.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Gf.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Gf.url)},hex:function(t){return typeof t=="string"&&!!t.match(Gf.hex)}};function rL(e,t,n,o,r){if(e.required&&t===void 0){zb(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?oo[u](t)||o.push(vt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(vt(r.messages.types[u],e.fullField,e.type))}function iL(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",l=typeof e.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,_=null,p=typeof t=="number",d=typeof t=="string",b=Array.isArray(t);if(p?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(a=t.length),d&&(a=t.replace(c,"_").length),i?a!==e.len&&o.push(vt(r.messages[_].len,e.fullField,e.len)):u&&!l&&a<e.min?o.push(vt(r.messages[_].min,e.fullField,e.min)):l&&!u&&a>e.max?o.push(vt(r.messages[_].max,e.fullField,e.max)):u&&l&&(a<e.min||a>e.max)&&o.push(vt(r.messages[_].range,e.fullField,e.min,e.max))}var Ve="enum";function uL(e,t,n,o,r){e[Ve]=Array.isArray(e[Ve])?e[Ve]:[],e[Ve].indexOf(t)===-1&&o.push(vt(r.messages[Ve],e.fullField,e[Ve].join(", ")))}function lL(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(vt(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||o.push(vt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:zb,whitespace:oL,type:rL,range:iL,enum:uL,pattern:lL};function cL(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 aL(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 fL(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 _L(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 yL(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 sL(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 pL(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 dL(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 vL(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 hL="enum";function bL(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[hL](e,t,o,i,r)}n(i)}function mL(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 gL(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 OL(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 wL(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 ro={string:cL,method:aL,number:fL,boolean:_L,regexp:yL,integer:sL,float:pL,array:dL,object:vL,enum:bL,pattern:mL,date:gL,url:Xf,hex:Xf,email:Xf,required:OL,any:wL};function Qf(){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 Jf=Qf();function ce(e){this.rules=null,this._messages=Jf,this.define(e)}ce.prototype={messages:function(t){return t&&(this._messages=Vb(Qf(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(t,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=t,u=n,l=o;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(m){var w,h=[],$={};function E(T){if(Array.isArray(T)){var R;h=(R=h).concat.apply(R,T)}else h.push(T)}for(w=0;w<m.length;w++)E(m[w]);h.length?$=Kf(h):(h=null,$=null),l(h,$)}if(u.messages){var a=this.messages();a===Jf&&(a=Qf()),Vb(a,u.messages),u.messages=a}else u.messages=this.messages();var _,p,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){_=r.rules[m],p=i[m],_.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===t&&(i=Nt({},i)),p=i[m]=h.transform(p)),typeof h=="function"?h={validator:h}:h=Nt({},h),h.validator=r.getValidationMethod(h),h.field=m,h.fullField=h.fullField||m,h.type=r.getType(h),h.validator&&(d[m]=d[m]||[],d[m].push({rule:h,value:p,source:i,field:m}))})});var O={};return nL(d,u,function(m,w){var h=m.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&m.value),h.field=m.field;function E(z,A){return Nt(Nt({},A),{},{fullField:h.fullField+"."+z})}function T(z){z===void 0&&(z=[]);var A=z;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ce.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(Nb(h)),u.first&&A.length)return O[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!m.value)return h.message!==void 0?A=[].concat(h.message).map(Nb(h)):u.error&&(A=[u.error(h,vt(u.messages.required,h.field))]),w(A);var ct={};if(h.defaultField)for(var D in m.value)m.value.hasOwnProperty(D)&&(ct[D]=h.defaultField);ct=Nt(Nt({},ct),m.rule.fields);for(var Ut in ct)if(ct.hasOwnProperty(Ut)){var Co=Array.isArray(ct[Ut])?ct[Ut]:[ct[Ut]];ct[Ut]=Co.map(E.bind(null,Ut))}var Xn=new ce(ct);Xn.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Xn.validate(m.value,m.rule.options||u,function(Me){var qt=[];A&&A.length&&qt.push.apply(qt,A),Me&&Me.length&&qt.push.apply(qt,Me),w(qt.length?qt:null)})}}var R;h.asyncValidator?R=h.asyncValidator(h,m.value,T,m.source,u):h.validator&&(R=h.validator(h,m.value,T,m.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(m){c(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!ro.hasOwnProperty(t.type))throw new Error(vt("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?ro.required:ro[this.getType(t)]||!1}},ce.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ro[t]=n},ce.warning=Lb,ce.messages=Jf,ce.validators=ro;var $L={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 PL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ce(e);return n.messages(Object.assign($L,t)),n}var EL=new rM;function Zf(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 SL(e){if(Array.isArray(e))return e}function TL(e){if(Array.isArray(e))return Zf(e)}function Hb(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function Ub(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){Hb(i,o,r,u,l,"next",c)}function l(c){Hb(i,o,r,u,l,"throw",c)}u(void 0)})}}function RL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(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 BL(e,t,n){return t&&qb(e.prototype,t),n&&qb(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 Wb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Kb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DL(){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 AL(){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 Gb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(e,r,n[r])})}return e}function IL(e){return SL(e)||Kb(e)||Xb(e)||DL()}function Yf(e){return TL(e)||Kb(e)||Xb(e)||AL()}function kL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xb(e,t){if(!!e){if(typeof e=="string")return Zf(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 Zf(e,t)}}function Qb(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L=function(){function t(n){var o=this;RL(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"slots",void 0),M(this,"slotPosition",void 0),M(this,"updateSetting",Zb),M(this,"removeSetting",Jb),this._callControlHooks("preInstance",n);var r=Wb(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,l=r.controlType,c=r.controlFieldType,a=r.controlEventKeys,_=r.controlCustomEvents,p=r.name,d=r.setting,b=r.slots,O=r.slotPosition;i&&u&&l||_b("The ".concat(p," controlName,controlIcon,controlType is not define"));var m;this.id=(m=n==null?void 0:n.id)!==null&&m!==void 0?m:Ct(10),this.name=i,this.icon=u;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:l,this.props=new K(n==null?void 0:n.props,(Wb(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 $;this.fieldType=($=n==null?void 0:n.fieldType)!==null&&$!==void 0?$:c,this.eventKeys=Bt(a),this.customEvents=Bt(_),this.slots=Bt(b),this.slotPosition=Bt(O),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return BL(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=IL(r),c=l[0],a=l.slice(1);return(u=EL).emit.apply(u,[c,this].concat(Yf(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),Ux(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return Ub(function(){var r,i,u;return Qb(this,function(l){switch(l.label){case 0:return r=Gb({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=l.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return Ub(function(){var u,l,c,a;return Qb(this,function(_){switch(_.label){case 0:return[4,i.preValidate()];case 1:u=_.sent(),l=u!==void 0?u:Gb({},i.rules),Array.isArray(r)&&r.forEach(function(p){l.hasOwnProperty(p)&&delete l[p]}),c=PL(l,o),_.label=2;case 2:return _.trys.push([2,4,,5]),[4,c.validate(i.props)];case 3:return _.sent(),[2,!0];case 4:throw a=_.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,l=this.props,c=l.dataBind,a=l.datasourceBind,_=l.optionConfig,p=l.caption,d=l.required,b=l.maxLength,O=l.options,m=l.encrypted,w=l.encryptedMode;if(!(!r&&!c&&!a)){var h={parentId:o,fieldType:r,controlId:i,caption:p,type:u,props:{}};switch(c&&(h.dataBind=c),_){case"datasource":case void 0:a&&(h.datasourceBind=a);break;case"custom":h.props.options=O;break}return d!==void 0&&(h.required=d),b!==void 0&&(h.maxLength=b),m!==void 0&&(h.encrypted=m),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props: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,Yf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();M(L,"mode","Designer"),M(L,"slots",void 0),M(L,"slotPosition",void 0),M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",Jb),M(L,"updateSettingItem",Zb);function Jb(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r,i=typeof o!="string",u=(r=t.setting)===null||r===void 0?void 0:r.findIndex(function(a){return a.key===(i?o.key:o)});if(u!==-1){var l,c;i?t.setting[u].showItems=(l=t.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(a){return!o.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((c=t.setting[u].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(u,1)}})}function Zb(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(a){return a.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":kL(t))==="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var c;(c=i.showItems).push.apply(c,Yf(t.showItems))}}}})}function FL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xL(e,t,n){return t&&Yb(e.prototype,t),n&&Yb(e,n),e}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ML(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Vt=function(){function t(n){FL(this,t),ht(this,"id",void 0),ht(this,"type",void 0),ht(this,"controlType",void 0),ht(this,"props",void 0),ht(this,"fieldType",void 0),ht(this,"customEvents",[]),ht(this,"pageStatus",void 0),ht(this,"parent",null);var o=ML(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,l=o.controlCustomEvents;r||_b("The ".concat(u," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:Ct(10);var a;this.type=(a=n==null?void 0:n.type)!==null&&a!==void 0?a:r,this.props=new K(n==null?void 0:n.props),this.customEvents=l;var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base";var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:Vf.UNKNOWN}return xL(t,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),t}();ht(Vt,"mode","Runtime"),ht(Vt,"controlType","control"),ht(Vt,"controlFieldType",void 0),ht(Vt,"__is_control__",!0),ht(Vt,"controlCustomEvents",[]);function t_(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=Gx(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 Xo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B":"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C":"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1":"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},attributes:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(r,i,u){i.length===0&&u(f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}]}}}],orders:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:f("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function LL(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function jL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qo(e,t,n){return t=Zo(t),CL(e,tm()?Reflect.construct(t,n||[],Zo(e).constructor):t.apply(e,n))}function Jo(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 Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(e)}function Yo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function CL(e,t){return t&&(NL(t)==="object"||typeof t=="function")?t:jL(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(e,t)}function NL(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 Q=function(e){Yo(t,e);function t(n){Jo(this,t);var o;o=Qo(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(LL(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}(W),j=function(e){Yo(t,e);function t(n){Jo(this,t);var o;o=Qo(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}(we),k=function(e){Yo(t,e);function t(n){Jo(this,t);var o;o=Qo(this,t,[n]),N(o,"caption",void 0),N(o,"isHideCaption",void 0),N(o,"isShowCaptionTip",void 0),N(o,"captionTip",void 0),N(o,"labelPosition",void 0),N(o,"dataBind",void 0),N(o,"defaultValue",void 0),N(o,"placeholder",void 0),N(o,"defaultState",void 0),N(o,"required",void 0),N(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var d;o.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",o.dataBind=new 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}(K);N(k,"Rules",Q),N(k,"RuntimeRules",j);var ze=function(e){Yo(t,e);function t(n){Jo(this,t);var o;return o=Qo(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")}]),t_.call(o,n),o}return t}(Q);function VL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zL(e,t,n){return t=er(t),qL(e,em()?Reflect.construct(t,n||[],er(e).constructor):t.apply(e,n))}function HL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tr(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 UL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qL(e,t){return t&&(WL(t)==="object"||typeof t=="function")?t:VL(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(e,t)}function WL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function em(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(em=function(){return!!e})()}var F=function(e){UL(t,e);function t(n){HL(this,t);var o;return o=zL(this,t,[n]),tr(o,"controlType","form"),tr(o,"props",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(L);tr(F,"controlEventKeys",["on_change","on_focus","on_blur"]),tr(F,"controlCustomAttributes",void 0);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=nr(t),JL(e,nm()?Reflect.construct(t,n||[],nr(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 o_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(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&&r_(e,t)}function JL(e,t){return t&&(ZL(t)==="object"||typeof t=="function")?t:KL(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r_(e,t)}function ZL(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 x=function(e){QL(t,e);function t(n){XL(this,t);var o;return o=GL(this,t,[n]),o_(o,"controlType","form"),o_(o,"props",void 0),o_(o,"value",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(Vt);function YL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t7(e,t,n){return t=or(t),o7(e,om()?Reflect.construct(t,n||[],or(e).constructor):t.apply(e,n))}function e7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(e)}function n7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o7(e,t){return t&&(r7(t)==="object"||typeof t=="function")?t:YL(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i_(e,t)}function r7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function om(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(om=function(){return!!e})()}var tt=function(e){n7(t,e);function t(n){return e7(this,t),t7(this,t,[n])}return t}(K);function u_(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 i7(e){if(Array.isArray(e))return u_(e)}function u7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rm(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function l7(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){rm(i,o,r,u,l,"next",c)}function l(c){rm(i,o,r,u,l,"throw",c)}u(void 0)})}}function c7(e,t,n){return t=fe(t),b7(e,lm()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function a7(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 f7(e,t,n){return t&&im(e.prototype,t),n&&im(e,n),e}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?He=Reflect.get:He=function(r,i,u){var l=m7(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},He(e,t,n||e)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(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&&l_(e,t)}function y7(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function s7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function p7(){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 d7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ae(e,r,n[r])})}return e}function v7(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 h7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v7(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function b7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:u7(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l_(e,t)}function m7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fe(e),e!==null););return e}function um(e){return i7(e)||s7(e)||O7(e)||p7()}function g7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O7(e,t){if(!!e){if(typeof e=="string")return u_(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 u_(e,t)}}function lm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lm=function(){return!!e})()}function w7(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var $7=1e4,et=function(t){_7(n,t);function n(o){a7(this,n);var r;r=c7(this,n,[o]),ae(r,"controlType","layout"),ae(r,"children",void 0),ae(r,"excludes",void 0),ae(r,"childrenMaxLength",void 0),ae(r,"props",void 0);var i=y7(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new tt(o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Bt(u),r.childrenMaxLength=l,r}return f7(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,l=this,c=function(){return He(fe(n.prototype),"validate",u)};return l7(function(){return w7(this,function(a){switch(a.label){case 0:return[4,c().call(l,r,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(r,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=He(fe(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(l,c){var a=c.toDataBindModel(r);if(Array.isArray(a)){var _=a.filter(function(p){return!!p});return um(l).concat(um(_))}return a&&l.push(a),l},u)}},{key:"toSchema",value:function(){var r=He(fe(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var l=u.toSchema();return l});return h7(d7({},r),{children:i})}}]),n}(L);ae(et,"excludes",!1),ae(et,"childrenMaxLength",$7);function P7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E7(e,t,n){return t=rr(t),R7(e,cm()?Reflect.construct(t,n||[],rr(e).constructor):t.apply(e,n))}function S7(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 rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(e)}function T7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:P7(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(e,t)}function B7(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 $e=function(e){T7(t,e);function t(n){S7(this,t);var o;return o=E7(this,t,[n]),c_(o,"controlType","layout"),c_(o,"children",void 0),c_(o,"props",void 0),o.props=new tt(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Vt);function D7(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=ir(t),F7(e,am()?Reflect.construct(t,n||[],ir(e).constructor):t.apply(e,n))}function I7(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 ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(e)}function k7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function F7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:D7(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(e,t)}function x7(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 __=function(e){k7(t,e);function t(n,o,r){I7(this,t);var i;i=A7(this,t,[o]),Ue(i,"headers",void 0),Ue(i,"footers",void 0),Ue(i,"pageIndex",void 0),Ue(i,"pageSize",void 0),Ue(i,"pageSizeOptions",void 0),Ue(i,"totalCount",void 0),Wt(i,"headers",o==null?void 0:o.headers,n,r),Wt(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var l;i.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var c;i.pageSizeOptions=(c=o==null?void 0:o.pageSizeOptions)!==null&&c!==void 0?c:[20];var a;return i.totalCount=(a=o==null?void 0:o.totalCount)!==null&&a!==void 0?a:0,i}return t}(K);function y_(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 M7(e){if(Array.isArray(e))return y_(e)}function L7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fm(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function j7(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){fm(i,o,r,u,l,"next",c)}function l(c){fm(i,o,r,u,l,"throw",c)}u(void 0)})}}function C7(e,t,n){return t=_e(t),W7(e,dm()?Reflect.construct(t,n||[],_e(e).constructor):t.apply(e,n))}function N7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 V7(e,t,n){return t&&_m(e.prototype,t),n&&_m(e,n),e}function ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qe(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?qe=Reflect.get:qe=function(r,i,u){var l=K7(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},qe(e,t,n||e)}function _e(e){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_e(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&&s_(e,t)}function H7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function U7(){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 ym(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){ur(e,r,n[r])})}return e}function q7(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 sm(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):q7(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function W7(e,t){return t&&(G7(t)==="object"||typeof t=="function")?t:L7(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(e,t)}function K7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_e(e),e!==null););return e}function pm(e){return M7(e)||H7(e)||X7(e)||U7()}function G7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X7(e,t){if(!!e){if(typeof e=="string")return y_(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 y_(e,t)}}function dm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dm=function(){return!!e})()}function Q7(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var p_=function(e){z7(t,e);function t(n){N7(this,t);var o;return o=C7(this,t,[n]),ur(o,"controlType","list"),ur(o,"props",void 0),o.props=new __(o,n==null?void 0:n.props,"Designer"),o}return V7(t,[{key:"validate",value:function(o,r){var i=this,u=this,l=function(){return qe(_e(t.prototype),"validate",i)};return j7(function(){return Q7(this,function(c){switch(c.label){case 0:return[4,l().call(u,o)];case 1:return c.sent(),[4,Promise.all(u.props.headers.map(function(a){return a.validate(o,r)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=qe(_e(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,l){var c=l.toDataBindModel(i);if(Array.isArray(c)){var a=c.filter(function(_){return!!_});return pm(u).concat(pm(a))}return c&&u.push(c),u},r)}},{key:"toSchema",value:function(){var o=qe(_e(t.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return sm(ym({},o),{props:sm(ym({},this.props),{headers:r})})}}]),t}(L);ur(p_,"controlFieldType",g.LIST);function J7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d_(e,t,n){return t=lr(t),Z7(e,vm()?Reflect.construct(t,n||[],lr(e).constructor):t.apply(e,n))}function v_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(e)}function h_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b_(e,t)}function Z7(e,t){return t&&(Y7(t)==="object"||typeof t=="function")?t:J7(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(e,t)}function Y7(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 Qt=function(e){h_(t,e);function t(n){v_(this,t);var o;return o=d_(this,t,[n]),nt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),nt(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),o.width.required=n.widthType==="px",o}return t}(W),U=function(e){h_(t,e);function t(n){v_(this,t);var o;o=d_(this,t,[n]),nt(o,"widthType",void 0),nt(o,"width",void 0),nt(o,"caption",void 0),nt(o,"dataBind",void 0),nt(o,"autoWidth",void 0),nt(o,"fixed",void 0),nt(o,"sort",void 0),nt(o,"align",void 0),nt(o,"colSpan",void 0),nt(o,"autoHeight",void 0),nt(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 Af(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 c;return o.autoHeight=(c=n==null?void 0:n.autoHeight)!==null&&c!==void 0?c:!1,o}return t}(K);nt(U,"Rules",Qt);var m_=function(e){h_(t,e);function t(n){v_(this,t);var o;return o=d_(this,t,[n]),nt(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),nt(o,"options",[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),nt(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),t_.call(o,n),o}return t}(Qt);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=We(t),cj(e,bm()?Reflect.construct(t,n||[],We(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 hm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oj(e,t,n){return t&&hm(e.prototype,t),n&&hm(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 ar(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ar=Reflect.get:ar=function(r,i,u){var l=aj(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ar(e,t,n||e)}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(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&&g_(e,t)}function ij(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){cr(e,r,n[r])})}return e}function uj(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 lj(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function cj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:tj(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(e,t)}function aj(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=We(e),e!==null););return e}function fj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bm=function(){return!!e})()}var J=function(e){rj(t,e);function t(n){nj(this,t);var o;return o=ej(this,t,[n]),cr(o,"controlType","column"),cr(o,"props",void 0),cr(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return oj(t,[{key:"toSchema",value:function(){var o=ar(We(t.prototype),"toSchema",this).call(this);return lj(ij({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(L);function _j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yj(e,t,n){return t=fr(t),dj(e,mm()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(e)}function pj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function dj(e,t){return t&&(vj(t)==="object"||typeof t=="function")?t:_j(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w_(e,t)}function vj(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 Z=function(e){pj(t,e);function t(n){sj(this,t);var o;return o=yj(this,t,[n]),O_(o,"controlType","column"),O_(o,"props",void 0),O_(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Vt);function hj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bj(e,t,n){return t=_r(t),wj(e,gm()?Reflect.construct(t,n||[],_r(e).constructor):t.apply(e,n))}function mj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gj(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 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&&$_(e,t)}function wj(e,t){return t&&($j(t)==="object"||typeof t=="function")?t:hj(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(e,t)}function $j(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gm=function(){return!!e})()}var P_=function(e){Oj(t,e);function t(n){mj(this,t);var o;return o=bj(this,t,[n]),gj(o,"dataBind",void 0),o.dataBind=new It(n==null?void 0:n.dataBind),o}return t}(tt);function Pj(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=yr(t),Rj(e,wm()?Reflect.construct(t,n||[],yr(e).constructor):t.apply(e,n))}function Sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(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 Tj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function Rj(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:Pj(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(e,t)}function Bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wm=function(){return!!e})()}var Dj=function(e){Tj(t,e);function t(n){Sj(this,t);var o;return o=Ej(this,t,[n]),Om(o,"controlType","search"),Om(o,"props",void 0),o.props=new P_(n==null?void 0:n.props),o}return t}(et);function Aj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ij(e,t,n){return t=sr(t),xj(e,Pm()?Reflect.construct(t,n||[],sr(e).constructor):t.apply(e,n))}function kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(e)}function Fj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xj(e,t){return t&&(Mj(t)==="object"||typeof t=="function")?t:Aj(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(e,t)}function Mj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pm=function(){return!!e})()}var Lj=function(e){Fj(t,e);function t(n){kj(this,t);var o;return o=Ij(this,t,[n]),$m(o,"controlType","search"),$m(o,"props",void 0),o.props=new P_(n==null?void 0:n.props),o}return t}($e);function ye(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}function jj(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=pr(t),zj(e,Em()?Reflect.construct(t,n||[],pr(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 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 pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(e)}function Vj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zj(e,t){return t&&(Hj(t)==="object"||typeof t=="function")?t:jj(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},T_(e,t)}function Hj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Em(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Em=function(){return!!e})()}var Uj=function(e){Vj(t,e);function t(n){Nj(this,t);var o;o=Cj(this,t,[n]),Pe(o,"content",void 0),Pe(o,"fontSize",void 0),Pe(o,"color",void 0),Pe(o,"bgColor",void 0),Pe(o,"icon",void 0),Pe(o,"align",void 0),Pe(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.bgColor=(u=n==null?void 0:n.bgColor)!==null&&u!==void 0?u:"#fff";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"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 _;return o.align=(_=n==null?void 0:n.align)!==null&&_!==void 0?_:"",o}return t}(K);function qj(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=dr(t),Qj(e,Rm()?Reflect.construct(t,n||[],dr(e).constructor):t.apply(e,n))}function Kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Gj(e,t,n){return t&&Sm(e.prototype,t),n&&Sm(e,n),e}function Tm(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 Xj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:qj(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(e,t)}function Jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rm=function(){return!!e})()}var Zj=function(e){Xj(t,e);function t(n){Kj(this,t);var o;return o=Wj(this,t,[n]),Tm(o,"props",void 0),o.props=new Uj(n==null?void 0:n.props),o}return Gj(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);Tm(Zj,"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-bg-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",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 t8(e,t,n){return t=vr(t),o8(e,Bm()?Reflect.construct(t,n||[],vr(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 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 vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(e)}function n8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function o8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:Yj(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(e,t)}function r8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bm=function(){return!!e})()}var i8=function(e){n8(t,e);function t(n){e8(this,t);var o;o=t8(this,t,[n]),B_(o,"content",void 0),B_(o,"url",void 0),B_(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5");var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return t}(K);function u8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l8(e,t,n){return t=hr(t),_8(e,Am()?Reflect.construct(t,n||[],hr(e).constructor):t.apply(e,n))}function c8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dm(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 a8(e,t,n){return t&&Dm(e.prototype,t),n&&Dm(e,n),e}function A_(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 f8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _8(e,t){return t&&(y8(t)==="object"||typeof t=="function")?t:u8(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function y8(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 Im=function(e){f8(t,e);function t(n){c8(this,t);var o;return o=l8(this,t,[n]),A_(o,"props",void 0),o.props=new i8(n==null?void 0:n.props),o}return a8(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);A_(Im,"controlEventKeys",["on_click"]),A_(Im,"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 s8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p8(e,t,n){return t=br(t),h8(e,km()?Reflect.construct(t,n||[],br(e).constructor):t.apply(e,n))}function d8(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 br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},br(e)}function v8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function h8(e,t){return t&&(b8(t)==="object"||typeof t=="function")?t:s8(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function b8(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 bt=function(e){v8(t,e);function t(n){d8(this,t);var o;o=p8(this,t,[n]),Jt(o,"content",void 0),Jt(o,"buttonType",void 0),Jt(o,"showType",void 0),Jt(o,"color",void 0),Jt(o,"icon",void 0),Jt(o,"defaultState",void 0),Jt(o,"command",void 0),Jt(o,"isLoading",void 0),Jt(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.button",null,"\u6309\u94AE");var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"iconfenlei2";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var d;return o.optObj=new CM((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return t}(K);function m8(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=gr(t),P8(e,xm()?Reflect.construct(t,n||[],gr(e).constructor):t.apply(e,n))}function O8(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 w8(e,t,n){return t&&Fm(e.prototype,t),n&&Fm(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 gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(e)}function $8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 P8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:m8(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function E8(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 _t=function(e){$8(t,e);function t(n){O8(this,t);var o;return o=g8(this,t,[n]),mr(o,"props",void 0),o.props=new bt(n==null?void 0:n.props),o}return w8(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);mr(_t,"slots",["grid-table-toolbar-slot","action-bar-slot",ib.DEFAULT]),mr(_t,"controlEventKeys",["on_click"]),mr(_t,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"super-setting",visible:!0}]);function mt(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 se;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(se||(se={}));var Mm;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Mm||(Mm={}));var Lm;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Lm||(Lm={}));var x_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ct(8),value:["",""]};mt(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},M_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(M_||(M_={}));var L_=function e(t){mt(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:Ct();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},j_;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(j_||(j_={}));var jm=function e(t){mt(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 to((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 to((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var l,c;this.company=(c=t==null?void 0:t.company)!==null&&c!==void 0?c:new to((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},S8=function e(t){mt(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(c){return new jm(c)}))!==null&&r!==void 0?r:[new jm];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:""},Or=function e(t){mt(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:Ct(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var l;this.fieldList=(l=t==null?void 0:t.fieldList)!==null&&l!==void 0?l:[];var c;this.active=(c=t==null?void 0:t.active)!==null&&c!==void 0?c:!1},Cm=function e(t){mt(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:""},T8=function e(t){mt(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 Cm(t==null?void 0:t.watermark),this.autoRename=new Cm(t==null?void 0:t.autoRename)},Nm=function e(t){mt(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 c;this.relationBindCode=(c=t==null?void 0:t.relationBindCode)!==null&&c!==void 0?c:""},Vm=function e(t){mt(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},R8=function e(t){mt(this,e),P(this,"dataCode",void 0),this.dataCode=t.dataCode},B8=function e(t){mt(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 R8(i)}))!==null&&r!==void 0?r:[]},D8=function e(t){mt(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 Or(i)}))!==null&&r!==void 0?r:[new Or({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},A8=480;function wr(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var I8=function e(t){mt(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:[]},zm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(zm||(zm={}));var C_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(C_||(C_={}));var $r;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})($r||($r={}));var pe;(function(e){e.ALL="all",e.ASSIGN="assign"})(pe||(pe={}));var N_;(function(e){e.ALL="all",e.ADMIN="admin"})(N_||(N_={}));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=Pr(t),L8(e,Um()?Reflect.construct(t,n||[],Pr(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 Hm(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 M8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function L8(e,t){return t&&(j8(t)==="object"||typeof t=="function")?t:k8(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function j8(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 C8=function(e){M8(t,e);function t(n){x8(this,t);var o;o=F8(this,t,[n]),Hm(o,"color",void 0),Hm(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:j_.SOLID,o}return t}(K);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=Er(t),q8(e,Km()?Reflect.construct(t,n||[],Er(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 qm(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 H8(e,t,n){return t&&qm(e.prototype,t),n&&qm(e,n),e}function Wm(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 U8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q8(e,t){return t&&(W8(t)==="object"||typeof t=="function")?t:N8(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(e,t)}function W8(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 K8=function(e){U8(t,e);function t(n){z8(this,t);var o;return o=V8(this,t,[n]),Wm(o,"props",void 0),o.props=new C8(n==null?void 0:n.props),o}return H8(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);Wm(K8,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]}]);function G8(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=Sr(t),X8(e,Jm()?Reflect.construct(t,n||[],Sr(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 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 Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(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&&H_(e,t)}function X8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:G8(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(e,t)}function Q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jm=function(){return!!e})()}var J8=function(e){Qm(t,e);function t(n){Xm(this,t);var o;return o=Gm(this,t,[n]),Ee(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ee(o,"dataBind",{type:"any"}),Ee(o,"config",{type:"array"}),n.config.includes(se.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:f("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")}),o}return t}(W),Zm=function(e){Qm(t,e);function t(n){Xm(this,t);var o;o=Gm(this,t,[n]),Ee(o,"dataBind",void 0),Ee(o,"caption",void 0),Ee(o,"config",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:[se.ShowSubmitUser,se.ShowSubmitDept,se.ShowSubmitTime,se.ShowCurrentApprovar];var i,u;return o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:io==null?void 0:io.controlName)!==null&&u!==void 0?u:"",o}return t}(K);Ee(Zm,"Rules",J8);function Z8(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=Tr(t),oC(e,tg()?Reflect.construct(t,n||[],Tr(e).constructor):t.apply(e,n))}function tC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ym(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eC(e,t,n){return t&&Ym(e.prototype,t),n&&Ym(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 Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tr(e)}function nC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oC(e,t){return t&&(rC(t)==="object"||typeof t=="function")?t:Z8(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(e,t)}function rC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tg=function(){return!!e})()}var io=function(e){nC(t,e);function t(n){tC(this,t);var o;return o=Y8(this,t,[n]),U_(o,"props",void 0),o.props=new Zm(n==null?void 0:n.props),o}return eC(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);U_(io,"controlFieldType",g.AUTO_NUMBER),U_(io,"setting",[{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}]);function iC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eg(e,t,n){return t=Br(t),uC(e,rg()?Reflect.construct(t,n||[],Br(e).constructor):t.apply(e,n))}function ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(e)}function og(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function uC(e,t){return t&&(lC(t)==="object"||typeof t=="function")?t:iC(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function lC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rg=function(){return!!e})()}var cC=function(e){og(t,e);function t(n){ng(this,t);var o;return o=eg(this,t,[n]),Rr(o,"formKey",{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(W),ig=function(e){og(t,e);function t(n){ng(this,t);var o;o=eg(this,t,[n]),Rr(o,"formKey",void 0),Rr(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:uo.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:uo.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return t}(bt);Rr(ig,"Rules",cC);function aC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fC(e,t,n){return t=Ar(t),pC(e,lg()?Reflect.construct(t,n||[],Ar(e).constructor):t.apply(e,n))}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ug(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 yC(e,t,n){return t&&ug(e.prototype,t),n&&ug(e,n),e}function Dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(e)}function sC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function pC(e,t){return t&&(dC(t)==="object"||typeof t=="function")?t:aC(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K_(e,t)}function dC(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 uo=function(e){sC(t,e);function t(n){_C(this,t);var o;return o=fC(this,t,[n]),Dr(o,"props",void 0),o.props=new ig(n==null?void 0:n.props),o}return yC(t,null,[{key:"controlName",get:function(){return f("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),t}(_t);Dr(uo,"slots",["grid-table-toolbar-slot"]),Dr(uo,"controlEventKeys",["on_click","on_click_finish"]),Dr(uo,"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 vC(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=Ir(t),hC(e,_g()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(e)}function fg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function hC(e,t){return t&&(bC(t)==="object"||typeof t=="function")?t:vC(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(e,t)}function bC(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 mC=function(e){fg(t,e);function t(n){ag(this,t);var o;return o=cg(this,t,[n]),Ke(o,"processKey",[{type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:f("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]),o}return t}(W),yg=function(e){fg(t,e);function t(n){ag(this,t);var o;o=cg(this,t,[n]),Ke(o,"processKey",void 0),Ke(o,"initiatorMode",void 0),Ke(o,"fieldCode",void 0),Ke(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:lo.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:lo.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;return o.employeeId=(a=n==null?void 0:n.employeeId)!==null&&a!==void 0?a:"",o}return t}(bt);Ke(yg,"Rules",mC);function gC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OC(e,t,n){return t=Fr(t),EC(e,pg()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function wC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $C(e,t,n){return t&&sg(e.prototype,t),n&&sg(e,n),e}function kr(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 PC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EC(e,t){return t&&(SC(t)==="object"||typeof t=="function")?t:gC(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(e,t)}function SC(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 lo=function(e){PC(t,e);function t(n){wC(this,t);var o;return o=OC(this,t,[n]),kr(o,"props",void 0),o.props=new yg(n==null?void 0:n.props),o}return $C(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}(_t);kr(lo,"slots",["grid-table-toolbar-slot"]),kr(lo,"controlEventKeys",["on_click","on_click_finish"]),kr(lo,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function TC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RC(e,t,n){return t=xr(t),AC(e,dg()?Reflect.construct(t,n||[],xr(e).constructor):t.apply(e,n))}function BC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(e)}function DC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function AC(e,t){return t&&(IC(t)==="object"||typeof t=="function")?t:TC(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Q_(e,t)}function IC(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 kC=function(e){DC(t,e);function t(n){BC(this,t);var o;o=RC(this,t,[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 t}(bt);function FC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xC(e,t,n){return t=Lr(t),CC(e,hg()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function MC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vg(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 LC(e,t,n){return t&&vg(e.prototype,t),n&&vg(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 Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(e)}function jC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function CC(e,t){return t&&(NC(t)==="object"||typeof t=="function")?t:FC(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(e,t)}function NC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hg=function(){return!!e})()}var co=function(e){jC(t,e);function t(n){MC(this,t);var o;return o=xC(this,t,[n]),Mr(o,"props",void 0),o.props=new kC(n==null?void 0:n.props),o}return LC(t,null,[{key:"controlName",get:function(){return f("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),t}(_t);Mr(co,"slots",["grid-table-toolbar-slot"]),Mr(co,"controlEventKeys",["on_click"]),Mr(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 VC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zC(e,t,n){return t=jr(t),qC(e,mg()?Reflect.construct(t,n||[],jr(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 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 jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(e)}function UC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function qC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:VC(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function WC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mg=function(){return!!e})()}var KC=function(e){UC(t,e);function t(n){HC(this,t);var o,r;o=zC(this,t,[n]),bg(o,"templateList",void 0),bg(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ao.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:ao.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var c;return o.templateList=(c=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(a){return new Or(a)}))!==null&&c!==void 0?c:[new Or({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return t}(bt);function GC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XC(e,t,n){return t=Nr(t),YC(e,Og()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function QC(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 JC(e,t,n){return t&&gg(e.prototype,t),n&&gg(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 Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(e)}function ZC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YC(e,t){return t&&(t9(t)==="object"||typeof t=="function")?t:GC(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Y_(e,t)}function t9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Og(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Og=function(){return!!e})()}var ao=function(e){ZC(t,e);function t(n){QC(this,t);var o;return o=XC(this,t,[n]),Cr(o,"props",void 0),o.props=new KC(n==null?void 0:n.props),o}return JC(t,null,[{key:"controlName",get:function(){return f("CMD.exportListButton",null,"\u5BFC\u51FA")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),t}(_t);Cr(ao,"slots",["grid-table-toolbar-slot"]),Cr(ao,"controlEventKeys",["on_click","on_click_finish"]),Cr(ao,"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 e9(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=Vr(t),i9(e,wg()?Reflect.construct(t,n||[],Vr(e).constructor):t.apply(e,n))}function o9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(e)}function r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(u9(t)==="object"||typeof t=="function")?t:e9(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function u9(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 l9=function(e){r9(t,e);function t(n){o9(this,t);var o;o=n9(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:fo.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:fo.controlIcon,o}return t}(bt);function c9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a9(e,t,n){return t=Hr(t),s9(e,Pg()?Reflect.construct(t,n||[],Hr(e).constructor):t.apply(e,n))}function f9(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 _9(e,t,n){return t&&$g(e.prototype,t),n&&$g(e,n),e}function zr(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 y9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function s9(e,t){return t&&(p9(t)==="object"||typeof t=="function")?t:c9(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(e,t)}function p9(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 fo=function(e){y9(t,e);function t(n){f9(this,t);var o;return o=a9(this,t,[n]),zr(o,"props",void 0),o.props=new l9(n==null?void 0:n.props),o}return _9(t,null,[{key:"controlName",get:function(){return f("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),t}(_t);zr(fo,"slots",["grid-table-toolbar-slot"]),zr(fo,"controlEventKeys",["on_click"]),zr(fo,"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 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=Ur(t),b9(e,Sg()?Reflect.construct(t,n||[],Ur(e).constructor):t.apply(e,n))}function Eg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ny(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 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&&oy(e,t)}function b9(e,t){return t&&(m9(t)==="object"||typeof t=="function")?t:d9(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(e,t)}function m9(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 g9=function e(t){Eg(this,e),ny(this,"dataCode",void 0),this.dataCode=t.dataCode},O9=function(e){h9(t,e);function t(n){Eg(this,t);var o,r;o=v9(this,t,[n]),ny(o,"canImportList",void 0),ny(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:_o.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:_o.controlIcon;var l;o.canImportList=(l=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(a){return new g9(a)}))!==null&&l!==void 0?l:[];var c;return o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system",o}return t}(bt);function w9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $9(e,t,n){return t=Wr(t),T9(e,Rg()?Reflect.construct(t,n||[],Wr(e).constructor):t.apply(e,n))}function P9(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 E9(e,t,n){return t&&Tg(e.prototype,t),n&&Tg(e,n),e}function qr(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 S9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T9(e,t){return t&&(R9(t)==="object"||typeof t=="function")?t:w9(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ry(e,t)}function R9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rg=function(){return!!e})()}var _o=function(e){S9(t,e);function t(n){P9(this,t);var o;return o=$9(this,t,[n]),qr(o,"props",void 0),o.props=new O9(n==null?void 0:n.props),o}return E9(t,null,[{key:"controlName",get:function(){return f("CMD.importRecordListButton",null,"\u5BFC\u5165")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),t}(_t);qr(_o,"slots",["grid-table-toolbar-slot"]),qr(_o,"controlEventKeys",["on_click","on_click_finish"]),qr(_o,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Kr(){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 B9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bg(e,t,n){return t=Gr(t),D9(e,kg()?Reflect.construct(t,n||[],Gr(e).constructor):t.apply(e,n))}function Dg(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 Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(e)}function Ag(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(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){Zt(e,r,n[r])})}return e}function D9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:B9(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(e,t)}function A9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kg=function(){return!!e})()}var I9=function(e){Ag(t,e);function t(n){Dg(this,t);var o;return o=Bg(this,t,[n]),Zt(o,"fillPayload",{type:"object",fields:Ig({},Kr())}),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:Ig({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Kr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:f("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}),o}return t}(W),Fg=function(e){Ag(t,e);function t(n){Dg(this,t);var o;o=Bg(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:Qr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Qr.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new xb(n==null?void 0:n.fillPayload),o.formBind=new OM(n==null?void 0:n.formBind),o.fillBack=new Mb(n==null?void 0:n.fillBack),o}return t}(bt);Zt(Fg,"Rules",I9);function k9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F9(e,t,n){return t=Xr(t),j9(e,Mg()?Reflect.construct(t,n||[],Xr(e).constructor):t.apply(e,n))}function x9(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 M9(e,t,n){return t&&xg(e.prototype,t),n&&xg(e,n),e}function uy(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 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&&ly(e,t)}function j9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:k9(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ly(e,t)}function C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Mg=function(){return!!e})()}var Qr=function(e){L9(t,e);function t(n){x9(this,t);var o;return o=F9(this,t,[n]),uy(o,"props",void 0),o.props=new Fg(n==null?void 0:n.props),o}return M9(t,null,[{key:"controlName",get:function(){return f("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),t}(_t);uy(Qr,"controlEventKeys",["on_click","on_click_finish"]),uy(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:[y.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function N9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lg(e,t,n){return t=Jr(t),V9(e,Vg()?Reflect.construct(t,n||[],Jr(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 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 Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(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&&cy(e,t)}function Ng(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){Et(e,r,n[r])})}return e}function V9(e,t){return t&&(z9(t)==="object"||typeof t=="function")?t:N9(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(e,t)}function z9(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 H9=function(e){Cg(t,e);function t(n){jg(this,t);var o;return o=Lg(this,t,[n]),Et(o,"fillPayload",{type:"object",fields:Ng({},Kr())}),Et(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")}}}),Et(o,"fillBack",{type:"object",fields:Ng({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Kr())}),o}return t}(W),zg=function(e){Cg(t,e);function t(n){jg(this,t);var o;o=Lg(this,t,[n]),Et(o,"fillPayload",void 0),Et(o,"listPageBind",void 0),Et(o,"disableFilling",void 0),Et(o,"fillBack",void 0),Et(o,"showSelectedDetail",void 0),Et(o,"isSelectedRowFill",void 0),Et(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Yr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Yr.controlIcon,o.fillPayload=new xb(n==null?void 0:n.fillPayload),o.listPageBind=new kf(n==null?void 0:n.listPageBind),o.fillBack=new Mb(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 Lf(n==null?void 0:n.selectedContentConfig);var l;o.isSelectedRowFill=(l=n==null?void 0:n.isSelectedRowFill)!==null&&l!==void 0?l:!1;var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return t}(bt);Et(zg,"Rules",H9);function U9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q9(e,t,n){return t=Zr(t),X9(e,Ug()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function W9(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 K9(e,t,n){return t&&Hg(e.prototype,t),n&&Hg(e,n),e}function ay(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 G9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X9(e,t){return t&&(Q9(t)==="object"||typeof t=="function")?t:U9(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(e,t)}function Q9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ug(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ug=function(){return!!e})()}var Yr=function(e){G9(t,e);function t(n){W9(this,t);var o;return o=q9(this,t,[n]),ay(o,"props",void 0),o.props=new zg(n==null?void 0:n.props),o}return K9(t,null,[{key:"controlName",get:function(){return f("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),t}(_t);ay(Yr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),ay(Yr,"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 J9(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=ti(t),Z9(e,Wg()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(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 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&&py(e,t)}function Z9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:J9(e)}function py(e,t){return py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},py(e,t)}function Y9(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 t4=function(e){sy(t,e);function t(n){return yy(this,t),_y(this,t,[n])}return t}(W),e4=function(e){sy(t,e);function t(n){return yy(this,t),_y(this,t,[n])}return t}(we),dy=function(e){sy(t,e);function t(n){return yy(this,t),_y(this,t,[n])}return t}(K);qg(dy,"Rules",t4),qg(dy,"RuntimeRules",e4);function n4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o4(e,t,n){return t=ei(t),l4(e,Xg()?Reflect.construct(t,n||[],ei(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 Kg(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 i4(e,t,n){return t&&Kg(e.prototype,t),n&&Kg(e,n),e}function Gg(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 u4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:n4(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function c4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xg=function(){return!!e})()}var a4=function(e){u4(t,e);function t(n){r4(this,t);var o;return o=o4(this,t,[n]),Gg(o,"props",void 0),o.props=new dy(n==null?void 0:n.props),o}return i4(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);Gg(a4,"setting",[]);function f4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qg(e,t,n){return t=ni(t),_4(e,Yg()?Reflect.construct(t,n||[],ni(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 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 ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(e)}function Zg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function _4(e,t){return t&&(y4(t)==="object"||typeof t=="function")?t:f4(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(e,t)}function y4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yg=function(){return!!e})()}var s4=function(e){Zg(t,e);function t(n){Jg(this,t);var o;return o=Qg(this,t,[n]),St(o,"dashboardKey",{type:"string",required:!0,message:f("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")}),St(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),St(o,"isHideCaption",{type:"boolean"}),St(o,"labelPosition",{type:"enum",enum:["top","left"]}),St(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),tO=function(e){Zg(t,e);function t(n){Jg(this,t);var o;o=Qg(this,t,[n]),St(o,"dashboardKey",void 0),St(o,"caption",void 0),St(o,"isHideCaption",void 0),St(o,"isShowCaptionTip",void 0),St(o,"captionTip",void 0),St(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top",o}return t}(K);St(tO,"Rules",s4);function p4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d4(e,t,n){return t=oi(t),m4(e,oO()?Reflect.construct(t,n||[],oi(e).constructor):t.apply(e,n))}function v4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(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 h4(e,t,n){return t&&eO(e.prototype,t),n&&eO(e,n),e}function nO(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 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&&by(e,t)}function m4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:p4(e)}function by(e,t){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(e,t)}function g4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oO=function(){return!!e})()}var O4=function(e){b4(t,e);function t(n){v4(this,t);var o;return o=d4(this,t,[n]),nO(o,"props",void 0),o.props=new tO(n==null?void 0:n.props),o}return h4(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);nO(O4,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE,y.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function w4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rO(e,t,n){return t=ri(t),$4(e,lO()?Reflect.construct(t,n||[],ri(e).constructor):t.apply(e,n))}function iO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(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 uO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:w4(e)}function my(e,t){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(e,t)}function P4(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 E4=function(e){uO(t,e);function t(n){iO(this,t);var o;return o=rO(this,t,[n]),yo(o,"showType",{type:"enum",enum:["select","tabs"]}),yo(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}),o}return t}(W),cO=function(e){uO(t,e);function t(n){iO(this,t);var o,r;o=rO(this,t,[n]),yo(o,"showType",void 0),yo(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 LM(l)}))!==null&&u!==void 0?u:[],o}return t}(K);yo(cO,"Rules",E4);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=ii(t),A4(e,_O()?Reflect.construct(t,n||[],ii(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 aO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function B4(e,t,n){return t&&aO(e.prototype,t),n&&aO(e,n),e}function fO(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 D4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A4(e,t){return t&&(I4(t)==="object"||typeof t=="function")?t:S4(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(e,t)}function I4(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 k4=function(e){D4(t,e);function t(n){R4(this,t);var o;return o=T4(this,t,[n]),fO(o,"props",void 0),o.props=new cO(n==null?void 0:n.props),o}return B4(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);fO(k4,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function F4(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=ui(t),x4(e,dO()?Reflect.construct(t,n||[],ui(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 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 ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(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&&Oy(e,t)}function x4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:F4(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oy(e,t)}function M4(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 L4=function(e){pO(t,e);function t(n){sO(this,t);var o;return o=yO(this,t,[n]),pt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),pt(o,"isHideCaption",{type:"boolean"}),pt(o,"labelPosition",{type:"enum",enum:["top","left"]}),pt(o,"ocrType",{type:"string",required:!0,message:f("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")}),pt(o,"fillList",{type:"array",validator:function(i,u,l){var c=u.every(function(a){return!a.controlId});if(c){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),pt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),vO=function(e){pO(t,e);function t(n){sO(this,t);var o,r;o=yO(this,t,[n]),pt(o,"caption",void 0),pt(o,"isHideCaption",void 0),pt(o,"isShowCaptionTip",void 0),pt(o,"captionTip",void 0),pt(o,"labelPosition",void 0),pt(o,"ocrType",void 0),pt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:so.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:so.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:so.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new st(O)}))!==null&&b!==void 0?b:[],o}return t}(bt);pt(vO,"Rules",L4);function j4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C4(e,t,n){return t=li(t),H4(e,bO()?Reflect.construct(t,n||[],li(e).constructor):t.apply(e,n))}function N4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hO(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 V4(e,t,n){return t&&hO(e.prototype,t),n&&hO(e,n),e}function wy(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 z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 H4(e,t){return t&&(U4(t)==="object"||typeof t=="function")?t:j4(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(e,t)}function U4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bO=function(){return!!e})()}var so=function(e){z4(t,e);function t(n){N4(this,t);var o;return o=C4(this,t,[n]),wy(o,"props",void 0),o.props=new vO(n==null?void 0:n.props),o}return V4(t,null,[{key:"controlName",get:function(){return f("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),t}(_t);wy(so,"controlEventKeys",["on_click","on_click_finish"]),wy(so,"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 q4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mO(e,t,n){return t=ci(t),W4(e,wO()?Reflect.construct(t,n||[],ci(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 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 ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(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&&Py(e,t)}function W4(e,t){return t&&(K4(t)==="object"||typeof t=="function")?t:q4(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Py(e,t)}function K4(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 G4=function(e){OO(t,e);function t(n){gO(this,t);var o;return o=mO(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"invoiceCheck",{type:"boolean"}),dt(o,"fillList",{type:"array",validator:function(i,u,l){var c=u.every(function(a){return!a.controlId});if(c){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),dt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),$O=function(e){OO(t,e);function t(n){gO(this,t);var o,r;o=mO(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"invoiceCheck",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:po.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:po.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:po.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new st(O)}))!==null&&b!==void 0?b:[],o}return t}(bt);dt($O,"Rules",G4);function X4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q4(e,t,n){return t=ai(t),tN(e,EO()?Reflect.construct(t,n||[],ai(e).constructor):t.apply(e,n))}function J4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Z4(e,t,n){return t&&PO(e.prototype,t),n&&PO(e,n),e}function Ey(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 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&&Sy(e,t)}function tN(e,t){return t&&(eN(t)==="object"||typeof t=="function")?t:X4(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sy(e,t)}function eN(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 po=function(e){Y4(t,e);function t(n){J4(this,t);var o;return o=Q4(this,t,[n]),Ey(o,"props",void 0),o.props=new $O(n==null?void 0:n.props),o}return Z4(t,null,[{key:"controlName",get:function(){return f("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),t}(_t);Ey(po,"controlEventKeys",["on_click","on_click_finish"]),Ey(po,"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 nN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SO(e,t,n){return t=_i(t),oN(e,BO()?Reflect.construct(t,n||[],_i(e).constructor):t.apply(e,n))}function TO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fi(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 RO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function oN(e,t){return t&&(rN(t)==="object"||typeof t=="function")?t:nN(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(e,t)}function rN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BO=function(){return!!e})()}var iN=function(e){RO(t,e);function t(){TO(this,t);var n;return n=SO(this,t,arguments),fi(n,"printTemplates",{type:"array",min:1,required:!0,message:f("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}),n}return t}(W),DO=function(e){RO(t,e);function t(n){TO(this,t);var o,r;o=SO(this,t,[n]),fi(o,"printTemplates",void 0),fi(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:vo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:vo.controlName;var l;o.printTemplates=(l=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(a){return new I8(a)}))!==null&&l!==void 0?l:[];var c;return o.autoSelectTemplate=(c=n==null?void 0:n.autoSelectTemplate)!==null&&c!==void 0?c:!1,o}return t}(bt);fi(DO,"Rules",iN);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=si(t),_N(e,IO()?Reflect.construct(t,n||[],si(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 AO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aN(e,t,n){return t&&AO(e.prototype,t),n&&AO(e,n),e}function yi(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 fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _N(e,t){return t&&(yN(t)==="object"||typeof t=="function")?t:uN(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(e,t)}function yN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IO=function(){return!!e})()}var vo=function(e){fN(t,e);function t(n){cN(this,t);var o;return o=lN(this,t,[n]),yi(o,"props",void 0),o.props=new DO(n==null?void 0:n.props),o}return aN(t,null,[{key:"controlName",get:function(){return f("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),t}(_t);yi(vo,"slots",["grid-table-toolbar-slot"]),yi(vo,"controlEventKeys",["on_click","on_click_finish"]),yi(vo,"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 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=pi(t),hN(e,kO()?Reflect.construct(t,n||[],pi(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 pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(e)}function vN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hN(e,t){return t&&(bN(t)==="object"||typeof t=="function")?t:sN(e)}function By(e,t){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(e,t)}function bN(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 mN=function(e){vN(t,e);function t(n){dN(this,t);var o;o=pN(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ho.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ho.controlIcon,o}return t}(bt);function gN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ON(e,t,n){return t=vi(t),EN(e,xO()?Reflect.construct(t,n||[],vi(e).constructor):t.apply(e,n))}function wN(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 $N(e,t,n){return t&&FO(e.prototype,t),n&&FO(e,n),e}function di(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 PN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EN(e,t){return t&&(SN(t)==="object"||typeof t=="function")?t:gN(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dy(e,t)}function SN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xO=function(){return!!e})()}var ho=function(e){PN(t,e);function t(n){wN(this,t);var o;return o=ON(this,t,[n]),di(o,"props",void 0),o.props=new mN(n==null?void 0:n.props),o}return $N(t,null,[{key:"controlName",get:function(){return f("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),t}(_t);di(ho,"slots",["grid-table-toolbar-slot"]),di(ho,"controlEventKeys",["on_click"]),di(ho,"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 TN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MO(e,t,n){return t=hi(t),RN(e,CO()?Reflect.construct(t,n||[],hi(e).constructor):t.apply(e,n))}function LO(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 hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(e)}function jO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RN(e,t){return t&&(BN(t)==="object"||typeof t=="function")?t:TN(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ay(e,t)}function BN(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 DN=function(e){jO(t,e);function t(n){LO(this,t);var o;return o=MO(this,t,[n]),yt(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(W),bi=function(e){jO(t,e);function t(n){LO(this,t);var o;o=MO(this,t,[n]),yt(o,"content",void 0),yt(o,"code",void 0),yt(o,"command",void 0),yt(o,"color",void 0),yt(o,"icon",void 0),yt(o,"formKey",void 0),yt(o,"openType",void 0),yt(o,"needConfirm",void 0),yt(o,"confirmMessage",void 0),yt(o,"options",void 0),yt(o,"defaultState",void 0),yt(o,"priorityProcess",void 0),yt(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.button",null,"\u6309\u94AE"),o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var c;return o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1,o}return t}(K);yt(bi,"Rules",DN);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=mi(t),MN(e,VO()?Reflect.construct(t,n||[],mi(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 NO(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&&NO(e.prototype,t),n&&NO(e,n),e}function Iy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(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&&ky(e,t)}function MN(e,t){return t&&(LN(t)==="object"||typeof t=="function")?t:AN(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(e,t)}function LN(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 gi=function(e){xN(t,e);function t(n){kN(this,t);var o;return o=IN(this,t,[n]),Iy(o,"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return FN(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);Iy(gi,"controlEventKeys",["on_click"]),Iy(gi,"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 jN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CN(e,t,n){return t=Oi(t),UN(e,HO()?Reflect.construct(t,n||[],Oi(e).constructor):t.apply(e,n))}function NN(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 VN(e,t,n){return t&&zO(e.prototype,t),n&&zO(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 Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oi(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&&Fy(e,t)}function UN(e,t){return t&&(qN(t)==="object"||typeof t=="function")?t:jN(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(e,t)}function qN(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 WN=function(e){HN(t,e);function t(n){NN(this,t);var o;return o=CN(this,t,[n]),zN(o,"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return VN(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Vt),xy={Designer:gi,Runtime:WN,Property:bi};function KN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GN(e,t,n){return t=wi(t),JN(e,UO()?Reflect.construct(t,n||[],wi(e).constructor):t.apply(e,n))}function XN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(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&&My(e,t)}function JN(e,t){return t&&(ZN(t)==="object"||typeof t=="function")?t:KN(e)}function My(e,t){return My=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},My(e,t)}function ZN(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 YN=function(e){QN(t,e);function t(n){XN(this,t);var o;o=GN(this,t,[n]),de(o,"content",void 0),de(o,"buttonType",void 0),de(o,"showType",void 0),de(o,"color",void 0),de(o,"icon",void 0),de(o,"defaultState",void 0),de(o,"command",void 0),de(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:bo.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:bo.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"danger";var a;o.isHide=(a=n==null?void 0:n.isHide)!==null&&a!==void 0?a:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return t}(K);function tV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eV(e,t,n){return t=Pi(t),iV(e,WO()?Reflect.construct(t,n||[],Pi(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 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 oV(e,t,n){return t&&qO(e.prototype,t),n&&qO(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 Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pi(e)}function rV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function iV(e,t){return t&&(uV(t)==="object"||typeof t=="function")?t:tV(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(e,t)}function uV(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 bo=function(e){rV(t,e);function t(n){nV(this,t);var o;return o=eV(this,t,[n]),$i(o,"props",void 0),o.props=new YN(n==null?void 0:n.props),o}return oV(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);$i(bo,"slots",["grid-table-toolbar-slot"]),$i(bo,"controlEventKeys",["on_click"]),$i(bo,"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 lV(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=Ei(t),cV(e,QO()?Reflect.construct(t,n||[],Ei(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 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 Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(e)}function XO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jy(e,t)}function cV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:lV(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jy(e,t)}function aV(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 fV=function(e){XO(t,e);function t(n){GO(this,t);var o;return o=KO(this,t,[n]),Se(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}(W),Si=function(e){XO(t,e);function t(n){GO(this,t);var o;o=KO(this,t,[n]),Se(o,"isShowSimpleSearch",void 0),Se(o,"isShowToolbar",void 0),Se(o,"actionSetting",void 0),Se(o,"listHeightSetting",void 0),Se(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ri.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 c;o.actionSetting=(c=new Nm(n==null?void 0:n.actionSetting))!==null&&c!==void 0?c:new Nm;var a;return o.listHeightSetting=(a=new Vm(n==null?void 0:n.listHeightSetting))!==null&&a!==void 0?a:new Vm,o}return t}(K);Se(Si,"Rules",fV);function _V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yV(e,t,n){return t=Ti(t),vV(e,ZO()?Reflect.construct(t,n||[],Ti(e).constructor):t.apply(e,n))}function sV(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 pV(e,t,n){return t&&JO(e.prototype,t),n&&JO(e,n),e}function Cy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(e)}function dV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function vV(e,t){return t&&(hV(t)==="object"||typeof t=="function")?t:_V(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ny(e,t)}function hV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZO=function(){return!!e})()}var Ri=function(e){dV(t,e);function t(n){sV(this,t);var o;return o=yV(this,t,[n]),Cy(o,"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return pV(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);Cy(Ri,"controlEventKeys",["on_list_rowclick"]),Cy(Ri,"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 bV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mV(e,t,n){return t=Bi(t),PV(e,tw()?Reflect.construct(t,n||[],Bi(e).constructor):t.apply(e,n))}function gV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OV(e,t,n){return t&&YO(e.prototype,t),n&&YO(e,n),e}function wV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(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&&Vy(e,t)}function PV(e,t){return t&&(EV(t)==="object"||typeof t=="function")?t:bV(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(e,t)}function EV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tw=function(){return!!e})()}var SV=function(e){$V(t,e);function t(n){gV(this,t);var o;return o=mV(this,t,[n]),wV(o,"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return OV(t,null,[{key:"controlType",get:function(){return"reference-list"}}]),t}(Vt),TV={Designer:Ri,Runtime:SV,Property:Si};function RV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zy(e,t,n){return t=Di(t),BV(e,ew()?Reflect.construct(t,n||[],Di(e).constructor):t.apply(e,n))}function Hy(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 Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(e)}function Uy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function BV(e,t){return t&&(DV(t)==="object"||typeof t=="function")?t:RV(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qy(e,t)}function DV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ew=function(){return!!e})()}var AV=function(e){Uy(t,e);function t(n){Hy(this,t);var o;return o=zy(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=wr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(Q),IV=function(e){Uy(t,e);function t(n){Hy(this,t);var o;return o=zy(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:wr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),mo=function(e){Uy(t,e);function t(n){Hy(this,t);var o;o=zy(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 jf(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:go.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var a;o.encrypted=(a=n==null?void 0:n.encrypted)!==null&&a!==void 0?a:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return t}(k);kt(mo,"Rules",AV),kt(mo,"RuntimeRules",IV);function kV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FV(e,t,n){return t=Ii(t),jV(e,ow()?Reflect.construct(t,n||[],Ii(e).constructor):t.apply(e,n))}function xV(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 MV(e,t,n){return t&&nw(e.prototype,t),n&&nw(e,n),e}function Ai(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 LV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:kV(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wy(e,t)}function CV(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 go=function(e){LV(t,e);function t(n){xV(this,t);var o;return o=FV(this,t,[n]),Ai(o,"props",void 0),o.props=new mo(n==null?void 0:n.props),o}return MV(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);Ai(go,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ai(go,"controlFieldType",g.VARCHAR),Ai(go,"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 NV(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=ki(t),qV(e,uw()?Reflect.construct(t,n||[],ki(e).constructor):t.apply(e,n))}function zV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HV(e,t,n){return t&&rw(e.prototype,t),n&&rw(e,n),e}function iw(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 UV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qV(e,t){return t&&(WV(t)==="object"||typeof t=="function")?t:NV(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(e,t)}function WV(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 KV=function(e){UV(t,e);function t(n){zV(this,t);var o;return o=VV(this,t,[n]),iw(o,"props",void 0),o.props=new mo(n==null?void 0:n.props),o}return HV(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(x);iw(KV,"controlFieldType",g.VARCHAR);function GV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gy(e,t,n){return t=Fi(t),XV(e,lw()?Reflect.construct(t,n||[],Fi(e).constructor):t.apply(e,n))}function Xy(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 Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(e)}function Qy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function XV(e,t){return t&&(QV(t)==="object"||typeof t=="function")?t:GV(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(e,t)}function QV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lw=function(){return!!e})()}var JV=function(e){Qy(t,e);function t(n){Xy(this,t);var o;o=Gy(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}(ze),ZV=function(e){Qy(t,e);function t(n){Xy(this,t);var o;return o=Gy(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),xi=function(e){Qy(t,e);function t(n){Xy(this,t);var o;o=Gy(this,t,[n]),ot(o,"checkboxMode",void 0),ot(o,"options",void 0),ot(o,"optionsOrder",void 0),ot(o,"limitMax",void 0),ot(o,"limitMin",void 0),ot(o,"otherOption",void 0),ot(o,"optionConfig",void 0),ot(o,"optionsFormat",void 0),ot(o,"defaultShowOptions",void 0),ot(o,"datasourceBind",void 0),ot(o,"multistageFilling",void 0),ot(o,"interreaction",void 0),ot(o,"defaultValue",void 0),ot(o,"openMultistageFilling",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label: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 c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.limitMin=(a=n==null?void 0:n.limitMin)!==null&&a!==void 0?a:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:ji.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new st(h))})),o}return t}(k);ot(xi,"Rules",JV),ot(xi,"RuntimeRules",ZV);function YV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tz(e,t,n){return t=Li(t),rz(e,aw()?Reflect.construct(t,n||[],Li(e).constructor):t.apply(e,n))}function ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function nz(e,t,n){return t&&cw(e.prototype,t),n&&cw(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 Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(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&&Zy(e,t)}function rz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:YV(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zy(e,t)}function iz(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 ji=function(e){oz(t,e);function t(n){ez(this,t);var o;return o=tz(this,t,[n]),Mi(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return nz(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);Mi(ji,"controlEventKeys",["on_change","on_click"]),Mi(ji,"controlFieldType",g.ARRAY),Mi(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:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function uz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lz(e,t,n){return t=Ci(t),_z(e,yw()?Reflect.construct(t,n||[],Ci(e).constructor):t.apply(e,n))}function cz(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 az(e,t,n){return t&&fw(e.prototype,t),n&&fw(e,n),e}function _w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(e)}function fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yy(e,t)}function _z(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:uz(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(e,t)}function yz(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 sz=function(e){fz(t,e);function t(n){cz(this,t);var o;return o=lz(this,t,[n]),_w(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return az(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(x);_w(sz,"controlFieldType",g.ARRAY);function pz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sw(e,t,n){return t=Ni(t),dz(e,vw()?Reflect.construct(t,n||[],Ni(e).constructor):t.apply(e,n))}function pw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(e)}function dw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ts(e,t)}function dz(e,t){return t&&(vz(t)==="object"||typeof t=="function")?t:pz(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ts(e,t)}function vz(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 hz=function(e){dw(t,e);function t(n){return pw(this,t),sw(this,t,[n])}return t}(ze),es=function(e){dw(t,e);function t(n){pw(this,t);var o;o=sw(this,t,[n]),gt(o,"radioMode",void 0),gt(o,"options",void 0),gt(o,"optionConfig",void 0),gt(o,"optionsFormat",void 0),gt(o,"defaultShowOptions",void 0),gt(o,"otherOption",void 0),gt(o,"optionsOrder",void 0),gt(o,"datasourceBind",void 0),gt(o,"multistageFilling",void 0),gt(o,"interreaction",void 0),gt(o,"defaultValue",void 0),gt(o,"openMultistageFilling",void 0);var r;o.options=Gt((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 c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.defaultShowOptions=(a=n==null?void 0:n.defaultShowOptions)!==null&&a!==void 0?a:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Hi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))})),o}return t}(k);gt(es,"Rules",hz);function bz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mz(e,t,n){return t=zi(t),$z(e,bw()?Reflect.construct(t,n||[],zi(e).constructor):t.apply(e,n))}function gz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hw(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 Oz(e,t,n){return t&&hw(e.prototype,t),n&&hw(e,n),e}function Vi(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 wz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ns(e,t)}function $z(e,t){return t&&(Pz(t)==="object"||typeof t=="function")?t:bz(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ns(e,t)}function Pz(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 Hi=function(e){wz(t,e);function t(n){gz(this,t);var o;return o=mz(this,t,[n]),Vi(o,"props",void 0),o.props=new es(n==null?void 0:n.props),o}return Oz(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);Vi(Hi,"controlEventKeys",["on_change","on_click"]),Vi(Hi,"controlFieldType",g.VARCHAR),Vi(Hi,"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 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=Ui(t),Dz(e,Ow()?Reflect.construct(t,n||[],Ui(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 mw(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&&mw(e.prototype,t),n&&mw(e,n),e}function gw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(e)}function Bz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function Dz(e,t){return t&&(Az(t)==="object"||typeof t=="function")?t:Ez(e)}function os(e,t){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(e,t)}function Az(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 Iz=function(e){Bz(t,e);function t(n){Tz(this,t);var o;return o=Sz(this,t,[n]),gw(o,"props",void 0),o.props=new es(n==null?void 0:n.props),o}return Rz(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(x);gw(Iz,"controlFieldType",g.VARCHAR);function kz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rs(e,t,n){return t=qi(t),Fz(e,ww()?Reflect.construct(t,n||[],qi(e).constructor):t.apply(e,n))}function is(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 qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(e)}function us(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function Fz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:kz(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(e,t)}function xz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ww=function(){return!!e})()}var Mz=function(e){us(t,e);function t(n){is(this,t);var o;o=rs(this,t,[n]),at(o,"defaultValue",[{type:"number",min:0,max:200,message:f("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}]),at(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=f("CMD.pleaseEnterNumberRange",{max:r,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:f("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),o.defaultValue[1].pattern=wr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(Q),Lz=function(e){us(t,e);function t(n){is(this,t);var o;o=rs(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:f(r===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:r,min:i},r===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:wr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),Wi=function(e){us(t,e);function t(n){is(this,t);var o;o=rs(this,t,[n]),at(o,"rangeMin",void 0),at(o,"rangeMax",void 0),at(o,"numberType",void 0),at(o,"percentageFormat",void 0),at(o,"micrometer",void 0),at(o,"precision",void 0),at(o,"showUpperCase",void 0),at(o,"isShowUnit",void 0),at(o,"unitPosition",void 0),at(o,"unit",void 0),at(o,"defaultValue",void 0),at(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Xi.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new jf(n==null?void 0:n.regularRules),o}return t}(k);at(Wi,"Rules",Mz),at(Wi,"RuntimeRules",Lz);function jz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cz(e,t,n){return t=Ge(t),Hz(e,Pw()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function Nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Vz(e,t,n){return t&&$w(e.prototype,t),n&&$w(e,n),e}function Ki(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=Uz(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Gi(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hz(e,t){return t&&(qz(t)==="object"||typeof t=="function")?t:jz(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cs(e,t)}function Uz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function qz(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 Xi=function(e){zz(t,e);function t(n){Nz(this,t);var o;return o=Cz(this,t,[n]),Ki(o,"props",void 0),o.props=new Wi(n==null?void 0:n.props),o}return Vz(t,[{key:"toDataBindModel",value:function(o){var r=Gi(Ge(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);Ki(Xi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ki(Xi,"controlFieldType",g.DECIMAL),Ki(Xi,"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 Wz(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=Qi(t),Jz(e,Tw()?Reflect.construct(t,n||[],Qi(e).constructor):t.apply(e,n))}function Gz(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 Xz(e,t,n){return t&&Ew(e.prototype,t),n&&Ew(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 Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(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&&as(e,t)}function Jz(e,t){return t&&(Zz(t)==="object"||typeof t=="function")?t:Wz(e)}function as(e,t){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(e,t)}function Zz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tw=function(){return!!e})()}var Yz=function(e){Qz(t,e);function t(n){Gz(this,t);var o;return o=Kz(this,t,[n]),Sw(o,"props",void 0),o.props=new Wi(n==null?void 0:n.props),o}return Xz(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(x);Sw(Yz,"controlFieldType",g.DECIMAL);function tH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eH(e,t,n){return t=Ji(t),rH(e,Rw()?Reflect.construct(t,n||[],Ji(e).constructor):t.apply(e,n))}function nH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(e)}function oH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:tH(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(e,t)}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rw=function(){return!!e})()}var Bw=function(e){oH(t,e);function t(n){nH(this,t);var o,r;o=eH(this,t,[n]),ve(o,"dateType",void 0),ve(o,"dateFormat",void 0),ve(o,"commonTimeSetting",void 0),ve(o,"setValueType",void 0),ve(o,"defaultValue",void 0),ve(o,"limitDateList",void 0),ve(o,"allowDateRange",void 0),ve(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:re.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ss.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 x_(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 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=Xe(t),_H(e,Aw()?Reflect.construct(t,n||[],Xe(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 Dw(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&&Dw(e.prototype,t),n&&Dw(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 Zi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Zi=Reflect.get:Zi=function(r,i,u){var l=yH(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Zi(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(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&&ys(e,t)}function _H(e,t){return t&&(sH(t)==="object"||typeof t=="function")?t:uH(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ys(e,t)}function yH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function sH(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 ss=function(e){fH(t,e);function t(n){cH(this,t);var o;return o=lH(this,t,[n]),_s(o,"props",void 0),o.props=new Bw(n==null?void 0:n.props),o}return aH(t,[{key:"toDataBindModel",value:function(o){var r=Zi(Xe(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);_s(ss,"controlFieldType",g.TIMESTAMP),_s(ss,"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 pH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dH(e,t,n){return t=Yi(t),mH(e,Fw()?Reflect.construct(t,n||[],Yi(e).constructor):t.apply(e,n))}function vH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hH(e,t,n){return t&&Iw(e.prototype,t),n&&Iw(e,n),e}function kw(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 bH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mH(e,t){return t&&(gH(t)==="object"||typeof t=="function")?t:pH(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(e,t)}function gH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fw=function(){return!!e})()}var OH=function(e){bH(t,e);function t(n){vH(this,t);var o;return o=dH(this,t,[n]),kw(o,"props",void 0),o.props=new Bw(n==null?void 0:n.props),o}return hH(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(x);kw(OH,"controlFieldType",g.TIMESTAMP);function wH(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=tu(t),$H(e,jw()?Reflect.construct(t,n||[],tu(e).constructor):t.apply(e,n))}function Mw(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 tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(e)}function Lw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}function $H(e,t){return t&&(PH(t)==="object"||typeof t=="function")?t:wH(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(e,t)}function PH(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 EH=function(e){Lw(t,e);function t(n){Mw(this,t);var o;return o=xw(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),vs=function(e){Lw(t,e);function t(n){Mw(this,t);var o,r;o=xw(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 IM(n==null?void 0:n.dataBind),o.defaultValue=new kM(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:re.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var a;o.rangeMin=(a=n==null?void 0:n.rangeMin)!==null&&a!==void 0?a:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:f("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F");var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:f("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F");var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ms.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new x_(m)}))!==null&&O!==void 0?O:[],o}return t}(k);Tt(vs,"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=Qe(t),AH(e,Nw()?Reflect.construct(t,n||[],Qe(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 Cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BH(e,t,n){return t&&Cw(e.prototype,t),n&&Cw(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 eu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?eu=Reflect.get:eu=function(r,i,u){var l=IH(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},eu(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(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&&bs(e,t)}function AH(e,t){return t&&(kH(t)==="object"||typeof t=="function")?t:SH(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(e,t)}function IH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function kH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nw=function(){return!!e})()}var ms=function(e){DH(t,e);function t(n){RH(this,t);var o;return o=TH(this,t,[n]),hs(o,"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return BH(t,[{key:"toDataBindModel",value:function(o){var r=eu(Qe(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);hs(ms,"controlFieldType",g.TIMESCOPE),hs(ms,"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 FH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xH(e,t,n){return t=nu(t),CH(e,Hw()?Reflect.construct(t,n||[],nu(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 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 LH(e,t,n){return t&&Vw(e.prototype,t),n&&Vw(e,n),e}function zw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(e)}function jH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:FH(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(e,t)}function NH(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 VH=function(e){jH(t,e);function t(n){MH(this,t);var o;return o=xH(this,t,[n]),zw(o,"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return LH(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(x);zw(VH,"controlFieldType",g.TIMESCOPE);function zH(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=ou(t),HH(e,Uw()?Reflect.construct(t,n||[],ou(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 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 ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(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 HH(e,t){return t&&(UH(t)==="object"||typeof t=="function")?t:zH(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(e,t)}function UH(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 qH=function(e){$s(t,e);function t(n){ws(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}(Q),WH=function(e){$s(t,e);function t(n){ws(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),ru=function(e){$s(t,e);function t(n){ws(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:lu.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o.rowHeightSetting=new Bb(n==null?void 0:n.rowHeightSetting),o}return t}(k);Yt(ru,"Rules",qH),Yt(ru,"RuntimeRules",WH);function KH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GH(e,t,n){return t=uu(t),ZH(e,Ww()?Reflect.construct(t,n||[],uu(e).constructor):t.apply(e,n))}function XH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QH(e,t,n){return t&&qw(e.prototype,t),n&&qw(e,n),e}function iu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(e)}function JH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function ZH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:KH(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function YH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ww=function(){return!!e})()}var lu=function(e){JH(t,e);function t(n){XH(this,t);var o;return o=GH(this,t,[n]),iu(o,"props",void 0),o.props=new ru(n==null?void 0:n.props),o}return QH(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);iu(lu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),iu(lu,"controlFieldType",g.TEXT),iu(lu,"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 tU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eU(e,t,n){return t=cu(t),iU(e,Xw()?Reflect.construct(t,n||[],cu(e).constructor):t.apply(e,n))}function nU(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 oU(e,t,n){return t&&Kw(e.prototype,t),n&&Kw(e,n),e}function Gw(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 rU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iU(e,t){return t&&(uU(t)==="object"||typeof t=="function")?t:tU(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ss(e,t)}function uU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xw=function(){return!!e})()}var lU=function(e){rU(t,e);function t(n){nU(this,t);var o;return o=eU(this,t,[n]),Gw(o,"props",void 0),o.props=new ru(n==null?void 0:n.props),o}return oU(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(x);Gw(lU,"controlFieldType",g.TEXT);function cU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ts(e,t,n){return t=au(t),aU(e,Qw()?Reflect.construct(t,n||[],au(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 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 au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function Bs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aU(e,t){return t&&(fU(t)==="object"||typeof t=="function")?t:cU(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ds(e,t)}function fU(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 _U=function(e){Bs(t,e);function t(n){Rs(this,t);var o;return o=Ts(this,t,[n]),he(o,"maxLength",{type:"number",min:0,message:f("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),he(o,"minLength",{type:"number",max:1e6,message:f("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),he(o,"defaultValue",{type:"string",max:200,min:0,message:f("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o}return t}(Q),yU=function(e){Bs(t,e);function t(n){Rs(this,t);var o;return o=Ts(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o}return t}(j),fu=function(e){Bs(t,e);function t(n){Rs(this,t);var o;o=Ts(this,t,[n]),he(o,"maxLength",void 0),he(o,"minLength",void 0),he(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:su.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o}return t}(k);he(fu,"Rules",_U),he(fu,"RuntimeRules",yU);function sU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pU(e,t,n){return t=yu(t),bU(e,Zw()?Reflect.construct(t,n||[],yu(e).constructor):t.apply(e,n))}function dU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vU(e,t,n){return t&&Jw(e.prototype,t),n&&Jw(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 yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(e)}function hU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function bU(e,t){return t&&(mU(t)==="object"||typeof t=="function")?t:sU(e)}function As(e,t){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(e,t)}function mU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zw=function(){return!!e})()}var su=function(e){hU(t,e);function t(n){dU(this,t);var o;return o=pU(this,t,[n]),_u(o,"props",void 0),o.props=new fu(n==null?void 0:n.props),o}return vU(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);_u(su,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),_u(su,"controlFieldType",g.TEXT),_u(su,"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 gU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OU(e,t,n){return t=pu(t),EU(e,e$()?Reflect.construct(t,n||[],pu(e).constructor):t.apply(e,n))}function wU(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 $U(e,t,n){return t&&Yw(e.prototype,t),n&&Yw(e,n),e}function t$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pu(e)}function PU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EU(e,t){return t&&(SU(t)==="object"||typeof t=="function")?t:gU(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(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){PU(t,e);function t(n){wU(this,t);var o;return o=OU(this,t,[n]),t$(o,"props",void 0),o.props=new fu(n==null?void 0:n.props),o}return $U(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(x);t$(TU,"controlFieldType",g.TEXT);function RU(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=du(t),BU(e,i$()?Reflect.construct(t,n||[],du(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 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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(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&&ks(e,t)}function BU(e,t){return t&&(DU(t)==="object"||typeof t=="function")?t:RU(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ks(e,t)}function DU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(i$=function(){return!!e})()}var AU=function(e){r$(t,e);function t(n){o$(this,t);var o;return o=n$(this,t,[n]),Ot(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(ze),Fs=function(e){r$(t,e);function t(n){o$(this,t);var o;o=n$(this,t,[n]),Ot(o,"options",void 0),Ot(o,"defaultShowOptions",void 0),Ot(o,"optionConfig",void 0),Ot(o,"defaultValue",void 0),Ot(o,"datasourceBind",void 0),Ot(o,"multistageFilling",void 0),Ot(o,"allowCopyOptions",void 0),Ot(o,"openMultistageFilling",void 0),Ot(o,"viewFormModelType",void 0),Ot(o,"canViewForm",void 0),Ot(o,"formBind",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label: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:Ls.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Ne(n==null?void 0:n.formBind),o}return t}(k);Ot(Fs,"Rules",AU);function IU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kU(e,t,n){return t=vu(t),LU(e,l$()?Reflect.construct(t,n||[],vu(e).constructor):t.apply(e,n))}function FU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(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 xU(e,t,n){return t&&u$(e.prototype,t),n&&u$(e,n),e}function xs(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 MU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function LU(e,t){return t&&(jU(t)==="object"||typeof t=="function")?t:IU(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function jU(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 Ls=function(e){MU(t,e);function t(n){FU(this,t);var o;return o=kU(this,t,[n]),xs(o,"props",void 0),o.props=new Fs(n==null?void 0:n.props),o}return xU(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);xs(Ls,"controlFieldType",g.VARCHAR),xs(Ls,"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 CU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NU(e,t,n){return t=hu(t),UU(e,f$()?Reflect.construct(t,n||[],hu(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 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 zU(e,t,n){return t&&c$(e.prototype,t),n&&c$(e,n),e}function a$(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 HU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function UU(e,t){return t&&(qU(t)==="object"||typeof t=="function")?t:CU(e)}function js(e,t){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(e,t)}function qU(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 WU=function(e){HU(t,e);function t(n){VU(this,t);var o;return o=NU(this,t,[n]),a$(o,"props",void 0),o.props=new Fs(n==null?void 0:n.props),o}return zU(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(x);a$(WU,"controlFieldType",g.VARCHAR);function KU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cs(e,t,n){return t=bu(t),GU(e,_$()?Reflect.construct(t,n||[],bu(e).constructor):t.apply(e,n))}function Ns(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(e)}function Vs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zs(e,t)}function GU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:KU(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zs(e,t)}function XU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_$=function(){return!!e})()}var QU=function(e){Vs(t,e);function t(n){Ns(this,t);var o;return o=Cs(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}(ze),JU=function(e){Vs(t,e);function t(n){Ns(this,t);var o;return o=Cs(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),mu=function(e){Vs(t,e);function t(n){Ns(this,t);var o;o=Cs(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,"openMultistageFilling",void 0),wt(o,"viewFormModelType",void 0),wt(o,"canViewForm",void 0),wt(o,"formBind",void 0);var r;o.options=Gt((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:qs.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new Ne(n==null?void 0:n.formBind),o}return t}(k);wt(mu,"Rules",QU),wt(mu,"RuntimeRules",JU);function ZU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YU(e,t,n){return t=gu(t),oq(e,s$()?Reflect.construct(t,n||[],gu(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 y$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eq(e,t,n){return t&&y$(e.prototype,t),n&&y$(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 gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(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&&Us(e,t)}function oq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:ZU(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function rq(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 qs=function(e){nq(t,e);function t(n){tq(this,t);var o;return o=YU(this,t,[n]),Hs(o,"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return eq(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);Hs(qs,"controlFieldType",g.ARRAY),Hs(qs,"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 iq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uq(e,t,n){return t=Ou(t),fq(e,v$()?Reflect.construct(t,n||[],Ou(e).constructor):t.apply(e,n))}function lq(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 cq(e,t,n){return t&&p$(e.prototype,t),n&&p$(e,n),e}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 Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(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&&Ws(e,t)}function fq(e,t){return t&&(_q(t)==="object"||typeof t=="function")?t:iq(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(e,t)}function _q(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 yq=function(e){aq(t,e);function t(n){lq(this,t);var o;return o=uq(this,t,[n]),d$(o,"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return cq(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);d$(yq,"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 h$(e,t,n){return t=wu(t),pq(e,g$()?Reflect.construct(t,n||[],wu(e).constructor):t.apply(e,n))}function b$(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 wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(e)}function m$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function pq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:sq(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(e,t)}function dq(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 vq=function(e){m$(t,e);function t(n){b$(this,t);var o;return o=h$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Gs=function(e){m$(t,e);function t(n){b$(this,t);var o;o=h$(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 c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Js.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:f("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005e\u901A\u8D26\u53F7");var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(b))})),o}return t}(k);te(Gs,"RuntimeRules",vq);function hq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bq(e,t,n){return t=$u(t),wq(e,w$()?Reflect.construct(t,n||[],$u(e).constructor):t.apply(e,n))}function mq(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 gq(e,t,n){return t&&O$(e.prototype,t),n&&O$(e,n),e}function Xs(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 Oq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function wq(e,t){return t&&($q(t)==="object"||typeof t=="function")?t:hq(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(e,t)}function $q(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 Js=function(e){Oq(t,e);function t(n){mq(this,t);var o;return o=bq(this,t,[n]),Xs(o,"props",void 0),o.props=new Gs(n==null?void 0:n.props),o}return gq(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);Xs(Js,"controlFieldType",g.EMPLOYEES),Xs(Js,"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 Pq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eq(e,t,n){return t=Pu(t),Bq(e,E$()?Reflect.construct(t,n||[],Pu(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 $$(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 Tq(e,t,n){return t&&$$(e.prototype,t),n&&$$(e,n),e}function P$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pu(e)}function Rq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function Bq(e,t){return t&&(Dq(t)==="object"||typeof t=="function")?t:Pq(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(e,t)}function Dq(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 Aq=function(e){Rq(t,e);function t(n){Sq(this,t);var o;return o=Eq(this,t,[n]),P$(o,"props",void 0),o.props=new Gs(n==null?void 0:n.props),o}return Tq(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(x);P$(Aq,"controlFieldType",g.EMPLOYEES);function Iq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ys(e,t,n){return t=Eu(t),kq(e,S$()?Reflect.construct(t,n||[],Eu(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 $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 Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(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&&np(e,t)}function kq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:Iq(e)}function np(e,t){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(e,t)}function Fq(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 xq=10485760,Mq=104857600,Lq=1048576e3,jq=function(e){ep(t,e);function t(n){tp(this,t);var o;return o=Ys(this,t,[n]),$t(o,"maxSize",{type:"number",min:0,max:Lq,message:f("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}),o}return t}(Q),Cq=function(e){ep(t,e);function t(n){tp(this,t);var o;return o=Ys(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),Su=function(e){ep(t,e);function t(n){tp(this,t);var o;o=Ys(this,t,[n]),$t(o,"defaultValue",void 0),$t(o,"showType",void 0),$t(o,"resultShowType",void 0),$t(o,"attachmentAccept",void 0),$t(o,"maxLimit",void 0),$t(o,"minLimit",void 0),$t(o,"isShowWatermark",void 0),$t(o,"watermarkFx",void 0),$t(o,"maxSize",void 0),$t(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 c;o.maxLimit=(c=n==null?void 0:n.maxLimit)!==null&&c!==void 0?c:10;var a;o.minLimit=(a=n==null?void 0:n.minLimit)!==null&&a!==void 0?a:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:Mq;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Oo.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);$t(Su,"Rules",jq),$t(Su,"RuntimeRules",Cq);function Nq(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=Ru(t),qq(e,R$()?Reflect.construct(t,n||[],Ru(e).constructor):t.apply(e,n))}function zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T$(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 Hq(e,t,n){return t&&T$(e.prototype,t),n&&T$(e,n),e}function Tu(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 Uq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function qq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:Nq(e)}function op(e,t){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(e,t)}function Wq(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 Oo=function(e){Uq(t,e);function t(n){zq(this,t);var o;return o=Vq(this,t,[n]),Tu(o,"props",void 0),o.props=new Su(n==null?void 0:n.props),o}return Hq(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);Tu(Oo,"controlEventKeys",["on_change"]),Tu(Oo,"controlFieldType",g.FILE),Tu(Oo,"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 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=Bu(t),Zq(e,A$()?Reflect.construct(t,n||[],Bu(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 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 Qq(e,t,n){return t&&B$(e.prototype,t),n&&B$(e,n),e}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 Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bu(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&&rp(e,t)}function Zq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:Kq(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(e,t)}function Yq(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 tW=function(e){Jq(t,e);function t(n){Xq(this,t);var o;return o=Gq(this,t,[n]),D$(o,"props",void 0),o.props=new Su(n==null?void 0:n.props),o}return Qq(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(x);D$(tW,"controlFieldType",g.FILE);function eW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nW(e,t,n){return t=Du(t),uW(e,F$()?Reflect.construct(t,n||[],Du(e).constructor):t.apply(e,n))}function oW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rW(e,t,n){return t&&I$(e.prototype,t),n&&I$(e,n),e}function k$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Du(e)}function 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&&ip(e,t)}function uW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:eW(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ip(e,t)}function lW(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 x$=function(e){iW(t,e);function t(n){oW(this,t);var o,r,i;o=nW(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 rW(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}(Oo);k$(x$,"controlFieldType",g.IMAGE),k$(x$,"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 cW(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=Au(t),yW(e,M$()?Reflect.construct(t,n||[],Au(e).constructor):t.apply(e,n))}function lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(e)}function cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aW(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 fW(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 _W(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fW(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function yW(e,t){return t&&(sW(t)==="object"||typeof t=="function")?t:cW(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function sW(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 pW=function(e){cp(t,e);function t(n){lp(this,t);var o;o=up(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}(ze),dW=function(e){cp(t,e);function t(n){lp(this,t);var o;o=up(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:[_W(aW({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:f(r===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:r,min:i},r===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],currency:{type:"string"}}}),o}return t}(j),Iu=function(e){cp(t,e);function t(n){lp(this,t);var o;o=up(this,t,[n]),rt(o,"rangeMin",void 0),rt(o,"rangeMax",void 0),rt(o,"showUpperCase",void 0),rt(o,"submitSelectCurrency",void 0),rt(o,"micrometer",void 0),rt(o,"precision",void 0),rt(o,"unitPosition",void 0),rt(o,"optionConfig",void 0),rt(o,"dataBind",void 0),rt(o,"datasourceBind",void 0),rt(o,"defaultValue",void 0),rt(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c:2,o.dataBind=new DM(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 xf({value:"name"})]});var _;o.defaultValue=new AM((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:Nf.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=Gt(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:xu.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(Iu,"Rules",pW),rt(Iu,"RuntimeRules",dW);function vW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hW(e,t,n){return t=Je(t),OW(e,j$()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function bW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L$(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 mW(e,t,n){return t&&L$(e.prototype,t),n&&L$(e,n),e}function ku(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Fu=Reflect.get:Fu=function(r,i,u){var l=wW(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Fu(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function gW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OW(e,t){return t&&($W(t)==="object"||typeof t=="function")?t:vW(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(e,t)}function wW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function $W(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(j$=function(){return!!e})()}var xu=function(e){gW(t,e);function t(n){bW(this,t);var o;return o=hW(this,t,[n]),ku(o,"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return mW(t,[{key:"toDataBindModel",value:function(o){var r=Fu(Je(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);ku(xu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ku(xu,"controlFieldType",g.MONEY),ku(xu,"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 PW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EW(e,t,n){return t=Mu(t),BW(e,V$()?Reflect.construct(t,n||[],Mu(e).constructor):t.apply(e,n))}function SW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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 Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(e)}function RW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BW(e,t){return t&&(DW(t)==="object"||typeof t=="function")?t:PW(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_p(e,t)}function DW(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 AW=function(e){RW(t,e);function t(n){SW(this,t);var o;return o=EW(this,t,[n]),N$(o,"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return TW(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(x);N$(AW,"controlFieldType",g.MONEY);function IW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yp(e,t,n){return t=Lu(t),kW(e,z$()?Reflect.construct(t,n||[],Lu(e).constructor):t.apply(e,n))}function sp(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 Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(e)}function pp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function kW(e,t){return t&&(FW(t)==="object"||typeof t=="function")?t:IW(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(e,t)}function FW(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 xW=function(e){pp(t,e);function t(n){sp(this,t);var o;return o=yp(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}(Q),MW=function(e){pp(t,e);function t(n){sp(this,t);var o;o=yp(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),ju=function(e){pp(t,e);function t(n){sp(this,t);var o,r;o=yp(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:M_.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var c;o.explain=(c=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(p){return new L_(p)}))!==null&&c!==void 0?c:Array(o.totalScore).fill(void 0).map(function(){return new L_});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?_:Vu.controlName,o}return t}(k);ee(ju,"Rules",xW),ee(ju,"RuntimeRules",MW);function vp(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 LW(e){if(Array.isArray(e))return vp(e)}function jW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CW(e,t,n){return t=Ze(t),qW(e,U$()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function NW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 VW(e,t,n){return t&&H$(e.prototype,t),n&&H$(e,n),e}function Cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Nu=Reflect.get:Nu=function(r,i,u){var l=WW(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Nu(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function zW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function HW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function UW(){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 qW(e,t){return t&&(GW(t)==="object"||typeof t=="function")?t:jW(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hp(e,t)}function WW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function KW(e){return LW(e)||HW(e)||XW(e)||UW()}function GW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XW(e,t){if(!!e){if(typeof e=="string")return vp(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 vp(e,t)}}function U$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(U$=function(){return!!e})()}var Vu=function(e){zW(t,e);function t(n){NW(this,t);var o;return o=CW(this,t,[n]),Cu(o,"props",void 0),o.props=new ju(n==null?void 0:n.props),o}return VW(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 L_});(i=this.props.explain).push.apply(i,KW(l))}}Nu(Ze(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);Cu(Vu,"controlEventKeys",["on_change","on_click"]),Cu(Vu,"controlFieldType",g.DECIMAL),Cu(Vu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 QW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JW(e,t,n){return t=zu(t),eK(e,K$()?Reflect.construct(t,n||[],zu(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 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 YW(e,t,n){return t&&q$(e.prototype,t),n&&q$(e,n),e}function W$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(e)}function tK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function eK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:QW(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bp(e,t)}function nK(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 oK=function(e){tK(t,e);function t(n){ZW(this,t);var o;return o=JW(this,t,[n]),W$(o,"props",void 0),o.props=new ju(n==null?void 0:n.props),o}return YW(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(x);W$(oK,"controlFieldType",g.DECIMAL);function rK(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=Uu(t),iK(e,J$()?Reflect.construct(t,n||[],Uu(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 Hu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(e)}function Q$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:rK(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(e,t)}function uK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(J$=function(){return!!e})()}var lK=function(e){Q$(t,e);function t(n){X$(this,t);var o;if(o=G$(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),gp=function(e){Q$(t,e);function t(n){X$(this,t);var o;o=G$(this,t,[n]),Hu(o,"defaultValueType",void 0),Hu(o,"defaultValue",void 0),Hu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:$p.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 FM((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740"),o}return t}(k);Hu(gp,"RuntimeRules",lK);function cK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aK(e,t,n){return t=qu(t),sK(e,Y$()?Reflect.construct(t,n||[],qu(e).constructor):t.apply(e,n))}function fK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _K(e,t,n){return t&&Z$(e.prototype,t),n&&Z$(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(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&&wp(e,t)}function sK(e,t){return t&&(pK(t)==="object"||typeof t=="function")?t:cK(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function pK(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 $p=function(e){yK(t,e);function t(n){fK(this,t);var o;return o=aK(this,t,[n]),Op(o,"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return _K(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($p,"controlFieldType",g.ADDRESS),Op($p,"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 dK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vK(e,t,n){return t=Wu(t),gK(e,nP()?Reflect.construct(t,n||[],Wu(e).constructor):t.apply(e,n))}function hK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bK(e,t,n){return t&&tP(e.prototype,t),n&&tP(e,n),e}function eP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(e)}function mK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function gK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:dK(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pp(e,t)}function OK(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 wK=function(e){mK(t,e);function t(n){hK(this,t);var o;return o=vK(this,t,[n]),eP(o,"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return bK(t,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(x);eP(wK,"controlFieldType",g.ADDRESS);function $K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oP(e,t,n){return t=Ku(t),PK(e,uP()?Reflect.construct(t,n||[],Ku(e).constructor):t.apply(e,n))}function rP(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 Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ku(e)}function iP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PK(e,t){return t&&(EK(t)==="object"||typeof t=="function")?t:$K(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(e,t)}function EK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uP=function(){return!!e})()}var SK=function(e){iP(t,e);function t(n){rP(this,t);var o;return o=oP(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Sp=function(e){iP(t,e);function t(n){rP(this,t);var o;o=oP(this,t,[n]),Ft(o,"showType",void 0),Ft(o,"range",void 0),Ft(o,"defaultValueType",void 0),Ft(o,"multiple",void 0),Ft(o,"rangeOptions",void 0),Ft(o,"defaultValue",void 0),Ft(o,"displayLevel",void 0),Ft(o,"showSubDept",void 0),Ft(o,"multistageFilling",void 0),Ft(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Qu.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8");var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))})),o}return t}(k);Ft(Sp,"RuntimeRules",SK);function TK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RK(e,t,n){return t=Ye(t),IK(e,cP()?Reflect.construct(t,n||[],Ye(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 lP(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 DK(e,t,n){return t&&lP(e.prototype,t),n&&lP(e,n),e}function Gu(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=kK(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Xu(e,t,n||e)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(e)}function AK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:TK(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function kK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ye(e),e!==null););return e}function FK(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 Qu=function(e){AK(t,e);function t(n){BK(this,t);var o;return o=RK(this,t,[n]),Gu(o,"props",void 0),o.props=new Sp(n==null?void 0:n.props),o}return DK(t,[{key:"toDataBindModel",value:function(o){var r=Xu(Ye(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);Gu(Qu,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Gu(Qu,"controlFieldType",g.DEPARTMENTS),Gu(Qu,"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 xK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MK(e,t,n){return t=Ju(t),NK(e,_P()?Reflect.construct(t,n||[],Ju(e).constructor):t.apply(e,n))}function LK(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 jK(e,t,n){return t&&aP(e.prototype,t),n&&aP(e,n),e}function fP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(e)}function CK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function NK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:xK(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function VK(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 zK=function(e){CK(t,e);function t(n){LK(this,t);var o;return o=MK(this,t,[n]),fP(o,"props",void 0),o.props=new Sp(n==null?void 0:n.props),o}return jK(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(x);fP(zK,"controlFieldType",g.DEPARTMENTS);function HK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UK(e,t,n){return t=Zu(t),GK(e,yP()?Reflect.construct(t,n||[],Zu(e).constructor):t.apply(e,n))}function qK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WK(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 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 GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:HK(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(e,t)}function XK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yP=function(){return!!e})()}var sP=function(e){KK(t,e);function t(n){qK(this,t);var o;o=UK(this,t,[n]),WK(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:el.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 QK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JK(e,t,n){return t=tl(t),eG(e,dP()?Reflect.construct(t,n||[],tl(e).constructor):t.apply(e,n))}function ZK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pP(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&&pP(e.prototype,t),n&&pP(e,n),e}function Yu(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 tG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function eG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:QK(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(e,t)}function nG(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 el=function(e){tG(t,e);function t(n){ZK(this,t);var o;return o=JK(this,t,[n]),Yu(o,"props",void 0),o.props=new sP(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);Yu(el,"controlEventKeys",["on_change"]),Yu(el,"controlFieldType",g.AUTO_NUMBER),Yu(el,"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 oG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rG(e,t,n){return t=nl(t),cG(e,bP()?Reflect.construct(t,n||[],nl(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 vP(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 uG(e,t,n){return t&&vP(e.prototype,t),n&&vP(e,n),e}function hP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(e)}function lG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cG(e,t){return t&&(aG(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 aG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bP=function(){return!!e})()}var fG=function(e){lG(t,e);function t(n){iG(this,t);var o;return o=rG(this,t,[n]),hP(o,"props",void 0),o.props=new sP(n==null?void 0:n.props),o}return uG(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(x);hP(fG,"controlFieldType",g.AUTO_NUMBER);function _G(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=ol(t),yG(e,mP()?Reflect.construct(t,n||[],ol(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 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 ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(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&&xp(e,t)}function yG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:_G(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(e,t)}function sG(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 pG=function(e){Fp(t,e);function t(n){kp(this,t);var o;return o=Ip(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}(Q),dG=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="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),rl=function(e){Fp(t,e);function t(n){kp(this,t);var o;o=Ip(this,t,[n]),xt(o,"precision",void 0),xt(o,"micrometer",void 0),xt(o,"showUpperCase",void 0),xt(o,"scriptSrc",void 0),xt(o,"scriptEcho",void 0),xt(o,"dataBind",void 0),xt(o,"defaultValue",void 0),xt(o,"unitPosition",void 0),xt(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new xM(n==null?void 0:n.dataBind),o.defaultValue=new MM(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ll.controlName;var c;o.unitPosition=(c=n==null?void 0:n.unitPosition)!==null&&c!==void 0?c:"right";var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var p;o.scriptSrc=(p=n==null?void 0:n.scriptSrc)!==null&&p!==void 0?p:"";var d;return o.calcOnMounted=(d=n==null?void 0:n.calcOnMounted)!==null&&d!==void 0?d:!1,o}return t}(k);xt(rl,"Rules",pG),xt(rl,"RuntimeRules",dG);function vG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hG(e,t,n){return t=tn(t),OG(e,OP()?Reflect.construct(t,n||[],tn(e).constructor):t.apply(e,n))}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mG(e,t,n){return t&&gP(e.prototype,t),n&&gP(e,n),e}function il(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ul(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ul=Reflect.get:ul=function(r,i,u){var l=wG(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ul(e,t,n||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(e)}function gG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function OG(e,t){return t&&($G(t)==="object"||typeof t=="function")?t:vG(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mp(e,t)}function wG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function $G(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OP=function(){return!!e})()}var ll=function(e){gG(t,e);function t(n){bG(this,t);var o;return o=hG(this,t,[n]),il(o,"props",void 0),o.props=new rl(n==null?void 0:n.props),o}return mG(t,[{key:"toDataBindModel",value:function(o){var r=ul(tn(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);il(ll,"controlEventKeys",["on_change"]),il(ll,"controlFieldType",g.CALC),il(ll,"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 PG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EG(e,t,n){return t=cl(t),BG(e,PP()?Reflect.construct(t,n||[],cl(e).constructor):t.apply(e,n))}function SG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function TG(e,t,n){return t&&wP(e.prototype,t),n&&wP(e,n),e}function $P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(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&&Lp(e,t)}function BG(e,t){return t&&(DG(t)==="object"||typeof t=="function")?t:PG(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lp(e,t)}function DG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PP=function(){return!!e})()}var AG=function(e){RG(t,e);function t(n){SG(this,t);var o;return o=EG(this,t,[n]),$P(o,"props",void 0),o.props=new rl(n==null?void 0:n.props),o}return TG(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(x);$P(AG,"controlFieldType",g.CALC);function IG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EP(e,t,n){return t=al(t),kG(e,RP()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function SP(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 al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function TP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function kG(e,t){return t&&(FG(t)==="object"||typeof t=="function")?t:IG(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jp(e,t)}function FG(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 xG=function(e){TP(t,e);function t(n){SP(this,t);var o;return o=EP(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var l=u.every(function(c){return!c});return l?Promise.reject(f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}else return Promise.resolve()}}),o}return t}(j),Cp=function(e){TP(t,e);function t(n){SP(this,t);var o;o=EP(this,t,[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 l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:f("CMD.min",null,"\u6700\u5C0F\u503C");var c;o.placeholderEnd=(c=n==null?void 0:n.placeholderEnd)!==null&&c!==void 0?c:f("CMD.max",null,"\u6700\u5927\u503C");var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:zp.controlName,o}return t}(k);en(Cp,"RuntimeRules",xG);function MG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LG(e,t,n){return t=fl(t),VG(e,DP()?Reflect.construct(t,n||[],fl(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 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 CG(e,t,n){return t&&BP(e.prototype,t),n&&BP(e,n),e}function Np(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 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&&Vp(e,t)}function VG(e,t){return t&&(zG(t)==="object"||typeof t=="function")?t:MG(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(e,t)}function zG(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 zp=function(e){NG(t,e);function t(n){jG(this,t);var o;return o=LG(this,t,[n]),Np(o,"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return CG(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);Np(zp,"controlFieldType",g.DECIMAL_RANGE),Np(zp,"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 HG(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=_l(t),GG(e,kP()?Reflect.construct(t,n||[],_l(e).constructor):t.apply(e,n))}function qG(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 WG(e,t,n){return t&&AP(e.prototype,t),n&&AP(e,n),e}function IP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(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&&Hp(e,t)}function GG(e,t){return t&&(XG(t)==="object"||typeof t=="function")?t:HG(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(e,t)}function XG(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 QG=function(e){KG(t,e);function t(n){qG(this,t);var o;return o=UG(this,t,[n]),IP(o,"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return WG(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);IP(QG,"controlFieldType",g.DECIMAL_RANGE);function JG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FP(e,t,n){return t=yl(t),ZG(e,LP()?Reflect.construct(t,n||[],yl(e).constructor):t.apply(e,n))}function xP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(e)}function MP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function ZG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:JG(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function YG(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 tX=function(e){MP(t,e);function t(n){xP(this,t);var o;return o=FP(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),qp=function(e){MP(t,e);function t(n){xP(this,t);var o,r;o=FP(this,t,[n]),Mt(o,"rangeMin",void 0),Mt(o,"rangeMax",void 0),Mt(o,"placeholderStart",void 0),Mt(o,"placeholderEnd",void 0),Mt(o,"dateType",void 0),Mt(o,"dateFormat",void 0),Mt(o,"commonTimeSetting",void 0),Mt(o,"setValueType",void 0),Mt(o,"defaultValue",void 0),Mt(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:re.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:f("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F");var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:f("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F");var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Gp.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new x_(w)}))!==null&&m!==void 0?m:[],o}return t}(k);Mt(qp,"RuntimeRules",tX);function eX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nX(e,t,n){return t=sl(t),uX(e,CP()?Reflect.construct(t,n||[],sl(e).constructor):t.apply(e,n))}function oX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jP(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 rX(e,t,n){return t&&jP(e.prototype,t),n&&jP(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 sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(e)}function iX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function uX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:eX(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(e,t)}function lX(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 Gp=function(e){iX(t,e);function t(n){oX(this,t);var o;return o=nX(this,t,[n]),Wp(o,"props",void 0),o.props=new qp(n==null?void 0:n.props),o}return rX(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);Wp(Gp,"controlFieldType",g.ARRAY),Wp(Gp,"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 cX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aX(e,t,n){return t=pl(t),sX(e,zP()?Reflect.construct(t,n||[],pl(e).constructor):t.apply(e,n))}function fX(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 _X(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 pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(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&&Xp(e,t)}function sX(e,t){return t&&(pX(t)==="object"||typeof t=="function")?t:cX(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(e,t)}function pX(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 dX=function(e){yX(t,e);function t(n){fX(this,t);var o;return o=aX(this,t,[n]),VP(o,"props",void 0),o.props=new qp(n==null?void 0:n.props),o}return _X(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);VP(dX,"controlFieldType",g.ARRAY);function vX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qp(e,t,n){return t=dl(t),hX(e,HP()?Reflect.construct(t,n||[],dl(e).constructor):t.apply(e,n))}function Jp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(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 Zp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:vX(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yp(e,t)}function bX(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 mX=function(e){Zp(t,e);function t(n){Jp(this,t);var o;return o=Qp(this,t,[n]),o.dataBind={type:"any"},o}return t}(Q),gX=function(e){Zp(t,e);function t(n){Jp(this,t);var o;return o=Qp(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(j),vl=function(e){Zp(t,e);function t(n){Jp(this,t);var o;o=Qp(this,t,[n]),nn(o,"controlExportName",void 0),nn(o,"permissions",void 0),nn(o,"defaultValue",void 0),nn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:$o.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var c;return o.isInlineEdit=(c=n==null?void 0:n.isInlineEdit)!==null&&c!==void 0?c:!1,o}return t}(k);nn(vl,"Rules",mX),nn(vl,"RuntimeRules",gX);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=hl(t),SX(e,qP()?Reflect.construct(t,n||[],hl(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 UP(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&&UP(e.prototype,t),n&&UP(e,n),e}function wo(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 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&&td(e,t)}function SX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:OX(e)}function td(e,t){return td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},td(e,t)}function TX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qP=function(){return!!e})()}var $o=function(e){EX(t,e);function t(n){$X(this,t);var o;return o=wX(this,t,[n]),wo(o,"props",void 0),o.props=new vl(n==null?void 0:n.props),o}return PX(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);wo($o,"controlFieldType",g.ANY),wo($o,"controlEventKeys",[]),wo($o,"slots",["grid-table-toolbar-slot",ib.DEFAULT]),wo($o,"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 RX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BX(e,t,n){return t=bl(t),kX(e,GP()?Reflect.construct(t,n||[],bl(e).constructor):t.apply(e,n))}function DX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function AX(e,t,n){return t&&WP(e.prototype,t),n&&WP(e,n),e}function KP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(e)}function IX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function kX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:RX(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ed(e,t)}function FX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GP=function(){return!!e})()}var xX=function(e){IX(t,e);function t(n){DX(this,t);var o;return o=BX(this,t,[n]),KP(o,"props",void 0),o.props=new vl(n==null?void 0:n.props),o}return AX(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);KP(xX,"controlFieldType",g.ANY);function MX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XP(e,t,n){return t=ml(t),LX(e,ZP()?Reflect.construct(t,n||[],ml(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 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 ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(e)}function JP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function LX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:MX(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(e,t)}function jX(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 CX=function(e){JP(t,e);function t(n){QP(this,t);var o;return o=XP(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}(ze),od=function(e){JP(t,e);function t(n){QP(this,t);var o;o=XP(this,t,[n]),it(o,"options",void 0),it(o,"optionConfig",void 0),it(o,"defaultValue",void 0),it(o,"listPageBind",void 0),it(o,"datasourceBind",void 0),it(o,"multistageFilling",void 0),it(o,"viewFormModelType",void 0),it(o,"canViewForm",void 0),it(o,"formBind",void 0),it(o,"openMultistageFilling",void 0),it(o,"showSelectedDetail",void 0),it(o,"selectedContentConfig",void 0),it(o,"optionDisplayConfig",void 0),it(o,"canSearch",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new kf(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:wl.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.openMultistageFilling=(a=n==null?void 0:n.openMultistageFilling)!==null&&a!==void 0?a:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Lf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(m))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var d;o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new Ne(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(od,"Rules",CX);function NX(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=on(t),qX(e,tE()?Reflect.construct(t,n||[],on(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 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 HX(e,t,n){return t&&YP(e.prototype,t),n&&YP(e,n),e}function gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ol=Reflect.get:Ol=function(r,i,u){var l=WX(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ol(e,t,n||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},on(e)}function UX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function qX(e,t){return t&&(KX(t)==="object"||typeof t=="function")?t:NX(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(e,t)}function WX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function KX(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 wl=function(e){UX(t,e);function t(n){zX(this,t);var o;return o=VX(this,t,[n]),gl(o,"props",void 0),o.props=new od(n==null?void 0:n.props),o}return HX(t,[{key:"toDataBindModel",value:function(o){var r=Ol(on(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);gl(wl,"controlFieldType",g.VARCHAR),gl(wl,"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}]),gl(wl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function GX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XX(e,t,n){return t=$l(t),YX(e,oE()?Reflect.construct(t,n||[],$l(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 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 JX(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 $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function ZX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YX(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:GX(e)}function id(e,t){return id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},id(e,t)}function tQ(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 eQ=function(e){ZX(t,e);function t(n){QX(this,t);var o;return o=XX(this,t,[n]),nE(o,"props",void 0),o.props=new od(n==null?void 0:n.props),o}return JX(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(x);nE(eQ,"controlFieldType",g.VARCHAR);function nQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oQ(e,t,n){return t=Pl(t),uQ(e,rE()?Reflect.construct(t,n||[],Pl(e).constructor):t.apply(e,n))}function rQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(e)}function iQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uQ(e,t){return t&&(lQ(t)==="object"||typeof t=="function")?t:nQ(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ud(e,t)}function lQ(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 iE=function(e){iQ(t,e);function t(n){return rQ(this,t),oQ(this,t,[n])}return t}(mo);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=El(t),sQ(e,cE()?Reflect.construct(t,n||[],El(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 uE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _Q(e,t,n){return t&&uE(e.prototype,t),n&&uE(e,n),e}function lE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(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&&ld(e,t)}function sQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:cQ(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(e,t)}function pQ(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 dQ=function(e){yQ(t,e);function t(n){fQ(this,t);var o;return o=aQ(this,t,[n]),lE(o,"props",void 0),o.props=new iE(n==null?void 0:n.props),o}return _Q(t,null,[{key:"controlName",get:function(){return f("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlType",get:function(){return"search-input"}}]),t}(go);lE(dQ,"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 vQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(e,t,n){return t=Sl(t),OQ(e,_E()?Reflect.construct(t,n||[],Sl(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 aE(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 mQ(e,t,n){return t&&aE(e.prototype,t),n&&aE(e,n),e}function fE(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 gQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function OQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:vQ(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cd(e,t)}function wQ(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 $Q=function(e){gQ(t,e);function t(n){bQ(this,t);var o;return o=hQ(this,t,[n]),fE(o,"props",void 0),o.props=new iE(n==null?void 0:n.props),o}return mQ(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(x);fE($Q,"controlFieldType",g.VARCHAR);function PQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ad(e,t,n){return t=Tl(t),EQ(e,yE()?Reflect.construct(t,n||[],Tl(e).constructor):t.apply(e,n))}function fd(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 Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tl(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&&yd(e,t)}function EQ(e,t){return t&&(SQ(t)==="object"||typeof t=="function")?t:PQ(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yd(e,t)}function SQ(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 TQ=function(e){_d(t,e);function t(n){fd(this,t);var o;return o=ad(this,t,[n]),q(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Xo.call(o,n,Te.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}(Q),RQ=function(e){_d(t,e);function t(n){fd(this,t);var o;return o=ad(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Rl=function(e){_d(t,e);function t(n){fd(this,t);var o,r;o=ad(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:Te.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var c;o.canSearch=(c=n==null?void 0:n.canSearch)!==null&&c!==void 0?c:!0;var a;o.levelType=(a=n==null?void 0:n.levelType)!==null&&a!==void 0?a:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new kb((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Te.controlCustomAttributes});var $;o.filterItemDatasourceBind=new kb(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:Te.controlCustomAttributes});var E;o.openMultistageFilling=(E=n==null?void 0:n.openMultistageFilling)!==null&&E!==void 0?E:!1;var T;o.defaultDisplay=(T=n==null?void 0:n.defaultDisplay)!==null&&T!==void 0?T:!1;var R;o.multistageFilling=(R=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new st(A)}))!==null&&R!==void 0?R:[];var z;return o.defaultValue=(z=n==null?void 0:n.defaultValue)!==null&&z!==void 0?z:[],o}return t}(k);q(Rl,"Rules",TQ),q(Rl,"RuntimeRules",RQ);function BQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DQ(e,t,n){return t=Dl(t),FQ(e,pE()?Reflect.construct(t,n||[],Dl(e).constructor):t.apply(e,n))}function AQ(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 IQ(e,t,n){return t&&sE(e.prototype,t),n&&sE(e,n),e}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 Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(e)}function kQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function FQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:BQ(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(e,t)}function xQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pE=function(){return!!e})()}var Te=function(e){kQ(t,e);function t(n){AQ(this,t);var o;return o=DQ(this,t,[n]),Bl(o,"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return IQ(t,null,[{key:"controlName",get:function(){return f("CMD.tree",null,"\u6811")}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),t}(F);Bl(Te,"controlEventKeys",["on_change","on_click"]),Bl(Te,"controlFieldType",g.ARRAY),Bl(Te,"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 MQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LQ(e,t,n){return t=Al(t),VQ(e,hE()?Reflect.construct(t,n||[],Al(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 dE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CQ(e,t,n){return t&&dE(e.prototype,t),n&&dE(e,n),e}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 Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(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&&pd(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:MQ(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(e,t)}function zQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hE=function(){return!!e})()}var HQ=function(e){NQ(t,e);function t(n){jQ(this,t);var o;return o=LQ(this,t,[n]),vE(o,"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return CQ(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(x);vE(HQ,"controlFieldType",g.ARRAY);function UQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dd(e,t,n){return t=Il(t),qQ(e,bE()?Reflect.construct(t,n||[],Il(e).constructor):t.apply(e,n))}function vd(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 Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(e)}function hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function qQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:UQ(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bd(e,t)}function WQ(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 KQ=function(e){hd(t,e);function t(n){vd(this,t);var o;return o=dd(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"}),Xo.call(o,n,Po.controlCustomAttributes),n.externalType===pe.ASSIGN&&(o.externalScope={type:"array",required:!0,message:f("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")}),o}return t}(Q),GQ=function(e){hd(t,e);function t(n){vd(this,t);var o;return o=dd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),kl=function(e){hd(t,e);function t(n){vd(this,t);var o;o=dd(this,t,[n]),ut(o,"showType",void 0),ut(o,"range",void 0),ut(o,"rangeOptions",void 0),ut(o,"multiple",void 0),ut(o,"defaultValueType",void 0),ut(o,"defaultValue",void 0),ut(o,"multistageFilling",void 0),ut(o,"datasourceBind",void 0),ut(o,"datasourceType",void 0),ut(o,"insideType",void 0),ut(o,"externalType",void 0),ut(o,"externalScope",void 0),ut(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Po.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:f("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005e\u901A\u8D26\u53F7");var d;o.datasourceBind=new qo((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:Po.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:C_.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:N_.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:pe.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 E;(E=o.multistageFilling)===null||E===void 0||E.push(new st($))})),o}return t}(k);ut(kl,"Rules",KQ),ut(kl,"RuntimeRules",GQ);function XQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QQ(e,t,n){return t=Fl(t),tJ(e,gE()?Reflect.construct(t,n||[],Fl(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 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 ZQ(e,t,n){return t&&mE(e.prototype,t),n&&mE(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 Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(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&&gd(e,t)}function tJ(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:XQ(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(e,t)}function eJ(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 Po=function(e){YQ(t,e);function t(n){JQ(this,t);var o;return o=QQ(this,t,[n]),md(o,"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return ZQ(t,null,[{key:"controlName",get:function(){return f("CMD.people",null,"\u4EBA\u5458")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(F);md(Po,"controlFieldType",g.EMPLOYEES),md(Po,"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 nJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oJ(e,t,n){return t=xl(t),lJ(e,$E()?Reflect.construct(t,n||[],xl(e).constructor):t.apply(e,n))}function rJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function iJ(e,t,n){return t&&OE(e.prototype,t),n&&OE(e,n),e}function wE(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 uJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function lJ(e,t){return t&&(cJ(t)==="object"||typeof t=="function")?t:nJ(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(e,t)}function cJ(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 aJ=function(e){uJ(t,e);function t(n){rJ(this,t);var o;return o=oJ(this,t,[n]),wE(o,"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return iJ(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(x);wE(aJ,"controlFieldType",g.EMPLOYEES);function fJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wd(e,t,n){return t=Ml(t),_J(e,PE()?Reflect.construct(t,n||[],Ml(e).constructor):t.apply(e,n))}function $d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(e)}function Pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _J(e,t){return t&&(yJ(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 yJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PE=function(){return!!e})()}var sJ=function(e){Pd(t,e);function t(n){return $d(this,t),wd(this,t,[n])}return t}(Q),pJ=function(e){Pd(t,e);function t(n){$d(this,t);var o;return o=wd(this,t,[n]),o[0].type="array",o}return t}(j),Ll=function(e){Pd(t,e);function t(n){$d(this,t);var o;o=wd(this,t,[n]),Re(o,"minWidth",void 0),Re(o,"maxWidth",void 0),Re(o,"backgroundColor",void 0),Re(o,"penColor",void 0),Re(o,"labelPosition",void 0);var r;o.minWidth=(r=n==null?void 0:n.minWidth)!==null&&r!==void 0?r:.5;var i;o.maxWidth=(i=n==null?void 0:n.maxWidth)!==null&&i!==void 0?i:2.5;var u;o.backgroundColor=(u=n==null?void 0:n.backgroundColor)!==null&&u!==void 0?u:"rgba(0,0,0,0)";var l;o.penColor=(l=n==null?void 0:n.penColor)!==null&&l!==void 0?l:"black";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Rd.controlName;var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:[],o}return t}(k);Re(Ll,"Rules",sJ),Re(Ll,"RuntimeRules",pJ);function dJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vJ(e,t,n){return t=jl(t),gJ(e,SE()?Reflect.construct(t,n||[],jl(e).constructor):t.apply(e,n))}function hJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bJ(e,t,n){return t&&EE(e.prototype,t),n&&EE(e,n),e}function Sd(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 mJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:dJ(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function OJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SE=function(){return!!e})()}var Rd=function(e){mJ(t,e);function t(n){hJ(this,t);var o;return o=vJ(this,t,[n]),Sd(o,"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return bJ(t,null,[{key:"controlName",get:function(){return"\u624B\u5199\u7B7E\u540D"}},{key:"controlIcon",get:function(){return"iconsignature"}},{key:"controlType",get:function(){return"signature"}}]),t}(F);Sd(Rd,"controlFieldType",g.SIGNATURE),Sd(Rd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION,y.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"select-color",visible:!0},{key:"common-setting",visible:!0,showItems:[y.REQUIRED,y.IS_HIDE,y.IS_SHOW_CAPTION_TIP]}]);function wJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $J(e,t,n){return t=Cl(t),TJ(e,BE()?Reflect.construct(t,n||[],Cl(e).constructor):t.apply(e,n))}function PJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function EJ(e,t,n){return t&&TE(e.prototype,t),n&&TE(e,n),e}function RE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(e)}function SJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function TJ(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:wJ(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bd(e,t)}function RJ(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 BJ=function(e){SJ(t,e);function t(n){PJ(this,t);var o;return o=$J(this,t,[n]),RE(o,"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return EJ(t,null,[{key:"controlType",get:function(){return"signature"}}]),t}(x);RE(BJ,"controlFieldType",g.SIGNATURE);function DJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DE(e,t,n){return t=Nl(t),AJ(e,kE()?Reflect.construct(t,n||[],Nl(e).constructor):t.apply(e,n))}function AE(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 Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(e)}function IE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function AJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:DJ(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(e,t)}function IJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kE=function(){return!!e})()}var kJ=function(e){IE(t,e);function t(n){AE(this,t);var o;return o=DE(this,t,[n]),zt(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:f("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator:function(c,a,_){if(i.type==="public"&&Ef(a.value)&&a.value.length===0){_(f("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}_()}},company:{type:"object",required:!0,validator:function(c,a,_){if(i.type==="public"&&i.signatureType.includes("company")&&Ef(a.value)&&a.value.length===0){_(f("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}_()}}}},r},{})}}},o}return t}(Q),Ad=function(e){IE(t,e);function t(n){AE(this,t);var o;o=DE(this,t,[n]),zt(o,"buttonType",void 0),zt(o,"content",void 0),zt(o,"showType",void 0),zt(o,"color",void 0),zt(o,"icon",void 0),zt(o,"command",""),zt(o,"isLoading",!1),zt(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Hl.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72");var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;return o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2",o.signatureConfig=new S8(n==null?void 0:n.signatureConfig),o}return t}(k);zt(Ad,"Rules",kJ);function FJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xJ(e,t,n){return t=zl(t),CJ(e,xE()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function MJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LJ(e,t,n){return t&&FE(e.prototype,t),n&&FE(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 zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(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&&Id(e,t)}function CJ(e,t){return t&&(NJ(t)==="object"||typeof t=="function")?t:FJ(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Id(e,t)}function NJ(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 Hl=function(e){jJ(t,e);function t(n){MJ(this,t);var o;return o=xJ(this,t,[n]),Vl(o,"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return LJ(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);Vl(Hl,"controlEventKeys",["on_click","on_click_finish"]),Vl(Hl,"controlFieldType",g.VARCHAR),Vl(Hl,"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 VJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zJ(e,t,n){return t=Ul(t),WJ(e,jE()?Reflect.construct(t,n||[],Ul(e).constructor):t.apply(e,n))}function HJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ME(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UJ(e,t,n){return t&&ME(e.prototype,t),n&&ME(e,n),e}function LE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(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&&kd(e,t)}function WJ(e,t){return t&&(KJ(t)==="object"||typeof t=="function")?t:VJ(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function KJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jE=function(){return!!e})()}var GJ=function(e){qJ(t,e);function t(n){HJ(this,t);var o;return o=zJ(this,t,[n]),LE(o,"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return UJ(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);LE(GJ,"controlFieldType",g.VARCHAR);function XJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fd(e,t,n){return t=ql(t),QJ(e,CE()?Reflect.construct(t,n||[],ql(e).constructor):t.apply(e,n))}function xd(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 ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(e)}function Md(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function QJ(e,t){return t&&(JJ(t)==="object"||typeof t=="function")?t:XJ(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(e,t)}function JJ(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 ZJ=function(e){Md(t,e);function t(n){xd(this,t);var o;return o=Fd(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}(Q),YJ=function(e){Md(t,e);function t(n){xd(this,t);var o;return o=Fd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Wl=function(e){Md(t,e);function t(n){xd(this,t);var o;o=Fd(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:Xl.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863");var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var c;o.addOnline=(c=n==null?void 0:n.addOnline)!==null&&c!==void 0?c:!0;var a;o.canEdit=(a=n==null?void 0:n.canEdit)!==null&&a!==void 0?a:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:xq;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new T8(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(Wl,"Rules",ZJ),lt(Wl,"RuntimeRules",YJ);function tZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eZ(e,t,n){return t=Gl(t),iZ(e,VE()?Reflect.construct(t,n||[],Gl(e).constructor):t.apply(e,n))}function nZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oZ(e,t,n){return t&&NE(e.prototype,t),n&&NE(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 Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gl(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&&jd(e,t)}function iZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:tZ(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function uZ(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 Xl=function(e){rZ(t,e);function t(n){nZ(this,t);var o;return o=eZ(this,t,[n]),Kl(o,"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return oZ(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);Kl(Xl,"controlEventKeys",["on_change","on_wps_open"]),Kl(Xl,"controlFieldType",g.FILE),Kl(Xl,"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 lZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cZ(e,t,n){return t=Ql(t),yZ(e,UE()?Reflect.construct(t,n||[],Ql(e).constructor):t.apply(e,n))}function aZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zE(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 fZ(e,t,n){return t&&zE(e.prototype,t),n&&zE(e,n),e}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 Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(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&&Cd(e,t)}function yZ(e,t){return t&&(sZ(t)==="object"||typeof t=="function")?t:lZ(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function sZ(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 pZ=function(e){_Z(t,e);function t(n){aZ(this,t);var o;return o=cZ(this,t,[n]),HE(o,"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return fZ(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(x);HE(pZ,"controlFieldType",g.FILE);function dZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nd(e,t,n){return t=Jl(t),vZ(e,qE()?Reflect.construct(t,n||[],Jl(e).constructor):t.apply(e,n))}function Vd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(e)}function zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:dZ(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(e,t)}function hZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qE=function(){return!!e})()}var bZ=function(e){zd(t,e);function t(n){Vd(this,t);var o;return o=Nd(this,t,[n]),Y(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Y(o,"businessScope",{type:"any"}),Xo.call(o,n,un.controlCustomAttributes),n.businessType===pe.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(Q),mZ=function(e){zd(t,e);function t(n){Vd(this,t);var o;return o=Nd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),Zl=function(e){zd(t,e);function t(n){Vd(this,t);var o;o=Nd(this,t,[n]),Y(o,"showType",void 0),Y(o,"range",void 0),Y(o,"defaultValueType",void 0),Y(o,"multiple",void 0),Y(o,"rangeOptions",void 0),Y(o,"defaultValue",void 0),Y(o,"displayLevel",void 0),Y(o,"showSubDept",void 0),Y(o,"multistageFilling",void 0),Y(o,"datasourceBind",void 0),Y(o,"datasourceType",void 0),Y(o,"businessType",void 0),Y(o,"businessScope",void 0),Y(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:un.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 qo((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:un.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:$r.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:pe.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(E){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new st(E))})),o}return t}(k);Y(Zl,"Rules",bZ),Y(Zl,"RuntimeRules",mZ);function gZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OZ(e,t,n){return t=rn(t),EZ(e,KE()?Reflect.construct(t,n||[],rn(e).constructor):t.apply(e,n))}function wZ(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 $Z(e,t,n){return t&&WE(e.prototype,t),n&&WE(e,n),e}function Yl(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?tc=Reflect.get:tc=function(r,i,u){var l=SZ(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},tc(e,t,n||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(e)}function PZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EZ(e,t){return t&&(TZ(t)==="object"||typeof t=="function")?t:gZ(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function SZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function TZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KE=function(){return!!e})()}var un=function(e){PZ(t,e);function t(n){wZ(this,t);var o;return o=OZ(this,t,[n]),Yl(o,"props",void 0),o.props=new Zl(n==null?void 0:n.props),o}return $Z(t,[{key:"toDataBindModel",value:function(o){var r=tc(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:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(F);Yl(un,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Yl(un,"controlFieldType",g.DEPARTMENTS),Yl(un,"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 RZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BZ(e,t,n){return t=ec(t),kZ(e,QE()?Reflect.construct(t,n||[],ec(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 GE(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 AZ(e,t,n){return t&&GE(e.prototype,t),n&&GE(e,n),e}function XE(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&&qd(e,t)}function kZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:RZ(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function FZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QE=function(){return!!e})()}var xZ=function(e){IZ(t,e);function t(n){DZ(this,t);var o;return o=BZ(this,t,[n]),XE(o,"props",void 0),o.props=new Zl(n==null?void 0:n.props),o}return AZ(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(x);XE(xZ,"controlFieldType",g.DEPARTMENTS);function MZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wd(e,t,n){return t=nc(t),LZ(e,JE()?Reflect.construct(t,n||[],nc(e).constructor):t.apply(e,n))}function Kd(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 nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(e)}function Gd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function LZ(e,t){return t&&(jZ(t)==="object"||typeof t=="function")?t:MZ(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(e,t)}function jZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JE=function(){return!!e})()}var CZ=function(e){Gd(t,e);function t(n){Kd(this,t);var o;return o=Wd(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"}),Xo.call(o,n,Eo.controlCustomAttributes),n.businessType===pe.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(Q),NZ=function(e){Gd(t,e);function t(n){Kd(this,t);var o;return o=Wd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),oc=function(e){Gd(t,e);function t(n){Kd(this,t);var o;o=Wd(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 kf(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Eo.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 RM((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:Eo.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:$r.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:pe.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var E;o.organizationView=(E=n==null?void 0:n.organizationView)!==null&&E!==void 0?E:void 0;var T;o.showSelectedDetail=(T=n==null?void 0:n.showSelectedDetail)!==null&&T!==void 0?T:!1,o.selectedContentConfig=new Lf(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 A;(A=o.multistageFilling)===null||A===void 0||A.push(new st(z))})),o}return t}(k);V(oc,"Rules",CZ),V(oc,"RuntimeRules",NZ);function VZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t,n){return t=ln(t),WZ(e,YE()?Reflect.construct(t,n||[],ln(e).constructor):t.apply(e,n))}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UZ(e,t,n){return t&&ZE(e.prototype,t),n&&ZE(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 rc(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?rc=Reflect.get:rc=function(r,i,u){var l=KZ(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},rc(e,t,n||e)}function ln(e){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ln(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&&Jd(e,t)}function WZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:VZ(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function KZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ln(e),e!==null););return e}function GZ(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 Eo=function(e){qZ(t,e);function t(n){HZ(this,t);var o;return o=zZ(this,t,[n]),Qd(o,"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return UZ(t,[{key:"toDataBindModel",value:function(o){var r=rc(ln(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,l=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=l}return r}}],[{key:"controlName",get:function(){return f("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(F);Qd(Eo,"controlFieldType",g.DEPARTMENTS),Qd(Eo,"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 XZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QZ(e,t,n){return t=ic(t),tY(e,nS()?Reflect.construct(t,n||[],ic(e).constructor):t.apply(e,n))}function JZ(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 ZZ(e,t,n){return t&&tS(e.prototype,t),n&&tS(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 ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(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&&Zd(e,t)}function tY(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:XZ(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(e,t)}function eY(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 nY=function(e){YZ(t,e);function t(n){JZ(this,t);var o;return o=QZ(this,t,[n]),eS(o,"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return ZZ(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(x);eS(nY,"controlFieldType",g.DEPARTMENTS);function oY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yd(e,t,n){return t=uc(t),rY(e,oS()?Reflect.construct(t,n||[],uc(e).constructor):t.apply(e,n))}function tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(e)}function ev(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function rY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:oY(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function iY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oS=function(){return!!e})()}var uY=function(e){ev(t,e);function t(n){tv(this,t);var o;return o=Yd(this,t,[n]),o.dataBind={type:"any"},o}return t}(Q),lY=function(e){ev(t,e);function t(n){tv(this,t);var o;return o=Yd(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(j),lc=function(e){ev(t,e);function t(n){tv(this,t);var o;o=Yd(this,t,[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:fc.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var c;return o.isInlineEdit=(c=n==null?void 0:n.isInlineEdit)!==null&&c!==void 0?c:!1,o}return t}(k);cn(lc,"Rules",uY),cn(lc,"RuntimeRules",lY);function cY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aY(e,t,n){return t=ac(t),sY(e,iS()?Reflect.construct(t,n||[],ac(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 rS(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 _Y(e,t,n){return t&&rS(e.prototype,t),n&&rS(e,n),e}function cc(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 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&&ov(e,t)}function sY(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:cY(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(e,t)}function pY(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 fc=function(e){yY(t,e);function t(n){fY(this,t);var o;return o=aY(this,t,[n]),cc(o,"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return _Y(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);cc(fc,"controlFieldType",g.ANY),cc(fc,"controlEventKeys",[]),cc(fc,"setting",[]);function dY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vY(e,t,n){return t=_c(t),gY(e,cS()?Reflect.construct(t,n||[],_c(e).constructor):t.apply(e,n))}function hY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bY(e,t,n){return t&&uS(e.prototype,t),n&&uS(e,n),e}function lS(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 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&&rv(e,t)}function gY(e,t){return t&&(OY(t)==="object"||typeof t=="function")?t:dY(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(e,t)}function OY(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 wY=function(e){mY(t,e);function t(n){hY(this,t);var o;return o=vY(this,t,[n]),lS(o,"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return bY(t,null,[{key:"controlType",get:function(){return s.VUE_PAGE}}]),t}(x);lS(wY,"controlFieldType",g.ANY);function $Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PY(e,t,n){return t=yc(t),BY(e,fS()?Reflect.construct(t,n||[],yc(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 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 SY(e,t,n){return t&&aS(e.prototype,t),n&&aS(e,n),e}function TY(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 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&&iv(e,t)}function BY(e,t){return t&&(DY(t)==="object"||typeof t=="function")?t:$Y(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function DY(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 AY=function(e){RY(t,e);function t(n){return EY(this,t),PY(this,t,[n])}return SY(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}(et);TY(AY,"excludes",[s.GRID]);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=sc(t),MY(e,yS()?Reflect.construct(t,n||[],sc(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 _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 xY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:IY(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(e,t)}function LY(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 jY=24,So=function(e){xY(t,e);function t(n){FY(this,t);var o;o=kY(this,t,[n]),_S(o,"span",void 0),_S(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:jY;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(tt);function CY(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=pc(t),UY(e,pS()?Reflect.construct(t,n||[],pc(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 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 zY(e,t,n){return t&&sS(e.prototype,t),n&&sS(e,n),e}function lv(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 HY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:CY(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function qY(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 To=function(e){HY(t,e);function t(n){VY(this,t);var o;return o=NY(this,t,[n]),lv(o,"props",void 0),o.props=new So(n==null?void 0:n.props),o}return zY(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}(et);lv(To,"excludes",[s.COL,s.SUBTABLE,s.SUBTABLE_COLUMN,s.GRID_LAYOUT_CONTAINER,s.DIVIDER]),lv(To,"childrenMaxLength",1);function WY(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=dc(t),ZY(e,vS()?Reflect.construct(t,n||[],dc(e).constructor):t.apply(e,n))}function GY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function XY(e,t,n){return t&&dS(e.prototype,t),n&&dS(e,n),e}function QY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(e)}function JY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function ZY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:WY(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function YY(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 ttt=function(e){JY(t,e);function t(n){GY(this,t);var o;return o=KY(this,t,[n]),QY(o,"props",void 0),o.props=new So(n==null?void 0:n.props),o}return XY(t,null,[{key:"controlType",get:function(){return"col"}}]),t}($e),hS={Designer:To,Runtime:ttt,Property:So};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=vc(t),itt(e,mS()?Reflect.construct(t,n||[],vc(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 bS(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 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&&fv(e,t)}function itt(e,t){return t&&(utt(t)==="object"||typeof t=="function")?t:ett(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(e,t)}function utt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mS=function(){return!!e})()}var _v=function(e){rtt(t,e);function t(n){ott(this,t);var o;o=ntt(this,t,[n]),bS(o,"layoutMode",void 0),bS(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}(tt);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=hc(t),ytt(e,OS()?Reflect.construct(t,n||[],hc(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 gS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ftt(e,t,n){return t&&gS(e.prototype,t),n&&gS(e,n),e}function yv(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 _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&&sv(e,t)}function ytt(e,t){return t&&(stt(t)==="object"||typeof t=="function")?t:ltt(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(e,t)}function stt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OS=function(){return!!e})()}var pv=function(e){_tt(t,e);function t(n){att(this,t);var o;return o=ctt(this,t,[n]),yv(o,"props",void 0),o.props=new _v(n==null?void 0:n.props),o}return ftt(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}(et);yv(pv,"excludes",[s.ROW]),yv(pv,"setting",[{key:"col-setting",visible:!0}]);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=bc(t),gtt(e,$S()?Reflect.construct(t,n||[],bc(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 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 htt(e,t,n){return t&&wS(e.prototype,t),n&&wS(e,n),e}function btt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(e)}function mtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function gtt(e,t){return t&&(Ott(t)==="object"||typeof t=="function")?t:ptt(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(e,t)}function Ott(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 wtt=function(e){mtt(t,e);function t(n){vtt(this,t);var o;return o=dtt(this,t,[n]),btt(o,"props",void 0),o.props=new _v(n==null?void 0:n.props),o}return htt(t,null,[{key:"controlType",get:function(){return"row"}}]),t}($e);function $tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ptt(e,t,n){return t=mc(t),Rtt(e,ES()?Reflect.construct(t,n||[],mc(e).constructor):t.apply(e,n))}function Ett(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 Stt(e,t,n){return t&&PS(e.prototype,t),n&&PS(e,n),e}function vv(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 Ttt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hv(e,t)}function Rtt(e,t){return t&&(Btt(t)==="object"||typeof t=="function")?t:$tt(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hv(e,t)}function Btt(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 Dtt=4,gc=function(e){Ttt(t,e);function t(n){return Ett(this,t),Ptt(this,t,[n])}return Stt(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}(pv);vv(gc,"excludes",[s.GRID_ROW]),vv(gc,"setting",[]),vv(gc,"childrenMaxLength",Dtt);function Att(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Itt(e,t,n){return t=Oc(t),Mtt(e,TS()?Reflect.construct(t,n||[],Oc(e).constructor):t.apply(e,n))}function ktt(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 Ftt(e,t,n){return t&&SS(e.prototype,t),n&&SS(e,n),e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(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&&bv(e,t)}function Mtt(e,t){return t&&(Ltt(t)==="object"||typeof t=="function")?t:Att(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(e,t)}function Ltt(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 jtt=function(e){xtt(t,e);function t(n){return ktt(this,t),Itt(this,t,[n])}return Ftt(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(wtt);function Ctt(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=wc(t),Htt(e,RS()?Reflect.construct(t,n||[],wc(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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(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&&mv(e,t)}function Htt(e,t){return t&&(Utt(t)==="object"||typeof t=="function")?t:Ctt(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mv(e,t)}function Utt(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 qtt=function(e){ztt(t,e);function t(n){return Vtt(this,t),Ntt(this,t,[n])}return t}(_v),Wtt={Designer:gc,Runtime:jtt,Property:qtt};function Ktt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BS(e,t,n){return t=$c(t),Gtt(e,IS()?Reflect.construct(t,n||[],$c(e).constructor):t.apply(e,n))}function DS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function AS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function Gtt(e,t){return t&&(Xtt(t)==="object"||typeof t=="function")?t:Ktt(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function Xtt(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 Qtt=function(e){AS(t,e);function t(){DS(this,t);var n;return n=BS(this,t,arguments),Ro(n,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),n}return t}(tt.Rules),kS=function(e){AS(t,e);function t(n){DS(this,t);var o;o=BS(this,t,[n]),Ro(o,"caption",void 0),Ro(o,"isHideCaption",void 0),Ro(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}(tt);Ro(kS,"Rules",Qtt);function Jtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ztt(e,t,n){return t=Pc(t),net(e,xS()?Reflect.construct(t,n||[],Pc(e).constructor):t.apply(e,n))}function Ytt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(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 tet(e,t,n){return t&&FS(e.prototype,t),n&&FS(e,n),e}function Ov(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(e)}function eet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 net(e,t){return t&&(oet(t)==="object"||typeof t=="function")?t:Jtt(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(e,t)}function oet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xS=function(){return!!e})()}var MS=function(e){eet(t,e);function t(n){Ytt(this,t);var o;return o=Ztt(this,t,[n]),Ov(o,"props",void 0),o.props=new kS(n==null?void 0:n.props),o}return tet(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}(et);Ov(MS,"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}]),Ov(MS,"excludes",[s.CARD_GROUP]);function ret(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LS(e,t,n){return t=Ec(t),iet(e,NS()?Reflect.construct(t,n||[],Ec(e).constructor):t.apply(e,n))}function jS(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 Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(e)}function CS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function iet(e,t){return t&&(uet(t)==="object"||typeof t=="function")?t:ret(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function uet(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 cet=function(e){CS(t,e);function t(n){jS(this,t);var o;return o=LS(this,t,[n]),Ht(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ht(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),Ht(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Sc=function(e){CS(t,e);function t(n){jS(this,t);var o;o=LS(this,t,[n]),Ht(o,"metaAutoWidth",void 0),Ht(o,"caption",void 0),Ht(o,"fixed",void 0),Ht(o,"isShowCaptionTip",void 0),Ht(o,"captionTip",void 0),Ht(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var c;return o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1,o.metaAutoWidth=new Db(n==null?void 0:n.metaAutoWidth),o}return t}(tt);Ht(Sc,"Rules",cet);function aet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fet(e,t,n){return t=Tc(t),set(e,VS()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}function _et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function yet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function set(e,t){return t&&(pet(t)==="object"||typeof t=="function")?t:aet(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(e,t)}function pet(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 Lt=function(e){yet(t,e);function t(n){_et(this,t);var o;return o=fet(this,t,[n]),Be(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return t}(et);Be(Lt,"controlName",f("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C")),Be(Lt,"controlType","subtable-column"),Be(Lt,"controlIcon","subtable-column"),Be(Lt,"childrenMaxLength",1),Be(Lt,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT,s.GRID_LAYOUT_CONTAINER]),Be(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 det(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vet(e,t,n){return t=Rc(t),met(e,HS()?Reflect.construct(t,n||[],Rc(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 zS(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 bet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 met(e,t){return t&&(get(t)==="object"||typeof t=="function")?t:det(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(e,t)}function get(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HS=function(){return!!e})()}var US=function(e){bet(t,e);function t(n){het(this,t);var o;return o=vet(this,t,[n]),zS(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return t}($e);zS(US,"controlType","subtable-column");var Oet={Designer:Lt,Runtime:US,Property:Sc};function wet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $et(e,t,n){return t=Bc(t),Tet(e,qS()?Reflect.construct(t,n||[],Bc(e).constructor):t.apply(e,n))}function Pet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bc(e)}function Eet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tet(e,t){return t&&(Ret(t)==="object"||typeof t=="function")?t:wet(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sv(e,t)}function Ret(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 Bet=function(e){Eet(t,e);function t(n){return Pet(this,t),$et(this,t,[n])}return t}(tt);function Det(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aet(e,t,n){return t=Dc(t),Fet(e,WS()?Reflect.construct(t,n||[],Dc(e).constructor):t.apply(e,n))}function Iet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function ket(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fet(e,t){return t&&(xet(t)==="object"||typeof t=="function")?t:Det(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(e,t)}function xet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WS=function(){return!!e})()}var an=function(e){ket(t,e);function t(n){Iet(this,t);var o;return o=Aet(this,t,[n]),De(o,"props",void 0),o.props=new Bet(n==null?void 0:n.props),o}return t}(et);De(an,"controlName",f("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C")),De(an,"controlType","subtable-row"),De(an,"controlIcon","subtable-row"),De(an,"childrenMaxLength",1),De(an,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.SUBTABLE_ROW,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),De(an,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0}]);function Met(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Let(e,t,n){return t=Ac(t),Net(e,KS()?Reflect.construct(t,n||[],Ac(e).constructor):t.apply(e,n))}function jet(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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ac(e)}function Cet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Net(e,t){return t&&(Vet(t)==="object"||typeof t=="function")?t:Met(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(e,t)}function Vet(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 GS=function(e){Cet(t,e);function t(n){jet(this,t);var o;o=Let(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 c;o.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:g.VARCHAR;var a;o.fieldName=(a=n==null?void 0:n.fieldName)!==null&&a!==void 0?a:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:re.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return t}(tt);function zet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Het(e,t,n){return t=Ic(t),Wet(e,XS()?Reflect.construct(t,n||[],Ic(e).constructor):t.apply(e,n))}function Uet(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 Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(e)}function qet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function Wet(e,t){return t&&(Ket(t)==="object"||typeof t=="function")?t:zet(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(e,t)}function Ket(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XS=function(){return!!e})()}var fn=function(e){qet(t,e);function t(n){Uet(this,t);var o;return o=Het(this,t,[n]),Ae(o,"props",void 0),o.props=new GS(n==null?void 0:n.props),o}return t}(et);Ae(fn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Ae(fn,"controlType","gridtable-column"),Ae(fn,"controlIcon","gridtable-column"),Ae(fn,"childrenMaxLength",1),Ae(fn,"excludes",[s.GRID_TABLE,s.GRID_TABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Ae(fn,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function Get(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xet(e,t,n){return t=kc(t),Zet(e,JS()?Reflect.construct(t,n||[],kc(e).constructor):t.apply(e,n))}function Qet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QS(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 Jet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zet(e,t){return t&&(Yet(t)==="object"||typeof t=="function")?t:Get(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(e,t)}function Yet(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 tnt=function(e){Jet(t,e);function t(n){Qet(this,t);var o;return o=Xet(this,t,[n]),QS(o,"props",void 0),o.props=new GS(n==null?void 0:n.props),o}return t}($e);QS(tnt,"controlType","gridtable-column");function ent(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nnt(e,t,n){return t=Fc(t),int(e,YS()?Reflect.construct(t,n||[],Fc(e).constructor):t.apply(e,n))}function ont(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZS(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 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&&Av(e,t)}function int(e,t){return t&&(unt(t)==="object"||typeof t=="function")?t:ent(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Av(e,t)}function unt(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 lnt=function(e){rnt(t,e);function t(n){ont(this,t);var o;o=nnt(this,t,[n]),ZS(o,"childMinWidth",void 0),ZS(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}(tt);function cnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ant(e,t,n){return t=xc(t),snt(e,eT()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function fnt(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 _nt(e,t,n){return t&&tT(e.prototype,t),n&&tT(e,n),e}function Iv(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 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&&kv(e,t)}function snt(e,t){return t&&(pnt(t)==="object"||typeof t=="function")?t:cnt(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(e,t)}function pnt(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 nT=function(e){ynt(t,e);function t(n){fnt(this,t);var o;return o=ant(this,t,[n]),Iv(o,"props",void 0),o.props=new lnt(n==null?void 0:n.props),o}return _nt(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}(et);Iv(nT,"excludes",[s.GRID_LAYOUT_CONTAINER,s.CARD_GROUP,s.TAB]),Iv(nT,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function dnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vnt(e,t,n){return t=Mc(t),gnt(e,oT()?Reflect.construct(t,n||[],Mc(e).constructor):t.apply(e,n))}function hnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bnt(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 mnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gnt(e,t){return t&&(Ont(t)==="object"||typeof t=="function")?t:dnt(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(e,t)}function Ont(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 wnt=function(e){mnt(t,e);function t(n){hnt(this,t);var o;o=vnt(this,t,[n]),bnt(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}(tt);function $nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rT(e,t,n){return t=Lc(t),Pnt(e,lT()?Reflect.construct(t,n||[],Lc(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 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 Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(e)}function uT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pnt(e,t){return t&&(Ent(t)==="object"||typeof t=="function")?t:$nt(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(e,t)}function Ent(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 Snt=function(e){uT(t,e);function t(n){iT(this,t);var o;return o=rT(this,t,[n]),xv(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),o}return t}(W),cT=function(e){uT(t,e);function t(n){iT(this,t);var o;o=rT(this,t,[n]),xv(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:zc.controlName,o}return t}(tt);xv(cT,"Rules",Snt);function Tnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rnt(e,t,n){return t=jc(t),Int(e,fT()?Reflect.construct(t,n||[],jc(e).constructor):t.apply(e,n))}function Bnt(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 Dnt(e,t,n){return t&&aT(e.prototype,t),n&&aT(e,n),e}function Lv(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 Ant(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Int(e,t){return t&&(knt(t)==="object"||typeof t=="function")?t:Tnt(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(e,t)}function knt(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 Cc=function(e){Ant(t,e);function t(n){Bnt(this,t);var o;return o=Rnt(this,t,[n]),Lv(o,"props",void 0),o.props=new cT(n==null?void 0:n.props),o}return Dnt(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}(et);Lv(Cc,"excludes",[s.TAB]),Lv(Cc,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[y.IS_HIDE]},{key:"super-setting",visible:!0}]);function Fnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xnt(e,t,n){return t=Vc(t),Cnt(e,yT()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function Mnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _T(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 Lnt(e,t,n){return t&&_T(e.prototype,t),n&&_T(e,n),e}function Nc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function jnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cnt(e,t){return t&&(Nnt(t)==="object"||typeof t=="function")?t:Fnt(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(e,t)}function Nnt(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 zc=function(e){jnt(t,e);function t(n){Mnt(this,t);var o;o=xnt(this,t,[n]),Nc(o,"props",void 0),o.props=new wnt(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new Cc,new Cc],o}return Lnt(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}(et);Nc(zc,"excludes",[s.TAB]),Nc(zc,"controlEventKeys",["on_change_tab"]),Nc(zc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Vnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function znt(e,t,n){return t=Hc(t),qnt(e,sT()?Reflect.construct(t,n||[],Hc(e).constructor):t.apply(e,n))}function Hnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(e)}function Unt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qnt(e,t){return t&&(Wnt(t)==="object"||typeof t=="function")?t:Vnt(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(e,t)}function Wnt(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 Knt=function(e){Unt(t,e);function t(n){return Hnt(this,t),znt(this,t,[n])}return t}(tt);function Gnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xnt(e,t,n){return t=Uc(t),Ynt(e,vT()?Reflect.construct(t,n||[],Uc(e).constructor):t.apply(e,n))}function Qnt(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 Jnt(e,t,n){return t&&pT(e.prototype,t),n&&pT(e,n),e}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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(e)}function Znt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ynt(e,t){return t&&(tot(t)==="object"||typeof t=="function")?t:Gnt(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(e,t)}function tot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vT=function(){return!!e})()}var eot=function(e){Znt(t,e);function t(n){Qnt(this,t);var o;return o=Xnt(this,t,[n]),dT(o,"props",void 0),o.props=new Knt({}),o.children=(n==null?void 0:n.children)||[new To({props:new So({span:12})}),new To({props:new So({span:12})})],o}return Jnt(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}(et);dT(eot,"excludes",[s.GRID_ROW,s.ROW,s.GRID,s.SUBTABLE,s.TAB,s.TOOLBOX]);function not(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=qc(t),oot(e,hT()?Reflect.construct(t,n||[],qc(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 qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(e)}function Uv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oot(e,t){return t&&(rot(t)==="object"||typeof t=="function")?t:not(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(e,t)}function rot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hT=function(){return!!e})()}var bT;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(bT||(bT={}));var iot=function(e){Uv(t,e);function t(n){Hv(this,t);var o;return o=zv(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(we),uot=function(e){Uv(t,e);function t(n){Hv(this,t);var o;if(o=zv(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")}}}}]}}]),t_.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return t}(W),Bo=function(e){Uv(t,e);function t(n){Hv(this,t);var o;o=zv(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 PM(n==null?void 0:n.sublistPage);var c;o.isShowJoinRelation=(c=n==null?void 0:n.isShowJoinRelation)!==null&&c!==void 0?c:!1,o.joinRelation=new SM(n==null?void 0:n.joinRelation);var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var p;o.selectionType=(p=n==null?void 0:n.selectionType)!==null&&p!==void 0?p:"multiple";var d;o.isFixedHeader=(d=n==null?void 0:n.isFixedHeader)!==null&&d!==void 0?d:!1;var b;o.isShowSelection=(b=n==null?void 0:n.isShowSelection)!==null&&b!==void 0?b:!1;var O;o.isAllLoaded=(O=n==null?void 0:n.isAllLoaded)!==null&&O!==void 0?O:!0,o.countType=n==null?void 0:n.countType;var m;return o.countLimit=(m=n==null?void 0:n.countLimit)!==null&&m!==void 0?m:1e5,o.rowStyle=new zM(n==null?void 0:n.rowStyle),o}return t}(tt);H(Bo,"Rules",uot),H(Bo,"RuntimeRules",iot);function lot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cot(e,t,n){return t=Wc(t),yot(e,gT()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function aot(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 fot(e,t,n){return t&&mT(e.prototype,t),n&&mT(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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(e)}function _ot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yot(e,t){return t&&(sot(t)==="object"||typeof t=="function")?t:lot(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wv(e,t)}function sot(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 Ao=function(e){_ot(t,e);function t(n){aot(this,t);var o;return o=cot(this,t,[n]),Do(o,"props",void 0),o.props=new Bo(n==null?void 0:n.props),o}return fot(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}(et);Do(Ao,"slotPosition",{left:"list-view-left-slot"}),Do(Ao,"excludes",[s.ROW]),Do(Ao,"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"]),Do(Ao,"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 pot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dot(e,t,n){return t=Kc(t),got(e,wT()?Reflect.construct(t,n||[],Kc(e).constructor):t.apply(e,n))}function vot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hot(e,t,n){return t&&OT(e.prototype,t),n&&OT(e,n),e}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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(e)}function mot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function got(e,t){return t&&(Oot(t)==="object"||typeof t=="function")?t:pot(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(e,t)}function Oot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wT=function(){return!!e})()}var wot=function(e){mot(t,e);function t(n){vot(this,t);var o;return o=dot(this,t,[n]),bot(o,"props",void 0),o.props=new Bo(n==null?void 0:n.props),o}return hot(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}($e),$ot={Designer:Ao,Runtime:wot,Property:Bo};function Pot(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=Gc(t),Eot(e,ST()?Reflect.construct(t,n||[],Gc(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 be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(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&&Gv(e,t)}function Eot(e,t){return t&&(Sot(t)==="object"||typeof t=="function")?t:Pot(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(e,t)}function Sot(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 Tot=function(e){ET(t,e);function t(n){PT(this,t);var o;return o=$T(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(we),Xc=function(e){ET(t,e);function t(n){PT(this,t);var o;o=$T(this,t,[n]),be(o,"save",void 0),be(o,"cancel",void 0),be(o,"saveAs",void 0),be(o,"print",void 0),be(o,"custom",void 0),be(o,"isLoading",void 0),be(o,"datasourceBind",void 0);var r;o.save=new le((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:f("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1});var i;o.cancel=new le((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:f("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1});var u;o.saveAs=new le((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:f("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1});var l;o.print=new le((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:f("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1});var c;o.custom=((c=n==null?void 0:n.custom)!==null&&c!==void 0?c:[]).map(function(_){return new le(_)});var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return t}(tt);be(Xc,"RuntimeRules",Tot);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=Qc(t),kot(e,BT()?Reflect.construct(t,n||[],Qc(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 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 Aot(e,t,n){return t&&TT(e.prototype,t),n&&TT(e,n),e}function RT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(e)}function Iot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kot(e,t){return t&&(Fot(t)==="object"||typeof t=="function")?t:Rot(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(e,t)}function Fot(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){Iot(t,e);function t(n){Dot(this,t);var o;return o=Bot(this,t,[n]),RT(o,"props",void 0),o.props=new Xc(n==null?void 0:n.props),o}return Aot(t,null,[{key:"controlName",get:function(){return f("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}},{key:"controlType",get:function(){return"data-view"}}]),t}(et);RT(DT,"excludes",[]);function xot(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=Jc(t),Vot(e,IT()?Reflect.construct(t,n||[],Jc(e).constructor):t.apply(e,n))}function Lot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jot(e,t,n){return t&&AT(e.prototype,t),n&&AT(e,n),e}function Cot(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 Not(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vot(e,t){return t&&(zot(t)==="object"||typeof t=="function")?t:xot(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(e,t)}function zot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IT=function(){return!!e})()}var Hot=function(e){Not(t,e);function t(n){Lot(this,t);var o;return o=Mot(this,t,[n]),Cot(o,"props",void 0),o.props=new Xc(n==null?void 0:n.props),o}return jot(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}($e),Uot={Designer:DT,Runtime:Hot,Property:Xc};function qot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wot(e,t,n){return t=Zc(t),Xot(e,kT()?Reflect.construct(t,n||[],Zc(e).constructor):t.apply(e,n))}function Kot(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 Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(e)}function Got(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xot(e,t){return t&&(Qot(t)==="object"||typeof t=="function")?t:qot(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(e,t)}function Qot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kT=function(){return!!e})()}var Jot=function(e){Got(t,e);function t(n){Kot(this,t);var o;o=Wot(this,t,[n]),Jv(o,"position",void 0),Jv(o,"opacity",void 0),Jv(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}(tt);function Zot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yot(e,t,n){return t=ta(t),ort(e,xT()?Reflect.construct(t,n||[],ta(e).constructor):t.apply(e,n))}function trt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FT(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 ert(e,t,n){return t&&FT(e.prototype,t),n&&FT(e,n),e}function Yc(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 nrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ort(e,t){return t&&(rrt(t)==="object"||typeof t=="function")?t:Zot(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(e,t)}function rrt(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 th=function(e){nrt(t,e);function t(n){trt(this,t);var o;o=Yot(this,t,[n]),Yc(o,"props",void 0);var r;return o.props=new Jot((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return ert(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}(et);Yc(th,"slotPosition",{default:"action-bar-slot"}),Yc(th,"excludes",[]),Yc(th,"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 irt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eh(e,t,n){return t=ea(t),urt(e,MT()?Reflect.construct(t,n||[],ea(e).constructor):t.apply(e,n))}function nh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(e)}function oh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 urt(e,t){return t&&(lrt(t)==="object"||typeof t=="function")?t:irt(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(e,t)}function lrt(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 crt=function(e){oh(t,e);function t(n){nh(this,t);var o;return o=eh(this,t,[n]),B(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),B(o,"limitRows",[{type:"number",required:!0,message:f("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:f("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}]),B(o,"formKey",{type:"string",required:!1,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),B(o,"maxHeight",{type:"number",required:!0,message:f("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")}),B(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),B(o,"mobileRowCaption",{type:"string",required:!1,message:f("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return t}(W),art=function(e){oh(t,e);function t(n){nh(this,t);var o;return o=eh(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}(we),ih=function(e){oh(t,e);function t(n,o){nh(this,t);var r;r=eh(this,t,[n,o,t.mode]),B(r,"caption",void 0),B(r,"labelPosition",void 0),B(r,"isHideCaption",void 0),B(r,"isShowCaptionTip",void 0),B(r,"captionTip",void 0),B(r,"defaultState",void 0),B(r,"limitRows",void 0),B(r,"maxRows",void 0),B(r,"defaultRows",void 0),B(r,"datasourceBind",void 0),B(r,"printMode",void 0),B(r,"openType",void 0),B(r,"formKey",void 0),B(r,"useCustomHeight",void 0),B(r,"maxHeight",void 0),B(r,"canAdd",void 0),B(r,"canDelete",void 0),B(r,"canCheck",void 0),B(r,"canEdit",void 0),B(r,"canImport",void 0),B(r,"importConfig",void 0),B(r,"canExport",void 0),B(r,"exportConfig",void 0),B(r,"canClear",void 0),B(r,"isPaste",void 0),B(r,"mobileShowType",void 0),B(r,"mobileDefaultNum",void 0),B(r,"dataStorageDoc",void 0),B(r,"serverPagination",void 0),B(r,"fixedColumn",void 0),B(r,"mobileRowCaption",void 0),B(r,"mobileIsTile",void 0),B(r,"sortable",void 0),B(r,"sortKey",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:ra.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var l;r.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var c;r.labelPosition=(c=o==null?void 0:o.labelPosition)!==null&&c!==void 0?c:"top";var a;r.openType=(a=o==null?void 0:o.openType)!==null&&a!==void 0?a:"default";var _;r.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;r.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:A8;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var m;r.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new X(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var E;r.canCheck=(E=o==null?void 0:o.canCheck)!==null&&E!==void 0?E:!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 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 Co;r.mobileShowType=(Co=o==null?void 0:o.mobileShowType)!==null&&Co!==void 0?Co:"list";var Xn;r.mobileDefaultNum=(Xn=o==null?void 0:o.mobileDefaultNum)!==null&&Xn!==void 0?Xn:10;var Me;r.dataStorageDoc=(Me=o==null?void 0:o.dataStorageDoc)!==null&&Me!==void 0?Me:new gM;var qt;r.fixedColumn=(qt=o==null?void 0:o.fixedColumn)!==null&&qt!==void 0?qt:[];var G0;r.mobileRowCaption=(G0=o==null?void 0:o.mobileRowCaption)!==null&&G0!==void 0?G0:f("CMD.detailed",null,"\u660E\u7EC6");var X0;r.mobileIsTile=(X0=o==null?void 0:o.mobileIsTile)!==null&&X0!==void 0?X0:!1;var Q0;r.isPaste=(Q0=o==null?void 0:o.isPaste)!==null&&Q0!==void 0?Q0:!1;var J0;r.pageSize=(J0=o==null?void 0:o.pageSize)!==null&&J0!==void 0?J0:10;var Z0;r.pageSizeOptions=(Z0=o==null?void 0:o.pageSizeOptions)!==null&&Z0!==void 0?Z0:[10,20,50,100],r.importConfig=new B8(o==null?void 0:o.importConfig),r.exportConfig=new D8(o==null?void 0:o.exportConfig);var Y0;r.sortable=(Y0=o==null?void 0:o.sortable)!==null&&Y0!==void 0?Y0:!1;var tb;return r.sortKey=(tb=o==null?void 0:o.sortKey)!==null&&tb!==void 0?tb:{},r}return t}(__);B(ih,"Rules",crt),B(ih,"RuntimeRules",art);function frt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _rt(e,t,n){return t=oa(t),drt(e,jT()?Reflect.construct(t,n||[],oa(e).constructor):t.apply(e,n))}function yrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function srt(e,t,n){return t&<(e.prototype,t),n&<(e,n),e}function na(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 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&&uh(e,t)}function drt(e,t){return t&&(vrt(t)==="object"||typeof t=="function")?t:frt(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(e,t)}function vrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jT=function(){return!!e})()}var ra=function(e){prt(t,e);function t(n){yrt(this,t);var o,r;return o=_rt(this,t,[n]),na(o,"props",void 0),o.props=new ih(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 srt(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}(p_);na(ra,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),na(ra,"slotPosition",{toolbar:"subtable-toolbar-slot"}),na(ra,"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 hrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function brt(e,t,n){return t=ia(t),Ort(e,CT()?Reflect.construct(t,n||[],ia(e).constructor):t.apply(e,n))}function mrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Io(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(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&&lh(e,t)}function Ort(e,t){return t&&(wrt(t)==="object"||typeof t=="function")?t:hrt(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(e,t)}function wrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CT=function(){return!!e})()}var $rt=function(e){grt(t,e);function t(n,o){mrt(this,t);var r;r=brt(this,t,[n,o]),Io(r,"isFixedHeader",void 0),Io(r,"selectionType",void 0),Io(r,"isShowToolbar",void 0),Io(r,"isShowSelection",void 0),Io(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var l;r.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var c;r.isShowCustomColumns=(c=o==null?void 0:o.isShowCustomColumns)!==null&&c!==void 0?c:!0;var a;return r.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[10,20,50,100,500],r}return t}(__);function Prt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NT(e,t,n){return t=ua(t),Srt(e,HT()?Reflect.construct(t,n||[],ua(e).constructor):t.apply(e,n))}function VT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ert(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 zT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function Srt(e,t){return t&&(Trt(t)==="object"||typeof t=="function")?t:Prt(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(e,t)}function Trt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HT=function(){return!!e})()}var Rrt=function(e){zT(t,e);function t(n){VT(this,t);var o;return o=NT(this,t,[n]),o.caption.required=!1,o}return t}(Qt),ah=function(e){zT(t,e);function t(n){VT(this,t);var o,r,i;o=NT(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:_n.controlName;var c;o.width=(c=n==null?void 0:n.width)!==null&&c!==void 0?c:60;var a;o.autoWidth.minWidth=(a=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&a!==void 0?a:60;var _;o.autoWidth.flex=(_=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return t}(U);Ert(ah,"Rules",Rrt);function Brt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Drt(e,t,n){return t=la(t),krt(e,UT()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function Art(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 Irt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function krt(e,t){return t&&(Frt(t)==="object"||typeof t=="function")?t:Brt(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(e,t)}function Frt(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 _n=function(e){Irt(t,e);function t(n){Art(this,t);var o;return o=Drt(this,t,[n]),ko(o,"props",void 0),o.props=new ah(n==null?void 0:n.props),o}return t}(J);ko(_n,"controlType","order-column"),ko(_n,"controlName",f("CMD.order",null,"\u5E8F\u53F7")),ko(_n,"controlIcon","order-column"),ko(_n,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}]);function xrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mrt(e,t,n){return t=ca(t),Crt(e,qT()?Reflect.construct(t,n||[],ca(e).constructor):t.apply(e,n))}function Lrt(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 ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(e)}function jrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Crt(e,t){return t&&(Nrt(t)==="object"||typeof t=="function")?t:xrt(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(e,t)}function Nrt(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 WT=function(e){jrt(t,e);function t(n){Lrt(this,t);var o;return o=Mrt(this,t,[n]),_h(o,"props",void 0),o.props=new ah(n==null?void 0:n.props),o}return t}(Z);_h(WT,"controlType","order-column"),_h(WT,"controlFieldType",g.DECIMAL);function Vrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zrt(e,t,n){return t=aa(t),qrt(e,GT()?Reflect.construct(t,n||[],aa(e).constructor):t.apply(e,n))}function Hrt(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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(e)}function Urt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function qrt(e,t){return t&&(Wrt(t)==="object"||typeof t=="function")?t:Vrt(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(e,t)}function Wrt(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 XT=function(e){Urt(t,e);function t(n){Hrt(this,t);var o,r;o=zrt(this,t,[n]),KT(o,"showType",void 0),KT(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:yn.controlName;var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"icon";var a;return o.limit=(a=n==null?void 0:n.limit)!==null&&a!==void 0?a:3,o}return t}(U);function Krt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QT(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function Grt(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){QT(i,o,r,u,l,"next",c)}function l(c){QT(i,o,r,u,l,"throw",c)}u(void 0)})}}function Xrt(e,t,n){return t=Ie(t),Yrt(e,ZT()?Reflect.construct(t,n||[],Ie(e).constructor):t.apply(e,n))}function Qrt(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 Jrt(e,t,n){return t&&JT(e.prototype,t),n&&JT(e,n),e}function Fo(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?xo=Reflect.get:xo=function(r,i,u){var l=tit(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},xo(e,t,n||e)}function Ie(e){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(e)}function Zrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yrt(e,t){return t&&(eit(t)==="object"||typeof t=="function")?t:Krt(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(e,t)}function tit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ie(e),e!==null););return e}function eit(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})()}function nit(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var yn=function(e){Zrt(t,e);function t(n){Qrt(this,t);var o;return o=Xrt(this,t,[n]),Fo(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return Jrt(t,[{key:"toDataBindModel",value:function(){var o=xo(Ie(t.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===gi.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 xo(Ie(t.prototype),"validate",i)};return Grt(function(){return nit(this,function(c){switch(c.label){case 0:return[4,l().call(u,o,r)];case 1:return c.sent(),[4,Promise.all(u.children.map(function(a){return a.validate(o,r)}))];case 2:return c.sent(),[2,!0]}})})()}}]),t}(J);Fo(yn,"controlType","operation-column"),Fo(yn,"controlName",f("CMD.operation",null,"\u64CD\u4F5C")),Fo(yn,"controlIcon","operation-column"),Fo(yn,"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},{key:"super-setting",visible:!0}]);function oit(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=fa(t),lit(e,YT()?Reflect.construct(t,n||[],fa(e).constructor):t.apply(e,n))}function iit(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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(e)}function uit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lit(e,t){return t&&(cit(t)==="object"||typeof t=="function")?t:oit(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vh(e,t)}function cit(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){uit(t,e);function t(n){iit(this,t);var o;return o=rit(this,t,[n]),dh(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return t}(Z);dh(tR,"controlType","operation-column"),dh(tR,"controlFieldType",g.FILE);function ait(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,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function fit(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){eR(i,o,r,u,l,"next",c)}function l(c){eR(i,o,r,u,l,"throw",c)}u(void 0)})}}function _it(e,t,n){return t=ke(t),mit(e,oR()?Reflect.construct(t,n||[],ke(e).constructor):t.apply(e,n))}function yit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nR(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 sit(e,t,n){return t&&nR(e.prototype,t),n&&nR(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 Mo(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Mo=Reflect.get:Mo=function(r,i,u){var l=git(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Mo(e,t,n||e)}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(e)}function pit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dit(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function vit(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 hit(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 bit(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hit(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function mit(e,t){return t&&(Oit(t)==="object"||typeof t=="function")?t:ait(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(e,t)}function git(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ke(e),e!==null););return e}function Oit(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})()}function wit(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var $it=1e4,_a=function(t){pit(n,t);function n(o){yit(this,n);var r;r=_it(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=dit(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new $rt(r,o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(r.props.headers=[new _n,new yn]),r.excludes=Bt(u),r.childrenMaxLength=l,r}return sit(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=Mo(ke(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return bit(vit({},r),{children:i})}},{key:"validate",value:function(r,i){var u=this,l=this,c=function(){return Mo(ke(n.prototype),"validate",u)};return fit(function(){return wit(this,function(a){switch(a.label){case 0:return[4,c().call(l,r,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(r,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return f("CMD.gridTable",null,"\u8868\u683C")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(p_);ne(_a,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),ne(_a,"setting",[{key:"list-fixed-header",visible:!0}]),ne(_a,"excludes",[]),ne(_a,"childrenMaxLength",$it);function Pit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rR(e,t,n){return t=ya(t),Eit(e,lR()?Reflect.construct(t,n||[],ya(e).constructor):t.apply(e,n))}function iR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(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&&bh(e,t)}function Eit(e,t){return t&&(Sit(t)==="object"||typeof t=="function")?t:Pit(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bh(e,t)}function Sit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lR=function(){return!!e})()}var Tit=function(e){uR(t,e);function t(n){iR(this,t);var o;return o=rR(this,t,[n]),ye.call(o,n),o}return t}(m_),mh=function(e){uR(t,e);function t(n){iR(this,t);var o;o=rR(this,t,[n]),me(o,"optionConfig",void 0),me(o,"datasourceBind",void 0),me(o,"showLinkOperation",void 0),me(o,"linkOperationOption",void 0),me(o,"options",void 0),me(o,"lineEllipsis",void 0),me(o,"dictionaryTagConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:pn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.options=Gt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.dictionaryTagConfig=(a=n==null?void 0:n.dictionaryTagConfig)!==null&&a!==void 0?a:{isTag:!1},o}return t}(U);me(mh,"Rules",Tit);function Rit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bit(e,t,n){return t=sa(t),Iit(e,cR()?Reflect.construct(t,n||[],sa(e).constructor):t.apply(e,n))}function Dit(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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(e)}function Ait(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function Iit(e,t){return t&&(kit(t)==="object"||typeof t=="function")?t:Rit(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(e,t)}function kit(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 pn=function(e){Ait(t,e);function t(n){Dit(this,t);var o;return o=Bit(this,t,[n]),sn(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return t}(J);sn(pn,"controlType","varchar-column"),sn(pn,"controlName",f("CMD.varchar",null,"\u77ED\u6587\u672C")),sn(pn,"controlIcon","varchar-column"),sn(pn,"controlFieldType",g.VARCHAR),sn(pn,"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},{key:"super-setting",visible:!0}]);function Fit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xit(e,t,n){return t=pa(t),jit(e,aR()?Reflect.construct(t,n||[],pa(e).constructor):t.apply(e,n))}function Mit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(e)}function Lit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jit(e,t){return t&&(Cit(t)==="object"||typeof t=="function")?t:Fit(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function Cit(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 fR=function(e){Lit(t,e);function t(n){Mit(this,t);var o;return o=xit(this,t,[n]),Oh(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return t}(Z);Oh(fR,"controlType","varchar-column"),Oh(fR,"controlFieldType",g.VARCHAR);function Nit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _R(e,t,n){return t=da(t),Vit(e,pR()?Reflect.construct(t,n||[],da(e).constructor):t.apply(e,n))}function yR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(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 sR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vit(e,t){return t&&(zit(t)==="object"||typeof t=="function")?t:Nit(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$h(e,t)}function zit(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 Hit=function(e){sR(t,e);function t(n){yR(this,t);var o;return o=_R(this,t,[n]),ye.call(o,n),o}return t}(Qt),Ph=function(e){sR(t,e);function t(n){yR(this,t);var o;o=_R(this,t,[n]),Lo(o,"escapeHTML",void 0),Lo(o,"showLinkOperation",void 0),Lo(o,"linkOperationOption",void 0),Lo(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:hn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(U);Lo(Ph,"Rules",Hit);function Uit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qit(e,t,n){return t=vn(t),Xit(e,vR()?Reflect.construct(t,n||[],vn(e).constructor):t.apply(e,n))}function Wit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(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 Kit(e,t,n){return t&&dR(e.prototype,t),n&&dR(e,n),e}function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function va(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?va=Reflect.get:va=function(r,i,u){var l=Qit(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},va(e,t,n||e)}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(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&&Eh(e,t)}function Xit(e,t){return t&&(Jit(t)==="object"||typeof t=="function")?t:Uit(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(e,t)}function Qit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vn(e),e!==null););return e}function Jit(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 hn=function(e){Git(t,e);function t(n){Wit(this,t);var o;return o=qit(this,t,[n]),dn(o,"props",void 0),o.props=new Ph(n==null?void 0:n.props),o}return Kit(t,[{key:"toDataBindModel",value:function(o){var r=va(vn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(J);dn(hn,"controlType","text-column"),dn(hn,"controlName",f("CMD.long",null,"\u957F\u6587\u672C")),dn(hn,"controlIcon","text-column"),dn(hn,"controlFieldType",g.TEXT),dn(hn,"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},{key:"super-setting",visible:!0}]);function Zit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yit(e,t,n){return t=ha(t),nut(e,hR()?Reflect.construct(t,n||[],ha(e).constructor):t.apply(e,n))}function tut(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 ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(e)}function eut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nut(e,t){return t&&(out(t)==="object"||typeof t=="function")?t:Zit(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(e,t)}function out(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 bR=function(e){eut(t,e);function t(n){tut(this,t);var o;return o=Yit(this,t,[n]),Sh(o,"props",void 0),o.props=new Ph(n==null?void 0:n.props),o}return t}(Z);Sh(bR,"controlType","text-column"),Sh(bR,"controlFieldType",g.TEXT);function rut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mR(e,t,n){return t=ba(t),iut(e,wR()?Reflect.construct(t,n||[],ba(e).constructor):t.apply(e,n))}function gR(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 ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(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&&Rh(e,t)}function iut(e,t){return t&&(uut(t)==="object"||typeof t=="function")?t:rut(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(e,t)}function uut(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 lut=function(e){OR(t,e);function t(n){gR(this,t);var o;return o=mR(this,t,[n]),ye.call(o,n),o}return t}(m_),Bh=function(e){OR(t,e);function t(n){gR(this,t);var o;o=mR(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: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 l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var a;o.options=Gt((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(U);oe(Bh,"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 aut(e,t,n){return t=mn(t),sut(e,PR()?Reflect.construct(t,n||[],mn(e).constructor):t.apply(e,n))}function fut(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 _ut(e,t,n){return t&&$R(e.prototype,t),n&&$R(e,n),e}function bn(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=put(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ma(e,t,n||e)}function mn(e){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(e)}function yut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function sut(e,t){return t&&(dut(t)==="object"||typeof t=="function")?t:cut(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(e,t)}function put(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mn(e),e!==null););return e}function dut(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 gn=function(e){yut(t,e);function t(n){fut(this,t);var o;return o=aut(this,t,[n]),bn(o,"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return _ut(t,[{key:"toDataBindModel",value:function(o){var r=ma(mn(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}(J);bn(gn,"controlType","decimal-column"),bn(gn,"controlName",f("CMD.decimal",null,"\u6570\u503C")),bn(gn,"controlIcon","decimal-column"),bn(gn,"controlFieldType",g.DECIMAL),bn(gn,"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},{key:"super-setting",visible:!0}]);function vut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hut(e,t,n){return t=ga(t),gut(e,ER()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}function but(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ah(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(e)}function mut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gut(e,t){return t&&(Out(t)==="object"||typeof t=="function")?t:vut(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(e,t)}function Out(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ER(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ER=function(){return!!e})()}var SR=function(e){mut(t,e);function t(n){but(this,t);var o;return o=hut(this,t,[n]),Ah(o,"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return t}(Z);Ah(SR,"controlType","decimal-column"),Ah(SR,"controlFieldType",g.DECIMAL);function wut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TR(e,t,n){return t=wa(t),$ut(e,DR()?Reflect.construct(t,n||[],wa(e).constructor):t.apply(e,n))}function RR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oa(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 BR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function $ut(e,t){return t&&(Put(t)==="object"||typeof t=="function")?t:wut(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(e,t)}function Put(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DR=function(){return!!e})()}var Eut=function(e){BR(t,e);function t(n){RR(this,t);var o;return o=TR(this,t,[n]),ye.call(o,n),o}return t}(Qt),Fh=function(e){BR(t,e);function t(n){RR(this,t);var o;o=TR(this,t,[n]),Oa(o,"dateType",void 0),Oa(o,"showLinkOperation",void 0),Oa(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:re.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:$n.controlName,o}return t}(U);Oa(Fh,"Rules",Eut);function Sut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tut(e,t,n){return t=wn(t),Aut(e,IR()?Reflect.construct(t,n||[],wn(e).constructor):t.apply(e,n))}function Rut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AR(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 But(e,t,n){return t&&AR(e.prototype,t),n&&AR(e,n),e}function On(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=Iut(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},$a(e,t,n||e)}function wn(e){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(e)}function Dut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Aut(e,t){return t&&(kut(t)==="object"||typeof t=="function")?t:Sut(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xh(e,t)}function Iut(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wn(e),e!==null););return e}function kut(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 $n=function(e){Dut(t,e);function t(n){Rut(this,t);var o;return o=Tut(this,t,[n]),On(o,"props",void 0),o.props=new Fh(n==null?void 0:n.props),o}return But(t,[{key:"toDataBindModel",value:function(o){var r=$a(wn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(J);On($n,"controlType","timescope-column"),On($n,"controlName",f("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")),On($n,"controlIcon","timescope-column"),On($n,"controlFieldType",g.TIMESCOPE),On($n,"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},{key:"super-setting",visible:!0}]);function Fut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xut(e,t,n){return t=Pa(t),jut(e,kR()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function Mut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mh(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 Lut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jut(e,t){return t&&(Cut(t)==="object"||typeof t=="function")?t:Fut(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(e,t)}function Cut(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 FR=function(e){Lut(t,e);function t(n){Mut(this,t);var o;return o=xut(this,t,[n]),Mh(o,"props",void 0),o.props=new Fh(n==null?void 0:n.props),o}return t}(Z);Mh(FR,"controlType","timescope-column"),Mh(FR,"controlFieldType",g.TIMESCOPE);function Nut(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=Sa(t),Vut(e,jR()?Reflect.construct(t,n||[],Sa(e).constructor):t.apply(e,n))}function MR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ea(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 LR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function Vut(e,t){return t&&(zut(t)==="object"||typeof t=="function")?t:Nut(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(e,t)}function zut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jR=function(){return!!e})()}var Hut=function(e){LR(t,e);function t(n){MR(this,t);var o;return o=xR(this,t,[n]),ye.call(o,n),o}return t}(Qt),Ch=function(e){LR(t,e);function t(n){MR(this,t);var o;o=xR(this,t,[n]),Ea(o,"dateType",void 0),Ea(o,"showLinkOperation",void 0),Ea(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:re.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Sn.controlName,o}return t}(U);Ea(Ch,"Rules",Hut);function Uut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qut(e,t,n){return t=En(t),Xut(e,NR()?Reflect.construct(t,n||[],En(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 CR(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 Kut(e,t,n){return t&&CR(e.prototype,t),n&&CR(e,n),e}function Pn(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ta=Reflect.get:Ta=function(r,i,u){var l=Qut(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ta(e,t,n||e)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(e)}function Gut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function Xut(e,t){return t&&(Jut(t)==="object"||typeof t=="function")?t:Uut(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function Qut(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=En(e),e!==null););return e}function Jut(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 Sn=function(e){Gut(t,e);function t(n){Wut(this,t);var o;return o=qut(this,t,[n]),Pn(o,"props",void 0),o.props=new Ch(n==null?void 0:n.props),o}return Kut(t,[{key:"toDataBindModel",value:function(o){var r=Ta(En(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(J);Pn(Sn,"controlType","timestamp-column"),Pn(Sn,"controlName",f("CMD.timestamp",null,"\u65E5\u671F")),Pn(Sn,"controlIcon","timestamp-column"),Pn(Sn,"controlFieldType",g.TIMESTAMP),Pn(Sn,"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},{key:"super-setting",visible:!0}]);function Zut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yut(e,t,n){return t=Ra(t),nlt(e,VR()?Reflect.construct(t,n||[],Ra(e).constructor):t.apply(e,n))}function tlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(e)}function elt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nlt(e,t){return t&&(olt(t)==="object"||typeof t=="function")?t:Zut(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(e,t)}function olt(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){elt(t,e);function t(n){tlt(this,t);var o;return o=Yut(this,t,[n]),Vh(o,"props",void 0),o.props=new Ch(n==null?void 0:n.props),o}return t}(Z);Vh(zR,"controlType","timestamp-column"),Vh(zR,"controlFieldType",g.TIMESTAMP);function rlt(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=Ba(t),ilt(e,WR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function UR(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 Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(e)}function qR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ilt(e,t){return t&&(ult(t)==="object"||typeof t=="function")?t:rlt(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(e,t)}function ult(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 llt=function(e){qR(t,e);function t(n){UR(this,t);var o;return o=HR(this,t,[n]),ye.call(o,n),o}return t}(m_),Uh=function(e){qR(t,e);function t(n){UR(this,t);var o;o=HR(this,t,[n]),Tn(o,"optionConfig",void 0),Tn(o,"datasourceBind",void 0),Tn(o,"showLinkOperation",void 0),Tn(o,"linkOperationOption",void 0),Tn(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Bn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var l;return o.options=Gt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return t}(U);Tn(Uh,"Rules",llt);function clt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function alt(e,t,n){return t=Da(t),ylt(e,KR()?Reflect.construct(t,n||[],Da(e).constructor):t.apply(e,n))}function flt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(e)}function _lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ylt(e,t){return t&&(slt(t)==="object"||typeof t=="function")?t:clt(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(e,t)}function slt(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 Bn=function(e){_lt(t,e);function t(n){flt(this,t);var o;return o=alt(this,t,[n]),Rn(o,"props",void 0),o.props=new Uh(n==null?void 0:n.props),o}return t}(J);Rn(Bn,"controlType","array-column"),Rn(Bn,"controlName",f("CMD.array",null,"\u6570\u7EC4")),Rn(Bn,"controlIcon","array-column"),Rn(Bn,"controlFieldType",g.ARRAY),Rn(Bn,"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},{key:"super-setting",visible:!0}]);function plt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dlt(e,t,n){return t=Aa(t),blt(e,GR()?Reflect.construct(t,n||[],Aa(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 Wh(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 hlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 blt(e,t){return t&&(mlt(t)==="object"||typeof t=="function")?t:plt(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(e,t)}function mlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GR=function(){return!!e})()}var XR=function(e){hlt(t,e);function t(n){vlt(this,t);var o;return o=dlt(this,t,[n]),Wh(o,"props",void 0),o.props=new Uh(n==null?void 0:n.props),o}return t}(Z);Wh(XR,"controlType","array-column"),Wh(XR,"controlFieldType",g.ARRAY);function glt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Olt(e,t,n){return t=Ia(t),Elt(e,QR()?Reflect.construct(t,n||[],Ia(e).constructor):t.apply(e,n))}function wlt(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 Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(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&&Gh(e,t)}function Elt(e,t){return t&&(Slt(t)==="object"||typeof t=="function")?t:glt(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(e,t)}function Slt(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){Plt(t,e);function t(n){wlt(this,t);var o;o=Olt(this,t,[n]),$lt(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 t}(U);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=An(t),Ilt(e,YR()?Reflect.construct(t,n||[],An(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 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 Dlt(e,t,n){return t&&ZR(e.prototype,t),n&&ZR(e,n),e}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ka=Reflect.get:ka=function(r,i,u){var l=klt(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ka(e,t,n||e)}function An(e){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(e)}function Alt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ilt(e,t){return t&&(Flt(t)==="object"||typeof t=="function")?t:Tlt(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(e,t)}function klt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=An(e),e!==null););return e}function Flt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YR=function(){return!!e})()}var In=function(e){Alt(t,e);function t(n){Blt(this,t);var o;return o=Rlt(this,t,[n]),Dn(o,"props",void 0),o.props=new JR(n==null?void 0:n.props),o}return Dlt(t,[{key:"toDataBindModel",value:function(o){var r=ka(An(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(J);Dn(In,"controlType","department-column"),Dn(In,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Dn(In,"controlIcon","department-column"),Dn(In,"controlFieldType",g.DEPARTMENTS),Dn(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:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function xlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mlt(e,t,n){return t=Fa(t),Clt(e,tB()?Reflect.construct(t,n||[],Fa(e).constructor):t.apply(e,n))}function Llt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(e)}function jlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function Clt(e,t){return t&&(Nlt(t)==="object"||typeof t=="function")?t:xlt(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jh(e,t)}function Nlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tB=function(){return!!e})()}var eB=function(e){jlt(t,e);function t(n){Llt(this,t);var o;return o=Mlt(this,t,[n]),Qh(o,"props",void 0),o.props=new JR(n==null?void 0:n.props),o}return t}(Z);Qh(eB,"controlType","department-column"),Qh(eB,"controlFieldType",g.DEPARTMENTS);function Vlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nB(e,t,n){return t=xa(t),zlt(e,iB()?Reflect.construct(t,n||[],xa(e).constructor):t.apply(e,n))}function oB(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 xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function rB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zlt(e,t){return t&&(Hlt(t)==="object"||typeof t=="function")?t:Vlt(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(e,t)}function Hlt(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 Ult=function(e){rB(t,e);function t(n){oB(this,t);var o;return o=nB(this,t,[n]),ye.call(o,n),o}return t}(Qt),t0=function(e){rB(t,e);function t(n){oB(this,t);var o;o=nB(this,t,[n]),Zh(o,"showLinkOperation",void 0),Zh(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 Kt(n==null?void 0:n.linkOperationOption),o}return t}(U);Zh(t0,"Rules",Ult);function qlt(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=Ma(t),Xlt(e,uB()?Reflect.construct(t,n||[],Ma(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 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 Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(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&&e0(e,t)}function Xlt(e,t){return t&&(Qlt(t)==="object"||typeof t=="function")?t:qlt(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(e,t)}function Qlt(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 Fn=function(e){Glt(t,e);function t(n){Klt(this,t);var o;return o=Wlt(this,t,[n]),kn(o,"props",void 0),o.props=new t0(n==null?void 0:n.props),o}return t}(J);kn(Fn,"controlType","auto-number-column"),kn(Fn,"controlName",f("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")),kn(Fn,"controlIcon","auto-number-column"),kn(Fn,"controlFieldType",g.AUTO_NUMBER),kn(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Jlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zlt(e,t,n){return t=La(t),ect(e,lB()?Reflect.construct(t,n||[],La(e).constructor):t.apply(e,n))}function Ylt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(e)}function tct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function ect(e,t){return t&&(nct(t)==="object"||typeof t=="function")?t:Jlt(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o0(e,t)}function nct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lB=function(){return!!e})()}var cB=function(e){tct(t,e);function t(n){Ylt(this,t);var o;return o=Zlt(this,t,[n]),n0(o,"props",void 0),o.props=new t0(n==null?void 0:n.props),o}return t}(Z);n0(cB,"controlType","auto-number-column"),n0(cB,"controlFieldType",g.AUTO_NUMBER);function oct(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=ja(t),cct(e,aB()?Reflect.construct(t,n||[],ja(e).constructor):t.apply(e,n))}function ict(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uct(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 lct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cct(e,t){return t&&(act(t)==="object"||typeof t=="function")?t:oct(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r0(e,t)}function act(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 fB=function(e){lct(t,e);function t(n){ict(this,t);var o;o=rct(this,t,[n]),uct(o,"operation",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mn.controlName;var i;return o.operation=(i=n==null?void 0:n.operation)!==null&&i!==void 0?i:["info","preview","download"],o}return t}(U);function fct(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){return t=Ca(t),pct(e,_B()?Reflect.construct(t,n||[],Ca(e).constructor):t.apply(e,n))}function yct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ca(e)}function sct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function pct(e,t){return t&&(dct(t)==="object"||typeof t=="function")?t:fct(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i0(e,t)}function dct(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 Mn=function(e){sct(t,e);function t(n){yct(this,t);var o;return o=_ct(this,t,[n]),xn(o,"props",void 0),o.props=new fB(n==null?void 0:n.props),o}return t}(J);xn(Mn,"controlType","file-column"),xn(Mn,"controlName",f("CMD.file",null,"\u9644\u4EF6")),xn(Mn,"controlIcon","file-column"),xn(Mn,"controlFieldType",g.FILE),xn(Mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function vct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hct(e,t,n){return t=Na(t),gct(e,yB()?Reflect.construct(t,n||[],Na(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 u0(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 mct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gct(e,t){return t&&(Oct(t)==="object"||typeof t=="function")?t:vct(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l0(e,t)}function Oct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yB=function(){return!!e})()}var sB=function(e){mct(t,e);function t(n){bct(this,t);var o;return o=hct(this,t,[n]),u0(o,"props",void 0),o.props=new fB(n==null?void 0:n.props),o}return t}(Z);u0(sB,"controlType","file-column"),u0(sB,"controlFieldType",g.FILE);function wct(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){return t=Va(t),Sct(e,pB()?Reflect.construct(t,n||[],Va(e).constructor):t.apply(e,n))}function Pct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Va(e)}function Ect(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function Sct(e,t){return t&&(Tct(t)==="object"||typeof t=="function")?t:wct(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(e,t)}function Tct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pB=function(){return!!e})()}var dB=function(e){Ect(t,e);function t(n){Pct(this,t);var o;o=$ct(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:jn.controlName,o}return t}(U);function Rct(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=za(t),Ict(e,vB()?Reflect.construct(t,n||[],za(e).constructor):t.apply(e,n))}function Dct(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 za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},za(e)}function Act(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ict(e,t){return t&&(kct(t)==="object"||typeof t=="function")?t:Rct(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a0(e,t)}function kct(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 jn=function(e){Act(t,e);function t(n){Dct(this,t);var o;return o=Bct(this,t,[n]),Ln(o,"props",void 0),o.props=new dB(n==null?void 0:n.props),o}return t}(J);Ln(jn,"controlType","image-column"),Ln(jn,"controlName",f("CMD.image",null,"\u56FE\u7247")),Ln(jn,"controlIcon","image-column"),Ln(jn,"controlFieldType",g.IMAGE),Ln(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Fct(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=Ha(t),jct(e,hB()?Reflect.construct(t,n||[],Ha(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 f0(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 Lct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function jct(e,t){return t&&(Cct(t)==="object"||typeof t=="function")?t:Fct(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_0(e,t)}function Cct(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 bB=function(e){Lct(t,e);function t(n){Mct(this,t);var o;return o=xct(this,t,[n]),f0(o,"props",void 0),o.props=new dB(n==null?void 0:n.props),o}return t}(Z);f0(bB,"controlType","image-column"),f0(bB,"controlFieldType",g.IMAGE);function Nct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vct(e,t,n){return t=Ua(t),Uct(e,mB()?Reflect.construct(t,n||[],Ua(e).constructor):t.apply(e,n))}function zct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ua(e)}function Hct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function Uct(e,t){return t&&(qct(t)==="object"||typeof t=="function")?t:Nct(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y0(e,t)}function qct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mB=function(){return!!e})()}var gB=function(e){Hct(t,e);function t(n){zct(this,t);var o;o=Vct(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nn.controlName,o}return t}(U);function Wct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kct(e,t,n){return t=qa(t),Qct(e,OB()?Reflect.construct(t,n||[],qa(e).constructor):t.apply(e,n))}function Gct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qa(e)}function Xct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function Qct(e,t){return t&&(Jct(t)==="object"||typeof t=="function")?t:Wct(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s0(e,t)}function Jct(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 Nn=function(e){Xct(t,e);function t(n){Gct(this,t);var o;return o=Kct(this,t,[n]),Cn(o,"props",void 0),o.props=new gB(n==null?void 0:n.props),o}return t}(J);Cn(Nn,"controlType","signature-column"),Cn(Nn,"controlName","\u56FE\u7247"),Cn(Nn,"controlIcon","signature-column"),Cn(Nn,"controlFieldType",g.SIGNATURE),Cn(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Zct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yct(e,t,n){return t=Wa(t),nat(e,wB()?Reflect.construct(t,n||[],Wa(e).constructor):t.apply(e,n))}function tat(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 Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wa(e)}function eat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nat(e,t){return t&&(oat(t)==="object"||typeof t=="function")?t:Zct(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d0(e,t)}function oat(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 $B=function(e){eat(t,e);function t(n){tat(this,t);var o;return o=Yct(this,t,[n]),p0(o,"props",void 0),o.props=new gB(n==null?void 0:n.props),o}return t}(Z);p0($B,"controlType","signature-column"),p0($B,"controlFieldType",g.SIGNATURE);function rat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iat(e,t,n){return t=Ka(t),cat(e,PB()?Reflect.construct(t,n||[],Ka(e).constructor):t.apply(e,n))}function uat(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 lat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function cat(e,t){return t&&(aat(t)==="object"||typeof t=="function")?t:rat(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v0(e,t)}function aat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PB=function(){return!!e})()}var EB=function(e){lat(t,e);function t(n){uat(this,t);var o;o=iat(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:zn.controlName,o}return t}(U);function fat(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=Ga(t),pat(e,SB()?Reflect.construct(t,n||[],Ga(e).constructor):t.apply(e,n))}function yat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ga(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&&h0(e,t)}function pat(e,t){return t&&(dat(t)==="object"||typeof t=="function")?t:fat(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h0(e,t)}function dat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SB=function(){return!!e})()}var zn=function(e){sat(t,e);function t(n){yat(this,t);var o;return o=_at(this,t,[n]),Vn(o,"props",void 0),o.props=new EB(n==null?void 0:n.props),o}return t}(J);Vn(zn,"controlType","people-column"),Vn(zn,"controlName",f("CMD.people",null,"\u4EBA\u5458")),Vn(zn,"controlIcon","people-column"),Vn(zn,"controlFieldType",g.EMPLOYEES),Vn(zn,"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},{key:"super-setting",visible:!0}]);function vat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hat(e,t,n){return t=Xa(t),gat(e,TB()?Reflect.construct(t,n||[],Xa(e).constructor):t.apply(e,n))}function bat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b0(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 mat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function gat(e,t){return t&&(Oat(t)==="object"||typeof t=="function")?t:vat(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m0(e,t)}function Oat(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 RB=function(e){mat(t,e);function t(n){bat(this,t);var o;return o=hat(this,t,[n]),b0(o,"props",void 0),o.props=new EB(n==null?void 0:n.props),o}return t}(Z);b0(RB,"controlType","people-column"),b0(RB,"controlFieldType",g.EMPLOYEES);function wat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BB(e,t,n){return t=Qa(t),$at(e,IB()?Reflect.construct(t,n||[],Qa(e).constructor):t.apply(e,n))}function DB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g0(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 AB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function $at(e,t){return t&&(Pat(t)==="object"||typeof t=="function")?t:wat(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O0(e,t)}function Pat(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 Eat=function(e){AB(t,e);function t(n){DB(this,t);var o;return o=BB(this,t,[n]),ye.call(o,n),o}return t}(Qt),w0=function(e){AB(t,e);function t(n){DB(this,t);var o;o=BB(this,t,[n]),g0(o,"showLinkOperation",void 0),g0(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Un.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(U);g0(w0,"Rules",Eat);function Sat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tat(e,t,n){return t=Ja(t),Dat(e,kB()?Reflect.construct(t,n||[],Ja(e).constructor):t.apply(e,n))}function Rat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(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 Bat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function Dat(e,t){return t&&(Aat(t)==="object"||typeof t=="function")?t:Sat(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$0(e,t)}function Aat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kB=function(){return!!e})()}var Un=function(e){Bat(t,e);function t(n){Rat(this,t);var o;return o=Tat(this,t,[n]),Hn(o,"props",void 0),o.props=new w0(n==null?void 0:n.props),o}return t}(J);Hn(Un,"controlType","location-column"),Hn(Un,"controlName",f("CMD.location",null,"\u5730\u5740")),Hn(Un,"controlIcon","location-column"),Hn(Un,"controlFieldType",g.ADDRESS),Hn(Un,"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},{key:"super-setting",visible:!0}]);function Iat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kat(e,t,n){return t=Za(t),Mat(e,FB()?Reflect.construct(t,n||[],Za(e).constructor):t.apply(e,n))}function Fat(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 Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Za(e)}function xat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mat(e,t){return t&&(Lat(t)==="object"||typeof t=="function")?t:Iat(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E0(e,t)}function Lat(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 xB=function(e){xat(t,e);function t(n){Fat(this,t);var o;return o=kat(this,t,[n]),P0(o,"props",void 0),o.props=new w0(n==null?void 0:n.props),o}return t}(Z);P0(xB,"controlType","location-column"),P0(xB,"controlFieldType",g.ADDRESS);function jat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MB(e,t,n){return t=tf(t),Cat(e,CB()?Reflect.construct(t,n||[],tf(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 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 jB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S0(e,t)}function Cat(e,t){return t&&(Nat(t)==="object"||typeof t=="function")?t:jat(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S0(e,t)}function Nat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CB=function(){return!!e})()}var Vat=function(e){jB(t,e);function t(n){LB(this,t);var o;return o=MB(this,t,[n]),Ya(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}(Qt),T0=function(e){jB(t,e);function t(n){LB(this,t);var o;o=MB(this,t,[n]),Ya(o,"fieldCodeList",void 0),Ya(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:ge.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return t}(U);Ya(T0,"Rules",Vat);function zat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hat(e,t,n){return t=qn(t),Gat(e,VB()?Reflect.construct(t,n||[],qn(e).constructor):t.apply(e,n))}function Uat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NB(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 qat(e,t,n){return t&&NB(e.prototype,t),n&&NB(e,n),e}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ef(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ef=Reflect.get:ef=function(r,i,u){var l=Xat(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ef(e,t,n||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(e)}function Wat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kat(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Gat(e,t){return t&&(Qat(t)==="object"||typeof t=="function")?t:zat(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R0(e,t)}function Xat(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function Qat(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 Jat=1,ge=function(t){Wat(n,t);function n(o){Uat(this,n);var r;r=Hat(this,n,[o]),jt(r,"excludes",void 0),jt(r,"childrenMaxLength",void 0),jt(r,"props",void 0),jt(r,"children",void 0);var i=Kat(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new T0(o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Bt(u),r.childrenMaxLength=l,r}return qat(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=ef(qn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(J);jt(ge,"controlType","custom-column"),jt(ge,"controlName",f("CMD.custom",null,"\u81EA\u5B9A\u4E49")),jt(ge,"controlIcon","custom-column"),jt(ge,"slots",["column-column-slot"]),jt(ge,"excludes",[]),jt(ge,"childrenMaxLength",Jat),jt(ge,"setting",[{key:"caption",showItems:[y.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}]);function Zat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yat(e,t,n){return t=nf(t),nft(e,zB()?Reflect.construct(t,n||[],nf(e).constructor):t.apply(e,n))}function tft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nf(e)}function eft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nft(e,t){return t&&(oft(t)==="object"||typeof t=="function")?t:Zat(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D0(e,t)}function oft(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 rft=function(e){eft(t,e);function t(n){tft(this,t);var o;return o=Yat(this,t,[n]),B0(o,"props",void 0),B0(o,"children",void 0),o.props=new T0(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Z);B0(rft,"controlType","custom-column");function ift(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uft(e,t,n){return t=of(t),fft(e,HB()?Reflect.construct(t,n||[],of(e).constructor):t.apply(e,n))}function lft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},of(e)}function aft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fft(e,t){return t&&(_ft(t)==="object"||typeof t=="function")?t:ift(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A0(e,t)}function _ft(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 UB=function(e){aft(t,e);function t(n){lft(this,t);var o;o=uft(this,t,[n]),cft(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fe.controlName;var i;return o.datasourceBind=new qo((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Fe.controlCustomAttributes}),o}return t}(U);function yft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sft(e,t,n){return t=rf(t),hft(e,WB()?Reflect.construct(t,n||[],rf(e).constructor):t.apply(e,n))}function pft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qB(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 dft(e,t,n){return t&&qB(e.prototype,t),n&&qB(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 rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rf(e)}function vft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I0(e,t)}function hft(e,t){return t&&(bft(t)==="object"||typeof t=="function")?t:yft(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I0(e,t)}function bft(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 Fe=function(e){vft(t,e);function t(n){pft(this,t);var o;return o=sft(this,t,[n]),Wn(o,"props",void 0),o.props=new UB(n==null?void 0:n.props),o}return dft(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(J);Wn(Fe,"controlType","employee-column"),Wn(Fe,"controlName",f("CMD.employee",null,"\u4EBA\u5458")),Wn(Fe,"controlIcon","employee-column"),Wn(Fe,"controlFieldType",g.EMPLOYEES),Wn(Fe,"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},{key:"super-setting",visible:!0}]);function mft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gft(e,t,n){return t=uf(t),$ft(e,KB()?Reflect.construct(t,n||[],uf(e).constructor):t.apply(e,n))}function Oft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uf(e)}function wft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $ft(e,t){return t&&(Pft(t)==="object"||typeof t=="function")?t:mft(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F0(e,t)}function Pft(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KB=function(){return!!e})()}var GB=function(e){wft(t,e);function t(n){Oft(this,t);var o;return o=gft(this,t,[n]),k0(o,"props",void 0),o.props=new UB(n==null?void 0:n.props),o}return t}(Z);k0(GB,"controlType","employee-column"),k0(GB,"controlFieldType",g.EMPLOYEES);function Eft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sft(e,t,n){return t=lf(t),Bft(e,XB()?Reflect.construct(t,n||[],lf(e).constructor):t.apply(e,n))}function Tft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lf(e)}function Rft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M0(e,t)}function Bft(e,t){return t&&(Dft(t)==="object"||typeof t=="function")?t:Eft(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M0(e,t)}function Dft(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 QB=function(e){Rft(t,e);function t(n){Tft(this,t);var o;o=Sft(this,t,[n]),x0(o,"lineEllipsis",void 0),x0(o,"showLinkOperation",void 0),x0(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Kn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return t}(U);function Aft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ift(e,t,n){return t=cf(t),xft(e,JB()?Reflect.construct(t,n||[],cf(e).constructor):t.apply(e,n))}function kft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cf(e)}function Fft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xft(e,t){return t&&(Mft(t)==="object"||typeof t=="function")?t:Aft(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L0(e,t)}function Mft(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 Kn=function(e){Fft(t,e);function t(n){kft(this,t);var o;return o=Ift(this,t,[n]),xe(o,"props",void 0),xe(o,"children",void 0),o.props=new QB(n==null?void 0:n.props),o}return t}(J);xe(Kn,"controlType","approval-status-column"),xe(Kn,"controlName",f("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001")),xe(Kn,"controlIcon","approval-status-column"),xe(Kn,"excludes",[]),xe(Kn,"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},{key:"super-setting",visible:!0}]);function Lft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jft(e,t,n){return t=af(t),Vft(e,ZB()?Reflect.construct(t,n||[],af(e).constructor):t.apply(e,n))}function Cft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},af(e)}function Nft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C0(e,t)}function Vft(e,t){return t&&(zft(t)==="object"||typeof t=="function")?t:Lft(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C0(e,t)}function zft(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 Hft=function(e){Nft(t,e);function t(n){Cft(this,t);var o;return o=jft(this,t,[n]),j0(o,"props",void 0),j0(o,"children",void 0),o.props=new QB(n==null?void 0:n.props),o}return t}(Z);j0(Hft,"controlType","approval-status-column");function Uft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YB(e,t,n){return t=ff(t),qft(e,n3()?Reflect.construct(t,n||[],ff(e).constructor):t.apply(e,n))}function t3(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 ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ff(e)}function e3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qft(e,t){return t&&(Wft(t)==="object"||typeof t=="function")?t:Uft(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N0(e,t)}function Wft(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n3=function(){return!!e})()}var Kft=function(e){e3(t,e);function t(n){t3(this,t);var o;return o=YB(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(we),V0=function(e){e3(t,e);function t(n){t3(this,t);var o;o=YB(this,t,[n]),Pt(o,"search",void 0),Pt(o,"cancel",void 0),Pt(o,"searchType",void 0),Pt(o,"labelPosition",void 0),Pt(o,"viewType",void 0),Pt(o,"isLoading",void 0),Pt(o,"custom",void 0),Pt(o,"queryTypeMap",void 0),Pt(o,"childMinWidth",void 0),Pt(o,"colGap",void 0),Pt(o,"viewConfig",void 0),Pt(o,"simpleConfig",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var l;o.search=new le((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:f("CMD.query",null,"\u67E5\u8BE2"),isShow:!0});var c;o.cancel=new le((c=n==null?void 0:n.cancel)!==null&&c!==void 0?c:{content:f("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0});var a;o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(w){return new le(w)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var b;o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24;var O;o.viewConfig=(O=n==null?void 0:n.viewConfig)!==null&&O!==void 0?O:[];var m;return o.simpleConfig=(m=n==null?void 0:n.simpleConfig)!==null&&m!==void 0?m:[],o}return t}(P_);Pt(V0,"RuntimeRules",Kft);function Gft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xft(e,t,n){return t=yf(t),Zft(e,o3()?Reflect.construct(t,n||[],yf(e).constructor):t.apply(e,n))}function Qft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yf(e)}function Jft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function Zft(e,t){return t&&(Yft(t)==="object"||typeof t=="function")?t:Gft(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z0(e,t)}function Yft(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(o3=function(){return!!e})()}var H0=function(e){Jft(t,e);function t(n){Qft(this,t);var o;return o=Xft(this,t,[n]),_f(o,"props",void 0),o.props=new V0(n==null?void 0:n.props),o}return t}(Dj);_f(H0,"controlType","simple-search"),_f(H0,"slotPosition",{default:"search"}),_f(H0,"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 t_t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e_t(e,t,n){return t=sf(t),r_t(e,r3()?Reflect.construct(t,n||[],sf(e).constructor):t.apply(e,n))}function n_t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sf(e)}function o_t(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function r_t(e,t){return t&&(i_t(t)==="object"||typeof t=="function")?t:t_t(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q0(e,t)}function i_t(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(r3=function(){return!!e})()}var u_t=function(e){o_t(t,e);function t(n){n_t(this,t);var o;o=e_t(this,t,[n]),U0(o,"props",void 0),U0(o,"children",void 0),o.props=new V0(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}(Lj);U0(u_t,"controlType","simple-search");function Dyt(e){return e}f("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C");const l_t=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];m_t(t==null?void 0:t.events),s_t(o),p_t(o);const r=y_t(o),i=d_t(r,t);let u=ie(C(i,l=>__t(l,t)));return n?u:u[0]},c_t=[s.DIVIDER,s.TEXT,s.TITLE,s.LINK,s.BUTTON,"list-btn-export-list","list-btn-export-record"],a_t=["subtable","grid-table"],f_t=["simple-search"];function __t(e,t){var r,i,u,l,c,a;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":c_t.includes(n.type)?n.controlType="base":n.controlType="form",a_t.includes(n.type)&&(n.controlType="list"),f_t.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),ft((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),ft((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),ft((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(l=e.attachment_format)==null?void 0:l.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(ft(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ft(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const _=n.props.entry_type||n.props.entryType;n.props.openType=_==="subpage"?"modal":"default",((a=n.children[0])==null?void 0:a.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((p,d)=>{const b=new Oet.Designer;b.props.caption=ft(p.field_name)?p.field_name.zh:p.field_name;const O=b.toSchema();O.id=p.header_id;const m=n.children[0].children[d].children[0];return m&&(O.children=[m]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(_=>{_.label=ft(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=e),e.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(p=>{const d=new hS.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={};_&&(i3(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={};_&&(i3(n,t),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=Ce(_.props.range_min),n.props.range_max=Ce(_.props.range_max),b.amount=Ce(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=ft(_.props.caption)?_.props.caption.zh:_.props.caption,n.props.is_hide_caption=_.props.is_hide_caption,n.props.showUpperCase=_.props.is_show_chn),p&&(d.currency=p.props.data_bind,b.currency=p.props.value,n.props.datasourceBind=p.props.datasource_bind,n.props.options=p.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=d,n.props.defaultValue=b,delete n.children}if(e.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],p=n==null?void 0:n.children[1];n.props.placeholderStart=ft(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=ft(e.props.caption)?e.props.caption.zh:e.props.caption;const d={};_&&(d.min=_.props.data_bind),p&&(d.max=p.props.data_bind),n.props.dataBind=d,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=ft(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=Ce(e.props.range_min),n.props.range_max=Ce(e.props.range_max),n.props.defaultValue=Ce(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"),g_t(n,t==null?void 0:t.control_events),n}function i3(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const l=u.show_controls.findIndex(a=>a===r),c=u.hide_controls.findIndex(a=>a===r);l>-1&&u.show_controls.splice(l,1,i),c>-1&&u.hide_controls.splice(c,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function y_t(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new Uot.Designer().toSchema();return o.children=e,[o]}function s_t(e){e.forEach(t=>{t.children&&b_t(t.children)})}function p_t(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 d_t(e,t){var b,O,m,w,h,$,E,T;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;v_t(i),l.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,h_t(l,u);const c=(m=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?m:t==null?void 0:t.dataCode,a=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:c)?`${c}_selectMore`:void 0,_=(E=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?E:[],p=new $ot.Designer;p.props.datasourceBind=new X({dataCode:c,svcCode:a,orders:Xx(_)}),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=ft(R.title)?R.title.zh:R.title}),p.props.sublistPage=o.sublist_page;const d=p.toSchema();return d.children.push(i,l),[d]}function v_t(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=ft(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(r=(o=t.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function h_t(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ft(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=ft(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new X({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function b_t(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 m_t(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 g_t(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 O_t=(e,t)=>{const n=Array.isArray(e);let r=ie(C(n?e:[e],i=>w_t(i)));return n?r:r[0]};function w_t(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 $_t=(e,t)=>{const n=Array.isArray(e);let r=ie(C(n?e:[e],i=>P_t(i)));return n?r:r[0]};function P_t(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 E_t=(e,t)=>{const n=Array.isArray(e);let r=ie(C(n?e:[e],i=>S_t(i)));return n?r:r[0]};function S_t(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 T_t=(e,t)=>{const n=Array.isArray(e);let r=ie(C(n?e:[e],i=>B_t(i)));return n?r:r[0]},R_t=[s.ROW,s.TAB,s.SUBTABLE,s.GRID_ROW,s.CARD_GROUP];function B_t(e,t){return e.type===s.TAB_PANE&&(e.children=e.children.map(n=>{if(R_t.includes(n.type))return n;const o=new Wtt.Designer,r=new hS.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const D_t=(e,t)=>{const n=Array.isArray(e);let r=ie(C(n?e:[e],i=>A_t(i)));return n?r:r[0]};function A_t(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 I_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>k_t(i));return n?r:r[0]};function k_t(e,t){return e.type===s.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const F_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>x_t(i));return n?r:r[0]};function Oe(e,t){e.field_code&&(e.field_type=t)}function x_t(e,t){var o;const n={[s.TITLE]:g.AUTO_NUMBER,[s.ADDRESS]:g.ADDRESS,[s.ATTACHMENT]:g.FILE,[s.AUTO_NUMBER]:g.AUTO_NUMBER,[s.CHECKBOX]:g.ARRAY,[s.DATE_PICKER]:g.TIMESTAMP,[s.DEPARTMENT]:g.DEPARTMENTS,[s.DEPARTMENT2]:g.DEPARTMENTS,[s.EMPLOYEE]:g.EMPLOYEES,[s.EMPLOYEE2]:g.EMPLOYEES,[s.IMAGE]:g.IMAGE,[s.INPUT]:g.VARCHAR,[s.NUMBER]:g.DECIMAL,[s.RADIO]:g.VARCHAR,[s.RICH_TEXT]:g.TEXT,[s.SCORE]:g.DECIMAL,[s.SELECT]:g.VARCHAR,[s.SELECT_MULTIPLE]:g.ARRAY,[s.SELECT_RELATION]:g.VARCHAR,[s.TEXTAREA]:g.TEXT,[s.TREE]:g.ARRAY,[s.SEARCH_DATE_RANGE]:g.ARRAY,[s.SEARCH_INPUT]:g.VARCHAR,[s.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(e.type)&&Oe(e.props.data_bind,n[e.type]),e.type===s.AMOUNT&&(Oe(e.props.data_bind.amount,g.DECIMAL),Oe(e.props.data_bind.currency,g.VARCHAR)),e.type===s.CALC&&(Oe(e.props.data_bind.result,g.DECIMAL),Oe(e.props.data_bind.unit,g.VARCHAR)),e.type===s.DATE_RANGE&&(Oe(e.props.data_bind.min,g.TIMESTAMP),Oe(e.props.data_bind.max,g.TIMESTAMP)),e.type===s.VUE_FORM_ITEM&&Oe(e.props.data_bind,(o=e.field_type)!=null?o:g.ANY),e}const M_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>L_t(i));return n?r:r[0]};function L_t(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 j_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>C_t(i));return n?r:r[0]};function C_t(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 N_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>V_t(i));return n?r:r[0]};function V_t(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 z_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>H_t(i));return n?r:r[0]};function H_t(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 U_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>q_t(i));return n?r:r[0]};function q_t(e,t){return e.type===s.TITLE&&e.props.config.push(se.ShowTitle),e.type===s.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,l,c,a,_,p,d,b,O,m,w,h,$,E,T,R,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 xy.Designer;Object.defineProperty(D,"id",{value:"listPageCheckBtnId"}),D.props.code="view",D.props.icon="iconliulan1",D.props.command="view",D.props.content=(i=n.props)==null?void 0:i.check.content,D.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,D.props.openType=(l=n.props)==null?void 0:l.check.open_type,D.props.formKey=(c=n.props)==null?void 0:c.check.form_key,(a=n.props)!=null&&a.check.is_show&&n.children.push(D.toSchema()),(_=n.props)==null||delete _.check}if(((p=n.props)==null?void 0:p.edit)!==void 0){const D=new xy.Designer;Object.defineProperty(D,"id",{value:"listPageEditBtnId"}),D.props.code="edit",D.props.icon="iconbianji1",D.props.command="edit",D.props.content=(d=n.props)==null?void 0:d.edit.content,D.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,D.props.openType=(O=n.props)==null?void 0:O.edit.open_type,D.props.formKey=(m=n.props)==null?void 0:m.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(D.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const D=new xy.Designer;Object.defineProperty(D,"id",{value:"listPageDeleteBtnId"}),D.props.code="delete",D.props.icon="iconlajitong",D.props.command="delete",D.props.content=(E=n.props)==null?void 0:E.delete.content,D.props.priorityProcess=(T=n.props)==null?void 0:T.delete.priority_process,D.props.openType=(R=n.props)==null?void 0:R.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 W_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>K_t(i,t));return n?r:r[0]};function K_t(e,t){e.type===s.SUBTABLE&&e.props.headers.map(o=>{var i;o.props.meta_auto_width=new Db,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 Af)}),e.type===s.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),G_t(t),e}function G_t(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(W0()),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:[X_t()]}];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(W0())}}}function X_t(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[W0()]}}function W0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Q_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>J_t(i,t));return n?r:r[0]};function J_t(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 jf),e}const Z_t=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Y_t(i));return n?r:r[0]};function Y_t(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 tyt(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 eyt=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=nyt(u);return r[u.id]=u,l});return tyt(r,t),n?i:i[0]};function nyt(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=ie(new Bb({pc:i,mobile:i})),e.type===s.ORGANIZATION_SELECTION){const u=e.props.selected_content_config,l=u==null?void 0:u.display_bo_list;l&&l.forEach(c=>{c.value==="org_type_code"&&(c.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),c.value==="org_pattern_code"&&(c.label=f("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}e.type===s.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}const oyt=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=ryt(u);return r[u.id]=u,l});return iyt(r,t),n?i:i[0]};function ryt(e,t){return e}function iyt(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(n=>{var i,u,l,c,a;const o=t==null?void 0:t.listeners[n],r=e[n];(r==null?void 0:r.type)===s.BUTTON&&(["draft","form_submit","save"].includes((u=(i=r.props)==null?void 0:i.opt_obj)==null?void 0:u.opt_type)&&(o==null||o.map(_=>{var p,d,b,O;(p=_==null?void 0:_.cases)==null||p.map(m=>{var w;(w=m==null?void 0:m.handlers)==null||w.map(h=>{var $,E,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=(E=($=h.params)==null?void 0:$.options)==null?void 0:E.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((c=(l=r.props)==null?void 0:l.opt_obj)==null?void 0:c.opt_type)&&((a=t.dataModelExtend)==null?void 0:a.process_status_enum_type)==="business"&&(o==null||o.map(_=>{_.cases[0].handlers.map(p=>{(p==null?void 0:p.method)==="optPage"&&p.params.operation==="close"&&(p.params.operation="edit")})})))})}const uyt=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=lyt(u);return r[u.id]=u,l});return cyt(r,t),n?i:i[0]};function lyt(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 cyt(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 ayt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>fyt(i));return n?r:r[0]};function fyt(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 _yt=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>yyt(i));return hyt(r),syt(r),n?r:r[0]};function yyt(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 syt(e){var t,n;if(e[0].type===s.LIST_VIEW){const o=e[0].props;let r={type:(t=o.row_style_type)!=null?t:"none",interval:{color:(n=o.row_style_bg_color)!=null?n:""},rules:[]};o.row_style_rules&&(o.row_style_rules.forEach(i=>{const u=i.id;let l={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},c;if(o.row_style_rules_script){const a=o.row_style_rules_script.find(_=>_.id===u);a&&(c=vyt(i.filters,a.script))}i.settings=[l],i.script=c,delete i.color}),r.rules=o.row_style_rules),o.row_style=r,delete o.row_style_type,delete o.row_style_bg_color,delete o.row_style_rules,delete o.row_style_rules_script}}function u3(e,t){return t||(t={}),e.forEach(n=>{if(n.children)u3(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 pyt(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(n=>n.replace(/^\s+|\s+$/gm,""))}function dyt(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 vyt(e,t){const n=u3(e);return pyt(t).forEach(r=>{Object.keys(n).forEach(i=>{if(r.indexOf(`params.data.data_value_map['${i}']`)>-1){const c=n[i].type,{operate:a,value:_}=dyt(r);let p=`SpecialMatch(data, sys, '${i}', '${c}', '${a}', ${_||"''"})`;t=t.replace(r,p)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function hyt(e){if(e[0].type===s.LIST_VIEW){const t=e[0].children.find(n=>n.type===s.GRID_TABLE);if(t){const n=t.props.headers,o=t.props.footers,r={};o&&o.length>0&&o.forEach(i=>{const u=i.id.replace("foot_",""),l=i.children;l&&l.length>0&&i.children[0].type!==s.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),r[u]=i}),n.forEach(i=>{const u=r[i.id];if(u){const l=u.children;if(!l||l.length===0)return;const c=i.children||[];i.children=[].concat(c,l)}}),t.props.footers=[]}}return e}const byt=(e,t)=>{const n=Array.isArray(e);let r=myt(n?e:[e],t);return n?r:r[0]};function myt(e,t){const n=Oyt(t);return n.length>0&&(gyt(n,t),l3(n,e)),e}function l3(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):l3(e,r.children)}}}function gyt(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 Oyt(e){const t=[],n=e==null?void 0:e.listeners;return n&&Object.keys(n).forEach(o=>{n[o].forEach(r=>{!r.cases||r.cases.forEach(i=>{!i.handlers||i.handlers.forEach(u=>{var l;if(!!u&&u.method==="openPage"){const c=(l=u.params)==null?void 0:l.relation_control_id;c&&t.push(c)}})})})}),t}const wyt=(e,t)=>{console.log(t,"payload");const n=Array.isArray(e);let r=C(n?e:[e],i=>Pyt(i));return n?r:r[0]},$yt=e=>["yylb_kujg9i5r","btdev_listin_n","yylb_gd_ryneloyh","byteluck_list_"].some(t=>t.includes(e)||e.includes(t));function Pyt(e,t){if($yt(e.type)){const n=ie(new TV.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 c3={"v1.0":l_t,"v2.0":O_t,"v2.1":$_t,"v2.2":E_t,"v2.3":T_t,"v2.4":D_t,"v2.5":I_t,"v2.6":F_t,"v2.7":M_t,"v2.8":j_t,"v2.9":N_t,"v2.10":z_t,"v3.0":U_t,"v3.1":W_t,"v3.2":Q_t,"v3.3":Z_t,"v3.4":eyt,"v3.5":oyt,"v3.6":uyt,"v3.7":ayt,"v3.8":_yt,"v3.10":byt,"v3.11":wyt,"v3.12":()=>{}};const a3=(e,t)=>{const n=f3(e),o=f3(t),r=n.pop(),i=o.pop(),u=s3(n,o);return u!==0?u:r&&i?s3(r.split("."),i.split(".")):r||i?r?-1:1:0},pf=(e,t,n)=>{Ryt(n);const o=a3(e,t);return p3[n].includes(o)},Eyt=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,f3=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Eyt);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},_3=e=>e==="*"||e==="x"||e==="X",y3=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Syt=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Tyt=(e,t)=>{if(_3(e)||_3(t))return 0;const[n,o]=Syt(y3(e),y3(t));return n>o?1:n<o?-1:0},s3=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=Tyt(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},p3={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},d3=Object.keys(p3),Ryt=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(d3.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${d3.join("|")}`)};function K0(e){return e.replace(/^v/,"")}const Gn=Object.keys(c3).map(e=>K0(e)).sort(a3),jo=Gn[Gn.length-1];class Byt{constructor(t,n=jo){this.schemaVersion=t,this.toVersion=n,pf(n,jo,">")?Yn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${jo}`):(!Gn.includes(K0(n))||!Gn.includes(K0(t)))&&Yn(`Version Builder: Please give me a valid version number, The valid version is: ${Gn.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(pf(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,l)=>{var p;const c=(p=l[u+1])!=null?p:this.toVersion;Vo(`Version Builder: current version: ${i}, nextVersion: ${c}`);const a=c3[i];let _=r;if(typeof a=="function"){const d=a(r,n);d&&(_=d)}return _},t);return Vo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Gn.filter(t=>pf(t,this.schemaVersion,">=")&&pf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return jo}static get version(){return jo}}Le.VersionBuilder=Byt,Object.defineProperty(Le,"__esModule",{value:!0})});
|
|
1
|
+
(function(xe,Xn){typeof exports=="object"&&typeof module!="undefined"?Xn(exports):typeof define=="function"&&define.amd?define(["exports"],Xn):(xe=typeof globalThis!="undefined"?globalThis:xe||self,Xn(xe.modelDrivenUpgrade={}))})(this,function(xe){"use strict";var Xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",LB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",jB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",CB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",NB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",VB="{caption}\u5FC5\u586B",zB="\u8BF7\u8F93\u5165\u6807\u9898",HB="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",qB="\u8BF7\u8F93\u5165\u884C\u6807\u9898",UB="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",WB="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",KB="\u8BF7\u7ED1\u5B9A\u8868\u5355",GB="\u8BF7\u7ED1\u5B9A\u5217\u8868",XB="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",QB="\u8BF7\u8F93\u5165\u663E\u793A\u503C",JB="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ZB="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",YB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",t3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",e3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",n3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",o3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",r3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",i3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",u3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",l3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",c3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",a3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",f3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",_3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",s3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",y3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",p3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",d3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",v3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",h3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",b3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",m3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",g3="\u8BF7\u9009\u62E9\u7701",O3="\u8BF7\u9009\u62E9\u5E02",w3="\u8BF7\u9009\u62E9\u533A",$3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",P3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",E3="\u8BF7\u8F93\u5165\u5217\u5BBD",S3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",T3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",R3="\u8BF7\u9009\u62E9\u63A7\u4EF6",B3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",D3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",A3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",I3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",k3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",F3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",x3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",M3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",L3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",j3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",C3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",N3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",V3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",z3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",H3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",q3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",U3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",W3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",K3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",G3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",X3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Q3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",J3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Z3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Y3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",t1="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",e1="\u6279\u91CF\u5220\u9664",n1="\u6279\u91CF\u6253\u5370",o1="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",r1="\u6309\u94AE",i1="\u521B\u5EFA\u5355\u636E",u1="\u4EEA\u8868\u76D8",l1="\u5206\u5272\u7EBF",c1="\u5BFC\u51FA",a1="\u8868\u5355\u64CD\u4F5C",f1="\u5BFC\u5165",_1="\u53D1\u7968\u8BC6\u522B",s1="\u94FE\u63A5",y1="\u5217\u8868\u9009\u62E9",p1="\u5217\u8868\u89C6\u56FE",d1="\u64CD\u4F5C\u6309\u94AE",v1="\u5206\u9875",h1="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",b1="\u8BF4\u660E\u6587\u5B57",m1="\u6587\u5B57\u8BC6\u522B",g1="\u6807\u9898\u7EC4\u4EF6",O1="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",w1="\u6570\u7EC4",$1="\u81EA\u52A8\u7F16\u53F7",P1="\u81EA\u5B9A\u4E49",E1="\u6570\u503C",S1="\u90E8\u95E8",T1="\u4EBA\u5458",R1="\u9644\u4EF6",B1="\u56FE\u7247",D1="\u5730\u5740",A1="\u64CD\u4F5C",I1="\u5E8F\u53F7",k1="\u4EBA\u5458",F1="\u957F\u6587\u672C",x1="\u65E5\u671F\u533A\u95F4",M1="\u65E5\u671F",L1="\u77ED\u6587\u672C",j1="\u6362\u884C\u5BB9\u5668Wrap",C1="\u8868\u683C",N1="\u660E\u7EC6\u5B50\u8868",V1="\u5730\u5740",z1="\u91D1\u989D",H1="\u8BA1\u7B97\u516C\u5F0F",q1="\u591A\u9009",U1="\u7535\u5B50\u7B7E\u7AE0",W1="\u5355\u884C\u6587\u672C",K1="\u6570\u5B57",G1="\u4E1A\u52A1\u7EC4\u7EC7",X1="\u5355\u9009",Q1="\u5BCC\u6587\u672C",J1="\u8BC4\u5206",Z1="\u6570\u5B57\u533A\u95F4",Y1="\u4E0B\u62C9\u5355\u9009",tD="\u4E0B\u62C9\u591A\u9009",eD="\u5173\u8054\u5355\u9009",nD="\u591A\u884C\u6587\u672C",oD="\u6811",rD="Vue\u5BB9\u5668",iD="Vue\u9875\u9762",uD="\u5728\u7EBF\u6587\u6863",lD="\u6309\u94AE\u64CD\u4F5C\u680F",cD="\u9AD8\u7EA7\u5BB9\u5668",aD="\u5206\u7EC4",fD="\u6805\u683C\u5217",_D="\u6570\u636E\u5BB9\u5668",sD="\u753B\u5E03",yD="\u6362\u884C\u5BB9\u5668",pD="\u6805\u683C\u7B49\u5206\u884C",dD="\u5217\u8868\u5BB9\u5668",vD="\u81EA\u7531\u9875\u9762",hD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",bD="\u5B9A\u4F4D\u5BB9\u5668",mD="\u6805\u683C\u5E03\u5C40",gD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",OD="\u660E\u7EC6\u5B50\u8868\u884C",wD="\u6807\u7B7E\u9875",$D="\u6807\u7B7E\u5355\u5143",PD="\u5DE5\u5177\u680F",ED="\u6279\u91CF\u63D0\u4EA4",SD="\u5BFC\u51FA\u8BB0\u5F55",TD="\u5217\u8868\u89C6\u56FE",RD="\u7ED3\u675F\u65F6\u95F4",BD="\u5F00\u59CB\u65F6\u95F4",DD="\u5355\u4F4D",AD="\u7ED3\u679C",ID="\u5E01\u79CD",kD="\u7ED3\u675F\u65E5\u671F",FD="\u5F00\u59CB\u65E5\u671F",xD="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",MD="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",LD="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",jD="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",CD="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",ND="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",VD="\u8BF7\u9009\u62E9",zD="\u8BF7\u9009\u62E9\u7EC4\u7EC7",HD="\u8BF7\u9009\u62E9\u90E8\u95E8",qD="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",UD="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",WD="\u8BF7\u9009\u62E9\u5730\u5740",KD="\u5F39\u7A97\u786E\u8BA4\u65F6",GD="\u6807\u7B7E\u9875\u5207\u6362\u65F6",XD="\u884C\u9009\u4E2D\u65F6",QD="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",JD="\u884C\u5220\u9664\u524D",ZD="\u884C\u70B9\u51FB\u65F6",YD="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",tA="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",eA="\u91CD\u547D\u540D\u65F6",nA="\u4FDD\u5B58\u6587\u4EF6\u65F6",oA="\u6253\u5F00\u6587\u4EF6\u65F6",rA="\u83B7\u53D6\u7126\u70B9\u65F6",iA="\u5931\u53BB\u7126\u70B9\u65F6",uA="\u7528\u6237\u8F93\u5165\u65F6",lA="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",cA="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",aA="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",fA="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",_A="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",sA="\u641C\u7D22\u65F6",yA="\u503C\u53D1\u751F\u53D8\u5316\u65F6",pA="\u6267\u884C\u5B8C\u6210\u65F6",dA="\u70B9\u51FB\u65F6",vA="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",hA="\u8BF7\u8F93\u5165\u65E5\u671F",bA="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",mA="\u8BF7\u8F93\u5165",gA="\u9ED8\u8BA4\u6A21\u7248",OA="\u5DE6\u53F3\u5E03\u5C40",wA="\u4E0A\u4E0B\u5E03\u5C40",$A="\u53EA\u8BFB",PA="\u5FC5\u586B",EA="\u63D0\u793A\u6587\u5B57",SA="\u9690\u85CF\u6807\u9898",TA="\u6807\u9898\u5FC5\u586B",RA="\u7EC4\u7EC7\u5F62\u6001",BA="\u4E1A\u52A1\u7C7B\u578B",DA="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",AA="\u9690\u85CF",IA="\u6D41\u7A0B\u72B6\u6001",kA="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",FA="\u5220\u9664",xA="\u7F16\u8F91",MA="\u67E5\u770B",LA="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",jA="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",CA="\u5145\u6EE1\u6574\u884C",NA="\u6700\u5C0F\u503C",VA="\u6700\u5927\u503C",zA="\u65B0\u5EFA\u6587\u6863",HA="\u91CD\u7F6E",qA="\u67E5\u8BE2",UA="\u660E\u7EC6",WA="\u6253\u5370",KA="\u4FDD\u5B58\u8349\u7A3F",GA="\u4FDD\u5B58",XA="\u53D6\u6D88",QA="\u4E0A\u4F20\u56FE\u7247",JA="\u53D1\u8D77\u7B7E\u7F72",ZA="\u4E0A\u4F20\u9644\u4EF6",YA="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",t2="\u5F15\u7528\u5217\u8868",e2="\u9009\u9879\u4E00",n2="\u9009\u9879\u4E8C",o2="\u9009\u9879\u4E09",r2={isNotNumber:Xn,isNotString:LB,isNotObject:jB,isNotArray:CB,isNotBoolean:NB,runtimeRequired:VB,pleaseEnterCaption:zB,pleaseEnterCaptionTip:HB,pleaseEnterRowCaption:qB,pleaseEnterPlaceholder:UB,pleaseEnterFieldCode:WB,pleaseEnterForm:KB,pleaseEnterList:GB,pleaseEnterProcess:XB,pleaseEnterLabel:QB,pleaseEnterValue:JB,bizKeyNotBindFiled:ZB,pleaseSelectOneField:YB,pleaseEnterNumberRange:t3,pleaseEnterAValueGreaterThanMin:e3,pleaseEnterAValueLessThanMax:n3,numberRangeSetError:o3,stringRangeError:r3,attachmentMaxSize:i3,pleaseEnterTotalScoreSetting:u3,theTotalScoreMustNotBeLessThan1:l3,scoreDefaultValueRange:c3,attachmentLimitError:a3,PleaseReselectTheOptionalQuantity:f3,TheMaximumLengthIsGreaterThanTheMinimumLength:_3,TheMinimumLengthIsGreaterThanTheMaximumLength:s3,PleaseSelectTheCorrectOptionSettings:y3,optionIdIsRepeat:p3,optionIsRequired:d3,pleaseEnterDataCode:v3,pleaseEnterValueFieldCode:h3,pleaseEnterSvcCode:b3,pleaseBindAtLeastOneDisplayValue:m3,pleaseSelectProvince:g3,pleaseSelectCity:O3,pleaseSelectDistrict:w3,limitRowsCannotBeLessThan0:$3,TheNumberOfRowsCannotBeLessThanMinRows:P3,pleaseEnterColumnWidth:E3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:S3,pleaseCompleteAllRulesAndConditions:T3,pleaseSelectControl:R3,pleaseSelectAtLeastOneColumn:B3,pleaseSelectFillBackMode:D3,pleaseSelectDashboard:A3,rootNodeIsRequired:I3,theViewNameCannotBeEmpty:k3,pleaseSelectOcrType:F3,pleaseSelectAtLeastOneFieldToFillIn:x3,pleaseChooseAtLeastOne:M3,pleaseEnterButtonContent:L3,pleaseEnterDataCodeInDataSetting:j3,pleaseEnterValueFieldCodeInDataSetting:C3,pleaseEnterSvcCodeInDataSetting:N3,pleaseBindAtLeastOneDisplayValueInDataSetting:V3,rootNodeIsRequiredInDataSetting:z3,pleaseEnterMaxHeight:H3,pleaseEnterWatermark:q3,pleaseEnterFileName:U3,pleaseUploadAtLeastOnePrintTemplate:W3,pleaseAssignBusiness:K3,pleaseAssignExternal:G3,pleaseEnterAliasCode:X3,pleaseSelectDataCode:Q3,pleaseSelectSvcCode:J3,pleaseSelectJoinFieldCode:Z3,pleaseSelectMainFieldCode:Y3,pleaseSelectSortFieldCode:t1,batchDeleteButton:e1,batchPrintListButton:n1,batchPrintRecordList:o1,button:r1,createFormListButton:i1,dashboard:u1,divider:l1,exportListButton:c1,formSelectButton:a1,importRecordListButton:f1,invoiceCheckButton:_1,link:s1,listSelectButton:y1,ListViewSelect:p1,operationButton:d1,pagination:v1,submissionRecordListButton:h1,text:b1,textOcrButton:m1,title:g1,approvalStatusColumn:O1,array:w1,autoNumber:$1,custom:P1,decimal:E1,department:S1,employee:T1,file:R1,image:B1,location:D1,operation:A1,order:I1,people:k1,long:F1,timescope:x1,timestamp:M1,varchar:L1,gridLayoutWrap:j1,gridTable:C1,subTable:N1,address:V1,amount:z1,calc:H1,checkBox:q1,electronicSignature:U1,input:W1,number:K1,organizationSelection:G1,radio:X1,richText:Q1,score:J1,searchNumberRange:Z1,select:Y1,selectMultiple:tD,selectRelation:eD,textarea:nD,tree:oD,vueFormItem:rD,vuePage:iD,WPS:uD,actionBar:lD,advancedContainer:cD,cardGroup:aD,col:fD,dataView:_D,grid:sD,gridLayoutContainer:yD,gridRow:pD,listView:dD,page:vD,position:hD,positioningContainer:bD,row:mD,subtableColumn:gD,subtableRow:OD,tab:wD,tabPane:$D,toolbox:PD,batchSubmissionListButton:ED,exportRecordListButton:SD,listViewSelect:TD,endTime:RD,startTime:BD,unit:DD,result:AD,currency:ID,endDate:kD,startDate:FD,pleaseSelectCompanyName:xD,pleaseSelectPhoneOrEmail:MD,pleaseSelectSignType:LD,pleaseSelectSigner:jD,pleaseSelectOnlyOne:CD,pleaseSelectSignFile:ND,pleaseSelect:VD,pleaseSelectOrg:zD,pleaseSelectDept:HD,pleaseSelectEndDate:qD,pleaseSelectStartDate:UD,pleaseChooseAddress:WD,modalConfirm:KD,tabChange:GD,rowSelected:XD,listDataImport:QD,rowDelete:JD,rowClick:ZD,cellRender:YD,onClickBtn:tA,rename:eA,onSaveFile:nA,onOpenFile:oA,onFocus:rA,onBlur:iA,onInput:uA,listDataAdd:lA,listDataDelete:cA,listDataBack:aA,listDataCreate:fA,listDataChange:_A,search:sA,valueChange:yA,finished:pA,click:dA,pleaseEnterNameorEmail:vA,pleaseEnterDate:hA,pleaseEnterAutonumber:bA,pleaseEnter:mA,defaultTemplate:gA,left:OA,top:wA,default:"\u666E\u901A",readonly:$A,required:PA,textTip:EA,hideCaption:SA,titleRequired:TA,organizationalForm:RA,businessType:BA,deleteConfirm:DA,hide:AA,processStatus:IA,approvedDocuments:kA,delete:FA,edit:xA,view:MA,loadCtrlErrorTip:LA,loadCtrlError:jA,fullLine:CA,min:NA,max:VA,createWPS:zA,reset:HA,query:qA,detailed:UA,print:WA,draft:KA,save:GA,cancel:XA,uploadImg:QA,signature:JA,uploadFile:ZA,linkContent:YA,referenceList:t2,optionOne:e2,optionTwo:n2,optionThird:o2},i2="Please enter a number",u2="Please enter a string",l2="Please enter an object",c2="Please enter an array",a2="Please enter a boolean",f2="{caption} Required",_2="Please enter the title",s2="Please enter the bubble prompt",y2="Please enter the row title",p2="Please enter the prompt text",d2="Please bind data items",v2="Please bind the form",h2="Please bind the list",b2="Please bind the process",m2="Please enter the displayed value",g2="Please enter the stored value",O2="The document number is not bound to the data item",w2="Please select at least one display field",$2="Please enter a value greater than or equal to {min} and less than or equal to {max}",P2="Please enter a value greater than or equal to {min}",E2="Please enter a value less than or equal to {max}",S2="The value range is set incorrectly",T2="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",R2="The attachment size must be between 0MB and 1000MB",B2="Please fill in the total score setting",D2="The total score cannot be less than 1",A2="The default value must be between {min} and {max}",I2="The number of attachment uploads exceeds the limit",k2="Please re-select the optional quantity",F2="The maximum length of the control must be greater than the minimum length",x2="The minimum length of the control must be less than the maximum length",M2="Please select the correct option setting",L2="Option ID cannot be repeated",j2="Please enter at least one option",C2="Please bind the data source",N2="Please bind the stored value",V2="Please bind the service",z2="At least one display value must be bound",H2="Please select a province",q2="Please select a city",U2="Please select a district",W2="The minimum number of lines to fill in cannot be less than 0",K2="The number of rows cannot be less than {min} rows",G2="Please enter the column width",X2="Please set the logical relationship of all rule conditions",Q2="Please complete all rules and conditions",J2="please select control",Z2="Please select the dashboard",Y2="View name cannot be empty",t5="Please select recognition type",e5="Please select at least one field to fill in",n5="Please select at least one",o5="Please enter the button title",r5="Please bind the business model in the data settings",i5="Please bind storage values in data settings",u5="Please bind the service in the data settings",l5="Please bind at least one display value in the data settings",c5="Please select the root node in the data settings",a5="Please enter the maximum height",f5="The input content cannot be empty",_5="Watermark cannot be empty",s5="File name cannot be empty",y5="Please upload at least one printing template!\uFF01",p5="Please select a specific business department",d5="Please select a specified external organization",v5="Please enter a sub table alias",h5="Please select the associated table to set the business model",b5="Please select the association table to set the binding service",m5="Select associated sub table fields",g5="Please select the associated main table field",O5="Please select the sort field",w5="\u6279\u91CF\u5220\u9664",$5="\u6279\u91CF\u6253\u5370",P5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",E5="\u6309\u94AE",S5="\u521B\u5EFA\u5355\u636E",T5="\u4EEA\u8868\u76D8",R5="\u5206\u5272\u7EBF",B5="\u5BFC\u51FA",D5="\u8868\u5355\u64CD\u4F5C",A5="\u5BFC\u5165",I5="\u53D1\u7968\u8BC6\u522B",k5="\u94FE\u63A5",F5="\u5217\u8868\u9009\u62E9",x5="\u5217\u8868\u89C6\u56FE",M5="\u64CD\u4F5C\u6309\u94AE",L5="\u5206\u9875",j5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",C5="\u8BF4\u660E\u6587\u5B57",N5="\u6587\u5B57\u8BC6\u522B",V5="\u6807\u9898\u7EC4\u4EF6",z5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",H5="\u6570\u7EC4",q5="\u81EA\u52A8\u7F16\u53F7",U5="\u81EA\u5B9A\u4E49",W5="\u6570\u503C",K5="\u90E8\u95E8",G5="\u4EBA\u5458",X5="\u9644\u4EF6",Q5="\u56FE\u7247",J5="\u5730\u5740",Z5="\u64CD\u4F5C",Y5="\u5E8F\u53F7",tI="\u4EBA\u5458",eI="\u957F\u6587\u672C",nI="\u65E5\u671F\u533A\u95F4",oI="\u65E5\u671F",rI="\u77ED\u6587\u672C",iI="\u6362\u884C\u5BB9\u5668Wrap",uI="\u8868\u683C",lI="\u660E\u7EC6\u5B50\u8868",cI="\u5730\u5740",aI="\u91D1\u989D",fI="\u8BA1\u7B97\u516C\u5F0F",_I="\u591A\u9009",sI="\u7535\u5B50\u7B7E\u7AE0",yI="\u5355\u884C\u6587\u672C",pI="\u6570\u5B57",dI="\u4E1A\u52A1\u7EC4\u7EC7",vI="\u5355\u9009",hI="\u5BCC\u6587\u672C",bI="\u8BC4\u5206",mI="\u6570\u5B57\u533A\u95F4",gI="\u4E0B\u62C9\u5355\u9009",OI="\u4E0B\u62C9\u591A\u9009",wI="\u5173\u8054\u5355\u9009",$I="\u591A\u884C\u6587\u672C",PI="\u6811",EI="Vue\u5BB9\u5668",SI="Vue\u9875\u9762",TI="\u5728\u7EBF\u6587\u6863",RI="\u6309\u94AE\u64CD\u4F5C\u680F",BI="\u9AD8\u7EA7\u5BB9\u5668",DI="\u5206\u7EC4",AI="\u6805\u683C\u5217",II="\u6570\u636E\u5BB9\u5668",kI="\u753B\u5E03",FI="\u6362\u884C\u5BB9\u5668",xI="\u6805\u683C\u7B49\u5206\u884C",MI="\u5217\u8868\u5BB9\u5668",LI="\u81EA\u7531\u9875\u9762",jI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",CI="\u5B9A\u4F4D\u5BB9\u5668",NI="\u6805\u683C\u5E03\u5C40",VI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",zI="\u660E\u7EC6\u5B50\u8868\u884C",HI="\u6807\u7B7E\u9875",qI="\u6807\u7B7E\u5355\u5143",UI="\u5DE5\u5177\u680F",WI="\u6279\u91CF\u63D0\u4EA4",KI="\u5BFC\u51FA\u8BB0\u5F55",GI="\u5217\u8868\u89C6\u56FE",XI="\u5F15\u7528\u5217\u8868",QI="\u9009\u9879\u4E00",JI="\u9009\u9879\u4E8C",ZI="\u9009\u9879\u4E09",YI={isNotNumber:i2,isNotString:u2,isNotObject:l2,isNotArray:c2,isNotBoolean:a2,runtimeRequired:f2,pleaseEnterCaption:_2,pleaseEnterCaptionTip:s2,pleaseEnterRowCaption:y2,pleaseEnterPlaceholder:p2,pleaseEnterFieldCode:d2,pleaseEnterForm:v2,pleaseEnterList:h2,pleaseEnterProcess:b2,pleaseEnterLabel:m2,pleaseEnterValue:g2,bizKeyNotBindFiled:O2,pleaseSelectOneField:w2,pleaseEnterNumberRange:$2,pleaseEnterAValueGreaterThanMin:P2,pleaseEnterAValueLessThanMax:E2,numberRangeSetError:S2,stringRangeError:T2,attachmentMaxSize:R2,pleaseEnterTotalScoreSetting:B2,theTotalScoreMustNotBeLessThan1:D2,scoreDefaultValueRange:A2,attachmentLimitError:I2,PleaseReselectTheOptionalQuantity:k2,TheMaximumLengthIsGreaterThanTheMinimumLength:F2,TheMinimumLengthIsGreaterThanTheMaximumLength:x2,PleaseSelectTheCorrectOptionSettings:M2,optionIdIsRepeat:L2,optionIsRequired:j2,pleaseEnterDataCode:C2,pleaseEnterValueFieldCode:N2,pleaseEnterSvcCode:V2,pleaseBindAtLeastOneDisplayValue:z2,pleaseSelectProvince:H2,pleaseSelectCity:q2,pleaseSelectDistrict:U2,limitRowsCannotBeLessThan0:W2,TheNumberOfRowsCannotBeLessThanMinRows:K2,pleaseEnterColumnWidth:G2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:X2,pleaseCompleteAllRulesAndConditions:Q2,pleaseSelectControl:J2,pleaseSelectDashboard:Z2,theViewNameCannotBeEmpty:Y2,pleaseSelectOcrType:t5,pleaseSelectAtLeastOneFieldToFillIn:e5,pleaseChooseAtLeastOne:n5,pleaseEnterButtonContent:o5,pleaseEnterDataCodeInDataSetting:r5,pleaseEnterValueFieldCodeInDataSetting:i5,pleaseEnterSvcCodeInDataSetting:u5,pleaseBindAtLeastOneDisplayValueInDataSetting:l5,rootNodeIsRequiredInDataSetting:c5,pleaseEnterMaxHeight:a5,pleaseEnter:f5,pleaseEnterWatermark:_5,pleaseEnterFileName:s5,pleaseUploadAtLeastOnePrintTemplate:y5,pleaseAssignBusiness:p5,pleaseAssignExternal:d5,pleaseEnterAliasCode:v5,pleaseSelectDataCode:h5,pleaseSelectSvcCode:b5,pleaseSelectJoinFieldCode:m5,pleaseSelectMainFieldCode:g5,pleaseSelectSortFieldCode:O5,batchDeleteButton:w5,batchPrintListButton:$5,batchPrintRecordList:P5,button:E5,createFormListButton:S5,dashboard:T5,divider:R5,exportListButton:B5,formSelectButton:D5,importRecordListButton:A5,invoiceCheckButton:I5,link:k5,listSelectButton:F5,ListViewSelect:x5,operationButton:M5,pagination:L5,submissionRecordListButton:j5,text:C5,textOcrButton:N5,title:V5,approvalStatusColumn:z5,array:H5,autoNumber:q5,custom:U5,decimal:W5,department:K5,employee:G5,file:X5,image:Q5,location:J5,operation:Z5,order:Y5,people:tI,long:eI,timescope:nI,timestamp:oI,varchar:rI,gridLayoutWrap:iI,gridTable:uI,subTable:lI,address:cI,amount:aI,calc:fI,checkBox:_I,electronicSignature:sI,input:yI,number:pI,organizationSelection:dI,radio:vI,richText:hI,score:bI,searchNumberRange:mI,select:gI,selectMultiple:OI,selectRelation:wI,textarea:$I,tree:PI,vueFormItem:EI,vuePage:SI,WPS:TI,actionBar:RI,advancedContainer:BI,cardGroup:DI,col:AI,dataView:II,grid:kI,gridLayoutContainer:FI,gridRow:xI,listView:MI,page:LI,position:jI,positioningContainer:CI,row:NI,subtableColumn:VI,subtableRow:zI,tab:HI,tabPane:qI,toolbox:UI,batchSubmissionListButton:WI,exportRecordListButton:KI,listViewSelect:GI,referenceList:XI,optionOne:QI,optionTwo:JI,optionThird:ZI},tk="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ek="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nk="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ok="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rk="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ik="{caption}\u5FC5\u9808",uk="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lk="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ck="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ak="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fk="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_k="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sk="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yk="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pk="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dk="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vk="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",hk="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bk="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mk="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gk="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ok="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",wk="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$k="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Pk="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ek="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Sk="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Tk="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Rk="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bk="\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",Dk="\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",Ak="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ik="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",kk="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Fk="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xk="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mk="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lk="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",jk="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ck="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Nk="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Vk="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zk="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Hk="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qk="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Uk="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Wk="please select control",Kk="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Gk="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Xk="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qk="\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",Jk="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Zk="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Yk="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",t6="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",e6="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",n6="\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",o6="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",r6="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i6="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",u6="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",l6="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",c6="\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",a6="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",f6="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_6="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",s6="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",y6="\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",p6="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",d6="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",v6="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",h6="\u6279\u91CF\u5220\u9664",b6="\u6279\u91CF\u6253\u5370",m6="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",g6="\u6309\u94AE",O6="\u521B\u5EFA\u5355\u636E",w6="\u4EEA\u8868\u76D8",$6="\u5206\u5272\u7EBF",P6="\u5BFC\u51FA",E6="\u8868\u5355\u64CD\u4F5C",S6="\u5BFC\u5165",T6="\u53D1\u7968\u8BC6\u522B",R6="\u94FE\u63A5",B6="\u5217\u8868\u9009\u62E9",D6="\u5217\u8868\u89C6\u56FE",A6="\u64CD\u4F5C\u6309\u94AE",I6="\u5206\u9875",k6="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",F6="\u8BF4\u660E\u6587\u5B57",x6="\u6587\u5B57\u8BC6\u522B",M6="\u6807\u9898\u7EC4\u4EF6",L6="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",j6="\u6570\u7EC4",C6="\u81EA\u52A8\u7F16\u53F7",N6="\u81EA\u5B9A\u4E49",V6="\u6570\u503C",z6="\u90E8\u95E8",H6="\u4EBA\u5458",q6="\u9644\u4EF6",U6="\u56FE\u7247",W6="\u5730\u5740",K6="\u64CD\u4F5C",G6="\u5E8F\u53F7",X6="\u4EBA\u5458",Q6="\u957F\u6587\u672C",J6="\u65E5\u671F\u533A\u95F4",Z6="\u65E5\u671F",Y6="\u77ED\u6587\u672C",tF="\u6362\u884C\u5BB9\u5668Wrap",eF="\u8868\u683C",nF="\u660E\u7EC6\u5B50\u8868",oF="\u5730\u5740",rF="\u91D1\u989D",iF="\u8BA1\u7B97\u516C\u5F0F",uF="\u591A\u9009",lF="\u7535\u5B50\u7B7E\u7AE0",cF="\u5355\u884C\u6587\u672C",aF="\u6570\u5B57",fF="\u4E1A\u52A1\u7EC4\u7EC7",_F="\u5355\u9009",sF="\u5BCC\u6587\u672C",yF="\u8BC4\u5206",pF="\u6570\u5B57\u533A\u95F4",dF="\u4E0B\u62C9\u5355\u9009",vF="\u4E0B\u62C9\u591A\u9009",hF="\u5173\u8054\u5355\u9009",bF="\u591A\u884C\u6587\u672C",mF="\u6811",gF="Vue\u5BB9\u5668",OF="Vue\u9875\u9762",wF="\u5728\u7EBF\u6587\u6863",$F="\u6309\u94AE\u64CD\u4F5C\u680F",PF="\u9AD8\u7EA7\u5BB9\u5668",EF="\u5206\u7EC4",SF="\u6805\u683C\u5217",TF="\u6570\u636E\u5BB9\u5668",RF="\u753B\u5E03",BF="\u6362\u884C\u5BB9\u5668",DF="\u6805\u683C\u7B49\u5206\u884C",AF="\u5217\u8868\u5BB9\u5668",IF="\u81EA\u7531\u9875\u9762",kF="\u5B9A\u4F4D\u5B50\u5BB9\u5668",FF="\u5B9A\u4F4D\u5BB9\u5668",xF="\u6805\u683C\u5E03\u5C40",MF="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",LF="\u660E\u7EC6\u5B50\u8868\u884C",jF="\u6807\u7B7E\u9875",CF="\u6807\u7B7E\u5355\u5143",NF="\u5DE5\u5177\u680F",VF="\u6279\u91CF\u63D0\u4EA4",zF="\u5BFC\u51FA\u8BB0\u5F55",HF="\u5217\u8868\u89C6\u56FE",qF="\u5F15\u7528\u5217\u8868",UF="\u9009\u9879\u4E00",WF="\u9009\u9879\u4E8C",KF="\u9009\u9879\u4E09",GF={isNotNumber:tk,isNotString:ek,isNotObject:nk,isNotArray:ok,isNotBoolean:rk,runtimeRequired:ik,pleaseEnterCaption:uk,pleaseEnterCaptionTip:lk,pleaseEnterRowCaption:ck,pleaseEnterPlaceholder:ak,pleaseEnterFieldCode:fk,pleaseEnterForm:_k,pleaseEnterList:sk,pleaseEnterProcess:yk,pleaseEnterLabel:pk,pleaseEnterValue:dk,bizKeyNotBindFiled:vk,pleaseSelectOneField:hk,pleaseEnterNumberRange:bk,pleaseEnterAValueGreaterThanMin:mk,pleaseEnterAValueLessThanMax:gk,numberRangeSetError:Ok,stringRangeError:wk,attachmentMaxSize:$k,pleaseEnterTotalScoreSetting:Pk,theTotalScoreMustNotBeLessThan1:Ek,scoreDefaultValueRange:Sk,attachmentLimitError:Tk,PleaseReselectTheOptionalQuantity:Rk,TheMaximumLengthIsGreaterThanTheMinimumLength:Bk,TheMinimumLengthIsGreaterThanTheMaximumLength:Dk,PleaseSelectTheCorrectOptionSettings:Ak,optionIdIsRepeat:Ik,optionIsRequired:kk,pleaseEnterDataCode:Fk,pleaseEnterValueFieldCode:xk,pleaseEnterSvcCode:Mk,pleaseBindAtLeastOneDisplayValue:Lk,pleaseSelectProvince:jk,pleaseSelectCity:Ck,pleaseSelectDistrict:Nk,limitRowsCannotBeLessThan0:Vk,TheNumberOfRowsCannotBeLessThanMinRows:zk,pleaseEnterColumnWidth:Hk,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qk,pleaseCompleteAllRulesAndConditions:Uk,pleaseSelectControl:Wk,pleaseSelectDashboard:Kk,theViewNameCannotBeEmpty:Gk,pleaseSelectOcrType:Xk,pleaseSelectAtLeastOneFieldToFillIn:Qk,pleaseChooseAtLeastOne:Jk,pleaseEnterButtonContent:Zk,pleaseEnterDataCodeInDataSetting:Yk,pleaseEnterValueFieldCodeInDataSetting:t6,pleaseEnterSvcCodeInDataSetting:e6,pleaseBindAtLeastOneDisplayValueInDataSetting:n6,rootNodeIsRequiredInDataSetting:o6,pleaseEnterMaxHeight:r6,pleaseEnter:i6,pleaseEnterWatermark:u6,pleaseEnterFileName:l6,pleaseUploadAtLeastOnePrintTemplate:c6,pleaseAssignBusiness:a6,pleaseAssignExternal:f6,pleaseEnterAliasCode:_6,pleaseSelectDataCode:s6,pleaseSelectSvcCode:y6,pleaseSelectJoinFieldCode:p6,pleaseSelectMainFieldCode:d6,pleaseSelectSortFieldCode:v6,batchDeleteButton:h6,batchPrintListButton:b6,batchPrintRecordList:m6,button:g6,createFormListButton:O6,dashboard:w6,divider:$6,exportListButton:P6,formSelectButton:E6,importRecordListButton:S6,invoiceCheckButton:T6,link:R6,listSelectButton:B6,ListViewSelect:D6,operationButton:A6,pagination:I6,submissionRecordListButton:k6,text:F6,textOcrButton:x6,title:M6,approvalStatusColumn:L6,array:j6,autoNumber:C6,custom:N6,decimal:V6,department:z6,employee:H6,file:q6,image:U6,location:W6,operation:K6,order:G6,people:X6,long:Q6,timescope:J6,timestamp:Z6,varchar:Y6,gridLayoutWrap:tF,gridTable:eF,subTable:nF,address:oF,amount:rF,calc:iF,checkBox:uF,electronicSignature:lF,input:cF,number:aF,organizationSelection:fF,radio:_F,richText:sF,score:yF,searchNumberRange:pF,select:dF,selectMultiple:vF,selectRelation:hF,textarea:bF,tree:mF,vueFormItem:gF,vuePage:OF,WPS:wF,actionBar:$F,advancedContainer:PF,cardGroup:EF,col:SF,dataView:TF,grid:RF,gridLayoutContainer:BF,gridRow:DF,listView:AF,page:IF,position:kF,positioningContainer:FF,row:xF,subtableColumn:MF,subtableRow:LF,tab:jF,tabPane:CF,toolbox:NF,batchSubmissionListButton:VF,exportRecordListButton:zF,listViewSelect:HF,referenceList:qF,optionOne:UF,optionTwo:WF,optionThird:KF},uf={zhCN:r2,enUS:YI,jaJP:GF},k0;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(k0||(k0={}));var F0;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(F0||(F0={}));var lf,XF=(lf=window.localStorage.getItem("locale"))!==null&&lf!==void 0?lf:"zh-CN",Me;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Me||(Me={}));var x0;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(x0||(x0={}));var y;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page",e.REFERENCE_LIST="reference-list"})(y||(y={}));var M0;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(M0||(M0={}));var g;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(g||(g={}));var ie;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(ie||(ie={}));var L0={DEFAULT:"default"},j0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",QF=j0+"0123456789";function Ct(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?j0:QF,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function cf(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 JF(e){if(Array.isArray(e))return cf(e)}function ZF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C0(e,t,n){return t=Qn(t),nx(e,ff()?Reflect.construct(t,n||[],Qn(e).constructor):t.apply(e,n))}function N0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(e,t,n){return ff()?Lo=Reflect.construct:Lo=function(r,i,u){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),a=new c;return u&&Jn(a,u.prototype),a},Lo.apply(null,arguments)}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(e)}function V0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jn(e,t)}function YF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function tx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ex(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nx(e,t){return t&&(ox(t)==="object"||typeof t=="function")?t:ZF(e)}function Jn(e,t){return Jn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jn(e,t)}function z0(e){return JF(e)||tx(e)||rx(e)||ex()}function ox(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rx(e,t){if(!!e){if(typeof e=="string")return cf(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 cf(e,t)}}function af(e){var t=typeof Map=="function"?new Map:void 0;return af=function(o){if(o===null||!YF(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,Qn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Jn(r,o)},af(e)}function ff(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ff=function(){return!!e})()}var _f=console;function sf(){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=_f).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(z0(r)))}function jo(){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=_f).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(z0(r)))}function ix(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var yf=function(e){V0(t,e);function t(n){N0(this,t);var o;return o=C0(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?ix(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(af(Error)),ux=function(e){V0(t,e);function t(n){N0(this,t);var o;return o=C0(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(yf);function Zn(e){throw new yf(e)}function H0(e){throw new ux(e)}function lx(e){_f.error(new yf(e))}const f=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const o=e.split(".");let r;const i=(window.baitedaWorkers||{}).languageMessages||{};o.forEach((l,c)=>{c===0?r=i[l]:r&&(r=r[l])});let u="";return r&&(u=r),t&&Object.keys(t).forEach(l=>{const c=t[l];u=u.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),c)}),u||(n?u=n:u=e),u};function cx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q0(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 ax(e,t,n){return t&&q0(e.prototype,t),n&&q0(e,n),e}function fx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var U0=function(){function e(){cx(this,e)}return ax(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return f("CMD."+n,o,uf==null||(r=uf[XF.split("-").join("")])===null||r===void 0?void 0:r[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,o){}}]),e}();fx(U0,"$i18n",U0.resetI18n());function _x(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,l,c){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){sf("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return l===c.length-1&&!Object.is(a[u],n)&&(a[u]=n,r=!0),a[u]}},e),r}var sx=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},pf={exports:{}};(function(e){(function(t){var n=function(h,$,S){if(!a($)||p($)||d($)||b($)||c($))return $;var E,R=0,z=0;if(_($))for(E=[],z=$.length;R<z;R++)E.push(n(h,$[R],S));else{E={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(E[h(A,S)]=n(h,$[A],S))}return E},o=function(h,$){$=$||{};var S=$.separator||"_",E=$.split||/(?=[A-Z])/;return h.split(E).join(S)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,S){return S?S.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},l=Object.prototype.toString,c=function(h){return typeof h=="function"},a=function(h){return h===Object(h)},_=function(h){return l.call(h)=="[object Array]"},p=function(h){return l.call(h)=="[object Date]"},d=function(h){return l.call(h)=="[object RegExp]"},b=function(h){return l.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},m=function(h,$){var S=$&&"process"in $?$.process:$;return typeof S!="function"?h:function(E,R){return S(E,h,R)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(m(r,$),h)},decamelizeKeys:function(h,$){return n(m(u,$),h,$)},pascalizeKeys:function(h,$){return n(m(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(sx)})(pf);var W0={};Object.defineProperty(W0,"__esModule",{value:!0});function df(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:df(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:df(o)}return t}}var yx=W0.default=df;function px(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":px(e))==="object"?yx(e):e}function ft(e){return K0(e)&&"zh"in e}function K0(e){return Object.prototype.toString.call(e)==="[object Object]"}function vf(e){return Array.isArray(e)}function Le(e){return isNaN(parseFloat(e))?"":Number(e)}function dx(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function j(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=j(o.children,t)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=j(o.footers,t)),t(r)})),n}function vx(e){return pf.exports.camelizeKeys(e)}function ue(e){return pf.exports.decamelizeKeys(e)}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 hx(e){if(Array.isArray(e))return hf(e)}function G0(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function bx(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){G0(i,o,r,u,l,"next",c)}function l(c){G0(i,o,r,u,l,"throw",c)}u(void 0)})}}function mx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gx(e,t,n){return t&&X0(e.prototype,t),n&&X0(e,n),e}function Q0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ox(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wx(){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 bf(e){return hx(e)||Ox(e)||$x(e)||wx()}function $x(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 Px(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Ex=function(){function e(){mx(this,e),Q0(this,"_events",new Map),Q0(this,"debug",!1)}return gx(e,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var u=this;return bx(function(){var l,c,a,_,p,d,b,O,m,w,h,$;return Px(this,function(S){switch(S.label){case 0:if(l=u._events.get(n),c=[],!l)return[3,10];a=l.slice(),_=!0,p=!1,d=void 0,S.label=1;case 1:S.trys.push([1,8,9,10]),b=a[Symbol.iterator](),S.label=2;case 2:if(_=(O=b.next()).done)return[3,7];if(m=O.value,!l.includes(m))return[3,6];S.label=3;case 3:return S.trys.push([3,5,,6]),u.debug&&jo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(bf(r))),[4,m.apply(null,bf(r))];case 4:return w=S.sent(),u.debug&&jo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bf(r),[w])),c.push(w),w===!1?[3,7]:[3,6];case 5:return h=S.sent(),lx(String(h)+":"+String(h.stack)),[3,6];case 6:return _=!0,[3,2];case 7:return[3,10];case 8:return $=S.sent(),p=!0,d=$,[3,10];case 9:try{!_&&b.return!=null&&b.return()}finally{if(p)throw d}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function Sx(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 Tx(e,t,n){return t&&J0(e.prototype,t),n&&J0(e,n),e}function Rx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bx=[{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"},{key:"on_option_selected",name:f("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],Dx=function(){function e(){Sx(this,e)}return Tx(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}();Rx(Dx,"events",Bx);function mf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Ax(e){if(Array.isArray(e))return mf(e)}function Ix(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kx(){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 Z0(e){return Ax(e)||Ix(e)||Fx(e)||kx()}function Fx(e,t){if(!!e){if(typeof e=="string")return mf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mf(e,t)}}function gf(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Y0(e,t,n){n!=="Runtime"&&(e.parent=t,gf(e,"parent"))}function xx(e,t,n){e.forEach(function(o){Y0(o,t,n)})}var tb=Symbol("targetKey");function eb(e){var t;return(t=e[tb])!==null&&t!==void 0?t:e}function nb(e,t,n){return xx(e,t,n),new Proxy(e,{get:function(r,i){for(var u=arguments.length,l=new Array(u>2?u-2:0),c=2;c<u;c++)l[c-2]=arguments[c];var a;return i===tb?r:(a=Reflect).get.apply(a,[r,i].concat(Z0(l)))},set:function(r,i,u){for(var l=arguments.length,c=new Array(l>3?l-3:0),a=3;a<l;a++)c[a-3]=arguments[a];var _;if(vf(e)&&i==="length"&&u===e.length)return!0;var p=(_=Reflect).set.apply(_,[r,i,u].concat(Z0(c)));return K0(u)&&Y0(u,t,n),p}})}function Wt(e,t,n,o,r){var i=o!=null?o:e,u=nb(eb(n!=null?n:[]),i,r);Object.defineProperty(e,t,{get:function(){return u},set:function(c){u=nb(eb(c),i,r)},enumerable:!0})}function Mx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ob(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Lx(e,t,n){return t&&ob(e.prototype,t),n&&ob(e,n),e}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rb=[],Co=function(){function e(t){Mx(this,e),le(this,"registeredControlTypes",new Set),le(this,"controlConfigMap",new Map),le(this,"_controls",[]),le(this,"_type",void 0),this._type=t,this._initControls(t)}return Lx(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__||Zn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(sf("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===Me.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Me.FORM}},{key:"isListControl",value:function(n){return n.controlType===Me.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Me.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(_){return r.createControl(_,o)});if(n.children&&(n.children=n.children.map(function(_){return r.createControl(_,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(_){return r.createControl(_,o)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof o=="function"){var c=o(l);c&&(l=c)}var a;return u.mode==="Runtime"?(a=l,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(l),a}else Zn("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}}),gf(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=o._controlParentIdMap,l=o.instanceMap;if(!(!u||!l)){var c=u[i],a=l[i];if(!(!c&&!a)){var _=a.findIndex(function(b){return b==n}),p=l[c]||[],d;return p.length!==a.length?d=p[0]:d=p[_],d}}}}),gf(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__)&&Zn("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===r.controlType});return l>-1&&(sf("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}();le(Co,"staticControlsRuntimeRules",new Map),le(Co,"staticControls",rb),le(Co,"staticRegisteredTypes",new Set(rb.map(function(e){return e.Designer.controlType}))),le(Co,"staticRegisteredConfigs",new Map);function jx(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),Cx(e,ib()?Reflect.construct(t,n||[],No(e).constructor):t.apply(e,n))}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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&&Of(e,t)}function Cx(e,t){return t&&(Nx(t)==="object"||typeof t=="function")?t:jx(e)}function Of(e,t){return Of=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Of(e,t)}function Nx(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 It=function e(t){T(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},wf=function e(t){T(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},ub=function e(t){T(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},lb=function e(t){T(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new ub(t==null?void 0:t.pc),this.mobile=new ub(t==null?void 0:t.mobile)},$f=function(e){At(t,e);function t(n){T(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}(wf),cb=function e(t){T(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new $f(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new $f(t==null?void 0:t.mobile):new $f({width:130,minWidth:180})},Vx=function e(t){T(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:[]},je=function e(t){T(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:""},zx=function(e){At(t,e);function t(n){T(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}(je),ab=function e(t){T(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:""},Pf=function e(t){T(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 ab(u)}))!==null&&i!==void 0?i:[]},Hx=function e(t){T(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},qx=function(e){At(t,e);function t(n){T(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}(je),Ux=function e(t){T(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 je(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 Hx(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 qx(u)}))!==null&&i!==void 0?i:[]},Wx=function e(t){T(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},Ce=function e(t){T(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:[]},Ef=function e(t){var n=this;T(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Ct();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(l){if(l.children!==void 0){var c,a=new e(l);(c=n.children)===null||c===void 0||c.push(a)}else{var _,p=new Vo(l);(_=n.children)===null||_===void 0||_.push(p)}}))},Vo=function e(t){T(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ct();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=t==null?void 0:t.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new Wx(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Ce(t==null?void 0:t.rightVariableBo)},Kx=function e(t){T(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:[]},yt=function e(t){T(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:""},Sf=function e(t){T(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},Gx=function e(t){T(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 Tf(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 Ef(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 Ef(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 Gx(l)}))!==null&&u!==void 0?u:[]}var X=function e(t){var n=this;T(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),v(this,"assignDepartment",void 0),v(this,"openAssignDepartment",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(p){var d;(d=n.displayBoList)===null||d===void 0||d.push(new Sf(p))}));var l;this.keywordMapping=(l=t==null?void 0:t.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=t==null?void 0:t.showOrder)!==null&&c!==void 0?c:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",this.assignDepartment=new Ce(t==null?void 0:t.assignDepartment);var _;this.openAssignDepartment=(_=t==null?void 0:t.openAssignDepartment)!==null&&_!==void 0?_:!1,Tf.call(this,t)},Rf=function e(t){T(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=t==null?void 0:t.displayBoList)!==null&&o!==void 0?o:[]},Kt=function e(t){T(this,e),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var l;this.formKey=(l=t==null?void 0:t.formKey)!==null&&l!==void 0?l:void 0,this.formType=t==null?void 0:t.formType;var c;this.icon=(c=t==null?void 0:t.icon)!==null&&c!==void 0?c:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var _;this.openType=(_=t==null?void 0:t.openType)!==null&&_!==void 0?_:"modal";var p;this.priorityProcess=(p=t==null?void 0:t.priorityProcess)!==null&&p!==void 0?p:!0},fb=function e(t){T(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 Sf(u)}))!==null&&i!==void 0?i:[]},zo=function(e){At(t,e);function t(n){T(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 fb(u)}))!==null&&i!==void 0?i:[],o}return t}(X),Xx=function(e){At(t,e);function t(n){T(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 fb(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),_b=function(e){At(t,e);function t(n){T(this,t);var o;o=Dt(this,t,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Ce(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),sb=function e(t){T(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 yt(u)}))!==null&&i!==void 0?i:[]},yb=function(e){At(t,e);function t(n){T(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),Tf.call(o,n),o}return t}(sb),pb=function(e){At(t,e);function t(n){T(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}(sb),Bf=function e(t){T(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:""},Qx=function e(t){T(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ct(8);var o;this.label=(o=t==null?void 0:t.label)!==null&&o!==void 0?o:"";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:this.label};function Gt(e){var t;return(t=e==null?void 0:e.map(function(n){return new Qx(n)}))!==null&&t!==void 0?t:[]}var Df=function e(){T(this,e)},Jx=function(e){At(t,e);function t(n){T(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}(Df),Zx=function e(t){T(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"},Yx=function(e){At(t,e);function t(n){T(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}(Df),tM=function e(t){T(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:""},eM=function e(t){T(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:""},nM=function(e){At(t,e);function t(n){T(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}(Df),oM=function e(t){T(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:""},Af;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Af||(Af={}));var s;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",e.IS_SHOW_TOOL_BAE="isShowToolbar",e.MAIN_DEPT_FLAG="mainDeptFlag"})(s||(s={}));var If;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(If||(If={}));var ce=function e(t){T(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},rM=function e(t){T(this,e);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Ct(8);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new ab(u)}))!==null&&i!==void 0?i:[],Tf.call(this,t)},iM=function e(t){T(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"},uM=function e(t){T(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:""},lM=function e(t){T(this,e);var n,o;v(this,"id",void 0),v(this,"name",void 0),v(this,"settings",void 0),v(this,"filters",void 0),v(this,"script",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Ct();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(n=t.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Ef(c):new Vo(c)}))!==null&&u!==void 0?u:[];var l;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(l=t==null||(o=t.settings)===null||o===void 0?void 0:o.map(function(c){return new cM(c)}))!==null&&l!==void 0?l:[]:[],this.script=t==null?void 0:t.script},cM=function e(t){T(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"},aM=function e(t){T(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 lM(u)}))!==null&&i!==void 0?i:[]:[]};function fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _M(e,t,n){return t=Yn(t),pM(e,xf()?Reflect.construct(t,n||[],Yn(e).constructor):t.apply(e,n))}function kf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t,n){return xf()?Ho=Reflect.construct:Ho=function(r,i,u){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),a=new c;return u&&to(a,u.prototype),a},Ho.apply(null,arguments)}function Xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(e)}function sM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&to(e,t)}function yM(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function pM(e,t){return t&&(dM(t)==="object"||typeof t=="function")?t:fM(e)}function to(e,t){return to=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},to(e,t)}function dM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ff(e){var t=typeof Map=="function"?new Map:void 0;return Ff=function(o){if(o===null||!yM(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,Yn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),to(r,o)},Ff(e)}function xf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xf=function(){return!!e})()}var U=function e(t){kf(this,e),Xt(this,"isHide",{type:"boolean"})},$e=function(e){sM(t,e);function t(n){return kf(this,t),_M(this,t)}return t}(Ff(Array)),W=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";kf(this,e),Xt(this,"isHide",void 0),Xt(this,"className",void 0),Xt(this,"style",void 0),Xt(this,"caption",void 0),Xt(this,"defaultState",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new iM(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};Xt(W,"mode",void 0),Xt(W,"Rules",U),Xt(W,"RuntimeRules",$e);function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nt.apply(this,arguments)}function vM(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mf(e)}function qo(e,t){return qo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qo(e,t)}function hM(){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 hM()?Uo=Reflect.construct:Uo=function(r,i,u){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),a=new c;return u&&qo(a,u.prototype),a},Uo.apply(null,arguments)}function bM(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Lf(e){var t=typeof Map=="function"?new Map:void 0;return Lf=function(o){if(o===null||!bM(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,Mf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),qo(r,o)},Lf(e)}var mM=/%[sdj%]/g,db=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(db=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function jf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function vt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=1,r=t[0],i=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var u=String(r).replace(mM,function(l){if(l==="%%")return"%";if(o>=i)return l;switch(l){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(c){return"[Circular]"}break;default:return l}});return u}return r}function gM(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||gM(t)&&typeof e=="string"&&!e)}function OM(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 vb(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 wM(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var hb=function(e){vM(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}(Lf(Error));function $M(e,t,n,o){if(t.first){var r=new Promise(function(p,d){var b=function(w){return o(w),w.length?d(new hb(w,jf(w))):p()},O=wM(e);vb(O,n,b)});return r.catch(function(p){return p}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),l=u.length,c=0,a=[],_=new Promise(function(p,d){var b=function(m){if(a.push.apply(a,m),c++,c===l)return o(a),a.length?d(new hb(a,jf(a))):p()};u.length||(o(a),p()),u.forEach(function(O){var m=e[O];i.indexOf(O)!==-1?vb(m,n,b):OM(m,n,b)})});return _.catch(function(p){return p}),_}function bb(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 mb(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 gb(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||G(t,i||e.type))&&o.push(vt(r.messages.required,e.fullField))}function PM(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(vt(r.messages.whitespace,e.fullField))}var Cf={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(t){return eo.number(t)&&parseInt(t,10)===t},float:function(t){return eo.number(t)&&!eo.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"&&!eo.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Cf.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Cf.url)},hex:function(t){return typeof t=="string"&&!!t.match(Cf.hex)}};function EM(e,t,n,o,r){if(e.required&&t===void 0){gb(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?eo[u](t)||o.push(vt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(vt(r.messages.types[u],e.fullField,e.type))}function SM(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",l=typeof e.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,_=null,p=typeof t=="number",d=typeof t=="string",b=Array.isArray(t);if(p?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(a=t.length),d&&(a=t.replace(c,"_").length),i?a!==e.len&&o.push(vt(r.messages[_].len,e.fullField,e.len)):u&&!l&&a<e.min?o.push(vt(r.messages[_].min,e.fullField,e.min)):l&&!u&&a>e.max?o.push(vt(r.messages[_].max,e.fullField,e.max)):u&&l&&(a<e.min||a>e.max)&&o.push(vt(r.messages[_].range,e.fullField,e.min,e.max))}var Ne="enum";function TM(e,t,n,o,r){e[Ne]=Array.isArray(e[Ne])?e[Ne]:[],e[Ne].indexOf(t)===-1&&o.push(vt(r.messages[Ne],e.fullField,e[Ne].join(", ")))}function RM(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(vt(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||o.push(vt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:gb,whitespace:PM,type:EM,range:SM,enum:TM,pattern:RM};function BM(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 DM(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 AM(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 IM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I.type(e,t,o,i,r)}n(i)}function kM(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 FM(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 xM(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 MM(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 LM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t)&&!e.required)return n();I.required(e,t,o,i,r),t!==void 0&&I.type(e,t,o,i,r)}n(i)}var jM="enum";function CM(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[jM](e,t,o,i,r)}n(i)}function NM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(G(t,"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 VM(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 zM(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 Nf(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 HM(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 no={string:BM,method:DM,number:AM,boolean:IM,regexp:kM,integer:FM,float:xM,array:MM,object:LM,enum:CM,pattern:NM,date:VM,url:Nf,hex:Nf,email:Nf,required:zM,any:HM};function Vf(){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 zf=Vf();function ae(e){this.rules=null,this._messages=zf,this.define(e)}ae.prototype={messages:function(t){return t&&(this._messages=mb(Vf(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(t,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=t,u=n,l=o;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(m){var w,h=[],$={};function S(E){if(Array.isArray(E)){var R;h=(R=h).concat.apply(R,E)}else h.push(E)}for(w=0;w<m.length;w++)S(m[w]);h.length?$=jf(h):(h=null,$=null),l(h,$)}if(u.messages){var a=this.messages();a===zf&&(a=Vf()),mb(a,u.messages),u.messages=a}else u.messages=this.messages();var _,p,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){_=r.rules[m],p=i[m],_.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===t&&(i=Nt({},i)),p=i[m]=h.transform(p)),typeof h=="function"?h={validator:h}:h=Nt({},h),h.validator=r.getValidationMethod(h),h.field=m,h.fullField=h.fullField||m,h.type=r.getType(h),h.validator&&(d[m]=d[m]||[],d[m].push({rule:h,value:p,source:i,field:m}))})});var O={};return $M(d,u,function(m,w){var h=m.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&m.value),h.field=m.field;function S(z,A){return Nt(Nt({},A),{},{fullField:h.fullField+"."+z})}function E(z){z===void 0&&(z=[]);var A=z;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ae.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(bb(h)),u.first&&A.length)return O[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!m.value)return h.message!==void 0?A=[].concat(h.message).map(bb(h)):u.error&&(A=[u.error(h,vt(u.messages.required,h.field))]),w(A);var ct={};if(h.defaultField)for(var D in m.value)m.value.hasOwnProperty(D)&&(ct[D]=h.defaultField);ct=Nt(Nt({},ct),m.rule.fields);for(var qt in ct)if(ct.hasOwnProperty(qt)){var Mo=Array.isArray(ct[qt])?ct[qt]:[ct[qt]];ct[qt]=Mo.map(S.bind(null,qt))}var Gn=new ae(ct);Gn.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Gn.validate(m.value,m.rule.options||u,function(Fe){var Ut=[];A&&A.length&&Ut.push.apply(Ut,A),Fe&&Fe.length&&Ut.push.apply(Ut,Fe),w(Ut.length?Ut:null)})}}var R;h.asyncValidator?R=h.asyncValidator(h,m.value,E,m.source,u):h.validator&&(R=h.validator(h,m.value,E,m.source,u),R===!0?E():R===!1?E(h.message||h.field+" fails"):R instanceof Array?E(R):R instanceof Error&&E(R.message)),R&&R.then&&R.then(function(){return E()},function(z){return E(z)})},function(m){c(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!no.hasOwnProperty(t.type))throw new Error(vt("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?no.required:no[this.getType(t)]||!1}},ae.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");no[t]=n},ae.warning=db,ae.messages=zf,ae.validators=no;var qM={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 UM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ae(e);return n.messages(Object.assign(qM,t)),n}var WM=new Ex;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 KM(e){if(Array.isArray(e))return e}function GM(e){if(Array.isArray(e))return Hf(e)}function Ob(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function wb(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){Ob(i,o,r,u,l,"next",c)}function l(c){Ob(i,o,r,u,l,"throw",c)}u(void 0)})}}function XM(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 QM(e,t,n){return t&&$b(e.prototype,t),n&&$b(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 Pb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Eb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JM(){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 ZM(){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 Sb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(e,r,n[r])})}return e}function YM(e){return KM(e)||Eb(e)||Tb(e)||JM()}function qf(e){return GM(e)||Eb(e)||Tb(e)||ZM()}function tL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tb(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 Rb(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L=function(){function t(n){var o=this;XM(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"slots",void 0),M(this,"slotPosition",void 0),M(this,"updateSetting",Db),M(this,"removeSetting",Bb),this._callControlHooks("preInstance",n);var r=Pb(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,l=r.controlType,c=r.controlFieldType,a=r.controlEventKeys,_=r.controlCustomEvents,p=r.name,d=r.setting,b=r.slots,O=r.slotPosition;i&&u&&l||H0("The ".concat(p," controlName,controlIcon,controlType is not define"));var m;this.id=(m=n==null?void 0:n.id)!==null&&m!==void 0?m:Ct(10),this.name=i,this.icon=u;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:l,this.props=new W(n==null?void 0:n.props,(Pb(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 $;this.fieldType=($=n==null?void 0:n.fieldType)!==null&&$!==void 0?$:c,this.eventKeys=Bt(a),this.customEvents=Bt(_),this.slots=Bt(b),this.slotPosition=Bt(O),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return QM(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=YM(r),c=l[0],a=l.slice(1);return(u=WM).emit.apply(u,[c,this].concat(qf(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),_x(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return wb(function(){var r,i,u;return Rb(this,function(l){switch(l.label){case 0:return r=Sb({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=l.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return wb(function(){var u,l,c,a;return Rb(this,function(_){switch(_.label){case 0:return[4,i.preValidate()];case 1:u=_.sent(),l=u!==void 0?u:Sb({},i.rules),Array.isArray(r)&&r.forEach(function(p){l.hasOwnProperty(p)&&delete l[p]}),c=UM(l,o),_.label=2;case 2:return _.trys.push([2,4,,5]),[4,c.validate(i.props)];case 3:return _.sent(),[2,!0];case 4:throw a=_.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,l=this.props,c=l.dataBind,a=l.datasourceBind,_=l.optionConfig,p=l.caption,d=l.required,b=l.maxLength,O=l.options,m=l.encrypted,w=l.encryptedMode;if(!(!r&&!c&&!a)){var h={parentId:o,fieldType:r,controlId:i,caption:p,type:u,props:{}};switch(c&&(h.dataBind=c),_){case"datasource":case void 0:a&&(h.datasourceBind=a);break;case"custom":h.props.options=O;break}return d!==void 0&&(h.required=d),b!==void 0&&(h.maxLength=b),m!==void 0&&(h.encrypted=m),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props: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,qf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();M(L,"mode","Designer"),M(L,"slots",void 0),M(L,"slotPosition",void 0),M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",Bb),M(L,"updateSettingItem",Db);function Bb(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r,i=typeof o!="string",u=(r=t.setting)===null||r===void 0?void 0:r.findIndex(function(a){return a.key===(i?o.key:o)});if(u!==-1){var l,c;i?t.setting[u].showItems=(l=t.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(a){return!o.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((c=t.setting[u].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(u,1)}})}function Db(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(a){return a.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":tL(t))==="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var c;(c=i.showItems).push.apply(c,qf(t.showItems))}}}})}function eL(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 nL(e,t,n){return t&&Ab(e.prototype,t),n&&Ab(e,n),e}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oL(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Vt=function(){function t(n){eL(this,t),ht(this,"id",void 0),ht(this,"type",void 0),ht(this,"controlType",void 0),ht(this,"props",void 0),ht(this,"fieldType",void 0),ht(this,"customEvents",[]),ht(this,"pageStatus",void 0),ht(this,"parent",null);var o=oL(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,l=o.controlCustomEvents;r||H0("The ".concat(u," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:Ct(10);var a;this.type=(a=n==null?void 0:n.type)!==null&&a!==void 0?a:r,this.props=new 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:If.UNKNOWN}return nL(t,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),t}();ht(Vt,"mode","Runtime"),ht(Vt,"controlType","control"),ht(Vt,"controlFieldType",void 0),ht(Vt,"__is_control__",!0),ht(Vt,"controlCustomEvents",[]);function Uf(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=dx(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,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B":"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C":"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:f(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1":"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},attributes:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(r,i,u){i.length===0&&u(f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:f(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}]}}}],orders:[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:f("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function rL(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function iL(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),uL(e,Ib()?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&&Wf(e,t)}function uL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:iL(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(e,t)}function lL(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 Z=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(rL(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),C=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}($e),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 c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var d;o.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",o.dataBind=new 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",Z),N(k,"RuntimeRules",C);var Ve=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")}]),Uf.call(o,n),o}return t}(Z);function cL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aL(e,t,n){return t=Zo(t),sL(e,kb()?Reflect.construct(t,n||[],Zo(e).constructor):t.apply(e,n))}function fL(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 _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&&Kf(e,t)}function sL(e,t){return t&&(yL(t)==="object"||typeof t=="function")?t:cL(e)}function Kf(e,t){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(e,t)}function yL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kb=function(){return!!e})()}var F=function(e){_L(t,e);function t(n){fL(this,t);var o;return o=aL(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 pL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dL(e,t,n){return t=Yo(t),bL(e,Fb()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function vL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gf(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 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&&Xf(e,t)}function bL(e,t){return t&&(mL(t)==="object"||typeof t=="function")?t:pL(e)}function Xf(e,t){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(e,t)}function mL(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 x=function(e){hL(t,e);function t(n){vL(this,t);var o;return o=dL(this,t,[n]),Gf(o,"controlType","form"),Gf(o,"props",void 0),Gf(o,"value",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(Vt);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=tr(t),PL(e,xb()?Reflect.construct(t,n||[],tr(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 tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(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&&Qf(e,t)}function PL(e,t){return t&&(EL(t)==="object"||typeof t=="function")?t:gL(e)}function Qf(e,t){return Qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qf(e,t)}function EL(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 Y=function(e){$L(t,e);function t(n){return wL(this,t),OL(this,t,[n])}return t}(W);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 SL(e){if(Array.isArray(e))return Jf(e)}function TL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mb(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function RL(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){Mb(i,o,r,u,l,"next",c)}function l(c){Mb(i,o,r,u,l,"throw",c)}u(void 0)})}}function BL(e,t,n){return t=_e(t),CL(e,Cb()?Reflect.construct(t,n||[],_e(e).constructor):t.apply(e,n))}function DL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lb(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 AL(e,t,n){return t&&Lb(e.prototype,t),n&&Lb(e,n),e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(r,i,u){var l=NL(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ze(e,t,n||e)}function _e(e){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_e(e)}function IL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kL(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function FL(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xL(){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 ML(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){fe(e,r,n[r])})}return e}function LL(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 jL(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):LL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function CL(e,t){return t&&(VL(t)==="object"||typeof t=="function")?t:TL(e)}function Zf(e,t){return Zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zf(e,t)}function NL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_e(e),e!==null););return e}function jb(e){return SL(e)||FL(e)||zL(e)||xL()}function VL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zL(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 Cb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cb=function(){return!!e})()}function HL(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var qL=1e4,tt=function(t){IL(n,t);function n(o){DL(this,n);var r;r=BL(this,n,[o]),fe(r,"controlType","layout"),fe(r,"children",void 0),fe(r,"excludes",void 0),fe(r,"childrenMaxLength",void 0),fe(r,"props",void 0);var i=kL(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Y(o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Bt(u),r.childrenMaxLength=l,r}return AL(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,l=this,c=function(){return ze(_e(n.prototype),"validate",u)};return RL(function(){return HL(this,function(a){switch(a.label){case 0:return[4,c().call(l,r,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(r,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=ze(_e(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(l,c){var a=c.toDataBindModel(r);if(Array.isArray(a)){var _=a.filter(function(p){return!!p});return jb(l).concat(jb(_))}return a&&l.push(a),l},u)}},{key:"toSchema",value:function(){var r=ze(_e(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var l=u.toSchema();return l});return jL(ML({},r),{children:i})}}]),n}(L);fe(tt,"excludes",!1),fe(tt,"childrenMaxLength",qL);function UL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WL(e,t,n){return t=er(t),XL(e,Nb()?Reflect.construct(t,n||[],er(e).constructor):t.apply(e,n))}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yf(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 GL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XL(e,t){return t&&(QL(t)==="object"||typeof t=="function")?t:UL(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t_(e,t)}function QL(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 Pe=function(e){GL(t,e);function t(n){KL(this,t);var o;return o=WL(this,t,[n]),Yf(o,"controlType","layout"),Yf(o,"children",void 0),Yf(o,"props",void 0),o.props=new Y(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Vt);function JL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZL(e,t,n){return t=nr(t),e7(e,Vb()?Reflect.construct(t,n||[],nr(e).constructor):t.apply(e,n))}function YL(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 nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(e)}function t7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:JL(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(e,t)}function n7(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 n_=function(e){t7(t,e);function t(n,o,r){YL(this,t);var i;i=ZL(this,t,[o]),He(i,"headers",void 0),He(i,"footers",void 0),He(i,"pageIndex",void 0),He(i,"pageSize",void 0),He(i,"pageSizeOptions",void 0),He(i,"totalCount",void 0),Wt(i,"headers",o==null?void 0:o.headers,n,r),Wt(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var l;i.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var c;i.pageSizeOptions=(c=o==null?void 0:o.pageSizeOptions)!==null&&c!==void 0?c:[20];var a;return i.totalCount=(a=o==null?void 0:o.totalCount)!==null&&a!==void 0?a:0,i}return t}(W);function o_(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 o7(e){if(Array.isArray(e))return o_(e)}function r7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zb(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function i7(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){zb(i,o,r,u,l,"next",c)}function l(c){zb(i,o,r,u,l,"throw",c)}u(void 0)})}}function u7(e,t,n){return t=se(t),y7(e,Kb()?Reflect.construct(t,n||[],se(e).constructor):t.apply(e,n))}function l7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hb(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 c7(e,t,n){return t&&Hb(e.prototype,t),n&&Hb(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 qe(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?qe=Reflect.get:qe=function(r,i,u){var l=p7(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},qe(e,t,n||e)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},se(e)}function a7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f7(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 qb(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 s7(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 Ub(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s7(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function y7(e,t){return t&&(d7(t)==="object"||typeof t=="function")?t:r7(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r_(e,t)}function p7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=se(e),e!==null););return e}function Wb(e){return o7(e)||f7(e)||v7(e)||_7()}function d7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v7(e,t){if(!!e){if(typeof e=="string")return o_(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 o_(e,t)}}function Kb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kb=function(){return!!e})()}function h7(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var i_=function(e){a7(t,e);function t(n){l7(this,t);var o;return o=u7(this,t,[n]),or(o,"controlType","list"),or(o,"props",void 0),o.props=new n_(o,n==null?void 0:n.props,"Designer"),o}return c7(t,[{key:"validate",value:function(o,r){var i=this,u=this,l=function(){return qe(se(t.prototype),"validate",i)};return i7(function(){return h7(this,function(c){switch(c.label){case 0:return[4,l().call(u,o)];case 1:return c.sent(),[4,Promise.all(u.props.headers.map(function(a){return a.validate(o,r)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=qe(se(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,l){var c=l.toDataBindModel(i);if(Array.isArray(c)){var a=c.filter(function(_){return!!_});return Wb(u).concat(Wb(a))}return c&&u.push(c),u},r)}},{key:"toSchema",value:function(){var o=qe(se(t.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return Ub(qb({},o),{props:Ub(qb({},this.props),{headers:r})})}}]),t}(L);or(i_,"controlFieldType",g.LIST);function b7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u_(e,t,n){return t=rr(t),m7(e,Gb()?Reflect.construct(t,n||[],rr(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 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 rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(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&&a_(e,t)}function m7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:b7(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(e,t)}function g7(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 Qt=function(e){c_(t,e);function t(n){l_(this,t);var o;return o=u_(this,t,[n]),et(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),et(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){c_(t,e);function t(n){l_(this,t);var o;o=u_(this,t,[n]),et(o,"widthType",void 0),et(o,"width",void 0),et(o,"caption",void 0),et(o,"dataBind",void 0),et(o,"autoWidth",void 0),et(o,"fixed",void 0),et(o,"sort",void 0),et(o,"align",void 0),et(o,"colSpan",void 0),et(o,"autoHeight",void 0),et(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 wf(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 c;return o.autoHeight=(c=n==null?void 0:n.autoHeight)!==null&&c!==void 0?c:!1,o}return t}(W);et(K,"Rules",Qt);var f_=function(e){c_(t,e);function t(n){l_(this,t);var o;return o=u_(this,t,[n]),et(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),et(o,"options",[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),et(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Uf.call(o,n),o}return t}(Qt);function O7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w7(e,t,n){return t=Ue(t),B7(e,Qb()?Reflect.construct(t,n||[],Ue(e).constructor):t.apply(e,n))}function $7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xb(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 P7(e,t,n){return t&&Xb(e.prototype,t),n&&Xb(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=D7(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ur(e,t,n||e)}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ue(e)}function E7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 S7(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 T7(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 R7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):T7(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function B7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:O7(e)}function __(e,t){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(e,t)}function D7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ue(e),e!==null););return e}function A7(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 nt=function(e){E7(t,e);function t(n){$7(this,t);var o;return o=w7(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),Wt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return P7(t,[{key:"toSchema",value:function(){var o=ur(Ue(t.prototype),"toSchema",this).call(this);return R7(S7({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(L);function I7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k7(e,t,n){return t=lr(t),M7(e,Jb()?Reflect.construct(t,n||[],lr(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 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 lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(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&&y_(e,t)}function M7(e,t){return t&&(L7(t)==="object"||typeof t=="function")?t:I7(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y_(e,t)}function L7(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 ot=function(e){x7(t,e);function t(n){F7(this,t);var o;return o=k7(this,t,[n]),s_(o,"controlType","column"),s_(o,"props",void 0),s_(o,"children",void 0),o.props=new K(n==null?void 0:n.props),Wt(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 C7(e,t,n){return t=cr(t),H7(e,Zb()?Reflect.construct(t,n||[],cr(e).constructor):t.apply(e,n))}function N7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V7(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 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&&p_(e,t)}function H7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:j7(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(e,t)}function q7(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 d_=function(e){z7(t,e);function t(n){N7(this,t);var o;return o=C7(this,t,[n]),V7(o,"dataBind",void 0),o.dataBind=new It(n==null?void 0:n.dataBind),o}return t}(Y);function U7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W7(e,t,n){return t=ar(t),X7(e,tm()?Reflect.construct(t,n||[],ar(e).constructor):t.apply(e,n))}function K7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yb(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 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&&v_(e,t)}function X7(e,t){return t&&(Q7(t)==="object"||typeof t=="function")?t:U7(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function Q7(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 J7=function(e){G7(t,e);function t(n){K7(this,t);var o;return o=W7(this,t,[n]),Yb(o,"controlType","search"),Yb(o,"props",void 0),o.props=new d_(n==null?void 0:n.props),o}return t}(tt);function Z7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y7(e,t,n){return t=fr(t),nj(e,nm()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function tj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function em(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 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&&h_(e,t)}function nj(e,t){return t&&(oj(t)==="object"||typeof t=="function")?t:Z7(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(e,t)}function oj(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 rj=function(e){ej(t,e);function t(n){tj(this,t);var o;return o=Y7(this,t,[n]),em(o,"controlType","search"),em(o,"props",void 0),o.props=new d_(n==null?void 0:n.props),o}return t}(Pe);function ye(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}function ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uj(e,t,n){return t=_r(t),aj(e,om()?Reflect.construct(t,n||[],_r(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 We(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 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&&b_(e,t)}function aj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:ij(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(e,t)}function fj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function om(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(om=function(){return!!e})()}var _j=function(e){cj(t,e);function t(n){lj(this,t);var o;o=uj(this,t,[n]),We(o,"content",void 0),We(o,"fontSize",void 0),We(o,"color",void 0),We(o,"icon",void 0),We(o,"align",void 0),We(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:f("CMD.text",null,"\u8BF4\u660E\u6587\u5B57");var a;return o.align=(a=n==null?void 0:n.align)!==null&&a!==void 0?a:"",o}return t}(W);function sj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yj(e,t,n){return t=sr(t),hj(e,um()?Reflect.construct(t,n||[],sr(e).constructor):t.apply(e,n))}function pj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rm(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 dj(e,t,n){return t&&rm(e.prototype,t),n&&rm(e,n),e}function im(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 vj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hj(e,t){return t&&(bj(t)==="object"||typeof t=="function")?t:sj(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m_(e,t)}function bj(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 mj=function(e){vj(t,e);function t(n){pj(this,t);var o;return o=yj(this,t,[n]),im(o,"props",void 0),o.props=new _j(n==null?void 0:n.props),o}return dj(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);im(mj,"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 gj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oj(e,t,n){return t=yr(t),Pj(e,lm()?Reflect.construct(t,n||[],yr(e).constructor):t.apply(e,n))}function wj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(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&&O_(e,t)}function Pj(e,t){return t&&(Ej(t)==="object"||typeof t=="function")?t:gj(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O_(e,t)}function Ej(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lm=function(){return!!e})()}var Sj=function(e){$j(t,e);function t(n){wj(this,t);var o;o=Oj(this,t,[n]),g_(o,"content",void 0),g_(o,"url",void 0),g_(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 Tj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rj(e,t,n){return t=pr(t),Ij(e,am()?Reflect.construct(t,n||[],pr(e).constructor):t.apply(e,n))}function Bj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(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 Dj(e,t,n){return t&&cm(e.prototype,t),n&&cm(e,n),e}function w_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(e)}function Aj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function Ij(e,t){return t&&(kj(t)==="object"||typeof t=="function")?t:Tj(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(e,t)}function kj(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 fm=function(e){Aj(t,e);function t(n){Bj(this,t);var o;return o=Rj(this,t,[n]),w_(o,"props",void 0),o.props=new Sj(n==null?void 0:n.props),o}return Dj(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);w_(fm,"controlEventKeys",["on_click"]),w_(fm,"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 Fj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xj(e,t,n){return t=dr(t),jj(e,_m()?Reflect.construct(t,n||[],dr(e).constructor):t.apply(e,n))}function Mj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Lj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function jj(e,t){return t&&(Cj(t)==="object"||typeof t=="function")?t:Fj(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},P_(e,t)}function Cj(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 bt=function(e){Lj(t,e);function t(n){Mj(this,t);var o;o=xj(this,t,[n]),Jt(o,"content",void 0),Jt(o,"buttonType",void 0),Jt(o,"showType",void 0),Jt(o,"color",void 0),Jt(o,"icon",void 0),Jt(o,"defaultState",void 0),Jt(o,"command",void 0),Jt(o,"isLoading",void 0),Jt(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.button",null,"\u6309\u94AE");var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"iconfenlei2";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var d;return o.optObj=new uM((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return t}(W);function Nj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vj(e,t,n){return t=hr(t),Uj(e,ym()?Reflect.construct(t,n||[],hr(e).constructor):t.apply(e,n))}function zj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Hj(e,t,n){return t&&sm(e.prototype,t),n&&sm(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 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&&E_(e,t)}function Uj(e,t){return t&&(Wj(t)==="object"||typeof t=="function")?t:Nj(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(e,t)}function Wj(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 _t=function(e){qj(t,e);function t(n){zj(this,t);var o;return o=Vj(this,t,[n]),vr(o,"props",void 0),o.props=new bt(n==null?void 0:n.props),o}return Hj(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(_t,"slots",["grid-table-toolbar-slot","action-bar-slot",L0.DEFAULT]),vr(_t,"controlEventKeys",["on_click"]),vr(_t,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function mt(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 Zt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(Zt||(Zt={}));var pm;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(pm||(pm={}));var dm;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(dm||(dm={}));var S_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ct(8),value:["",""]};mt(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},T_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(T_||(T_={}));var R_=function e(t){mt(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:Ct();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},B_;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(B_||(B_={}));var vm=function e(t){mt(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 Ce((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 Ce((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var l,c;this.company=(c=t==null?void 0:t.company)!==null&&c!==void 0?c:new Ce((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},Kj=function e(t){mt(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(c){return new vm(c)}))!==null&&r!==void 0?r:[new vm];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){mt(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:Ct(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var l;this.fieldList=(l=t==null?void 0:t.fieldList)!==null&&l!==void 0?l:[];var c;this.active=(c=t==null?void 0:t.active)!==null&&c!==void 0?c:!1},hm=function e(t){mt(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:""},Gj=function e(t){mt(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 hm(t==null?void 0:t.watermark),this.autoRename=new hm(t==null?void 0:t.autoRename)},bm=function e(t){mt(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 c;this.relationBindCode=(c=t==null?void 0:t.relationBindCode)!==null&&c!==void 0?c:""},mm=function e(t){mt(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},Xj=function e(t){mt(this,e),P(this,"dataCode",void 0),this.dataCode=t.dataCode},Qj=function e(t){mt(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 Xj(i)}))!==null&&r!==void 0?r:[]},Jj=function e(t){mt(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})]},Zj=480;function mr(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Yj=function e(t){mt(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:[]},gm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(gm||(gm={}));var D_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(D_||(D_={}));var gr;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(gr||(gr={}));var pe;(function(e){e.ALL="all",e.ASSIGN="assign"})(pe||(pe={}));var A_;(function(e){e.ALL="all",e.ADMIN="admin"})(A_||(A_={}));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=Or(t),rC(e,wm()?Reflect.construct(t,n||[],Or(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 Om(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 oC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rC(e,t){return t&&(iC(t)==="object"||typeof t=="function")?t:tC(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function iC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wm=function(){return!!e})()}var uC=function(e){oC(t,e);function t(n){nC(this,t);var o;o=eC(this,t,[n]),Om(o,"color",void 0),Om(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:B_.SOLID,o}return t}(W);function lC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cC(e,t,n){return t=wr(t),sC(e,Em()?Reflect.construct(t,n||[],wr(e).constructor):t.apply(e,n))}function aC(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 fC(e,t,n){return t&&$m(e.prototype,t),n&&$m(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}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(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&&k_(e,t)}function sC(e,t){return t&&(yC(t)==="object"||typeof t=="function")?t:lC(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function yC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Em(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Em=function(){return!!e})()}var pC=function(e){_C(t,e);function t(n){aC(this,t);var o;return o=cC(this,t,[n]),Pm(o,"props",void 0),o.props=new uC(n==null?void 0:n.props),o}return fC(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);Pm(pC,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function dC(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=$r(t),vC(e,Bm()?Reflect.construct(t,n||[],$r(e).constructor):t.apply(e,n))}function Tm(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 $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(e)}function Rm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vC(e,t){return t&&(hC(t)==="object"||typeof t=="function")?t:dC(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function hC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bm=function(){return!!e})()}var bC=function(e){Rm(t,e);function t(n){Tm(this,t);var o;return o=Sm(this,t,[n]),de(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),de(o,"dataBind",{type:"any"}),de(o,"config",{type:"array"}),n.config.includes(Zt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:f("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:f("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")}),o}return t}(U),Dm=function(e){Rm(t,e);function t(n){Tm(this,t);var o;o=Sm(this,t,[n]),de(o,"dataBind",void 0),de(o,"caption",void 0),de(o,"config",void 0),de(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:[Zt.ShowSubmitUser,Zt.ShowSubmitDept,Zt.ShowSubmitTime,Zt.ShowCurrentApprovar,Zt.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:oo==null?void 0:oo.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);de(Dm,"Rules",bC);function mC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gC(e,t,n){return t=Pr(t),PC(e,Im()?Reflect.construct(t,n||[],Pr(e).constructor):t.apply(e,n))}function OC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Am(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 wC(e,t,n){return t&&Am(e.prototype,t),n&&Am(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 Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pr(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&&M_(e,t)}function PC(e,t){return t&&(EC(t)==="object"||typeof t=="function")?t:mC(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function EC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Im=function(){return!!e})()}var oo=function(e){$C(t,e);function t(n){OC(this,t);var o;return o=gC(this,t,[n]),x_(o,"props",void 0),o.props=new Dm(n==null?void 0:n.props),o}return wC(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);x_(oo,"controlFieldType",g.AUTO_NUMBER),x_(oo,"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 SC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function km(e,t,n){return t=Sr(t),TC(e,Mm()?Reflect.construct(t,n||[],Sr(e).constructor):t.apply(e,n))}function Fm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(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 xm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TC(e,t){return t&&(RC(t)==="object"||typeof t=="function")?t:SC(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function RC(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 BC=function(e){xm(t,e);function t(n){Fm(this,t);var o;return o=km(this,t,[n]),Er(o,"formKey",{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(U),Lm=function(e){xm(t,e);function t(n){Fm(this,t);var o;o=km(this,t,[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:ro.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ro.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return t}(bt);Er(Lm,"Rules",BC);function DC(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=Rr(t),xC(e,Cm()?Reflect.construct(t,n||[],Rr(e).constructor):t.apply(e,n))}function IC(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 kC(e,t,n){return t&&jm(e.prototype,t),n&&jm(e,n),e}function Tr(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 FC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xC(e,t){return t&&(MC(t)==="object"||typeof t=="function")?t:DC(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(e,t)}function MC(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 ro=function(e){FC(t,e);function t(n){IC(this,t);var o;return o=AC(this,t,[n]),Tr(o,"props",void 0),o.props=new Lm(n==null?void 0:n.props),o}return kC(t,null,[{key:"controlName",get:function(){return f("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),t}(_t);Tr(ro,"slots",["grid-table-toolbar-slot"]),Tr(ro,"controlEventKeys",["on_click","on_click_finish"]),Tr(ro,"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 LC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nm(e,t,n){return t=Br(t),jC(e,Hm()?Reflect.construct(t,n||[],Br(e).constructor):t.apply(e,n))}function Vm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(e)}function zm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jC(e,t){return t&&(CC(t)==="object"||typeof t=="function")?t:LC(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(e,t)}function CC(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 NC=function(e){zm(t,e);function t(n){Vm(this,t);var o;return o=Nm(this,t,[n]),Ke(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),qm=function(e){zm(t,e);function t(n){Vm(this,t);var o;o=Nm(this,t,[n]),Ke(o,"processKey",void 0),Ke(o,"initiatorMode",void 0),Ke(o,"fieldCode",void 0),Ke(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:io.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:io.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;return o.employeeId=(a=n==null?void 0:n.employeeId)!==null&&a!==void 0?a:"",o}return t}(bt);Ke(qm,"Rules",NC);function VC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zC(e,t,n){return t=Ar(t),WC(e,Wm()?Reflect.construct(t,n||[],Ar(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 Um(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 qC(e,t,n){return t&&Um(e.prototype,t),n&&Um(e,n),e}function Dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(e)}function UC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function WC(e,t){return t&&(KC(t)==="object"||typeof t=="function")?t:VC(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(e,t)}function KC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wm=function(){return!!e})()}var io=function(e){UC(t,e);function t(n){HC(this,t);var o;return o=zC(this,t,[n]),Dr(o,"props",void 0),o.props=new qm(n==null?void 0:n.props),o}return qC(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}(_t);Dr(io,"slots",["grid-table-toolbar-slot"]),Dr(io,"controlEventKeys",["on_click","on_click_finish"]),Dr(io,"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 GC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XC(e,t,n){return t=Ir(t),ZC(e,Km()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(e)}function JC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function ZC(e,t){return t&&(YC(t)==="object"||typeof t=="function")?t:GC(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function YC(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 t8=function(e){JC(t,e);function t(n){QC(this,t);var o;o=XC(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:uo.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:uo.controlIcon,o}return t}(bt);function e8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n8(e,t,n){return t=Fr(t),u8(e,Xm()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function o8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gm(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 r8(e,t,n){return t&&Gm(e.prototype,t),n&&Gm(e,n),e}function kr(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 i8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u8(e,t){return t&&(l8(t)==="object"||typeof t=="function")?t:e8(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(e,t)}function l8(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 uo=function(e){i8(t,e);function t(n){o8(this,t);var o;return o=n8(this,t,[n]),kr(o,"props",void 0),o.props=new t8(n==null?void 0:n.props),o}return r8(t,null,[{key:"controlName",get:function(){return f("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),t}(_t);kr(uo,"slots",["grid-table-toolbar-slot"]),kr(uo,"controlEventKeys",["on_click"]),kr(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 c8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a8(e,t,n){return t=xr(t),s8(e,Jm()?Reflect.construct(t,n||[],xr(e).constructor):t.apply(e,n))}function f8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qm(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 _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s8(e,t){return t&&(y8(t)==="object"||typeof t=="function")?t:c8(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(e,t)}function y8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jm=function(){return!!e})()}var p8=function(e){_8(t,e);function t(n){f8(this,t);var o,r;o=a8(this,t,[n]),Qm(o,"templateList",void 0),Qm(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:lo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:lo.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var c;return o.templateList=(c=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(a){return new br(a)}))!==null&&c!==void 0?c:[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}(bt);function d8(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=Lr(t),g8(e,Ym()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function h8(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 b8(e,t,n){return t&&Zm(e.prototype,t),n&&Zm(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 Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(e)}function m8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function g8(e,t){return t&&(O8(t)==="object"||typeof t=="function")?t:d8(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(e,t)}function O8(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 lo=function(e){m8(t,e);function t(n){h8(this,t);var o;return o=v8(this,t,[n]),Mr(o,"props",void 0),o.props=new p8(n==null?void 0:n.props),o}return b8(t,null,[{key:"controlName",get:function(){return f("CMD.exportListButton",null,"\u5BFC\u51FA")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),t}(_t);Mr(lo,"slots",["grid-table-toolbar-slot"]),Mr(lo,"controlEventKeys",["on_click","on_click_finish"]),Mr(lo,"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 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=jr(t),S8(e,tg()?Reflect.construct(t,n||[],jr(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 jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(e)}function E8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 S8(e,t){return t&&(T8(t)==="object"||typeof t=="function")?t:w8(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function T8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tg=function(){return!!e})()}var R8=function(e){E8(t,e);function t(n){P8(this,t);var o;o=$8(this,t,[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 t}(bt);function B8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D8(e,t,n){return t=Nr(t),F8(e,ng()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function A8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function I8(e,t,n){return t&&eg(e.prototype,t),n&&eg(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 Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(e)}function k8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function F8(e,t){return t&&(x8(t)==="object"||typeof t=="function")?t:B8(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function x8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ng(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ng=function(){return!!e})()}var co=function(e){k8(t,e);function t(n){A8(this,t);var o;return o=D8(this,t,[n]),Cr(o,"props",void 0),o.props=new R8(n==null?void 0:n.props),o}return I8(t,null,[{key:"controlName",get:function(){return f("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),t}(_t);Cr(co,"slots",["grid-table-toolbar-slot"]),Cr(co,"controlEventKeys",["on_click"]),Cr(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 M8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L8(e,t,n){return t=Vr(t),C8(e,rg()?Reflect.construct(t,n||[],Vr(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 K_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(e)}function 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&&G_(e,t)}function C8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:M8(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(e,t)}function N8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rg=function(){return!!e})()}var V8=function e(t){og(this,e),K_(this,"dataCode",void 0),this.dataCode=t.dataCode},z8=function(e){j8(t,e);function t(n){og(this,t);var o,r;o=L8(this,t,[n]),K_(o,"canImportList",void 0),K_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ao.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ao.controlIcon;var l;o.canImportList=(l=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(a){return new V8(a)}))!==null&&l!==void 0?l:[];var c;return o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system",o}return t}(bt);function H8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q8(e,t,n){return t=Hr(t),G8(e,ug()?Reflect.construct(t,n||[],Hr(e).constructor):t.apply(e,n))}function U8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ig(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 W8(e,t,n){return t&&ig(e.prototype,t),n&&ig(e,n),e}function zr(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 K8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function G8(e,t){return t&&(X8(t)==="object"||typeof t=="function")?t:H8(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(e,t)}function X8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ug(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ug=function(){return!!e})()}var ao=function(e){K8(t,e);function t(n){U8(this,t);var o;return o=q8(this,t,[n]),zr(o,"props",void 0),o.props=new z8(n==null?void 0:n.props),o}return W8(t,null,[{key:"controlName",get:function(){return f("CMD.importRecordListButton",null,"\u5BFC\u5165")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),t}(_t);zr(ao,"slots",["grid-table-toolbar-slot"]),zr(ao,"controlEventKeys",["on_click","on_click_finish"]),zr(ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function qr(){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 Q8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lg(e,t,n){return t=Ur(t),J8(e,_g()?Reflect.construct(t,n||[],Ur(e).constructor):t.apply(e,n))}function cg(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 Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(e)}function ag(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function fg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Yt(e,r,n[r])})}return e}function J8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:Q8(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Q_(e,t)}function Z8(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 Y8=function(e){ag(t,e);function t(n){cg(this,t);var o;return o=lg(this,t,[n]),Yt(o,"fillPayload",{type:"object",fields:fg({},qr())}),Yt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),Yt(o,"fillBack",{type:"object",fields:fg({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},qr())}),(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),sg=function(e){ag(t,e);function t(n){cg(this,t);var o;o=lg(this,t,[n]),Yt(o,"fillPayload",void 0),Yt(o,"formBind",void 0),Yt(o,"fillBack",void 0),Yt(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r: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 yb(n==null?void 0:n.fillPayload),o.formBind=new zx(n==null?void 0:n.formBind),o.fillBack=new pb(n==null?void 0:n.fillBack),o}return t}(bt);Yt(sg,"Rules",Y8);function t9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e9(e,t,n){return t=Wr(t),i9(e,pg()?Reflect.construct(t,n||[],Wr(e).constructor):t.apply(e,n))}function n9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 o9(e,t,n){return t&&yg(e.prototype,t),n&&yg(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 Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(e)}function r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:t9(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function u9(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 Kr=function(e){r9(t,e);function t(n){n9(this,t);var o;return o=e9(this,t,[n]),J_(o,"props",void 0),o.props=new sg(n==null?void 0:n.props),o}return o9(t,null,[{key:"controlName",get:function(){return f("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),t}(_t);J_(Kr,"controlEventKeys",["on_click","on_click_finish"]),J_(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 l9(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=Gr(t),c9(e,mg()?Reflect.construct(t,n||[],Gr(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 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 Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gr(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 bg(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){Et(e,r,n[r])})}return e}function c9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:l9(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Y_(e,t)}function a9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mg=function(){return!!e})()}var f9=function(e){hg(t,e);function t(n){vg(this,t);var o;return o=dg(this,t,[n]),Et(o,"fillPayload",{type:"object",fields:bg({},qr())}),Et(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")}}}),Et(o,"fillBack",{type:"object",fields:bg({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},qr())}),o}return t}(U),gg=function(e){hg(t,e);function t(n){vg(this,t);var o;o=dg(this,t,[n]),Et(o,"fillPayload",void 0),Et(o,"listPageBind",void 0),Et(o,"disableFilling",void 0),Et(o,"fillBack",void 0),Et(o,"showSelectedDetail",void 0),Et(o,"isSelectedRowFill",void 0),Et(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 yb(n==null?void 0:n.fillPayload),o.listPageBind=new Pf(n==null?void 0:n.listPageBind),o.fillBack=new pb(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 Rf(n==null?void 0:n.selectedContentConfig);var l;o.isSelectedRowFill=(l=n==null?void 0:n.isSelectedRowFill)!==null&&l!==void 0?l:!1;var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return t}(bt);Et(gg,"Rules",f9);function _9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s9(e,t,n){return t=Xr(t),v9(e,wg()?Reflect.construct(t,n||[],Xr(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 Og(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p9(e,t,n){return t&&Og(e.prototype,t),n&&Og(e,n),e}function ts(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 d9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function v9(e,t){return t&&(h9(t)==="object"||typeof t=="function")?t:_9(e)}function es(e,t){return es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},es(e,t)}function h9(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 Qr=function(e){d9(t,e);function t(n){y9(this,t);var o;return o=s9(this,t,[n]),ts(o,"props",void 0),o.props=new gg(n==null?void 0:n.props),o}return p9(t,null,[{key:"controlName",get:function(){return f("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),t}(_t);ts(Qr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),ts(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 b9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ns(e,t,n){return t=Jr(t),m9(e,Pg()?Reflect.construct(t,n||[],Jr(e).constructor):t.apply(e,n))}function os(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jr(e)}function rs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:b9(e)}function is(e,t){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(e,t)}function g9(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 O9=function(e){rs(t,e);function t(n){return os(this,t),ns(this,t,[n])}return t}(U),w9=function(e){rs(t,e);function t(n){return os(this,t),ns(this,t,[n])}return t}($e),us=function(e){rs(t,e);function t(n){return os(this,t),ns(this,t,[n])}return t}(W);$g(us,"Rules",O9),$g(us,"RuntimeRules",w9);function $9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P9(e,t,n){return t=Zr(t),R9(e,Tg()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function E9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S9(e,t,n){return t&&Eg(e.prototype,t),n&&Eg(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 Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(e)}function T9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:$9(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(e,t)}function B9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tg=function(){return!!e})()}var D9=function(e){T9(t,e);function t(n){E9(this,t);var o;return o=P9(this,t,[n]),Sg(o,"props",void 0),o.props=new us(n==null?void 0:n.props),o}return S9(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(D9,"setting",[]);function A9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rg(e,t,n){return t=Yr(t),I9(e,Ag()?Reflect.construct(t,n||[],Yr(e).constructor):t.apply(e,n))}function Bg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(e)}function Dg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 I9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:A9(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cs(e,t)}function k9(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 F9=function(e){Dg(t,e);function t(n){Bg(this,t);var o;return o=Rg(this,t,[n]),St(o,"dashboardKey",{type:"string",required:!0,message:f("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")}),St(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),St(o,"isHideCaption",{type:"boolean"}),St(o,"labelPosition",{type:"enum",enum:["top","left"]}),St(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),Ig=function(e){Dg(t,e);function t(n){Bg(this,t);var o;o=Rg(this,t,[n]),St(o,"dashboardKey",void 0),St(o,"caption",void 0),St(o,"isHideCaption",void 0),St(o,"isShowCaptionTip",void 0),St(o,"captionTip",void 0),St(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top",o}return t}(W);St(Ig,"Rules",F9);function x9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M9(e,t,n){return t=ti(t),N9(e,xg()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function L9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kg(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 j9(e,t,n){return t&&kg(e.prototype,t),n&&kg(e,n),e}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 ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(e)}function C9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function N9(e,t){return t&&(V9(t)==="object"||typeof t=="function")?t:x9(e)}function as(e,t){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(e,t)}function V9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xg=function(){return!!e})()}var z9=function(e){C9(t,e);function t(n){L9(this,t);var o;return o=M9(this,t,[n]),Fg(o,"props",void 0),o.props=new Ig(n==null?void 0:n.props),o}return j9(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);Fg(z9,"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 H9(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=ei(t),q9(e,Cg()?Reflect.construct(t,n||[],ei(e).constructor):t.apply(e,n))}function Lg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fo(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 jg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:H9(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(e,t)}function U9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cg=function(){return!!e})()}var W9=function(e){jg(t,e);function t(n){Lg(this,t);var o;return o=Mg(this,t,[n]),fo(o,"showType",{type:"enum",enum:["select","tabs"]}),fo(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),Ng=function(e){jg(t,e);function t(n){Lg(this,t);var o,r;o=Mg(this,t,[n]),fo(o,"showType",void 0),fo(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 rM(l)}))!==null&&u!==void 0?u:[],o}return t}(W);fo(Ng,"Rules",W9);function K9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G9(e,t,n){return t=ni(t),Z9(e,Hg()?Reflect.construct(t,n||[],ni(e).constructor):t.apply(e,n))}function X9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(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 Q9(e,t,n){return t&&Vg(e.prototype,t),n&&Vg(e,n),e}function zg(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 J9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Z9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:K9(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(e,t)}function Y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hg=function(){return!!e})()}var t4=function(e){J9(t,e);function t(n){X9(this,t);var o;return o=G9(this,t,[n]),zg(o,"props",void 0),o.props=new Ng(n==null?void 0:n.props),o}return Q9(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);zg(t4,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function e4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qg(e,t,n){return t=oi(t),n4(e,Kg()?Reflect.construct(t,n||[],oi(e).constructor):t.apply(e,n))}function Ug(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 oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(e)}function Wg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 n4(e,t){return t&&(o4(t)==="object"||typeof t=="function")?t:e4(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(e,t)}function o4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kg=function(){return!!e})()}var r4=function(e){Wg(t,e);function t(n){Ug(this,t);var o;return o=qg(this,t,[n]),pt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),pt(o,"isHideCaption",{type:"boolean"}),pt(o,"labelPosition",{type:"enum",enum:["top","left"]}),pt(o,"ocrType",{type:"string",required:!0,message:f("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")}),pt(o,"fillList",{type:"array",validator:function(i,u,l){var c=u.every(function(a){return!a.controlId});if(c){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),pt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),Gg=function(e){Wg(t,e);function t(n){Ug(this,t);var o,r;o=qg(this,t,[n]),pt(o,"caption",void 0),pt(o,"isHideCaption",void 0),pt(o,"isShowCaptionTip",void 0),pt(o,"captionTip",void 0),pt(o,"labelPosition",void 0),pt(o,"ocrType",void 0),pt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_o.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:_o.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:_o.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 yt(O)}))!==null&&b!==void 0?b:[],o}return t}(bt);pt(Gg,"Rules",r4);function i4(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=ri(t),f4(e,Qg()?Reflect.construct(t,n||[],ri(e).constructor):t.apply(e,n))}function l4(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 c4(e,t,n){return t&&Xg(e.prototype,t),n&&Xg(e,n),e}function ys(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(e)}function a4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f4(e,t){return t&&(_4(t)==="object"||typeof t=="function")?t:i4(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(e,t)}function _4(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 _o=function(e){a4(t,e);function t(n){l4(this,t);var o;return o=u4(this,t,[n]),ys(o,"props",void 0),o.props=new Gg(n==null?void 0:n.props),o}return c4(t,null,[{key:"controlName",get:function(){return f("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),t}(_t);ys(_o,"controlEventKeys",["on_click","on_click_finish"]),ys(_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 s4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jg(e,t,n){return t=ii(t),y4(e,tO()?Reflect.construct(t,n||[],ii(e).constructor):t.apply(e,n))}function Zg(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 ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(e)}function Yg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}function y4(e,t){return t&&(p4(t)==="object"||typeof t=="function")?t:s4(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(e,t)}function p4(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 d4=function(e){Yg(t,e);function t(n){Zg(this,t);var o;return o=Jg(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"invoiceCheck",{type:"boolean"}),dt(o,"fillList",{type:"array",validator:function(i,u,l){var c=u.every(function(a){return!a.controlId});if(c){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),dt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),eO=function(e){Yg(t,e);function t(n){Zg(this,t);var o,r;o=Jg(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"invoiceCheck",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:so.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:so.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:so.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 yt(O)}))!==null&&b!==void 0?b:[],o}return t}(bt);dt(eO,"Rules",d4);function v4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h4(e,t,n){return t=ui(t),O4(e,oO()?Reflect.construct(t,n||[],ui(e).constructor):t.apply(e,n))}function b4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nO(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 m4(e,t,n){return t&&nO(e.prototype,t),n&&nO(e,n),e}function vs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(e)}function 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&&hs(e,t)}function O4(e,t){return t&&(w4(t)==="object"||typeof t=="function")?t:v4(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(e,t)}function w4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oO=function(){return!!e})()}var so=function(e){g4(t,e);function t(n){b4(this,t);var o;return o=h4(this,t,[n]),vs(o,"props",void 0),o.props=new eO(n==null?void 0:n.props),o}return m4(t,null,[{key:"controlName",get:function(){return f("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),t}(_t);vs(so,"controlEventKeys",["on_click","on_click_finish"]),vs(so,"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 $4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rO(e,t,n){return t=ci(t),P4(e,lO()?Reflect.construct(t,n||[],ci(e).constructor):t.apply(e,n))}function iO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 uO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 P4(e,t){return t&&(E4(t)==="object"||typeof t=="function")?t:$4(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(e,t)}function E4(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 S4=function(e){uO(t,e);function t(){iO(this,t);var n;return n=rO(this,t,arguments),li(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),cO=function(e){uO(t,e);function t(n){iO(this,t);var o,r;o=rO(this,t,[n]),li(o,"printTemplates",void 0),li(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:yo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:yo.controlName;var l;o.printTemplates=(l=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(a){return new Yj(a)}))!==null&&l!==void 0?l:[];var c;return o.autoSelectTemplate=(c=n==null?void 0:n.autoSelectTemplate)!==null&&c!==void 0?c:!1,o}return t}(bt);li(cO,"Rules",S4);function T4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R4(e,t,n){return t=fi(t),I4(e,fO()?Reflect.construct(t,n||[],fi(e).constructor):t.apply(e,n))}function B4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D4(e,t,n){return t&&aO(e.prototype,t),n&&aO(e,n),e}function ai(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(e)}function A4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function I4(e,t){return t&&(k4(t)==="object"||typeof t=="function")?t:T4(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ms(e,t)}function k4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fO=function(){return!!e})()}var yo=function(e){A4(t,e);function t(n){B4(this,t);var o;return o=R4(this,t,[n]),ai(o,"props",void 0),o.props=new cO(n==null?void 0:n.props),o}return D4(t,null,[{key:"controlName",get:function(){return f("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),t}(_t);ai(yo,"slots",["grid-table-toolbar-slot"]),ai(yo,"controlEventKeys",["on_click","on_click_finish"]),ai(yo,"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 F4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x4(e,t,n){return t=_i(t),j4(e,_O()?Reflect.construct(t,n||[],_i(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 _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(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&&gs(e,t)}function j4(e,t){return t&&(C4(t)==="object"||typeof t=="function")?t:F4(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(e,t)}function C4(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 N4=function(e){L4(t,e);function t(n){M4(this,t);var o;o=x4(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:po.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:po.controlIcon,o}return t}(bt);function V4(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=yi(t),W4(e,yO()?Reflect.construct(t,n||[],yi(e).constructor):t.apply(e,n))}function H4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sO(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 q4(e,t,n){return t&&sO(e.prototype,t),n&&sO(e,n),e}function si(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 U4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}function W4(e,t){return t&&(K4(t)==="object"||typeof t=="function")?t:V4(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Os(e,t)}function K4(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 po=function(e){U4(t,e);function t(n){H4(this,t);var o;return o=z4(this,t,[n]),si(o,"props",void 0),o.props=new N4(n==null?void 0:n.props),o}return q4(t,null,[{key:"controlName",get:function(){return f("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),t}(_t);si(po,"slots",["grid-table-toolbar-slot"]),si(po,"controlEventKeys",["on_click"]),si(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:"super-setting",visible:!0}]);function G4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pO(e,t,n){return t=pi(t),X4(e,hO()?Reflect.construct(t,n||[],pi(e).constructor):t.apply(e,n))}function dO(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 pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(e)}function vO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:G4(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(e,t)}function Q4(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 J4=function(e){vO(t,e);function t(n){dO(this,t);var o;return o=pO(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),di=function(e){vO(t,e);function t(n){dO(this,t);var o;o=pO(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 c;return o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1,o}return t}(W);st(di,"Rules",J4);function Z4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t,n){return t=vi(t),oN(e,mO()?Reflect.construct(t,n||[],vi(e).constructor):t.apply(e,n))}function tN(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 eN(e,t,n){return t&&bO(e.prototype,t),n&&bO(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 vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(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&&Ps(e,t)}function oN(e,t){return t&&(rN(t)==="object"||typeof t=="function")?t:Z4(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(e,t)}function rN(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 hi=function(e){nN(t,e);function t(n){tN(this,t);var o;return o=Y4(this,t,[n]),$s(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return eN(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);$s(hi,"controlEventKeys",["on_click"]),$s(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 iN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uN(e,t,n){return t=bi(t),_N(e,OO()?Reflect.construct(t,n||[],bi(e).constructor):t.apply(e,n))}function lN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cN(e,t,n){return t&&gO(e.prototype,t),n&&gO(e,n),e}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 bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(e)}function fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function _N(e,t){return t&&(sN(t)==="object"||typeof t=="function")?t:iN(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function sN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OO=function(){return!!e})()}var yN=function(e){fN(t,e);function t(n){lN(this,t);var o;return o=uN(this,t,[n]),aN(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return cN(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Vt),Ss={Designer:hi,Runtime:yN,Property:di};function pN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dN(e,t,n){return t=mi(t),bN(e,wO()?Reflect.construct(t,n||[],mi(e).constructor):t.apply(e,n))}function vN(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 mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(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&&Ts(e,t)}function bN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:pN(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ts(e,t)}function mN(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 gN=function(e){hN(t,e);function t(n){vN(this,t);var o;o=dN(this,t,[n]),ve(o,"content",void 0),ve(o,"buttonType",void 0),ve(o,"showType",void 0),ve(o,"color",void 0),ve(o,"icon",void 0),ve(o,"defaultState",void 0),ve(o,"command",void 0),ve(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:vo.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:vo.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"danger";var a;o.isHide=(a=n==null?void 0:n.isHide)!==null&&a!==void 0?a:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return t}(W);function ON(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wN(e,t,n){return t=Oi(t),SN(e,PO()?Reflect.construct(t,n||[],Oi(e).constructor):t.apply(e,n))}function $N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 PN(e,t,n){return t&&$O(e.prototype,t),n&&$O(e,n),e}function gi(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 EN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function SN(e,t){return t&&(TN(t)==="object"||typeof t=="function")?t:ON(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rs(e,t)}function TN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PO=function(){return!!e})()}var vo=function(e){EN(t,e);function t(n){$N(this,t);var o;return o=wN(this,t,[n]),gi(o,"props",void 0),o.props=new gN(n==null?void 0:n.props),o}return PN(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);gi(vo,"slots",["grid-table-toolbar-slot"]),gi(vo,"controlEventKeys",["on_click"]),gi(vo,"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 RN(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=wi(t),BN(e,RO()?Reflect.construct(t,n||[],wi(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 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 wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(e)}function TO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function BN(e,t){return t&&(DN(t)==="object"||typeof t=="function")?t:RN(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(e,t)}function DN(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 AN=function(e){TO(t,e);function t(n){SO(this,t);var o;return o=EO(this,t,[n]),Ee(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),$i=function(e){TO(t,e);function t(n){SO(this,t);var o;o=EO(this,t,[n]),Ee(o,"isShowSimpleSearch",void 0),Ee(o,"isShowToolbar",void 0),Ee(o,"actionSetting",void 0),Ee(o,"listHeightSetting",void 0),Ee(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ei.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 c;o.actionSetting=(c=new bm(n==null?void 0:n.actionSetting))!==null&&c!==void 0?c:new bm;var a;return o.listHeightSetting=(a=new mm(n==null?void 0:n.listHeightSetting))!==null&&a!==void 0?a:new mm,o}return t}(W);Ee($i,"Rules",AN);function IN(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=Pi(t),LN(e,DO()?Reflect.construct(t,n||[],Pi(e).constructor):t.apply(e,n))}function FN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xN(e,t,n){return t&&BO(e.prototype,t),n&&BO(e,n),e}function Ds(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pi(e)}function MN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function LN(e,t){return t&&(jN(t)==="object"||typeof t=="function")?t:IN(e)}function As(e,t){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(e,t)}function jN(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 Ei=function(e){MN(t,e);function t(n){FN(this,t);var o;return o=kN(this,t,[n]),Ds(o,"props",void 0),o.props=new $i(n==null?void 0:n.props),o}return xN(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);Ds(Ei,"controlEventKeys",["on_list_rowclick"]),Ds(Ei,"setting",[{key:"caption",showItems:[s.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 CN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NN(e,t,n){return t=Si(t),UN(e,IO()?Reflect.construct(t,n||[],Si(e).constructor):t.apply(e,n))}function VN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zN(e,t,n){return t&&AO(e.prototype,t),n&&AO(e,n),e}function HN(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 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&&Is(e,t)}function UN(e,t){return t&&(WN(t)==="object"||typeof t=="function")?t:CN(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(e,t)}function WN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IO=function(){return!!e})()}var KN=function(e){qN(t,e);function t(n){VN(this,t);var o;return o=NN(this,t,[n]),HN(o,"props",void 0),o.props=new $i(n==null?void 0:n.props),o}return zN(t,null,[{key:"controlType",get:function(){return"reference-list"}}]),t}(Vt),GN={Designer:Ei,Runtime:KN,Property:$i};function XN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ks(e,t,n){return t=Ti(t),QN(e,kO()?Reflect.construct(t,n||[],Ti(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 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 Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(e)}function xs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function QN(e,t){return t&&(JN(t)==="object"||typeof t=="function")?t:XN(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function JN(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 ZN=function(e){xs(t,e);function t(n){Fs(this,t);var o;return o=ks(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}(Z),YN=function(e){xs(t,e);function t(n){Fs(this,t);var o;return o=ks(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}(C),ho=function(e){xs(t,e);function t(n){Fs(this,t);var o;o=ks(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 Bf(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:bo.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var a;o.encrypted=(a=n==null?void 0:n.encrypted)!==null&&a!==void 0?a:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return t}(k);kt(ho,"Rules",ZN),kt(ho,"RuntimeRules",YN);function tV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eV(e,t,n){return t=Bi(t),iV(e,xO()?Reflect.construct(t,n||[],Bi(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 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 oV(e,t,n){return t&&FO(e.prototype,t),n&&FO(e,n),e}function Ri(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 rV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ls(e,t)}function iV(e,t){return t&&(uV(t)==="object"||typeof t=="function")?t:tV(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(e,t)}function uV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xO=function(){return!!e})()}var bo=function(e){rV(t,e);function t(n){nV(this,t);var o;return o=eV(this,t,[n]),Ri(o,"props",void 0),o.props=new ho(n==null?void 0:n.props),o}return oV(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);Ri(bo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ri(bo,"controlFieldType",g.VARCHAR),Ri(bo,"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 lV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cV(e,t,n){return t=Di(t),sV(e,jO()?Reflect.construct(t,n||[],Di(e).constructor):t.apply(e,n))}function aV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MO(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&&MO(e.prototype,t),n&&MO(e,n),e}function LO(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 _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&&js(e,t)}function sV(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:lV(e)}function js(e,t){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(e,t)}function yV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jO=function(){return!!e})()}var pV=function(e){_V(t,e);function t(n){aV(this,t);var o;return o=cV(this,t,[n]),LO(o,"props",void 0),o.props=new ho(n==null?void 0:n.props),o}return fV(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(x);LO(pV,"controlFieldType",g.VARCHAR);function dV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cs(e,t,n){return t=Ai(t),vV(e,CO()?Reflect.construct(t,n||[],Ai(e).constructor):t.apply(e,n))}function Ns(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(e)}function Vs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zs(e,t)}function vV(e,t){return t&&(hV(t)==="object"||typeof t=="function")?t:dV(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zs(e,t)}function hV(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 bV=function(e){Vs(t,e);function t(n){Ns(this,t);var o;o=Cs(this,t,[n]),rt(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}(Ve),mV=function(e){Vs(t,e);function t(n){Ns(this,t);var o;return o=Cs(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}(C),Ii=function(e){Vs(t,e);function t(n){Ns(this,t);var o;o=Cs(this,t,[n]),rt(o,"checkboxMode",void 0),rt(o,"options",void 0),rt(o,"optionsOrder",void 0),rt(o,"limitMax",void 0),rt(o,"limitMin",void 0),rt(o,"otherOption",void 0),rt(o,"optionConfig",void 0),rt(o,"optionsFormat",void 0),rt(o,"defaultShowOptions",void 0),rt(o,"datasourceBind",void 0),rt(o,"multistageFilling",void 0),rt(o,"interreaction",void 0),rt(o,"defaultValue",void 0),rt(o,"openMultistageFilling",void 0);var r;o.options=Gt((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 c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.limitMin=(a=n==null?void 0:n.limitMin)!==null&&a!==void 0?a:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:xi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new yt(h))})),o}return t}(k);rt(Ii,"Rules",bV),rt(Ii,"RuntimeRules",mV);function gV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OV(e,t,n){return t=Fi(t),EV(e,VO()?Reflect.construct(t,n||[],Fi(e).constructor):t.apply(e,n))}function wV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NO(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 $V(e,t,n){return t&&NO(e.prototype,t),n&&NO(e,n),e}function ki(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(e)}function PV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hs(e,t)}function EV(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:gV(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hs(e,t)}function SV(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 xi=function(e){PV(t,e);function t(n){wV(this,t);var o;return o=OV(this,t,[n]),ki(o,"props",void 0),o.props=new Ii(n==null?void 0:n.props),o}return $V(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);ki(xi,"controlEventKeys",["on_change","on_click"]),ki(xi,"controlFieldType",g.ARRAY),ki(xi,"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 TV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RV(e,t,n){return t=Mi(t),IV(e,qO()?Reflect.construct(t,n||[],Mi(e).constructor):t.apply(e,n))}function BV(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 DV(e,t,n){return t&&zO(e.prototype,t),n&&zO(e,n),e}function HO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(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&&qs(e,t)}function IV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:TV(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qs(e,t)}function kV(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 FV=function(e){AV(t,e);function t(n){BV(this,t);var o;return o=RV(this,t,[n]),HO(o,"props",void 0),o.props=new Ii(n==null?void 0:n.props),o}return DV(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(x);HO(FV,"controlFieldType",g.ARRAY);function xV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UO(e,t,n){return t=Li(t),MV(e,GO()?Reflect.construct(t,n||[],Li(e).constructor):t.apply(e,n))}function WO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(e)}function KO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:xV(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function LV(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 jV=function(e){KO(t,e);function t(n){return WO(this,t),UO(this,t,[n])}return t}(Ve),Ws=function(e){KO(t,e);function t(n){WO(this,t);var o;o=UO(this,t,[n]),gt(o,"radioMode",void 0),gt(o,"options",void 0),gt(o,"optionConfig",void 0),gt(o,"optionsFormat",void 0),gt(o,"defaultShowOptions",void 0),gt(o,"otherOption",void 0),gt(o,"optionsOrder",void 0),gt(o,"datasourceBind",void 0),gt(o,"multistageFilling",void 0),gt(o,"interreaction",void 0),gt(o,"defaultValue",void 0),gt(o,"openMultistageFilling",void 0);var r;o.options=Gt((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 c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.defaultShowOptions=(a=n==null?void 0:n.defaultShowOptions)!==null&&a!==void 0?a:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Ni.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new yt(m))})),o}return t}(k);gt(Ws,"Rules",jV);function CV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NV(e,t,n){return t=Ci(t),qV(e,QO()?Reflect.construct(t,n||[],Ci(e).constructor):t.apply(e,n))}function VV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zV(e,t,n){return t&&XO(e.prototype,t),n&&XO(e,n),e}function ji(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(e)}function HV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qV(e,t){return t&&(UV(t)==="object"||typeof t=="function")?t:CV(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(e,t)}function UV(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 Ni=function(e){HV(t,e);function t(n){VV(this,t);var o;return o=NV(this,t,[n]),ji(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return zV(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);ji(Ni,"controlEventKeys",["on_change","on_click"]),ji(Ni,"controlFieldType",g.VARCHAR),ji(Ni,"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 WV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KV(e,t,n){return t=Vi(t),JV(e,YO()?Reflect.construct(t,n||[],Vi(e).constructor):t.apply(e,n))}function GV(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 XV(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 Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vi(e)}function QV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function JV(e,t){return t&&(ZV(t)==="object"||typeof t=="function")?t:WV(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function ZV(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 YV=function(e){QV(t,e);function t(n){GV(this,t);var o;return o=KV(this,t,[n]),ZO(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return XV(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(x);ZO(YV,"controlFieldType",g.VARCHAR);function tz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xs(e,t,n){return t=zi(t),ez(e,tw()?Reflect.construct(t,n||[],zi(e).constructor):t.apply(e,n))}function Qs(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 zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(e)}function Js(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function ez(e,t){return t&&(nz(t)==="object"||typeof t=="function")?t:tz(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(e,t)}function nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tw=function(){return!!e})()}var oz=function(e){Js(t,e);function t(n){Qs(this,t);var o;o=Xs(this,t,[n]),at(o,"defaultValue",[{type:"number",min:0,max:200,message:f("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}]),at(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=f("CMD.pleaseEnterNumberRange",{max:r,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:f("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),o.defaultValue[1].pattern=mr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(Z),rz=function(e){Js(t,e);function t(n){Qs(this,t);var o;o=Xs(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:f(r===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:r,min:i},r===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:mr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(C),Hi=function(e){Js(t,e);function t(n){Qs(this,t);var o;o=Xs(this,t,[n]),at(o,"rangeMin",void 0),at(o,"rangeMax",void 0),at(o,"numberType",void 0),at(o,"percentageFormat",void 0),at(o,"micrometer",void 0),at(o,"precision",void 0),at(o,"showUpperCase",void 0),at(o,"isShowUnit",void 0),at(o,"unitPosition",void 0),at(o,"unit",void 0),at(o,"defaultValue",void 0),at(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Wi.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Bf(n==null?void 0:n.regularRules),o}return t}(k);at(Hi,"Rules",oz),at(Hi,"RuntimeRules",rz);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=Ge(t),fz(e,nw()?Reflect.construct(t,n||[],Ge(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 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 cz(e,t,n){return t&&ew(e.prototype,t),n&&ew(e,n),e}function qi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ui(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ui=Reflect.get:Ui=function(r,i,u){var l=_z(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ui(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(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&&Ys(e,t)}function fz(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:iz(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ys(e,t)}function _z(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function sz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nw=function(){return!!e})()}var Wi=function(e){az(t,e);function t(n){lz(this,t);var o;return o=uz(this,t,[n]),qi(o,"props",void 0),o.props=new Hi(n==null?void 0:n.props),o}return cz(t,[{key:"toDataBindModel",value:function(o){var r=Ui(Ge(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);qi(Wi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),qi(Wi,"controlFieldType",g.DECIMAL),qi(Wi,"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 yz(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),bz(e,iw()?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 ow(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vz(e,t,n){return t&&ow(e.prototype,t),n&&ow(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 Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(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&&ty(e,t)}function bz(e,t){return t&&(mz(t)==="object"||typeof t=="function")?t:yz(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function mz(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 gz=function(e){hz(t,e);function t(n){dz(this,t);var o;return o=pz(this,t,[n]),rw(o,"props",void 0),o.props=new Hi(n==null?void 0:n.props),o}return vz(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(x);rw(gz,"controlFieldType",g.DECIMAL);function Oz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wz(e,t,n){return t=Gi(t),Ez(e,uw()?Reflect.construct(t,n||[],Gi(e).constructor):t.apply(e,n))}function $z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(e)}function Pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ez(e,t){return t&&(Sz(t)==="object"||typeof t=="function")?t:Oz(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(e,t)}function Sz(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 lw=function(e){Pz(t,e);function t(n){$z(this,t);var o,r;o=wz(this,t,[n]),he(o,"dateType",void 0),he(o,"dateFormat",void 0),he(o,"commonTimeSetting",void 0),he(o,"setValueType",void 0),he(o,"defaultValue",void 0),he(o,"limitDateList",void 0),he(o,"allowDateRange",void 0),he(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:ie.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ry.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 S_(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 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=Xe(t),Iz(e,aw()?Reflect.construct(t,n||[],Xe(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 cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Dz(e,t,n){return t&&cw(e.prototype,t),n&&cw(e,n),e}function ny(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Xi=Reflect.get:Xi=function(r,i,u){var l=kz(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Xi(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(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&&oy(e,t)}function Iz(e,t){return t&&(Fz(t)==="object"||typeof t=="function")?t:Tz(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(e,t)}function kz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function Fz(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 ry=function(e){Az(t,e);function t(n){Bz(this,t);var o;return o=Rz(this,t,[n]),ny(o,"props",void 0),o.props=new lw(n==null?void 0:n.props),o}return Dz(t,[{key:"toDataBindModel",value:function(o){var r=Xi(Xe(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);ny(ry,"controlFieldType",g.TIMESTAMP),ny(ry,"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 xz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mz(e,t,n){return t=Qi(t),Nz(e,sw()?Reflect.construct(t,n||[],Qi(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 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 jz(e,t,n){return t&&fw(e.prototype,t),n&&fw(e,n),e}function _w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(e)}function Cz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function Nz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:xz(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(e,t)}function Vz(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 zz=function(e){Cz(t,e);function t(n){Lz(this,t);var o;return o=Mz(this,t,[n]),_w(o,"props",void 0),o.props=new lw(n==null?void 0:n.props),o}return jz(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(x);_w(zz,"controlFieldType",g.TIMESTAMP);function Hz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yw(e,t,n){return t=Ji(t),qz(e,vw()?Reflect.construct(t,n||[],Ji(e).constructor):t.apply(e,n))}function pw(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 Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(e)}function dw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function qz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:Hz(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(e,t)}function Uz(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 Wz=function(e){dw(t,e);function t(n){pw(this,t);var o;return o=yw(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}(C),ly=function(e){dw(t,e);function t(n){pw(this,t);var o,r;o=yw(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 Yx(n==null?void 0:n.dataBind),o.defaultValue=new tM(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:ie.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var a;o.rangeMin=(a=n==null?void 0:n.rangeMin)!==null&&a!==void 0?a:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:f("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F");var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:f("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F");var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:fy.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new S_(m)}))!==null&&O!==void 0?O:[],o}return t}(k);Tt(ly,"RuntimeRules",Wz);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=Qe(t),Zz(e,bw()?Reflect.construct(t,n||[],Qe(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 hw(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&&hw(e.prototype,t),n&&hw(e,n),e}function cy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Zi=Reflect.get:Zi=function(r,i,u){var l=Yz(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Zi(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(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&&ay(e,t)}function Zz(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:Kz(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(e,t)}function Yz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function tH(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 fy=function(e){Jz(t,e);function t(n){Xz(this,t);var o;return o=Gz(this,t,[n]),cy(o,"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return Qz(t,[{key:"toDataBindModel",value:function(o){var r=Zi(Qe(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);cy(fy,"controlFieldType",g.TIMESCOPE),cy(fy,"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 eH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nH(e,t,n){return t=Yi(t),uH(e,Ow()?Reflect.construct(t,n||[],Yi(e).constructor):t.apply(e,n))}function oH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mw(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 rH(e,t,n){return t&&mw(e.prototype,t),n&&mw(e,n),e}function gw(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 iH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uH(e,t){return t&&(lH(t)==="object"||typeof t=="function")?t:eH(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(e,t)}function lH(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 cH=function(e){iH(t,e);function t(n){oH(this,t);var o;return o=nH(this,t,[n]),gw(o,"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return rH(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(x);gw(cH,"controlFieldType",g.TIMESCOPE);function aH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sy(e,t,n){return t=tu(t),fH(e,ww()?Reflect.construct(t,n||[],tu(e).constructor):t.apply(e,n))}function yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(e)}function py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:aH(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dy(e,t)}function _H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ww=function(){return!!e})()}var sH=function(e){py(t,e);function t(n){yy(this,t);var o;return o=sy(this,t,[n]),te(o,"maxLength",{type:"number",min:0,message:f("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")}),te(o,"minLength",{type:"number",max:1e6,message:f("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")}),te(o,"defaultValue",{type:"string",max:200,min:0,message:f("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=f("CMD.stringRangeError",{max:n.maxLength,min:n.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),o}return t}(Z),yH=function(e){py(t,e);function t(n){yy(this,t);var o;return o=sy(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}(C),eu=function(e){py(t,e);function t(n){yy(this,t);var o;o=sy(this,t,[n]),te(o,"maxLength",void 0),te(o,"minLength",void 0),te(o,"defaultValue",void 0),te(o,"rowHeightSetting",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ru.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o.rowHeightSetting=new lb(n==null?void 0:n.rowHeightSetting),o}return t}(k);te(eu,"Rules",sH),te(eu,"RuntimeRules",yH);function pH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dH(e,t,n){return t=ou(t),mH(e,Pw()?Reflect.construct(t,n||[],ou(e).constructor):t.apply(e,n))}function vH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function hH(e,t,n){return t&&$w(e.prototype,t),n&&$w(e,n),e}function nu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(e)}function bH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mH(e,t){return t&&(gH(t)==="object"||typeof t=="function")?t:pH(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function gH(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 ru=function(e){bH(t,e);function t(n){vH(this,t);var o;return o=dH(this,t,[n]),nu(o,"props",void 0),o.props=new eu(n==null?void 0:n.props),o}return hH(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);nu(ru,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),nu(ru,"controlFieldType",g.TEXT),nu(ru,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[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 OH(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=iu(t),SH(e,Tw()?Reflect.construct(t,n||[],iu(e).constructor):t.apply(e,n))}function $H(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 PH(e,t,n){return t&&Ew(e.prototype,t),n&&Ew(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 iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(e)}function EH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function SH(e,t){return t&&(TH(t)==="object"||typeof t=="function")?t:OH(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(e,t)}function TH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tw=function(){return!!e})()}var RH=function(e){EH(t,e);function t(n){$H(this,t);var o;return o=wH(this,t,[n]),Sw(o,"props",void 0),o.props=new eu(n==null?void 0:n.props),o}return PH(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(x);Sw(RH,"controlFieldType",g.TEXT);function BH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function by(e,t,n){return t=uu(t),DH(e,Rw()?Reflect.construct(t,n||[],uu(e).constructor):t.apply(e,n))}function my(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(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&&Oy(e,t)}function DH(e,t){return t&&(AH(t)==="object"||typeof t=="function")?t:BH(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oy(e,t)}function AH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rw=function(){return!!e})()}var IH=function(e){gy(t,e);function t(n){my(this,t);var o;return o=by(this,t,[n]),be(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")}),be(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")}),be(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}(Z),kH=function(e){gy(t,e);function t(n){my(this,t);var o;return o=by(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}(C),lu=function(e){gy(t,e);function t(n){my(this,t);var o;o=by(this,t,[n]),be(o,"maxLength",void 0),be(o,"minLength",void 0),be(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:fu.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o}return t}(k);be(lu,"Rules",IH),be(lu,"RuntimeRules",kH);function FH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xH(e,t,n){return t=au(t),CH(e,Dw()?Reflect.construct(t,n||[],au(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 LH(e,t,n){return t&&Bw(e.prototype,t),n&&Bw(e,n),e}function cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function jH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:FH(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wy(e,t)}function NH(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 fu=function(e){jH(t,e);function t(n){MH(this,t);var o;return o=xH(this,t,[n]),cu(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return LH(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);cu(fu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),cu(fu,"controlFieldType",g.TEXT),cu(fu,"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 VH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zH(e,t,n){return t=_u(t),WH(e,kw()?Reflect.construct(t,n||[],_u(e).constructor):t.apply(e,n))}function HH(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 qH(e,t,n){return t&&Aw(e.prototype,t),n&&Aw(e,n),e}function Iw(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 UH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WH(e,t){return t&&(KH(t)==="object"||typeof t=="function")?t:VH(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(e,t)}function KH(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 GH=function(e){UH(t,e);function t(n){HH(this,t);var o;return o=zH(this,t,[n]),Iw(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return qH(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(x);Iw(GH,"controlFieldType",g.TEXT);function XH(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=su(t),QH(e,Lw()?Reflect.construct(t,n||[],su(e).constructor):t.apply(e,n))}function xw(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 su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(e)}function Mw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function QH(e,t){return t&&(JH(t)==="object"||typeof t=="function")?t:XH(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Py(e,t)}function JH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lw=function(){return!!e})()}var ZH=function(e){Mw(t,e);function t(n){xw(this,t);var o;return o=Fw(this,t,[n]),Ot(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ve),Ey=function(e){Mw(t,e);function t(n){xw(this,t);var o;o=Fw(this,t,[n]),Ot(o,"options",void 0),Ot(o,"defaultShowOptions",void 0),Ot(o,"optionConfig",void 0),Ot(o,"defaultValue",void 0),Ot(o,"datasourceBind",void 0),Ot(o,"multistageFilling",void 0),Ot(o,"allowCopyOptions",void 0),Ot(o,"openMultistageFilling",void 0),Ot(o,"viewFormModelType",void 0),Ot(o,"canViewForm",void 0),Ot(o,"formBind",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label: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:Ry.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new yt(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 je(n==null?void 0:n.formBind),o}return t}(k);Ot(Ey,"Rules",ZH);function YH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tq(e,t,n){return t=yu(t),rq(e,Cw()?Reflect.construct(t,n||[],yu(e).constructor):t.apply(e,n))}function eq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nq(e,t,n){return t&&jw(e.prototype,t),n&&jw(e,n),e}function Sy(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 oq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rq(e,t){return t&&(iq(t)==="object"||typeof t=="function")?t:YH(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(e,t)}function iq(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 Ry=function(e){oq(t,e);function t(n){eq(this,t);var o;return o=tq(this,t,[n]),Sy(o,"props",void 0),o.props=new Ey(n==null?void 0:n.props),o}return nq(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);Sy(Ry,"controlFieldType",g.VARCHAR),Sy(Ry,"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 uq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lq(e,t,n){return t=pu(t),_q(e,zw()?Reflect.construct(t,n||[],pu(e).constructor):t.apply(e,n))}function cq(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 aq(e,t,n){return t&&Nw(e.prototype,t),n&&Nw(e,n),e}function Vw(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 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&&By(e,t)}function _q(e,t){return t&&(sq(t)==="object"||typeof t=="function")?t:uq(e)}function By(e,t){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(e,t)}function sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zw=function(){return!!e})()}var yq=function(e){fq(t,e);function t(n){cq(this,t);var o;return o=lq(this,t,[n]),Vw(o,"props",void 0),o.props=new Ey(n==null?void 0:n.props),o}return aq(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(x);Vw(yq,"controlFieldType",g.VARCHAR);function pq(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=du(t),dq(e,Hw()?Reflect.construct(t,n||[],du(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 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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(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 dq(e,t){return t&&(vq(t)==="object"||typeof t=="function")?t:pq(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(e,t)}function vq(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 hq=function(e){Iy(t,e);function t(n){Ay(this,t);var o;return o=Dy(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}(Ve),bq=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}return t}(C),vu=function(e){Iy(t,e);function t(n){Ay(this,t);var o;o=Dy(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,"openMultistageFilling",void 0),wt(o,"viewFormModelType",void 0),wt(o,"canViewForm",void 0),wt(o,"formBind",void 0);var r;o.options=Gt((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:My.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new yt(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 je(n==null?void 0:n.formBind),o}return t}(k);wt(vu,"Rules",hq),wt(vu,"RuntimeRules",bq);function mq(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=hu(t),Pq(e,Uw()?Reflect.construct(t,n||[],hu(e).constructor):t.apply(e,n))}function Oq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wq(e,t,n){return t&&qw(e.prototype,t),n&&qw(e,n),e}function Fy(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 $q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function Pq(e,t){return t&&(Eq(t)==="object"||typeof t=="function")?t:mq(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(e,t)}function Eq(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 My=function(e){$q(t,e);function t(n){Oq(this,t);var o;return o=gq(this,t,[n]),Fy(o,"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return wq(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);Fy(My,"controlFieldType",g.ARRAY),Fy(My,"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 Sq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tq(e,t,n){return t=bu(t),Aq(e,Gw()?Reflect.construct(t,n||[],bu(e).constructor):t.apply(e,n))}function Rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Bq(e,t,n){return t&&Ww(e.prototype,t),n&&Ww(e,n),e}function Kw(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 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&&Ly(e,t)}function Aq(e,t){return t&&(Iq(t)==="object"||typeof t=="function")?t:Sq(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(e,t)}function Iq(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 kq=function(e){Dq(t,e);function t(n){Rq(this,t);var o;return o=Tq(this,t,[n]),Kw(o,"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return Bq(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);Kw(kq,"controlFieldType",g.ARRAY);function Fq(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=mu(t),xq(e,Zw()?Reflect.construct(t,n||[],mu(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 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 mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(e)}function Jw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:Fq(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jy(e,t)}function Mq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zw=function(){return!!e})()}var Lq=function(e){Jw(t,e);function t(n){Qw(this,t);var o;return o=Xw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(C),Cy=function(e){Jw(t,e);function t(n){Qw(this,t);var o;o=Xw(this,t,[n]),ee(o,"showType",void 0),ee(o,"range",void 0),ee(o,"rangeOptions",void 0),ee(o,"multiple",void 0),ee(o,"defaultValueType",void 0),ee(o,"defaultValue",void 0),ee(o,"multistageFilling",void 0),ee(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:zy.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 yt(b))})),o}return t}(k);ee(Cy,"RuntimeRules",Lq);function jq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cq(e,t,n){return t=gu(t),Hq(e,t$()?Reflect.construct(t,n||[],gu(e).constructor):t.apply(e,n))}function Nq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Vq(e,t,n){return t&&Yw(e.prototype,t),n&&Yw(e,n),e}function Ny(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 zq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function Hq(e,t){return t&&(qq(t)==="object"||typeof t=="function")?t:jq(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(e,t)}function qq(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 zy=function(e){zq(t,e);function t(n){Nq(this,t);var o;return o=Cq(this,t,[n]),Ny(o,"props",void 0),o.props=new Cy(n==null?void 0:n.props),o}return Vq(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);Ny(zy,"controlFieldType",g.EMPLOYEES),Ny(zy,"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 Uq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wq(e,t,n){return t=Ou(t),Qq(e,o$()?Reflect.construct(t,n||[],Ou(e).constructor):t.apply(e,n))}function Kq(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 Gq(e,t,n){return t&&e$(e.prototype,t),n&&e$(e,n),e}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 Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function Xq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qq(e,t){return t&&(Jq(t)==="object"||typeof t=="function")?t:Uq(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(e,t)}function Jq(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 Zq=function(e){Xq(t,e);function t(n){Kq(this,t);var o;return o=Wq(this,t,[n]),n$(o,"props",void 0),o.props=new Cy(n==null?void 0:n.props),o}return Gq(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(x);n$(Zq,"controlFieldType",g.EMPLOYEES);function Yq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qy(e,t,n){return t=wu(t),tU(e,r$()?Reflect.construct(t,n||[],wu(e).constructor):t.apply(e,n))}function Uy(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 wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(e)}function Wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tU(e,t){return t&&(eU(t)==="object"||typeof t=="function")?t:Yq(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(e,t)}function eU(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 nU=10485760,oU=104857600,rU=1048576e3,iU=function(e){Wy(t,e);function t(n){Uy(this,t);var o;return o=qy(this,t,[n]),$t(o,"maxSize",{type:"number",min:0,max:rU,message:f("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}),o}return t}(Z),uU=function(e){Wy(t,e);function t(n){Uy(this,t);var o;return o=qy(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}(C),$u=function(e){Wy(t,e);function t(n){Uy(this,t);var o;o=qy(this,t,[n]),$t(o,"defaultValue",void 0),$t(o,"showType",void 0),$t(o,"resultShowType",void 0),$t(o,"attachmentAccept",void 0),$t(o,"maxLimit",void 0),$t(o,"minLimit",void 0),$t(o,"isShowWatermark",void 0),$t(o,"watermarkFx",void 0),$t(o,"maxSize",void 0),$t(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 c;o.maxLimit=(c=n==null?void 0:n.maxLimit)!==null&&c!==void 0?c:10;var a;o.minLimit=(a=n==null?void 0:n.minLimit)!==null&&a!==void 0?a:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:oU;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:mo.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);$t($u,"Rules",iU),$t($u,"RuntimeRules",uU);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=Eu(t),sU(e,u$()?Reflect.construct(t,n||[],Eu(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 i$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fU(e,t,n){return t&&i$(e.prototype,t),n&&i$(e,n),e}function Pu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(e)}function _U(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sU(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:lU(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gy(e,t)}function yU(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 mo=function(e){_U(t,e);function t(n){aU(this,t);var o;return o=cU(this,t,[n]),Pu(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return fU(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);Pu(mo,"controlEventKeys",["on_change"]),Pu(mo,"controlFieldType",g.FILE),Pu(mo,"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-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);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,a$()?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 l$(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&&l$(e.prototype,t),n&&l$(e,n),e}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 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&&Xy(e,t)}function mU(e,t){return t&&(gU(t)==="object"||typeof t=="function")?t:pU(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xy(e,t)}function gU(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 OU=function(e){bU(t,e);function t(n){vU(this,t);var o;return o=dU(this,t,[n]),c$(o,"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return hU(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(x);c$(OU,"controlFieldType",g.FILE);function wU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $U(e,t,n){return t=Tu(t),TU(e,s$()?Reflect.construct(t,n||[],Tu(e).constructor):t.apply(e,n))}function PU(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 EU(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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function SU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TU(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:wU(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(e,t)}function RU(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 y$=function(e){SU(t,e);function t(n){PU(this,t);var o,r,i;o=$U(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 EU(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}(mo);_$(y$,"controlFieldType",g.IMAGE),_$(y$,"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 BU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jy(e,t,n){return t=Ru(t),kU(e,p$()?Reflect.construct(t,n||[],Ru(e).constructor):t.apply(e,n))}function Zy(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 Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(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&&tp(e,t)}function DU(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){it(e,r,n[r])})}return e}function AU(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 IU(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):AU(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function kU(e,t){return t&&(FU(t)==="object"||typeof t=="function")?t:BU(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(e,t)}function FU(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 xU=function(e){Yy(t,e);function t(n){Zy(this,t);var o;o=Jy(this,t,[n]),it(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")}]}}),it(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}(Ve),MU=function(e){Yy(t,e);function t(n){Zy(this,t);var o;o=Jy(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:[IU(DU({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:f(r===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:r,min:i},r===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],currency:{type:"string"}}}),o}return t}(C),Bu=function(e){Yy(t,e);function t(n){Zy(this,t);var o;o=Jy(this,t,[n]),it(o,"rangeMin",void 0),it(o,"rangeMax",void 0),it(o,"showUpperCase",void 0),it(o,"submitSelectCurrency",void 0),it(o,"micrometer",void 0),it(o,"precision",void 0),it(o,"unitPosition",void 0),it(o,"optionConfig",void 0),it(o,"dataBind",void 0),it(o,"datasourceBind",void 0),it(o,"defaultValue",void 0),it(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c:2,o.dataBind=new Jx(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 Sf({value:"name"})]});var _;o.defaultValue=new Zx((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:Af.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=Gt(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Iu.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);it(Bu,"Rules",xU),it(Bu,"RuntimeRules",MU);function LU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jU(e,t,n){return t=Je(t),zU(e,v$()?Reflect.construct(t,n||[],Je(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 d$(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&&d$(e.prototype,t),n&&d$(e,n),e}function Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Au(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Au=Reflect.get:Au=function(r,i,u){var l=HU(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Au(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(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&&ep(e,t)}function zU(e,t){return t&&(qU(t)==="object"||typeof t=="function")?t:LU(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(e,t)}function HU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function qU(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 Iu=function(e){VU(t,e);function t(n){CU(this,t);var o;return o=jU(this,t,[n]),Du(o,"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return NU(t,[{key:"toDataBindModel",value:function(o){var r=Au(Je(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);Du(Iu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Du(Iu,"controlFieldType",g.MONEY),Du(Iu,"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 UU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WU(e,t,n){return t=ku(t),QU(e,m$()?Reflect.construct(t,n||[],ku(e).constructor):t.apply(e,n))}function KU(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 GU(e,t,n){return t&&h$(e.prototype,t),n&&h$(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 XU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QU(e,t){return t&&(JU(t)==="object"||typeof t=="function")?t:UU(e)}function np(e,t){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(e,t)}function JU(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 ZU=function(e){XU(t,e);function t(n){KU(this,t);var o;return o=WU(this,t,[n]),b$(o,"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return GU(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(x);b$(ZU,"controlFieldType",g.MONEY);function YU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function op(e,t,n){return t=Fu(t),tW(e,g$()?Reflect.construct(t,n||[],Fu(e).constructor):t.apply(e,n))}function rp(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 Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fu(e)}function ip(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function tW(e,t){return t&&(eW(t)==="object"||typeof t=="function")?t:YU(e)}function up(e,t){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(e,t)}function eW(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 nW=function(e){ip(t,e);function t(n){rp(this,t);var o;return o=op(this,t,[n]),ne(o,"totalScore",[{type:"number",required:!0,message:f("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:f("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}]),ne(o,"defaultValue",{type:"number",min:0,max:5,message:f("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=f("CMD.scoreDefaultValueRange",{max:n.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4"),o}return t}(Z),oW=function(e){ip(t,e);function t(n){rp(this,t);var o;o=op(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}(C),xu=function(e){ip(t,e);function t(n){rp(this,t);var o,r;o=op(this,t,[n]),ne(o,"totalScore",void 0),ne(o,"scoreType",void 0),ne(o,"isShowExplain",void 0),ne(o,"explain",void 0),ne(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:T_.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var c;o.explain=(c=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(p){return new R_(p)}))!==null&&c!==void 0?c:Array(o.totalScore).fill(void 0).map(function(){return new R_});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?_:ju.controlName,o}return t}(k);ne(xu,"Rules",nW),ne(xu,"RuntimeRules",oW);function lp(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 rW(e){if(Array.isArray(e))return lp(e)}function iW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uW(e,t,n){return t=Ze(t),sW(e,w$()?Reflect.construct(t,n||[],Ze(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 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 cW(e,t,n){return t&&O$(e.prototype,t),n&&O$(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 Lu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Lu=Reflect.get:Lu=function(r,i,u){var l=yW(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Lu(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function aW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function fW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _W(){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 sW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:iW(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(e,t)}function yW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function pW(e){return rW(e)||fW(e)||vW(e)||_W()}function dW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vW(e,t){if(!!e){if(typeof e=="string")return lp(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 lp(e,t)}}function w$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(w$=function(){return!!e})()}var ju=function(e){aW(t,e);function t(n){lW(this,t);var o;return o=uW(this,t,[n]),Mu(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return cW(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 R_});(i=this.props.explain).push.apply(i,pW(l))}}Lu(Ze(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(ju,"controlEventKeys",["on_change","on_click"]),Mu(ju,"controlFieldType",g.DECIMAL),Mu(ju,"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 hW(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=Cu(t),wW(e,E$()?Reflect.construct(t,n||[],Cu(e).constructor):t.apply(e,n))}function mW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(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 gW(e,t,n){return t&&$$(e.prototype,t),n&&$$(e,n),e}function P$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(e)}function OW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wW(e,t){return t&&($W(t)==="object"||typeof t=="function")?t:hW(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function $W(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 PW=function(e){OW(t,e);function t(n){mW(this,t);var o;return o=bW(this,t,[n]),P$(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return gW(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(x);P$(PW,"controlFieldType",g.DECIMAL);function EW(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=Vu(t),SW(e,B$()?Reflect.construct(t,n||[],Vu(e).constructor):t.apply(e,n))}function T$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(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&&fp(e,t)}function SW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:EW(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(e,t)}function 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 RW=function(e){R$(t,e);function t(n){T$(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}(C),_p=function(e){R$(t,e);function t(n){T$(this,t);var o;o=S$(this,t,[n]),Nu(o,"defaultValueType",void 0),Nu(o,"defaultValue",void 0),Nu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:pp.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 eM((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740"),o}return t}(k);Nu(_p,"RuntimeRules",RW);function BW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DW(e,t,n){return t=zu(t),FW(e,A$()?Reflect.construct(t,n||[],zu(e).constructor):t.apply(e,n))}function AW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D$(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 IW(e,t,n){return t&&D$(e.prototype,t),n&&D$(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 zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(e)}function kW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function FW(e,t){return t&&(xW(t)==="object"||typeof t=="function")?t:BW(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(e,t)}function xW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(A$=function(){return!!e})()}var pp=function(e){kW(t,e);function t(n){AW(this,t);var o;return o=DW(this,t,[n]),sp(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return IW(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);sp(pp,"controlFieldType",g.ADDRESS),sp(pp,"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 MW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LW(e,t,n){return t=Hu(t),VW(e,F$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function jW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CW(e,t,n){return t&&I$(e.prototype,t),n&&I$(e,n),e}function k$(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 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&&dp(e,t)}function VW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:MW(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(e,t)}function zW(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 HW=function(e){NW(t,e);function t(n){jW(this,t);var o;return o=LW(this,t,[n]),k$(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return CW(t,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(x);k$(HW,"controlFieldType",g.ADDRESS);function qW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x$(e,t,n){return t=qu(t),UW(e,j$()?Reflect.construct(t,n||[],qu(e).constructor):t.apply(e,n))}function M$(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(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&&vp(e,t)}function UW(e,t){return t&&(WW(t)==="object"||typeof t=="function")?t:qW(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(e,t)}function WW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(j$=function(){return!!e})()}var KW=function(e){L$(t,e);function t(n){M$(this,t);var o;return o=x$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(C),hp=function(e){L$(t,e);function t(n){M$(this,t);var o;o=x$(this,t,[n]),Ft(o,"showType",void 0),Ft(o,"range",void 0),Ft(o,"defaultValueType",void 0),Ft(o,"multiple",void 0),Ft(o,"rangeOptions",void 0),Ft(o,"defaultValue",void 0),Ft(o,"displayLevel",void 0),Ft(o,"showSubDept",void 0),Ft(o,"multistageFilling",void 0),Ft(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Ku.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:f("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8");var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new yt(m))})),o}return t}(k);Ft(hp,"RuntimeRules",KW);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=Ye(t),YW(e,N$()?Reflect.construct(t,n||[],Ye(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 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 JW(e,t,n){return t&&C$(e.prototype,t),n&&C$(e,n),e}function Uu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Wu=Reflect.get:Wu=function(r,i,u){var l=tK(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Wu(e,t,n||e)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(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&&bp(e,t)}function YW(e,t){return t&&(eK(t)==="object"||typeof t=="function")?t:GW(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bp(e,t)}function tK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ye(e),e!==null););return e}function eK(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 Ku=function(e){ZW(t,e);function t(n){QW(this,t);var o;return o=XW(this,t,[n]),Uu(o,"props",void 0),o.props=new hp(n==null?void 0:n.props),o}return JW(t,[{key:"toDataBindModel",value:function(o){var r=Wu(Ye(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);Uu(Ku,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Uu(Ku,"controlFieldType",g.DEPARTMENTS),Uu(Ku,"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 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,H$()?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 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 iK(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 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&&mp(e,t)}function lK(e,t){return t&&(cK(t)==="object"||typeof t=="function")?t:nK(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(e,t)}function cK(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 aK=function(e){uK(t,e);function t(n){rK(this,t);var o;return o=oK(this,t,[n]),z$(o,"props",void 0),o.props=new hp(n==null?void 0:n.props),o}return iK(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(x);z$(aK,"controlFieldType",g.DEPARTMENTS);function fK(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=Xu(t),dK(e,q$()?Reflect.construct(t,n||[],Xu(e).constructor):t.apply(e,n))}function sK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xu(e)}function pK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:fK(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function vK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(q$=function(){return!!e})()}var U$=function(e){pK(t,e);function t(n){sK(this,t);var o;o=_K(this,t,[n]),yK(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:Zu.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 hK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bK(e,t,n){return t=Ju(t),wK(e,K$()?Reflect.construct(t,n||[],Ju(e).constructor):t.apply(e,n))}function mK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gK(e,t,n){return t&&W$(e.prototype,t),n&&W$(e,n),e}function Qu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(e)}function OK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function wK(e,t){return t&&($K(t)==="object"||typeof t=="function")?t:hK(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(e,t)}function $K(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(K$=function(){return!!e})()}var Zu=function(e){OK(t,e);function t(n){mK(this,t);var o;return o=bK(this,t,[n]),Qu(o,"props",void 0),o.props=new U$(n==null?void 0:n.props),o}return gK(t,null,[{key:"controlName",get:function(){return f("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),t}(F);Qu(Zu,"controlEventKeys",["on_change"]),Qu(Zu,"controlFieldType",g.AUTO_NUMBER),Qu(Zu,"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 PK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EK(e,t,n){return t=Yu(t),BK(e,Q$()?Reflect.construct(t,n||[],Yu(e).constructor):t.apply(e,n))}function SK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 TK(e,t,n){return t&&G$(e.prototype,t),n&&G$(e,n),e}function X$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(e)}function RK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function BK(e,t){return t&&(DK(t)==="object"||typeof t=="function")?t:PK(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function DK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Q$=function(){return!!e})()}var AK=function(e){RK(t,e);function t(n){SK(this,t);var o;return o=EK(this,t,[n]),X$(o,"props",void 0),o.props=new U$(n==null?void 0:n.props),o}return TK(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(x);X$(AK,"controlFieldType",g.AUTO_NUMBER);function IK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $p(e,t,n){return t=tl(t),kK(e,J$()?Reflect.construct(t,n||[],tl(e).constructor):t.apply(e,n))}function Pp(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 tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(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 kK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:IK(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(e,t)}function FK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(J$=function(){return!!e})()}var xK=function(e){Ep(t,e);function t(n){Pp(this,t);var o;return o=$p(this,t,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return t}(Z),MK=function(e){Ep(t,e);function t(n){Pp(this,t);var o;return o=$p(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:f("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:f("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}}),o}return t}(C),el=function(e){Ep(t,e);function t(n){Pp(this,t);var o;o=$p(this,t,[n]),xt(o,"precision",void 0),xt(o,"micrometer",void 0),xt(o,"showUpperCase",void 0),xt(o,"scriptSrc",void 0),xt(o,"scriptEcho",void 0),xt(o,"dataBind",void 0),xt(o,"defaultValue",void 0),xt(o,"unitPosition",void 0),xt(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new nM(n==null?void 0:n.dataBind),o.defaultValue=new oM(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:rl.controlName;var c;o.unitPosition=(c=n==null?void 0:n.unitPosition)!==null&&c!==void 0?c:"right";var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var p;o.scriptSrc=(p=n==null?void 0:n.scriptSrc)!==null&&p!==void 0?p:"";var d;return o.calcOnMounted=(d=n==null?void 0:n.calcOnMounted)!==null&&d!==void 0?d:!1,o}return t}(k);xt(el,"Rules",xK),xt(el,"RuntimeRules",MK);function LK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jK(e,t,n){return t=tn(t),zK(e,Y$()?Reflect.construct(t,n||[],tn(e).constructor):t.apply(e,n))}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function NK(e,t,n){return t&&Z$(e.prototype,t),n&&Z$(e,n),e}function nl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ol(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ol=Reflect.get:ol=function(r,i,u){var l=HK(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ol(e,t,n||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(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&&Tp(e,t)}function zK(e,t){return t&&(qK(t)==="object"||typeof t=="function")?t:LK(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function HK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function qK(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 rl=function(e){VK(t,e);function t(n){CK(this,t);var o;return o=jK(this,t,[n]),nl(o,"props",void 0),o.props=new el(n==null?void 0:n.props),o}return NK(t,[{key:"toDataBindModel",value:function(o){var r=ol(tn(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);nl(rl,"controlEventKeys",["on_change"]),nl(rl,"controlFieldType",g.CALC),nl(rl,"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 UK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WK(e,t,n){return t=il(t),QK(e,nP()?Reflect.construct(t,n||[],il(e).constructor):t.apply(e,n))}function KK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function GK(e,t,n){return t&&tP(e.prototype,t),n&&tP(e,n),e}function eP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(e)}function XK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:UK(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function JK(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 ZK=function(e){XK(t,e);function t(n){KK(this,t);var o;return o=WK(this,t,[n]),eP(o,"props",void 0),o.props=new el(n==null?void 0:n.props),o}return GK(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(x);eP(ZK,"controlFieldType",g.CALC);function YK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oP(e,t,n){return t=ul(t),tG(e,uP()?Reflect.construct(t,n||[],ul(e).constructor):t.apply(e,n))}function rP(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 ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function iP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tG(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:YK(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(e,t)}function eG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uP=function(){return!!e})()}var nG=function(e){iP(t,e);function t(n){rP(this,t);var o;return o=oP(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var l=u.every(function(c){return!c});return l?Promise.reject(f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}else return Promise.resolve()}}),o}return t}(C),Dp=function(e){iP(t,e);function t(n){rP(this,t);var o;o=oP(this,t,[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 l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:f("CMD.min",null,"\u6700\u5C0F\u503C");var c;o.placeholderEnd=(c=n==null?void 0:n.placeholderEnd)!==null&&c!==void 0?c:f("CMD.max",null,"\u6700\u5927\u503C");var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:kp.controlName,o}return t}(k);en(Dp,"RuntimeRules",nG);function oG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rG(e,t,n){return t=ll(t),cG(e,cP()?Reflect.construct(t,n||[],ll(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 lP(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 uG(e,t,n){return t&&lP(e.prototype,t),n&&lP(e,n),e}function Ap(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 lG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function cG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:oG(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ip(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 kp=function(e){lG(t,e);function t(n){iG(this,t);var o;return o=rG(this,t,[n]),Ap(o,"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return uG(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);Ap(kp,"controlFieldType",g.DECIMAL_RANGE),Ap(kp,"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 fG(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=cl(t),dG(e,_P()?Reflect.construct(t,n||[],cl(e).constructor):t.apply(e,n))}function sG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yG(e,t,n){return t&&aP(e.prototype,t),n&&aP(e,n),e}function fP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(e)}function pG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dG(e,t){return t&&(vG(t)==="object"||typeof t=="function")?t:fG(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fp(e,t)}function vG(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 hG=function(e){pG(t,e);function t(n){sG(this,t);var o;return o=_G(this,t,[n]),fP(o,"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return yG(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);fP(hG,"controlFieldType",g.DECIMAL_RANGE);function bG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sP(e,t,n){return t=al(t),mG(e,dP()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function yP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function pP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mG(e,t){return t&&(gG(t)==="object"||typeof t=="function")?t:bG(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(e,t)}function gG(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 OG=function(e){pP(t,e);function t(n){yP(this,t);var o;return o=sP(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}(C),Mp=function(e){pP(t,e);function t(n){yP(this,t);var o,r;o=sP(this,t,[n]),Mt(o,"rangeMin",void 0),Mt(o,"rangeMax",void 0),Mt(o,"placeholderStart",void 0),Mt(o,"placeholderEnd",void 0),Mt(o,"dateType",void 0),Mt(o,"dateFormat",void 0),Mt(o,"commonTimeSetting",void 0),Mt(o,"setValueType",void 0),Mt(o,"defaultValue",void 0),Mt(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:ie.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:f("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F");var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:f("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F");var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Cp.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new S_(w)}))!==null&&m!==void 0?m:[],o}return t}(k);Mt(Mp,"RuntimeRules",OG);function wG(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=fl(t),TG(e,hP()?Reflect.construct(t,n||[],fl(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 vP(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 EG(e,t,n){return t&&vP(e.prototype,t),n&&vP(e,n),e}function Lp(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 SG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function TG(e,t){return t&&(RG(t)==="object"||typeof t=="function")?t:wG(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jp(e,t)}function RG(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 Cp=function(e){SG(t,e);function t(n){PG(this,t);var o;return o=$G(this,t,[n]),Lp(o,"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return EG(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);Lp(Cp,"controlFieldType",g.ARRAY),Lp(Cp,"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 BG(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=_l(t),FG(e,gP()?Reflect.construct(t,n||[],_l(e).constructor):t.apply(e,n))}function AG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 IG(e,t,n){return t&&bP(e.prototype,t),n&&bP(e,n),e}function mP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(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&&Np(e,t)}function FG(e,t){return t&&(xG(t)==="object"||typeof t=="function")?t:BG(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(e,t)}function xG(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 MG=function(e){kG(t,e);function t(n){AG(this,t);var o;return o=DG(this,t,[n]),mP(o,"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return IG(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);mP(MG,"controlFieldType",g.ARRAY);function LG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vp(e,t,n){return t=sl(t),jG(e,OP()?Reflect.construct(t,n||[],sl(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 nn(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 Hp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function jG(e,t){return t&&(CG(t)==="object"||typeof t=="function")?t:LG(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(e,t)}function CG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OP=function(){return!!e})()}var NG=function(e){Hp(t,e);function t(n){zp(this,t);var o;return o=Vp(this,t,[n]),o.dataBind={type:"any"},o}return t}(Z),VG=function(e){Hp(t,e);function t(n){zp(this,t);var o;return o=Vp(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(C),yl=function(e){Hp(t,e);function t(n){zp(this,t);var o;o=Vp(this,t,[n]),nn(o,"controlExportName",void 0),nn(o,"permissions",void 0),nn(o,"defaultValue",void 0),nn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Oo.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var c;return o.isInlineEdit=(c=n==null?void 0:n.isInlineEdit)!==null&&c!==void 0?c:!1,o}return t}(k);nn(yl,"Rules",NG),nn(yl,"RuntimeRules",VG);function zG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HG(e,t,n){return t=pl(t),KG(e,$P()?Reflect.construct(t,n||[],pl(e).constructor):t.apply(e,n))}function qG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function UG(e,t,n){return t&&wP(e.prototype,t),n&&wP(e,n),e}function go(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 WG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function KG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:zG(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function GG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($P=function(){return!!e})()}var Oo=function(e){WG(t,e);function t(n){qG(this,t);var o;return o=HG(this,t,[n]),go(o,"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return UG(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);go(Oo,"controlFieldType",g.ANY),go(Oo,"controlEventKeys",[]),go(Oo,"slots",["grid-table-toolbar-slot",L0.DEFAULT]),go(Oo,"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 XG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QG(e,t,n){return t=dl(t),tX(e,SP()?Reflect.construct(t,n||[],dl(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 PP(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 ZG(e,t,n){return t&&PP(e.prototype,t),n&&PP(e,n),e}function EP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(e)}function YG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function tX(e,t){return t&&(eX(t)==="object"||typeof t=="function")?t:XG(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wp(e,t)}function eX(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 nX=function(e){YG(t,e);function t(n){JG(this,t);var o;return o=QG(this,t,[n]),EP(o,"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return ZG(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);EP(nX,"controlFieldType",g.ANY);function oX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TP(e,t,n){return t=vl(t),rX(e,DP()?Reflect.construct(t,n||[],vl(e).constructor):t.apply(e,n))}function RP(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 vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(e)}function BP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function rX(e,t){return t&&(iX(t)==="object"||typeof t=="function")?t:oX(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(e,t)}function iX(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 uX=function(e){BP(t,e);function t(n){RP(this,t);var o;return o=TP(this,t,[n]),ut(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")}]}}]),ut(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}(Ve),Gp=function(e){BP(t,e);function t(n){RP(this,t);var o;o=TP(this,t,[n]),ut(o,"options",void 0),ut(o,"optionConfig",void 0),ut(o,"defaultValue",void 0),ut(o,"listPageBind",void 0),ut(o,"datasourceBind",void 0),ut(o,"multistageFilling",void 0),ut(o,"viewFormModelType",void 0),ut(o,"canViewForm",void 0),ut(o,"formBind",void 0),ut(o,"openMultistageFilling",void 0),ut(o,"showSelectedDetail",void 0),ut(o,"selectedContentConfig",void 0),ut(o,"optionDisplayConfig",void 0),ut(o,"canSearch",void 0);var r;o.options=Gt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new Pf(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:ml.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.openMultistageFilling=(a=n==null?void 0:n.openMultistageFilling)!==null&&a!==void 0?a:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Rf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new yt(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 je(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);ut(Gp,"Rules",uX);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=on(t),sX(e,IP()?Reflect.construct(t,n||[],on(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 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 fX(e,t,n){return t&&AP(e.prototype,t),n&&AP(e,n),e}function hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?bl=Reflect.get:bl=function(r,i,u){var l=yX(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},bl(e,t,n||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},on(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&&Xp(e,t)}function sX(e,t){return t&&(pX(t)==="object"||typeof t=="function")?t:lX(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(e,t)}function yX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function pX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IP=function(){return!!e})()}var ml=function(e){_X(t,e);function t(n){aX(this,t);var o;return o=cX(this,t,[n]),hl(o,"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return fX(t,[{key:"toDataBindModel",value:function(o){var r=bl(on(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);hl(ml,"controlFieldType",g.VARCHAR),hl(ml,"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}]),hl(ml,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);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),gX(e,xP()?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 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 bX(e,t,n){return t&&kP(e.prototype,t),n&&kP(e,n),e}function FP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(e)}function mX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gX(e,t){return t&&(OX(t)==="object"||typeof t=="function")?t:dX(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(e,t)}function OX(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 wX=function(e){mX(t,e);function t(n){hX(this,t);var o;return o=vX(this,t,[n]),FP(o,"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return bX(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(x);FP(wX,"controlFieldType",g.VARCHAR);function $X(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PX(e,t,n){return t=Ol(t),TX(e,MP()?Reflect.construct(t,n||[],Ol(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 Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(e)}function SX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jp(e,t)}function TX(e,t){return t&&(RX(t)==="object"||typeof t=="function")?t:$X(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(e,t)}function RX(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 LP=function(e){SX(t,e);function t(n){return EX(this,t),PX(this,t,[n])}return t}(ho);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,NP()?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 jP(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&&jP(e.prototype,t),n&&jP(e,n),e}function CP(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&&Zp(e,t)}function FX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:BX(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(e,t)}function xX(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 MX=function(e){kX(t,e);function t(n){AX(this,t);var o;return o=DX(this,t,[n]),CP(o,"props",void 0),o.props=new LP(n==null?void 0:n.props),o}return IX(t,null,[{key:"controlName",get:function(){return f("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlType",get:function(){return"search-input"}}]),t}(bo);CP(MX,"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 LX(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=$l(t),zX(e,HP()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function CX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VP(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&&VP(e.prototype,t),n&&VP(e,n),e}function zP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function VX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function zX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:LX(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yp(e,t)}function HX(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 qX=function(e){VX(t,e);function t(n){CX(this,t);var o;return o=jX(this,t,[n]),zP(o,"props",void 0),o.props=new LP(n==null?void 0:n.props),o}return NX(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(x);zP(qX,"controlFieldType",g.VARCHAR);function UX(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=Pl(t),WX(e,qP()?Reflect.construct(t,n||[],Pl(e).constructor):t.apply(e,n))}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(e)}function nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WX(e,t){return t&&(KX(t)==="object"||typeof t=="function")?t:UX(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function KX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qP=function(){return!!e})()}var GX=function(e){nd(t,e);function t(n){ed(this,t);var o;return o=td(this,t,[n]),q(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Wo.call(o,n,Se.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}(Z),XX=function(e){nd(t,e);function t(n){ed(this,t);var o;return o=td(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(C),El=function(e){nd(t,e);function t(n){ed(this,t);var o,r;o=td(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:Se.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var c;o.canSearch=(c=n==null?void 0:n.canSearch)!==null&&c!==void 0?c:!0;var a;o.levelType=(a=n==null?void 0:n.levelType)!==null&&a!==void 0?a:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new _b((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Se.controlCustomAttributes});var $;o.filterItemDatasourceBind=new _b(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:Se.controlCustomAttributes});var S;o.openMultistageFilling=(S=n==null?void 0:n.openMultistageFilling)!==null&&S!==void 0?S:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var R;o.multistageFilling=(R=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new yt(A)}))!==null&&R!==void 0?R:[];var z;return o.defaultValue=(z=n==null?void 0:n.defaultValue)!==null&&z!==void 0?z:[],o}return t}(k);q(El,"Rules",GX),q(El,"RuntimeRules",XX);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=Tl(t),eQ(e,WP()?Reflect.construct(t,n||[],Tl(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 UP(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 YX(e,t,n){return t&&UP(e.prototype,t),n&&UP(e,n),e}function Sl(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 tQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function eQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:QX(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(e,t)}function nQ(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 Se=function(e){tQ(t,e);function t(n){ZX(this,t);var o;return o=JX(this,t,[n]),Sl(o,"props",void 0),o.props=new El(n==null?void 0:n.props),o}return YX(t,null,[{key:"controlName",get:function(){return f("CMD.tree",null,"\u6811")}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),t}(F);Sl(Se,"controlEventKeys",["on_change","on_click"]),Sl(Se,"controlFieldType",g.ARRAY),Sl(Se,"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 oQ(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=Rl(t),cQ(e,XP()?Reflect.construct(t,n||[],Rl(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 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 uQ(e,t,n){return t&&KP(e.prototype,t),n&&KP(e,n),e}function GP(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 lQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function cQ(e,t){return t&&(aQ(t)==="object"||typeof t=="function")?t:oQ(e)}function id(e,t){return id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},id(e,t)}function aQ(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 fQ=function(e){lQ(t,e);function t(n){iQ(this,t);var o;return o=rQ(this,t,[n]),GP(o,"props",void 0),o.props=new El(n==null?void 0:n.props),o}return uQ(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(x);GP(fQ,"controlFieldType",g.ARRAY);function _Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ud(e,t,n){return t=Bl(t),sQ(e,QP()?Reflect.construct(t,n||[],Bl(e).constructor):t.apply(e,n))}function ld(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(e)}function cd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sQ(e,t){return t&&(yQ(t)==="object"||typeof t=="function")?t:_Q(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(e,t)}function yQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QP=function(){return!!e})()}var pQ=function(e){cd(t,e);function t(n){ld(this,t);var o;return o=ud(this,t,[n]),Q(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Q(o,"externalScope",{type:"any"}),Wo.call(o,n,rn.controlCustomAttributes),n.externalType===pe.ASSIGN&&(o.externalScope={type:"array",required:!0,message:f("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")}),o}return t}(Z),dQ=function(e){cd(t,e);function t(n){ld(this,t);var o;return o=ud(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(C),Dl=function(e){cd(t,e);function t(n){ld(this,t);var o;o=ud(this,t,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"rangeOptions",void 0),Q(o,"multiple",void 0),Q(o,"defaultValueType",void 0),Q(o,"defaultValue",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"insideType",void 0),Q(o,"externalType",void 0),Q(o,"externalScope",void 0),Q(o,"openMultistageFilling",void 0),Q(o,"mainDeptFlag",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:rn.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:rn.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:D_.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:A_.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:pe.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1;var $;return o.mainDeptFlag=($=n==null?void 0:n.mainDeptFlag)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(S){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new yt(S))})),o}return t}(k);Q(Dl,"Rules",pQ),Q(Dl,"RuntimeRules",dQ);function vQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(e,t,n){return t=Il(t),OQ(e,ZP()?Reflect.construct(t,n||[],Il(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 JP(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 mQ(e,t,n){return t&&JP(e.prototype,t),n&&JP(e,n),e}function Al(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 gQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function OQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:vQ(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(e,t)}function wQ(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 rn=function(e){gQ(t,e);function t(n){bQ(this,t);var o;return o=hQ(this,t,[n]),Al(o,"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return mQ(t,null,[{key:"controlName",get:function(){return f("CMD.people",null,"\u4EBA\u5458")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(F);Al(rn,"controlFieldType",g.EMPLOYEES),Al(rn,"controlEventKeys",["on_change","on_focus","on_blur","on_option_selected"]),Al(rn,"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,s.MAIN_DEPT_FLAG]},{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 $Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PQ(e,t,n){return t=kl(t),RQ(e,eE()?Reflect.construct(t,n||[],kl(e).constructor):t.apply(e,n))}function EQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 SQ(e,t,n){return t&&YP(e.prototype,t),n&&YP(e,n),e}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 kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(e)}function TQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function RQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:$Q(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_d(e,t)}function BQ(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 DQ=function(e){TQ(t,e);function t(n){EQ(this,t);var o;return o=PQ(this,t,[n]),tE(o,"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return SQ(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(x);tE(DQ,"controlFieldType",g.EMPLOYEES);function AQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nE(e,t,n){return t=Fl(t),IQ(e,iE()?Reflect.construct(t,n||[],Fl(e).constructor):t.apply(e,n))}function oE(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 Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(e)}function rE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:AQ(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(e,t)}function kQ(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 FQ=function(e){rE(t,e);function t(n){oE(this,t);var o;return o=nE(this,t,[n]),zt(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:f("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator:function(c,a,_){if(i.type==="public"&&vf(a.value)&&a.value.length===0){_(f("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}_()}},company:{type:"object",required:!0,validator:function(c,a,_){if(i.type==="public"&&i.signatureType.includes("company")&&vf(a.value)&&a.value.length===0){_(f("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}_()}}}},r},{})}}},o}return t}(Z),yd=function(e){rE(t,e);function t(n){oE(this,t);var o;o=nE(this,t,[n]),zt(o,"buttonType",void 0),zt(o,"content",void 0),zt(o,"showType",void 0),zt(o,"color",void 0),zt(o,"icon",void 0),zt(o,"command",""),zt(o,"isLoading",!1),zt(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ll.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72");var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;return o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2",o.signatureConfig=new Kj(n==null?void 0:n.signatureConfig),o}return t}(k);zt(yd,"Rules",FQ);function xQ(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=Ml(t),NQ(e,lE()?Reflect.construct(t,n||[],Ml(e).constructor):t.apply(e,n))}function LQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jQ(e,t,n){return t&&uE(e.prototype,t),n&&uE(e,n),e}function xl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(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&&pd(e,t)}function NQ(e,t){return t&&(VQ(t)==="object"||typeof t=="function")?t:xQ(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(e,t)}function VQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lE=function(){return!!e})()}var Ll=function(e){CQ(t,e);function t(n){LQ(this,t);var o;return o=MQ(this,t,[n]),xl(o,"props",void 0),o.props=new yd(n==null?void 0:n.props),o}return jQ(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);xl(Ll,"controlEventKeys",["on_click","on_click_finish"]),xl(Ll,"controlFieldType",g.VARCHAR),xl(Ll,"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 zQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HQ(e,t,n){return t=jl(t),KQ(e,fE()?Reflect.construct(t,n||[],jl(e).constructor):t.apply(e,n))}function qQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cE(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 UQ(e,t,n){return t&&cE(e.prototype,t),n&&cE(e,n),e}function aE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(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&&dd(e,t)}function KQ(e,t){return t&&(GQ(t)==="object"||typeof t=="function")?t:zQ(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(e,t)}function GQ(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 XQ=function(e){WQ(t,e);function t(n){qQ(this,t);var o;return o=HQ(this,t,[n]),aE(o,"props",void 0),o.props=new yd(n==null?void 0:n.props),o}return UQ(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);aE(XQ,"controlFieldType",g.VARCHAR);function QQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vd(e,t,n){return t=Cl(t),JQ(e,_E()?Reflect.construct(t,n||[],Cl(e).constructor):t.apply(e,n))}function hd(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 Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(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&&md(e,t)}function JQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:QQ(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function ZQ(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 YQ=function(e){bd(t,e);function t(n){hd(this,t);var o;return o=vd(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}(Z),tJ=function(e){bd(t,e);function t(n){hd(this,t);var o;return o=vd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(C),Nl=function(e){bd(t,e);function t(n){hd(this,t);var o;o=vd(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:Hl.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863");var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var c;o.addOnline=(c=n==null?void 0:n.addOnline)!==null&&c!==void 0?c:!0;var a;o.canEdit=(a=n==null?void 0:n.canEdit)!==null&&a!==void 0?a:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:nU;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new Gj(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(Nl,"Rules",YQ),lt(Nl,"RuntimeRules",tJ);function eJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nJ(e,t,n){return t=zl(t),uJ(e,yE()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function oJ(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 rJ(e,t,n){return t&&sE(e.prototype,t),n&&sE(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 zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(e)}function iJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function uJ(e,t){return t&&(lJ(t)==="object"||typeof t=="function")?t:eJ(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(e,t)}function lJ(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 Hl=function(e){iJ(t,e);function t(n){oJ(this,t);var o;return o=nJ(this,t,[n]),Vl(o,"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return rJ(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);Vl(Hl,"controlEventKeys",["on_change","on_wps_open"]),Vl(Hl,"controlFieldType",g.FILE),Vl(Hl,"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 cJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aJ(e,t,n){return t=ql(t),yJ(e,vE()?Reflect.construct(t,n||[],ql(e).constructor):t.apply(e,n))}function fJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _J(e,t,n){return t&&pE(e.prototype,t),n&&pE(e,n),e}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 ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(e)}function sJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function yJ(e,t){return t&&(pJ(t)==="object"||typeof t=="function")?t:cJ(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(e,t)}function pJ(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 dJ=function(e){sJ(t,e);function t(n){fJ(this,t);var o;return o=aJ(this,t,[n]),dE(o,"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return _J(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(x);dE(dJ,"controlFieldType",g.FILE);function vJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wd(e,t,n){return t=Ul(t),hJ(e,hE()?Reflect.construct(t,n||[],Ul(e).constructor):t.apply(e,n))}function $d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(e)}function Pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:vJ(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ed(e,t)}function bJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hE=function(){return!!e})()}var mJ=function(e){Pd(t,e);function t(n){$d(this,t);var o;return o=wd(this,t,[n]),J(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),J(o,"businessScope",{type:"any"}),Wo.call(o,n,ln.controlCustomAttributes),n.businessType===pe.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(Z),gJ=function(e){Pd(t,e);function t(n){$d(this,t);var o;return o=wd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(C),Wl=function(e){Pd(t,e);function t(n){$d(this,t);var o;o=wd(this,t,[n]),J(o,"showType",void 0),J(o,"range",void 0),J(o,"defaultValueType",void 0),J(o,"multiple",void 0),J(o,"rangeOptions",void 0),J(o,"defaultValue",void 0),J(o,"displayLevel",void 0),J(o,"showSubDept",void 0),J(o,"multistageFilling",void 0),J(o,"datasourceBind",void 0),J(o,"datasourceType",void 0),J(o,"businessType",void 0),J(o,"businessScope",void 0),J(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:ln.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:ln.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:gr.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:pe.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(S){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new yt(S))})),o}return t}(k);J(Wl,"Rules",mJ),J(Wl,"RuntimeRules",gJ);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=un(t),SJ(e,mE()?Reflect.construct(t,n||[],un(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 bE(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&&bE(e.prototype,t),n&&bE(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 Gl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Gl=Reflect.get:Gl=function(r,i,u){var l=TJ(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Gl(e,t,n||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(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&&Sd(e,t)}function SJ(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:OJ(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(e,t)}function TJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}function RJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mE=function(){return!!e})()}var ln=function(e){EJ(t,e);function t(n){$J(this,t);var o;return o=wJ(this,t,[n]),Kl(o,"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return PJ(t,[{key:"toDataBindModel",value:function(o){var r=Gl(un(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,l=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=l}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(F);Kl(ln,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Kl(ln,"controlFieldType",g.DEPARTMENTS),Kl(ln,"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 BJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DJ(e,t,n){return t=Xl(t),FJ(e,wE()?Reflect.construct(t,n||[],Xl(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 gE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IJ(e,t,n){return t&&gE(e.prototype,t),n&&gE(e,n),e}function OE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(e)}function kJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function FJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:BJ(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function xJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wE=function(){return!!e})()}var MJ=function(e){kJ(t,e);function t(n){AJ(this,t);var o;return o=DJ(this,t,[n]),OE(o,"props",void 0),o.props=new Wl(n==null?void 0:n.props),o}return IJ(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(x);OE(MJ,"controlFieldType",g.DEPARTMENTS);function LJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rd(e,t,n){return t=Ql(t),jJ(e,$E()?Reflect.construct(t,n||[],Ql(e).constructor):t.apply(e,n))}function Bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(e)}function Dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function jJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:LJ(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(e,t)}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($E=function(){return!!e})()}var NJ=function(e){Dd(t,e);function t(n){Bd(this,t);var o;return o=Rd(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,wo.controlCustomAttributes),n.businessType===pe.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(Z),VJ=function(e){Dd(t,e);function t(n){Bd(this,t);var o;return o=Rd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(C),Jl=function(e){Dd(t,e);function t(n){Bd(this,t);var o;o=Rd(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 Pf(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:wo.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 Xx((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:wo.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:gr.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:pe.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var S;o.organizationView=(S=n==null?void 0:n.organizationView)!==null&&S!==void 0?S:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new Rf(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 A;(A=o.multistageFilling)===null||A===void 0||A.push(new yt(z))})),o}return t}(k);V(Jl,"Rules",NJ),V(Jl,"RuntimeRules",VJ);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=cn(t),KJ(e,EE()?Reflect.construct(t,n||[],cn(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 PE(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&&PE(e.prototype,t),n&&PE(e,n),e}function Id(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Zl=Reflect.get:Zl=function(r,i,u){var l=GJ(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Zl(e,t,n||e)}function cn(e){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cn(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&&kd(e,t)}function KJ(e,t){return t&&(XJ(t)==="object"||typeof t=="function")?t:zJ(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function GJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=cn(e),e!==null););return e}function XJ(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 wo=function(e){WJ(t,e);function t(n){qJ(this,t);var o;return o=HJ(this,t,[n]),Id(o,"props",void 0),o.props=new Jl(n==null?void 0:n.props),o}return UJ(t,[{key:"toDataBindModel",value:function(o){var r=Zl(cn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,l=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=l}return r}}],[{key:"controlName",get:function(){return f("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(F);Id(wo,"controlFieldType",g.DEPARTMENTS),Id(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 QJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JJ(e,t,n){return t=Yl(t),eZ(e,RE()?Reflect.construct(t,n||[],Yl(e).constructor):t.apply(e,n))}function ZJ(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 YJ(e,t,n){return t&&SE(e.prototype,t),n&&SE(e,n),e}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 Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(e)}function tZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:QJ(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(e,t)}function nZ(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 oZ=function(e){tZ(t,e);function t(n){ZJ(this,t);var o;return o=JJ(this,t,[n]),TE(o,"props",void 0),o.props=new Jl(n==null?void 0:n.props),o}return YJ(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(x);TE(oZ,"controlFieldType",g.DEPARTMENTS);function rZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xd(e,t,n){return t=tc(t),iZ(e,BE()?Reflect.construct(t,n||[],tc(e).constructor):t.apply(e,n))}function Md(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 tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(e)}function Ld(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function iZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:rZ(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function uZ(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 lZ=function(e){Ld(t,e);function t(n){Md(this,t);var o;return o=xd(this,t,[n]),o.dataBind={type:"any"},o}return t}(Z),cZ=function(e){Ld(t,e);function t(n){Md(this,t);var o;return o=xd(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(C),ec=function(e){Ld(t,e);function t(n){Md(this,t);var o;o=xd(this,t,[n]),an(o,"controlExportName",void 0),an(o,"permissions",void 0),an(o,"defaultValue",void 0),an(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:rc.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var c;return o.isInlineEdit=(c=n==null?void 0:n.isInlineEdit)!==null&&c!==void 0?c:!1,o}return t}(k);an(ec,"Rules",lZ),an(ec,"RuntimeRules",cZ);function aZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fZ(e,t,n){return t=oc(t),pZ(e,AE()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function _Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sZ(e,t,n){return t&&DE(e.prototype,t),n&&DE(e,n),e}function nc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function 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&&Cd(e,t)}function pZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:aZ(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function dZ(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 rc=function(e){yZ(t,e);function t(n){_Z(this,t);var o;return o=fZ(this,t,[n]),nc(o,"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return sZ(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 y.VUE_PAGE}}]),t}(F);nc(rc,"controlFieldType",g.ANY),nc(rc,"controlEventKeys",[]),nc(rc,"setting",[]);function vZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hZ(e,t,n){return t=ic(t),OZ(e,FE()?Reflect.construct(t,n||[],ic(e).constructor):t.apply(e,n))}function bZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mZ(e,t,n){return t&&IE(e.prototype,t),n&&IE(e,n),e}function kE(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 gZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:vZ(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(e,t)}function wZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FE=function(){return!!e})()}var $Z=function(e){gZ(t,e);function t(n){bZ(this,t);var o;return o=hZ(this,t,[n]),kE(o,"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return mZ(t,null,[{key:"controlType",get:function(){return y.VUE_PAGE}}]),t}(x);kE($Z,"controlFieldType",g.ANY);function PZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EZ(e,t,n){return t=uc(t),DZ(e,ME()?Reflect.construct(t,n||[],uc(e).constructor):t.apply(e,n))}function SZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xE(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&&xE(e.prototype,t),n&&xE(e,n),e}function RZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(e)}function BZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function DZ(e,t){return t&&(AZ(t)==="object"||typeof t=="function")?t:PZ(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(e,t)}function AZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ME(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ME=function(){return!!e})()}var IZ=function(e){BZ(t,e);function t(n){return SZ(this,t),EZ(this,t,[n])}return TZ(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}(tt);RZ(IZ,"excludes",[y.GRID]);function kZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(e,t,n){return t=lc(t),LZ(e,jE()?Reflect.construct(t,n||[],lc(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 LE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(e)}function MZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function LZ(e,t){return t&&(jZ(t)==="object"||typeof t=="function")?t:kZ(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(e,t)}function jZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jE=function(){return!!e})()}var CZ=24,$o=function(e){MZ(t,e);function t(n){xZ(this,t);var o;o=FZ(this,t,[n]),LE(o,"span",void 0),LE(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:CZ;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(Y);function NZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VZ(e,t,n){return t=cc(t),UZ(e,NE()?Reflect.construct(t,n||[],cc(e).constructor):t.apply(e,n))}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CE(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 HZ(e,t,n){return t&&CE(e.prototype,t),n&&CE(e,n),e}function Hd(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 qZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function UZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:NZ(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function WZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NE=function(){return!!e})()}var Po=function(e){qZ(t,e);function t(n){zZ(this,t);var o;return o=VZ(this,t,[n]),Hd(o,"props",void 0),o.props=new $o(n==null?void 0:n.props),o}return HZ(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}(tt);Hd(Po,"excludes",[y.COL,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),Hd(Po,"childrenMaxLength",1);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=ac(t),YZ(e,zE()?Reflect.construct(t,n||[],ac(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 VE(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&&VE(e.prototype,t),n&&VE(e,n),e}function JZ(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 ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YZ(e,t){return t&&(tY(t)==="object"||typeof t=="function")?t:KZ(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function tY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zE=function(){return!!e})()}var eY=function(e){ZZ(t,e);function t(n){XZ(this,t);var o;return o=GZ(this,t,[n]),JZ(o,"props",void 0),o.props=new $o(n==null?void 0:n.props),o}return QZ(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(Pe),HE={Designer:Po,Runtime:eY,Property:$o};function nY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oY(e,t,n){return t=fc(t),uY(e,UE()?Reflect.construct(t,n||[],fc(e).constructor):t.apply(e,n))}function rY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(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&&Wd(e,t)}function uY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:nY(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(e,t)}function lY(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 Kd=function(e){iY(t,e);function t(n){rY(this,t);var o;o=oY(this,t,[n]),qE(o,"layoutMode",void 0),qE(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}(Y);function cY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aY(e,t,n){return t=_c(t),yY(e,KE()?Reflect.construct(t,n||[],_c(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 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 _Y(e,t,n){return t&&WE(e.prototype,t),n&&WE(e,n),e}function Gd(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 sY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function yY(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:cY(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(e,t)}function pY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KE=function(){return!!e})()}var Qd=function(e){sY(t,e);function t(n){fY(this,t);var o;return o=aY(this,t,[n]),Gd(o,"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return _Y(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}(tt);Gd(Qd,"excludes",[y.ROW]),Gd(Qd,"setting",[{key:"col-setting",visible:!0}]);function dY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vY(e,t,n){return t=sc(t),OY(e,XE()?Reflect.construct(t,n||[],sc(e).constructor):t.apply(e,n))}function hY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(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 bY(e,t,n){return t&&GE(e.prototype,t),n&&GE(e,n),e}function mY(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 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&&Jd(e,t)}function OY(e,t){return t&&(wY(t)==="object"||typeof t=="function")?t:dY(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function wY(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 $Y=function(e){gY(t,e);function t(n){hY(this,t);var o;return o=vY(this,t,[n]),mY(o,"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return bY(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(Pe);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=yc(t),BY(e,JE()?Reflect.construct(t,n||[],yc(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 QE(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&&QE(e.prototype,t),n&&QE(e,n),e}function Zd(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 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&&Yd(e,t)}function BY(e,t){return t&&(DY(t)==="object"||typeof t=="function")?t:PY(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function DY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JE=function(){return!!e})()}var AY=4,pc=function(e){RY(t,e);function t(n){return SY(this,t),EY(this,t,[n])}return TY(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}(Qd);Zd(pc,"excludes",[y.GRID_ROW]),Zd(pc,"setting",[]),Zd(pc,"childrenMaxLength",AY);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=dc(t),LY(e,YE()?Reflect.construct(t,n||[],dc(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 ZE(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 xY(e,t,n){return t&&ZE(e.prototype,t),n&&ZE(e,n),e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(e)}function MY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function LY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:IY(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function jY(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 CY=function(e){MY(t,e);function t(n){return FY(this,t),kY(this,t,[n])}return xY(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}($Y);function NY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VY(e,t,n){return t=vc(t),qY(e,tS()?Reflect.construct(t,n||[],vc(e).constructor):t.apply(e,n))}function zY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function HY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:NY(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(e,t)}function UY(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 WY=function(e){HY(t,e);function t(n){return zY(this,t),VY(this,t,[n])}return t}(Kd),KY={Designer:pc,Runtime:CY,Property:WY};function GY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eS(e,t,n){return t=hc(t),XY(e,rS()?Reflect.construct(t,n||[],hc(e).constructor):t.apply(e,n))}function nS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(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 oS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function XY(e,t){return t&&(QY(t)==="object"||typeof t=="function")?t:GY(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function QY(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 JY=function(e){oS(t,e);function t(){nS(this,t);var n;return n=eS(this,t,arguments),Eo(n,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),n}return t}(Y.Rules),iS=function(e){oS(t,e);function t(n){nS(this,t);var o;o=eS(this,t,[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("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}(Y);Eo(iS,"Rules",JY);function ZY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YY(e,t,n){return t=bc(t),ott(e,lS()?Reflect.construct(t,n||[],bc(e).constructor):t.apply(e,n))}function ttt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ett(e,t,n){return t&&uS(e.prototype,t),n&&uS(e,n),e}function ov(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(e)}function ntt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ott(e,t){return t&&(rtt(t)==="object"||typeof t=="function")?t:ZY(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(e,t)}function rtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lS=function(){return!!e})()}var cS=function(e){ntt(t,e);function t(n){ttt(this,t);var o;return o=YY(this,t,[n]),ov(o,"props",void 0),o.props=new iS(n==null?void 0:n.props),o}return ett(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}(tt);ov(cS,"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}]),ov(cS,"excludes",[y.CARD_GROUP]);function itt(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=mc(t),utt(e,sS()?Reflect.construct(t,n||[],mc(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 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 mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(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&&iv(e,t)}function utt(e,t){return t&&(ltt(t)==="object"||typeof t=="function")?t:itt(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function ltt(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 ctt=function(e){_S(t,e);function t(n){fS(this,t);var o;return o=aS(this,t,[n]),Ht(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ht(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),Ht(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),gc=function(e){_S(t,e);function t(n){fS(this,t);var o;o=aS(this,t,[n]),Ht(o,"metaAutoWidth",void 0),Ht(o,"caption",void 0),Ht(o,"fixed",void 0),Ht(o,"isShowCaptionTip",void 0),Ht(o,"captionTip",void 0),Ht(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var c;return o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1,o.metaAutoWidth=new cb(n==null?void 0:n.metaAutoWidth),o}return t}(Y);Ht(gc,"Rules",ctt);function att(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=Oc(t),ytt(e,yS()?Reflect.construct(t,n||[],Oc(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 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 Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(e)}function stt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ytt(e,t){return t&&(ptt(t)==="object"||typeof t=="function")?t:att(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(e,t)}function ptt(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 Lt=function(e){stt(t,e);function t(n){_tt(this,t);var o;return o=ftt(this,t,[n]),Te(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return t}(tt);Te(Lt,"controlName",f("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C")),Te(Lt,"controlType","subtable-column"),Te(Lt,"controlIcon","subtable-column"),Te(Lt,"childrenMaxLength",1),Te(Lt,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT,y.GRID_LAYOUT_CONTAINER]),Te(Lt,"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 dtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vtt(e,t,n){return t=wc(t),mtt(e,dS()?Reflect.construct(t,n||[],wc(e).constructor):t.apply(e,n))}function htt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function btt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mtt(e,t){return t&&(gtt(t)==="object"||typeof t=="function")?t:dtt(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(e,t)}function gtt(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 vS=function(e){btt(t,e);function t(n){htt(this,t);var o;return o=vtt(this,t,[n]),pS(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return t}(Pe);pS(vS,"controlType","subtable-column");var Ott={Designer:Lt,Runtime:vS,Property:gc};function wtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $tt(e,t,n){return t=$c(t),Stt(e,hS()?Reflect.construct(t,n||[],$c(e).constructor):t.apply(e,n))}function Ptt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function Ett(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Stt(e,t){return t&&(Ttt(t)==="object"||typeof t=="function")?t:wtt(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function Ttt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hS=function(){return!!e})()}var Rtt=function(e){Ett(t,e);function t(n){return Ptt(this,t),$tt(this,t,[n])}return t}(Y);function Btt(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=Pc(t),ktt(e,bS()?Reflect.construct(t,n||[],Pc(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 Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(e)}function Itt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function ktt(e,t){return t&&(Ftt(t)==="object"||typeof t=="function")?t:Btt(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function Ftt(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 fn=function(e){Itt(t,e);function t(n){Att(this,t);var o;return o=Dtt(this,t,[n]),Re(o,"props",void 0),o.props=new Rtt(n==null?void 0:n.props),o}return t}(tt);Re(fn,"controlName",f("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C")),Re(fn,"controlType","subtable-row"),Re(fn,"controlIcon","subtable-row"),Re(fn,"childrenMaxLength",1),Re(fn,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Re(fn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function xtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mtt(e,t,n){return t=Ec(t),Ctt(e,mS()?Reflect.construct(t,n||[],Ec(e).constructor):t.apply(e,n))}function Ltt(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 Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(e)}function jtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function Ctt(e,t){return t&&(Ntt(t)==="object"||typeof t=="function")?t:xtt(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(e,t)}function Ntt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mS=function(){return!!e})()}var gS=function(e){jtt(t,e);function t(n){Ltt(this,t);var o;o=Mtt(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 c;o.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:g.VARCHAR;var a;o.fieldName=(a=n==null?void 0:n.fieldName)!==null&&a!==void 0?a:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:ie.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return t}(Y);function Vtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ztt(e,t,n){return t=Sc(t),Utt(e,OS()?Reflect.construct(t,n||[],Sc(e).constructor):t.apply(e,n))}function Htt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(e)}function qtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function Utt(e,t){return t&&(Wtt(t)==="object"||typeof t=="function")?t:Vtt(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(e,t)}function Wtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OS=function(){return!!e})()}var _n=function(e){qtt(t,e);function t(n){Htt(this,t);var o;return o=ztt(this,t,[n]),Be(o,"props",void 0),o.props=new gS(n==null?void 0:n.props),o}return t}(tt);Be(_n,"controlName","\u5217\u8868\u5355\u5143\u683C"),Be(_n,"controlType","gridtable-column"),Be(_n,"controlIcon","gridtable-column"),Be(_n,"childrenMaxLength",1),Be(_n,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Be(_n,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function Ktt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gtt(e,t,n){return t=Tc(t),Jtt(e,$S()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}function Xtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function Qtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function Jtt(e,t){return t&&(Ztt(t)==="object"||typeof t=="function")?t:Ktt(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(e,t)}function Ztt(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 Ytt=function(e){Qtt(t,e);function t(n){Xtt(this,t);var o;return o=Gtt(this,t,[n]),wS(o,"props",void 0),o.props=new gS(n==null?void 0:n.props),o}return t}(Pe);wS(Ytt,"controlType","gridtable-column");function tet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eet(e,t,n){return t=Rc(t),ret(e,ES()?Reflect.construct(t,n||[],Rc(e).constructor):t.apply(e,n))}function net(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(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&&yv(e,t)}function ret(e,t){return t&&(iet(t)==="object"||typeof t=="function")?t:tet(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function iet(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 uet=function(e){oet(t,e);function t(n){net(this,t);var o;o=eet(this,t,[n]),PS(o,"childMinWidth",void 0),PS(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}(Y);function cet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aet(e,t,n){return t=Bc(t),yet(e,TS()?Reflect.construct(t,n||[],Bc(e).constructor):t.apply(e,n))}function fet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _et(e,t,n){return t&&SS(e.prototype,t),n&&SS(e,n),e}function pv(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 set(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yet(e,t){return t&&(pet(t)==="object"||typeof t=="function")?t:cet(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(e,t)}function pet(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 RS=function(e){set(t,e);function t(n){fet(this,t);var o;return o=aet(this,t,[n]),pv(o,"props",void 0),o.props=new uet(n==null?void 0:n.props),o}return _et(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}(tt);pv(RS,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),pv(RS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function det(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vet(e,t,n){return t=Dc(t),get(e,BS()?Reflect.construct(t,n||[],Dc(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 bet(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 met(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 get(e,t){return t&&(Oet(t)==="object"||typeof t=="function")?t:det(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(e,t)}function Oet(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 wet=function(e){met(t,e);function t(n){het(this,t);var o;o=vet(this,t,[n]),bet(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}(Y);function $et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DS(e,t,n){return t=Ac(t),Pet(e,kS()?Reflect.construct(t,n||[],Ac(e).constructor):t.apply(e,n))}function AS(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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ac(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&&bv(e,t)}function Pet(e,t){return t&&(Eet(t)==="object"||typeof t=="function")?t:$et(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(e,t)}function Eet(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 Tet=function(e){IS(t,e);function t(n){AS(this,t);var o;return o=DS(this,t,[n]),hv(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),o}return t}(U),FS=function(e){IS(t,e);function t(n){AS(this,t);var o;o=DS(this,t,[n]),hv(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mc.controlName,o}return t}(Y);hv(FS,"Rules",Tet);function Ret(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bet(e,t,n){return t=Ic(t),ket(e,MS()?Reflect.construct(t,n||[],Ic(e).constructor):t.apply(e,n))}function Det(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 Aet(e,t,n){return t&&xS(e.prototype,t),n&&xS(e,n),e}function mv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(e)}function Iet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ket(e,t){return t&&(Fet(t)==="object"||typeof t=="function")?t:Ret(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function Fet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MS=function(){return!!e})()}var kc=function(e){Iet(t,e);function t(n){Det(this,t);var o;return o=Bet(this,t,[n]),mv(o,"props",void 0),o.props=new FS(n==null?void 0:n.props),o}return Aet(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}(tt);mv(kc,"excludes",[y.TAB]),mv(kc,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function xet(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=xc(t),Net(e,jS()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function Let(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jet(e,t,n){return t&&LS(e.prototype,t),n&&LS(e,n),e}function Fc(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 Cet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Net(e,t){return t&&(Vet(t)==="object"||typeof t=="function")?t:xet(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ov(e,t)}function Vet(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 Mc=function(e){Cet(t,e);function t(n){Let(this,t);var o;o=Met(this,t,[n]),Fc(o,"props",void 0),o.props=new wet(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new kc,new kc],o}return jet(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}(tt);Fc(Mc,"excludes",[y.TAB]),Fc(Mc,"controlEventKeys",["on_change_tab"]),Fc(Mc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function zet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Het(e,t,n){return t=Lc(t),Wet(e,CS()?Reflect.construct(t,n||[],Lc(e).constructor):t.apply(e,n))}function qet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(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&&wv(e,t)}function Wet(e,t){return t&&(Ket(t)==="object"||typeof t=="function")?t:zet(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(e,t)}function Ket(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 Get=function(e){Uet(t,e);function t(n){return qet(this,t),Het(this,t,[n])}return t}(Y);function Xet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qet(e,t,n){return t=jc(t),tnt(e,zS()?Reflect.construct(t,n||[],jc(e).constructor):t.apply(e,n))}function Jet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Zet(e,t,n){return t&&NS(e.prototype,t),n&&NS(e,n),e}function VS(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 Yet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function tnt(e,t){return t&&(ent(t)==="object"||typeof t=="function")?t:Xet(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function ent(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zS=function(){return!!e})()}var nnt=function(e){Yet(t,e);function t(n){Jet(this,t);var o;return o=Qet(this,t,[n]),VS(o,"props",void 0),o.props=new Get({}),o.children=(n==null?void 0:n.children)||[new Po({props:new $o({span:12})}),new Po({props:new $o({span:12})})],o}return Zet(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}(tt);VS(nnt,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function ont(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pv(e,t,n){return t=Cc(t),rnt(e,HS()?Reflect.construct(t,n||[],Cc(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 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 Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(e)}function Sv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rnt(e,t){return t&&(int(t)==="object"||typeof t=="function")?t:ont(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(e,t)}function int(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HS=function(){return!!e})()}var qS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(qS||(qS={}));var unt=function(e){Sv(t,e);function t(n){Ev(this,t);var o;return o=Pv(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}($e),lnt=function(e){Sv(t,e);function t(n){Ev(this,t);var o;if(o=Pv(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")}}}}]}}]),Uf.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),So=function(e){Sv(t,e);function t(n){Ev(this,t);var o;o=Pv(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 Ux(n==null?void 0:n.sublistPage);var c;o.isShowJoinRelation=(c=n==null?void 0:n.isShowJoinRelation)!==null&&c!==void 0?c:!1,o.joinRelation=new 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 m;return o.countLimit=(m=n==null?void 0:n.countLimit)!==null&&m!==void 0?m:1e5,o.rowStyle=new aM(n==null?void 0:n.rowStyle),o}return t}(Y);H(So,"Rules",lnt),H(So,"RuntimeRules",unt);function cnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ant(e,t,n){return t=Nc(t),ynt(e,WS()?Reflect.construct(t,n||[],Nc(e).constructor):t.apply(e,n))}function fnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function US(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _nt(e,t,n){return t&&US(e.prototype,t),n&&US(e,n),e}function To(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 snt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ynt(e,t){return t&&(pnt(t)==="object"||typeof t=="function")?t:cnt(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(e,t)}function pnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WS=function(){return!!e})()}var Ro=function(e){snt(t,e);function t(n){fnt(this,t);var o;return o=ant(this,t,[n]),To(o,"props",void 0),o.props=new So(n==null?void 0:n.props),o}return _nt(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}(tt);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 dnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vnt(e,t,n){return t=Vc(t),Ont(e,GS()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function hnt(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 bnt(e,t,n){return t&&KS(e.prototype,t),n&&KS(e,n),e}function mnt(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 gnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function Ont(e,t){return t&&(wnt(t)==="object"||typeof t=="function")?t:dnt(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(e,t)}function wnt(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 $nt=function(e){gnt(t,e);function t(n){hnt(this,t);var o;return o=vnt(this,t,[n]),mnt(o,"props",void 0),o.props=new So(n==null?void 0:n.props),o}return bnt(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(Pe),Pnt={Designer:Ro,Runtime:$nt,Property:So};function Ent(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XS(e,t,n){return t=zc(t),Snt(e,ZS()?Reflect.construct(t,n||[],zc(e).constructor):t.apply(e,n))}function QS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(e)}function JS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Snt(e,t){return t&&(Tnt(t)==="object"||typeof t=="function")?t:Ent(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(e,t)}function Tnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZS=function(){return!!e})()}var Rnt=function(e){JS(t,e);function t(n){QS(this,t);var o;return o=XS(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}($e),Hc=function(e){JS(t,e);function t(n){QS(this,t);var o;o=XS(this,t,[n]),me(o,"save",void 0),me(o,"cancel",void 0),me(o,"saveAs",void 0),me(o,"print",void 0),me(o,"custom",void 0),me(o,"isLoading",void 0),me(o,"datasourceBind",void 0);var r;o.save=new ce((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 ce((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 ce((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 ce((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:f("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1});var c;o.custom=((c=n==null?void 0:n.custom)!==null&&c!==void 0?c:[]).map(function(_){return new ce(_)});var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return t}(Y);me(Hc,"RuntimeRules",Rnt);function Bnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dnt(e,t,n){return t=qc(t),Fnt(e,eT()?Reflect.construct(t,n||[],qc(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 YS(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 Int(e,t,n){return t&&YS(e.prototype,t),n&&YS(e,n),e}function tT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(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&&Av(e,t)}function Fnt(e,t){return t&&(xnt(t)==="object"||typeof t=="function")?t:Bnt(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Av(e,t)}function xnt(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 nT=function(e){knt(t,e);function t(n){Ant(this,t);var o;return o=Dnt(this,t,[n]),tT(o,"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return Int(t,null,[{key:"controlName",get:function(){return f("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}},{key:"controlType",get:function(){return"data-view"}}]),t}(tt);tT(nT,"excludes",[]);function Mnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lnt(e,t,n){return t=Uc(t),znt(e,rT()?Reflect.construct(t,n||[],Uc(e).constructor):t.apply(e,n))}function jnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Cnt(e,t,n){return t&&oT(e.prototype,t),n&&oT(e,n),e}function Nnt(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 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&&Iv(e,t)}function znt(e,t){return t&&(Hnt(t)==="object"||typeof t=="function")?t:Mnt(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(e,t)}function Hnt(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 qnt=function(e){Vnt(t,e);function t(n){jnt(this,t);var o;return o=Lnt(this,t,[n]),Nnt(o,"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return Cnt(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(Pe),Unt={Designer:nT,Runtime:qnt,Property:Hc};function Wnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Knt(e,t,n){return t=Wc(t),Qnt(e,iT()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function Gnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kv(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&&Fv(e,t)}function Qnt(e,t){return t&&(Jnt(t)==="object"||typeof t=="function")?t:Wnt(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(e,t)}function Jnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iT=function(){return!!e})()}var Znt=function(e){Xnt(t,e);function t(n){Gnt(this,t);var o;o=Knt(this,t,[n]),kv(o,"position",void 0),kv(o,"opacity",void 0),kv(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}(Y);function Ynt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tot(e,t,n){return t=Gc(t),rot(e,lT()?Reflect.construct(t,n||[],Gc(e).constructor):t.apply(e,n))}function eot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function not(e,t,n){return t&&uT(e.prototype,t),n&&uT(e,n),e}function Kc(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 oot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rot(e,t){return t&&(iot(t)==="object"||typeof t=="function")?t:Ynt(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function iot(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 Mv=function(e){oot(t,e);function t(n){eot(this,t);var o;o=tot(this,t,[n]),Kc(o,"props",void 0);var r;return o.props=new Znt((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return not(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}(tt);Kc(Mv,"slotPosition",{default:"action-bar-slot"}),Kc(Mv,"excludes",[]),Kc(Mv,"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 uot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lv(e,t,n){return t=Xc(t),lot(e,cT()?Reflect.construct(t,n||[],Xc(e).constructor):t.apply(e,n))}function jv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(e)}function Cv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lot(e,t){return t&&(cot(t)==="object"||typeof t=="function")?t:uot(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(e,t)}function cot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cT=function(){return!!e})()}var aot=function(e){Cv(t,e);function t(n){jv(this,t);var o;return o=Lv(this,t,[n]),B(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),B(o,"limitRows",[{type:"number",required:!0,message:f("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:f("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}]),B(o,"formKey",{type:"string",required:!1,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),B(o,"maxHeight",{type:"number",required:!0,message:f("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")}),B(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),B(o,"mobileRowCaption",{type:"string",required:!1,message:f("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return t}(U),fot=function(e){Cv(t,e);function t(n){jv(this,t);var o;return o=Lv(this,t,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")},{type:"array",validator:function(i,u,l){u.length<n.limitRows&&l(f("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),l()},message:f("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")}),o}return t}($e),Vv=function(e){Cv(t,e);function t(n,o){jv(this,t);var r;r=Lv(this,t,[n,o,t.mode]),B(r,"caption",void 0),B(r,"labelPosition",void 0),B(r,"isHideCaption",void 0),B(r,"isShowCaptionTip",void 0),B(r,"captionTip",void 0),B(r,"defaultState",void 0),B(r,"limitRows",void 0),B(r,"maxRows",void 0),B(r,"defaultRows",void 0),B(r,"datasourceBind",void 0),B(r,"printMode",void 0),B(r,"openType",void 0),B(r,"formKey",void 0),B(r,"useCustomHeight",void 0),B(r,"maxHeight",void 0),B(r,"canAdd",void 0),B(r,"canDelete",void 0),B(r,"canCheck",void 0),B(r,"canEdit",void 0),B(r,"canImport",void 0),B(r,"importConfig",void 0),B(r,"canExport",void 0),B(r,"exportConfig",void 0),B(r,"canClear",void 0),B(r,"isPaste",void 0),B(r,"mobileShowType",void 0),B(r,"mobileDefaultNum",void 0),B(r,"dataStorageDoc",void 0),B(r,"serverPagination",void 0),B(r,"fixedColumn",void 0),B(r,"mobileRowCaption",void 0),B(r,"mobileIsTile",void 0),B(r,"sortable",void 0),B(r,"sortKey",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:Zc.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var l;r.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var c;r.labelPosition=(c=o==null?void 0:o.labelPosition)!==null&&c!==void 0?c:"top";var a;r.openType=(a=o==null?void 0:o.openType)!==null&&a!==void 0?a:"default";var _;r.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;r.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:Zj;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var m;r.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new X(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var S;r.canCheck=(S=o==null?void 0:o.canCheck)!==null&&S!==void 0?S:!1;var E;r.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!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 A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ct;r.serverPagination=(ct=o==null?void 0:o.serverPagination)!==null&&ct!==void 0?ct:!1;var D;r.isShowCaptionTip=(D=o==null?void 0:o.isShowCaptionTip)!==null&&D!==void 0?D:!1;var qt;r.captionTip=(qt=o==null?void 0:o.captionTip)!==null&&qt!==void 0?qt:"";var Mo;r.mobileShowType=(Mo=o==null?void 0:o.mobileShowType)!==null&&Mo!==void 0?Mo:"list";var Gn;r.mobileDefaultNum=(Gn=o==null?void 0:o.mobileDefaultNum)!==null&&Gn!==void 0?Gn:10;var Fe;r.dataStorageDoc=(Fe=o==null?void 0:o.dataStorageDoc)!==null&&Fe!==void 0?Fe:new Vx;var Ut;r.fixedColumn=(Ut=o==null?void 0:o.fixedColumn)!==null&&Ut!==void 0?Ut:[];var S0;r.mobileRowCaption=(S0=o==null?void 0:o.mobileRowCaption)!==null&&S0!==void 0?S0:f("CMD.detailed",null,"\u660E\u7EC6");var T0;r.mobileIsTile=(T0=o==null?void 0:o.mobileIsTile)!==null&&T0!==void 0?T0:!1;var R0;r.isPaste=(R0=o==null?void 0:o.isPaste)!==null&&R0!==void 0?R0:!1;var B0;r.pageSize=(B0=o==null?void 0:o.pageSize)!==null&&B0!==void 0?B0:10;var D0;r.pageSizeOptions=(D0=o==null?void 0:o.pageSizeOptions)!==null&&D0!==void 0?D0:[10,20,50,100],r.importConfig=new Qj(o==null?void 0:o.importConfig),r.exportConfig=new Jj(o==null?void 0:o.exportConfig);var A0;r.sortable=(A0=o==null?void 0:o.sortable)!==null&&A0!==void 0?A0:!1;var I0;return r.sortKey=(I0=o==null?void 0:o.sortKey)!==null&&I0!==void 0?I0:{},r}return t}(n_);B(Vv,"Rules",aot),B(Vv,"RuntimeRules",fot);function _ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sot(e,t,n){return t=Jc(t),vot(e,fT()?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 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 pot(e,t,n){return t&&aT(e.prototype,t),n&&aT(e,n),e}function Qc(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 dot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vot(e,t){return t&&(hot(t)==="object"||typeof t=="function")?t:_ot(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zv(e,t)}function hot(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 Zc=function(e){dot(t,e);function t(n){yot(this,t);var o,r;return o=sot(this,t,[n]),Qc(o,"props",void 0),o.props=new Vv(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 pot(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}(i_);Qc(Zc,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Qc(Zc,"slotPosition",{toolbar:"subtable-toolbar-slot"}),Qc(Zc,"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 bot(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=Yc(t),wot(e,_T()?Reflect.construct(t,n||[],Yc(e).constructor):t.apply(e,n))}function got(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Oot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function wot(e,t){return t&&($ot(t)==="object"||typeof t=="function")?t:bot(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(e,t)}function $ot(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 Pot=function(e){Oot(t,e);function t(n,o){got(this,t);var r;r=mot(this,t,[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 l;r.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var c;r.isShowCustomColumns=(c=o==null?void 0:o.isShowCustomColumns)!==null&&c!==void 0?c:!0;var a;return r.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[10,20,50,100,500],r}return t}(n_);function Eot(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){return t=ta(t),Tot(e,dT()?Reflect.construct(t,n||[],ta(e).constructor):t.apply(e,n))}function yT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sot(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 pT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function Tot(e,t){return t&&(Rot(t)==="object"||typeof t=="function")?t:Eot(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(e,t)}function Rot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dT=function(){return!!e})()}var Bot=function(e){pT(t,e);function t(n){yT(this,t);var o;return o=sT(this,t,[n]),o.caption.required=!1,o}return t}(Qt),Uv=function(e){pT(t,e);function t(n){yT(this,t);var o,r,i;o=sT(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:sn.controlName;var c;o.width=(c=n==null?void 0:n.width)!==null&&c!==void 0?c:60;var a;o.autoWidth.minWidth=(a=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&a!==void 0?a:60;var _;o.autoWidth.flex=(_=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return t}(K);Sot(Uv,"Rules",Bot);function Dot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aot(e,t,n){return t=ea(t),Fot(e,vT()?Reflect.construct(t,n||[],ea(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 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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(e)}function kot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function Fot(e,t){return t&&(xot(t)==="object"||typeof t=="function")?t:Dot(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wv(e,t)}function xot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vT=function(){return!!e})()}var sn=function(e){kot(t,e);function t(n){Iot(this,t);var o;return o=Aot(this,t,[n]),Do(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return t}(nt);Do(sn,"controlType","order-column"),Do(sn,"controlName",f("CMD.order",null,"\u5E8F\u53F7")),Do(sn,"controlIcon","order-column"),Do(sn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}]);function Mot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lot(e,t,n){return t=na(t),Not(e,hT()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function jot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kv(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 Cot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function Not(e,t){return t&&(Vot(t)==="object"||typeof t=="function")?t:Mot(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(e,t)}function Vot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hT=function(){return!!e})()}var bT=function(e){Cot(t,e);function t(n){jot(this,t);var o;return o=Lot(this,t,[n]),Kv(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return t}(ot);Kv(bT,"controlType","order-column"),Kv(bT,"controlFieldType",g.DECIMAL);function zot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hot(e,t,n){return t=oa(t),Wot(e,gT()?Reflect.construct(t,n||[],oa(e).constructor):t.apply(e,n))}function qot(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 oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(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&&Xv(e,t)}function Wot(e,t){return t&&(Kot(t)==="object"||typeof t=="function")?t:zot(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(e,t)}function Kot(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 OT=function(e){Uot(t,e);function t(n){qot(this,t);var o,r;o=Hot(this,t,[n]),mT(o,"showType",void 0),mT(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:yn.controlName;var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"icon";var a;return o.limit=(a=n==null?void 0:n.limit)!==null&&a!==void 0?a:3,o}return t}(K);function Got(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wT(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function Xot(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){wT(i,o,r,u,l,"next",c)}function l(c){wT(i,o,r,u,l,"throw",c)}u(void 0)})}}function Qot(e,t,n){return t=De(t),trt(e,PT()?Reflect.construct(t,n||[],De(e).constructor):t.apply(e,n))}function Jot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $T(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 Zot(e,t,n){return t&&$T(e.prototype,t),n&&$T(e,n),e}function Ao(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=ert(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Io(e,t,n||e)}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(e)}function 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&&(nrt(t)==="object"||typeof t=="function")?t:Got(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(e,t)}function ert(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=De(e),e!==null););return e}function nrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PT=function(){return!!e})()}function ort(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var yn=function(e){Yot(t,e);function t(n){Jot(this,t);var o;return o=Qot(this,t,[n]),Ao(o,"props",void 0),o.props=new OT(n==null?void 0:n.props),o}return Zot(t,[{key:"toDataBindModel",value:function(){var o=Io(De(t.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,l=function(){return Io(De(t.prototype),"validate",i)};return Xot(function(){return ort(this,function(c){switch(c.label){case 0:return[4,l().call(u,o,r)];case 1:return c.sent(),[4,Promise.all(u.children.map(function(a){return a.validate(o,r)}))];case 2:return c.sent(),[2,!0]}})})()}}]),t}(nt);Ao(yn,"controlType","operation-column"),Ao(yn,"controlName",f("CMD.operation",null,"\u64CD\u4F5C")),Ao(yn,"controlIcon","operation-column"),Ao(yn,"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},{key:"super-setting",visible:!0}]);function rrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function irt(e,t,n){return t=ra(t),crt(e,ET()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function urt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function 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&&Zv(e,t)}function crt(e,t){return t&&(art(t)==="object"||typeof t=="function")?t:rrt(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(e,t)}function art(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 ST=function(e){lrt(t,e);function t(n){urt(this,t);var o;return o=irt(this,t,[n]),Jv(o,"props",void 0),o.props=new OT(n==null?void 0:n.props),o}return t}(ot);Jv(ST,"controlType","operation-column"),Jv(ST,"controlFieldType",g.FILE);function frt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TT(e,t,n,o,r,i,u){try{var l=e[i](u),c=l.value}catch(a){n(a);return}l.done?t(c):Promise.resolve(c).then(o,r)}function _rt(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(c){TT(i,o,r,u,l,"next",c)}function l(c){TT(i,o,r,u,l,"throw",c)}u(void 0)})}}function srt(e,t,n){return t=Ae(t),grt(e,BT()?Reflect.construct(t,n||[],Ae(e).constructor):t.apply(e,n))}function yrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RT(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 prt(e,t,n){return t&&RT(e.prototype,t),n&&RT(e,n),e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ko(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ko=Reflect.get:ko=function(r,i,u){var l=Ort(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ko(e,t,n||e)}function Ae(e){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ae(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&&Yv(e,t)}function vrt(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function hrt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){oe(e,r,n[r])})}return e}function brt(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 mrt(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):brt(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function grt(e,t){return t&&(wrt(t)==="object"||typeof t=="function")?t:frt(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(e,t)}function Ort(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ae(e),e!==null););return e}function wrt(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})()}function $rt(e,t){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(_){return c([a,_])}}function c(a){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=a[0]&2?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[a[0]&2,r.value]),a[0]){case 0:case 1:r=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,o=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){u.label=a[1];break}if(a[0]===6&&u.label<r[1]){u.label=r[1],r=a;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(a);break}r[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(_){a=[6,_],o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Prt=1e4,ia=function(t){drt(n,t);function n(o){yrt(this,n);var r;r=srt(this,n,[o]),oe(r,"props",void 0),oe(r,"children",void 0),oe(r,"excludes",void 0),oe(r,"childrenMaxLength",void 0);var i=vrt(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Pot(r,o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(r.props.headers=[new sn,new yn]),r.excludes=Bt(u),r.childrenMaxLength=l,r}return prt(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=ko(Ae(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return mrt(hrt({},r),{children:i})}},{key:"validate",value:function(r,i){var u=this,l=this,c=function(){return ko(Ae(n.prototype),"validate",u)};return _rt(function(){return $rt(this,function(a){switch(a.label){case 0:return[4,c().call(l,r,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(r,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return f("CMD.gridTable",null,"\u8868\u683C")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(i_);oe(ia,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),oe(ia,"setting",[{key:"list-fixed-header",visible:!0}]),oe(ia,"excludes",[]),oe(ia,"childrenMaxLength",Prt);function Ert(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=ua(t),Srt(e,kT()?Reflect.construct(t,n||[],ua(e).constructor):t.apply(e,n))}function AT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(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&&th(e,t)}function Srt(e,t){return t&&(Trt(t)==="object"||typeof t=="function")?t:Ert(e)}function th(e,t){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(e,t)}function Trt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kT=function(){return!!e})()}var Rrt=function(e){IT(t,e);function t(n){AT(this,t);var o;return o=DT(this,t,[n]),ye.call(o,n),o}return t}(f_),eh=function(e){IT(t,e);function t(n){AT(this,t);var o;o=DT(this,t,[n]),ge(o,"optionConfig",void 0),ge(o,"datasourceBind",void 0),ge(o,"showLinkOperation",void 0),ge(o,"linkOperationOption",void 0),ge(o,"options",void 0),ge(o,"lineEllipsis",void 0),ge(o,"dictionaryTagConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:dn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.options=Gt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.dictionaryTagConfig=(a=n==null?void 0:n.dictionaryTagConfig)!==null&&a!==void 0?a:{isTag:!1},o}return t}(K);ge(eh,"Rules",Rrt);function Brt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Drt(e,t,n){return t=la(t),krt(e,FT()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function Art(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(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 Irt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function krt(e,t){return t&&(Frt(t)==="object"||typeof t=="function")?t:Brt(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(e,t)}function Frt(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 dn=function(e){Irt(t,e);function t(n){Art(this,t);var o;return o=Drt(this,t,[n]),pn(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return t}(nt);pn(dn,"controlType","varchar-column"),pn(dn,"controlName",f("CMD.varchar",null,"\u77ED\u6587\u672C")),pn(dn,"controlIcon","varchar-column"),pn(dn,"controlFieldType",g.VARCHAR),pn(dn,"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},{key:"super-setting",visible:!0}]);function xrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mrt(e,t,n){return t=ca(t),Crt(e,xT()?Reflect.construct(t,n||[],ca(e).constructor):t.apply(e,n))}function Lrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(e)}function jrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Crt(e,t){return t&&(Nrt(t)==="object"||typeof t=="function")?t:xrt(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(e,t)}function Nrt(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 MT=function(e){jrt(t,e);function t(n){Lrt(this,t);var o;return o=Mrt(this,t,[n]),oh(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return t}(ot);oh(MT,"controlType","varchar-column"),oh(MT,"controlFieldType",g.VARCHAR);function Vrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LT(e,t,n){return t=aa(t),zrt(e,NT()?Reflect.construct(t,n||[],aa(e).constructor):t.apply(e,n))}function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fo(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 CT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function zrt(e,t){return t&&(Hrt(t)==="object"||typeof t=="function")?t:Vrt(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(e,t)}function Hrt(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 qrt=function(e){CT(t,e);function t(n){jT(this,t);var o;return o=LT(this,t,[n]),ye.call(o,n),o}return t}(Qt),uh=function(e){CT(t,e);function t(n){jT(this,t);var o;o=LT(this,t,[n]),Fo(o,"escapeHTML",void 0),Fo(o,"showLinkOperation",void 0),Fo(o,"linkOperationOption",void 0),Fo(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:bn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(K);Fo(uh,"Rules",qrt);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=hn(t),Qrt(e,zT()?Reflect.construct(t,n||[],hn(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 VT(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 Grt(e,t,n){return t&&VT(e.prototype,t),n&&VT(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 fa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?fa=Reflect.get:fa=function(r,i,u){var l=Jrt(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},fa(e,t,n||e)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(e)}function Xrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qrt(e,t){return t&&(Zrt(t)==="object"||typeof t=="function")?t:Urt(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(e,t)}function Jrt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hn(e),e!==null););return e}function Zrt(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 bn=function(e){Xrt(t,e);function t(n){Krt(this,t);var o;return o=Wrt(this,t,[n]),vn(o,"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return Grt(t,[{key:"toDataBindModel",value:function(o){var r=fa(hn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(nt);vn(bn,"controlType","text-column"),vn(bn,"controlName",f("CMD.long",null,"\u957F\u6587\u672C")),vn(bn,"controlIcon","text-column"),vn(bn,"controlFieldType",g.TEXT),vn(bn,"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},{key:"super-setting",visible:!0}]);function Yrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tit(e,t,n){return t=_a(t),oit(e,HT()?Reflect.construct(t,n||[],_a(e).constructor):t.apply(e,n))}function eit(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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function nit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function oit(e,t){return t&&(rit(t)==="object"||typeof t=="function")?t:Yrt(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(e,t)}function rit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HT=function(){return!!e})()}var qT=function(e){nit(t,e);function t(n){eit(this,t);var o;return o=tit(this,t,[n]),ch(o,"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return t}(ot);ch(qT,"controlType","text-column"),ch(qT,"controlFieldType",g.TEXT);function iit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UT(e,t,n){return t=sa(t),uit(e,GT()?Reflect.construct(t,n||[],sa(e).constructor):t.apply(e,n))}function WT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(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&&fh(e,t)}function uit(e,t){return t&&(lit(t)==="object"||typeof t=="function")?t:iit(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(e,t)}function lit(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 cit=function(e){KT(t,e);function t(n){WT(this,t);var o;return o=UT(this,t,[n]),ye.call(o,n),o}return t}(f_),_h=function(e){KT(t,e);function t(n){WT(this,t);var o;o=UT(this,t,[n]),re(o,"optionConfig",void 0),re(o,"datasourceBind",void 0),re(o,"showLinkOperation",void 0),re(o,"linkOperationOption",void 0),re(o,"options",void 0),re(o,"precision",void 0),re(o,"micrometer",void 0),re(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:On.controlName;var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var a;o.options=Gt((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(K);re(_h,"Rules",cit);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=gn(t),pit(e,QT()?Reflect.construct(t,n||[],gn(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 XT(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 sit(e,t,n){return t&&XT(e.prototype,t),n&&XT(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 ya(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ya=Reflect.get:ya=function(r,i,u){var l=dit(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ya(e,t,n||e)}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(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&&sh(e,t)}function pit(e,t){return t&&(vit(t)==="object"||typeof t=="function")?t:ait(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(e,t)}function dit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gn(e),e!==null););return e}function vit(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){yit(t,e);function t(n){_it(this,t);var o;return o=fit(this,t,[n]),mn(o,"props",void 0),o.props=new _h(n==null?void 0:n.props),o}return sit(t,[{key:"toDataBindModel",value:function(o){var r=ya(gn(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}(nt);mn(On,"controlType","decimal-column"),mn(On,"controlName",f("CMD.decimal",null,"\u6570\u503C")),mn(On,"controlIcon","decimal-column"),mn(On,"controlFieldType",g.DECIMAL),mn(On,"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},{key:"super-setting",visible:!0}]);function hit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bit(e,t,n){return t=pa(t),Oit(e,JT()?Reflect.construct(t,n||[],pa(e).constructor):t.apply(e,n))}function mit(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 pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(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&&ph(e,t)}function Oit(e,t){return t&&(wit(t)==="object"||typeof t=="function")?t:hit(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(e,t)}function wit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JT=function(){return!!e})()}var ZT=function(e){git(t,e);function t(n){mit(this,t);var o;return o=bit(this,t,[n]),yh(o,"props",void 0),o.props=new _h(n==null?void 0:n.props),o}return t}(ot);yh(ZT,"controlType","decimal-column"),yh(ZT,"controlFieldType",g.DECIMAL);function $it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YT(e,t,n){return t=va(t),Pit(e,nR()?Reflect.construct(t,n||[],va(e).constructor):t.apply(e,n))}function tR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function da(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 eR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function Pit(e,t){return t&&(Eit(t)==="object"||typeof t=="function")?t:$it(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(e,t)}function Eit(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 Sit=function(e){eR(t,e);function t(n){tR(this,t);var o;return o=YT(this,t,[n]),ye.call(o,n),o}return t}(Qt),vh=function(e){eR(t,e);function t(n){tR(this,t);var o;o=YT(this,t,[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:ie.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pn.controlName,o}return t}(K);da(vh,"Rules",Sit);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=$n(t),Iit(e,rR()?Reflect.construct(t,n||[],$n(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 oR(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 Dit(e,t,n){return t&&oR(e.prototype,t),n&&oR(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 ha(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ha=Reflect.get:ha=function(r,i,u){var l=kit(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},ha(e,t,n||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(e)}function Ait(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iit(e,t){return t&&(Fit(t)==="object"||typeof t=="function")?t:Tit(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(e,t)}function kit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function Fit(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 Pn=function(e){Ait(t,e);function t(n){Bit(this,t);var o;return o=Rit(this,t,[n]),wn(o,"props",void 0),o.props=new vh(n==null?void 0:n.props),o}return Dit(t,[{key:"toDataBindModel",value:function(o){var r=ha($n(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(nt);wn(Pn,"controlType","timescope-column"),wn(Pn,"controlName",f("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")),wn(Pn,"controlIcon","timescope-column"),wn(Pn,"controlFieldType",g.TIMESCOPE),wn(Pn,"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},{key:"super-setting",visible:!0}]);function xit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mit(e,t,n){return t=ba(t),Cit(e,iR()?Reflect.construct(t,n||[],ba(e).constructor):t.apply(e,n))}function Lit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bh(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 jit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cit(e,t){return t&&(Nit(t)==="object"||typeof t=="function")?t:xit(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(e,t)}function Nit(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 uR=function(e){jit(t,e);function t(n){Lit(this,t);var o;return o=Mit(this,t,[n]),bh(o,"props",void 0),o.props=new vh(n==null?void 0:n.props),o}return t}(ot);bh(uR,"controlType","timescope-column"),bh(uR,"controlFieldType",g.TIMESCOPE);function Vit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lR(e,t,n){return t=ga(t),zit(e,fR()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}function cR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(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 aR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function zit(e,t){return t&&(Hit(t)==="object"||typeof t=="function")?t:Vit(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(e,t)}function Hit(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 qit=function(e){aR(t,e);function t(n){cR(this,t);var o;return o=lR(this,t,[n]),ye.call(o,n),o}return t}(Qt),Oh=function(e){aR(t,e);function t(n){cR(this,t);var o;o=lR(this,t,[n]),ma(o,"dateType",void 0),ma(o,"showLinkOperation",void 0),ma(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:ie.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Tn.controlName,o}return t}(K);ma(Oh,"Rules",qit);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=Sn(t),Qit(e,sR()?Reflect.construct(t,n||[],Sn(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 _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 Git(e,t,n){return t&&_R(e.prototype,t),n&&_R(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 Oa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Oa=Reflect.get:Oa=function(r,i,u){var l=Jit(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Oa(e,t,n||e)}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(e)}function Xit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qit(e,t){return t&&(Zit(t)==="object"||typeof t=="function")?t:Uit(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function Jit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sn(e),e!==null););return e}function Zit(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 Tn=function(e){Xit(t,e);function t(n){Kit(this,t);var o;return o=Wit(this,t,[n]),En(o,"props",void 0),o.props=new Oh(n==null?void 0:n.props),o}return Git(t,[{key:"toDataBindModel",value:function(o){var r=Oa(Sn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(nt);En(Tn,"controlType","timestamp-column"),En(Tn,"controlName",f("CMD.timestamp",null,"\u65E5\u671F")),En(Tn,"controlIcon","timestamp-column"),En(Tn,"controlFieldType",g.TIMESTAMP),En(Tn,"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},{key:"super-setting",visible:!0}]);function Yit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tut(e,t,n){return t=wa(t),out(e,yR()?Reflect.construct(t,n||[],wa(e).constructor):t.apply(e,n))}function eut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function nut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function out(e,t){return t&&(rut(t)==="object"||typeof t=="function")?t:Yit(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(e,t)}function rut(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 pR=function(e){nut(t,e);function t(n){eut(this,t);var o;return o=tut(this,t,[n]),$h(o,"props",void 0),o.props=new Oh(n==null?void 0:n.props),o}return t}(ot);$h(pR,"controlType","timestamp-column"),$h(pR,"controlFieldType",g.TIMESTAMP);function iut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dR(e,t,n){return t=$a(t),uut(e,bR()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function vR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(e)}function hR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uut(e,t){return t&&(lut(t)==="object"||typeof t=="function")?t:iut(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(e,t)}function lut(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 cut=function(e){hR(t,e);function t(n){vR(this,t);var o;return o=dR(this,t,[n]),ye.call(o,n),o}return t}(f_),Sh=function(e){hR(t,e);function t(n){vR(this,t);var o;o=dR(this,t,[n]),Rn(o,"optionConfig",void 0),Rn(o,"datasourceBind",void 0),Rn(o,"showLinkOperation",void 0),Rn(o,"linkOperationOption",void 0),Rn(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Dn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var l;return o.options=Gt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return t}(K);Rn(Sh,"Rules",cut);function aut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fut(e,t,n){return t=Pa(t),yut(e,mR()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function _ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bn(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 sut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function yut(e,t){return t&&(put(t)==="object"||typeof t=="function")?t:aut(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(e,t)}function put(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 Dn=function(e){sut(t,e);function t(n){_ut(this,t);var o;return o=fut(this,t,[n]),Bn(o,"props",void 0),o.props=new Sh(n==null?void 0:n.props),o}return t}(nt);Bn(Dn,"controlType","array-column"),Bn(Dn,"controlName",f("CMD.array",null,"\u6570\u7EC4")),Bn(Dn,"controlIcon","array-column"),Bn(Dn,"controlFieldType",g.ARRAY),Bn(Dn,"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},{key:"super-setting",visible:!0}]);function dut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vut(e,t,n){return t=Ea(t),mut(e,gR()?Reflect.construct(t,n||[],Ea(e).constructor):t.apply(e,n))}function hut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rh(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 but(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mut(e,t){return t&&(gut(t)==="object"||typeof t=="function")?t:dut(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(e,t)}function gut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gR=function(){return!!e})()}var OR=function(e){but(t,e);function t(n){hut(this,t);var o;return o=vut(this,t,[n]),Rh(o,"props",void 0),o.props=new Sh(n==null?void 0:n.props),o}return t}(ot);Rh(OR,"controlType","array-column"),Rh(OR,"controlFieldType",g.ARRAY);function Out(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wut(e,t,n){return t=Sa(t),Sut(e,wR()?Reflect.construct(t,n||[],Sa(e).constructor):t.apply(e,n))}function $ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Put(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 Eut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function Sut(e,t){return t&&(Tut(t)==="object"||typeof t=="function")?t:Out(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(e,t)}function Tut(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 $R=function(e){Eut(t,e);function t(n){$ut(this,t);var o;o=wut(this,t,[n]),Put(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:kn.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return t}(K);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=In(t),kut(e,ER()?Reflect.construct(t,n||[],In(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 PR(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 Aut(e,t,n){return t&&PR(e.prototype,t),n&&PR(e,n),e}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 Ta(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ta=Reflect.get:Ta=function(r,i,u){var l=Fut(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Ta(e,t,n||e)}function In(e){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(e)}function Iut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function kut(e,t){return t&&(xut(t)==="object"||typeof t=="function")?t:Rut(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(e,t)}function Fut(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=In(e),e!==null););return e}function xut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ER(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ER=function(){return!!e})()}var kn=function(e){Iut(t,e);function t(n){Dut(this,t);var o;return o=But(this,t,[n]),An(o,"props",void 0),o.props=new $R(n==null?void 0:n.props),o}return Aut(t,[{key:"toDataBindModel",value:function(o){var r=Ta(In(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(nt);An(kn,"controlType","department-column"),An(kn,"controlName",f("CMD.department",null,"\u90E8\u95E8")),An(kn,"controlIcon","department-column"),An(kn,"controlFieldType",g.DEPARTMENTS),An(kn,"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},{key:"super-setting",visible:!0}]);function Mut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lut(e,t,n){return t=Ra(t),Nut(e,SR()?Reflect.construct(t,n||[],Ra(e).constructor):t.apply(e,n))}function jut(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 Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(e)}function Cut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function Nut(e,t){return t&&(Vut(t)==="object"||typeof t=="function")?t:Mut(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(e,t)}function Vut(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){Cut(t,e);function t(n){jut(this,t);var o;return o=Lut(this,t,[n]),Ih(o,"props",void 0),o.props=new $R(n==null?void 0:n.props),o}return t}(ot);Ih(TR,"controlType","department-column"),Ih(TR,"controlFieldType",g.DEPARTMENTS);function zut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RR(e,t,n){return t=Ba(t),Hut(e,AR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function BR(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 Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(e)}function DR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hut(e,t){return t&&(qut(t)==="object"||typeof t=="function")?t:zut(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xh(e,t)}function qut(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 Uut=function(e){DR(t,e);function t(n){BR(this,t);var o;return o=RR(this,t,[n]),ye.call(o,n),o}return t}(Qt),Mh=function(e){DR(t,e);function t(n){BR(this,t);var o;o=RR(this,t,[n]),Fh(o,"showLinkOperation",void 0),Fh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:xn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(K);Fh(Mh,"Rules",Uut);function Wut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kut(e,t,n){return t=Da(t),Qut(e,IR()?Reflect.construct(t,n||[],Da(e).constructor):t.apply(e,n))}function Gut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fn(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 Xut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qut(e,t){return t&&(Jut(t)==="object"||typeof t=="function")?t:Wut(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(e,t)}function Jut(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 xn=function(e){Xut(t,e);function t(n){Gut(this,t);var o;return o=Kut(this,t,[n]),Fn(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return t}(nt);Fn(xn,"controlType","auto-number-column"),Fn(xn,"controlName",f("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")),Fn(xn,"controlIcon","auto-number-column"),Fn(xn,"controlFieldType",g.AUTO_NUMBER),Fn(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-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function Zut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yut(e,t,n){return t=Aa(t),nlt(e,kR()?Reflect.construct(t,n||[],Aa(e).constructor):t.apply(e,n))}function tlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jh(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 elt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function nlt(e,t){return t&&(olt(t)==="object"||typeof t=="function")?t:Zut(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ch(e,t)}function olt(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 FR=function(e){elt(t,e);function t(n){tlt(this,t);var o;return o=Yut(this,t,[n]),jh(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return t}(ot);jh(FR,"controlType","auto-number-column"),jh(FR,"controlFieldType",g.AUTO_NUMBER);function rlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ilt(e,t,n){return t=Ia(t),alt(e,xR()?Reflect.construct(t,n||[],Ia(e).constructor):t.apply(e,n))}function ult(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function llt(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 clt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 alt(e,t){return t&&(flt(t)==="object"||typeof t=="function")?t:rlt(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function flt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xR=function(){return!!e})()}var MR=function(e){clt(t,e);function t(n){ult(this,t);var o;o=ilt(this,t,[n]),llt(o,"operation",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ln.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 _lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function slt(e,t,n){return t=ka(t),dlt(e,LR()?Reflect.construct(t,n||[],ka(e).constructor):t.apply(e,n))}function ylt(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 ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(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&&Vh(e,t)}function dlt(e,t){return t&&(vlt(t)==="object"||typeof t=="function")?t:_lt(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vh(e,t)}function vlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LR=function(){return!!e})()}var Ln=function(e){plt(t,e);function t(n){ylt(this,t);var o;return o=slt(this,t,[n]),Mn(o,"props",void 0),o.props=new MR(n==null?void 0:n.props),o}return t}(nt);Mn(Ln,"controlType","file-column"),Mn(Ln,"controlName",f("CMD.file",null,"\u9644\u4EF6")),Mn(Ln,"controlIcon","file-column"),Mn(Ln,"controlFieldType",g.FILE),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:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}]);function hlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function blt(e,t,n){return t=Fa(t),Olt(e,jR()?Reflect.construct(t,n||[],Fa(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 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 Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(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 Olt(e,t){return t&&(wlt(t)==="object"||typeof t=="function")?t:hlt(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(e,t)}function wlt(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 CR=function(e){glt(t,e);function t(n){mlt(this,t);var o;return o=blt(this,t,[n]),zh(o,"props",void 0),o.props=new MR(n==null?void 0:n.props),o}return t}(ot);zh(CR,"controlType","file-column"),zh(CR,"controlFieldType",g.FILE);function $lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Plt(e,t,n){return t=xa(t),Tlt(e,NR()?Reflect.construct(t,n||[],xa(e).constructor):t.apply(e,n))}function Elt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function Slt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tlt(e,t){return t&&(Rlt(t)==="object"||typeof t=="function")?t:$lt(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(e,t)}function Rlt(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 VR=function(e){Slt(t,e);function t(n){Elt(this,t);var o;o=Plt(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 Blt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dlt(e,t,n){return t=Ma(t),klt(e,zR()?Reflect.construct(t,n||[],Ma(e).constructor):t.apply(e,n))}function Alt(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 Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(e)}function Ilt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 klt(e,t){return t&&(Flt(t)==="object"||typeof t=="function")?t:Blt(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uh(e,t)}function Flt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zR=function(){return!!e})()}var Cn=function(e){Ilt(t,e);function t(n){Alt(this,t);var o;return o=Dlt(this,t,[n]),jn(o,"props",void 0),o.props=new VR(n==null?void 0:n.props),o}return t}(nt);jn(Cn,"controlType","image-column"),jn(Cn,"controlName",f("CMD.image",null,"\u56FE\u7247")),jn(Cn,"controlIcon","image-column"),jn(Cn,"controlFieldType",g.IMAGE),jn(Cn,"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},{key:"super-setting",visible:!0}]);function xlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mlt(e,t,n){return t=La(t),Clt(e,HR()?Reflect.construct(t,n||[],La(e).constructor):t.apply(e,n))}function Llt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wh(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 jlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function Clt(e,t){return t&&(Nlt(t)==="object"||typeof t=="function")?t:xlt(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(e,t)}function Nlt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HR=function(){return!!e})()}var qR=function(e){jlt(t,e);function t(n){Llt(this,t);var o;return o=Mlt(this,t,[n]),Wh(o,"props",void 0),o.props=new VR(n==null?void 0:n.props),o}return t}(ot);Wh(qR,"controlType","image-column"),Wh(qR,"controlFieldType",g.IMAGE);function Vlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zlt(e,t,n){return t=ja(t),Ult(e,UR()?Reflect.construct(t,n||[],ja(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 ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(e)}function qlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function Ult(e,t){return t&&(Wlt(t)==="object"||typeof t=="function")?t:Vlt(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(e,t)}function Wlt(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 WR=function(e){qlt(t,e);function t(n){Hlt(this,t);var o;o=zlt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Vn.controlName,o}return t}(K);function Klt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Glt(e,t,n){return t=Ca(t),Jlt(e,KR()?Reflect.construct(t,n||[],Ca(e).constructor):t.apply(e,n))}function Xlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(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 Qlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jlt(e,t){return t&&(Zlt(t)==="object"||typeof t=="function")?t:Klt(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(e,t)}function Zlt(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 Vn=function(e){Qlt(t,e);function t(n){Xlt(this,t);var o;return o=Glt(this,t,[n]),Nn(o,"props",void 0),o.props=new WR(n==null?void 0:n.props),o}return t}(nt);Nn(Vn,"controlType","people-column"),Nn(Vn,"controlName",f("CMD.people",null,"\u4EBA\u5458")),Nn(Vn,"controlIcon","people-column"),Nn(Vn,"controlFieldType",g.EMPLOYEES),Nn(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-sort",visible:!0},{key:"super-setting",visible:!0}]);function Ylt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tct(e,t,n){return t=Na(t),oct(e,GR()?Reflect.construct(t,n||[],Na(e).constructor):t.apply(e,n))}function ect(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Na(e)}function nct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function oct(e,t){return t&&(rct(t)==="object"||typeof t=="function")?t:Ylt(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jh(e,t)}function rct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GR=function(){return!!e})()}var XR=function(e){nct(t,e);function t(n){ect(this,t);var o;return o=tct(this,t,[n]),Qh(o,"props",void 0),o.props=new WR(n==null?void 0:n.props),o}return t}(ot);Qh(XR,"controlType","people-column"),Qh(XR,"controlFieldType",g.EMPLOYEES);function ict(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QR(e,t,n){return t=Va(t),uct(e,YR()?Reflect.construct(t,n||[],Va(e).constructor):t.apply(e,n))}function JR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Va(e)}function ZR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uct(e,t){return t&&(lct(t)==="object"||typeof t=="function")?t:ict(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(e,t)}function lct(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 cct=function(e){ZR(t,e);function t(n){JR(this,t);var o;return o=QR(this,t,[n]),ye.call(o,n),o}return t}(Qt),t0=function(e){ZR(t,e);function t(n){JR(this,t);var o;o=QR(this,t,[n]),Zh(o,"showLinkOperation",void 0),Zh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Hn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption),o}return t}(K);Zh(t0,"Rules",cct);function act(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fct(e,t,n){return t=za(t),yct(e,tB()?Reflect.construct(t,n||[],za(e).constructor):t.apply(e,n))}function _ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},za(e)}function sct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yct(e,t){return t&&(pct(t)==="object"||typeof t=="function")?t:act(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(e,t)}function pct(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 Hn=function(e){sct(t,e);function t(n){_ct(this,t);var o;return o=fct(this,t,[n]),zn(o,"props",void 0),o.props=new t0(n==null?void 0:n.props),o}return t}(nt);zn(Hn,"controlType","location-column"),zn(Hn,"controlName",f("CMD.location",null,"\u5730\u5740")),zn(Hn,"controlIcon","location-column"),zn(Hn,"controlFieldType",g.ADDRESS),zn(Hn,"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},{key:"super-setting",visible:!0}]);function dct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vct(e,t,n){return t=Ha(t),mct(e,eB()?Reflect.construct(t,n||[],Ha(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 n0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ha(e)}function bct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function mct(e,t){return t&&(gct(t)==="object"||typeof t=="function")?t:dct(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o0(e,t)}function gct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eB=function(){return!!e})()}var nB=function(e){bct(t,e);function t(n){hct(this,t);var o;return o=vct(this,t,[n]),n0(o,"props",void 0),o.props=new t0(n==null?void 0:n.props),o}return t}(ot);n0(nB,"controlType","location-column"),n0(nB,"controlFieldType",g.ADDRESS);function Oct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oB(e,t,n){return t=Ua(t),wct(e,uB()?Reflect.construct(t,n||[],Ua(e).constructor):t.apply(e,n))}function rB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qa(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 iB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wct(e,t){return t&&($ct(t)==="object"||typeof t=="function")?t:Oct(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r0(e,t)}function $ct(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 Pct=function(e){iB(t,e);function t(n){rB(this,t);var o;return o=oB(this,t,[n]),qa(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}(Qt),i0=function(e){iB(t,e);function t(n){rB(this,t);var o;o=oB(this,t,[n]),qa(o,"fieldCodeList",void 0),qa(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Oe.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);qa(i0,"Rules",Pct);function Ect(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sct(e,t,n){return t=qn(t),Act(e,cB()?Reflect.construct(t,n||[],qn(e).constructor):t.apply(e,n))}function Tct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lB(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 Rct(e,t,n){return t&&lB(e.prototype,t),n&&lB(e,n),e}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Wa=Reflect.get:Wa=function(r,i,u){var l=Ict(r,i);if(!!l){var c=Object.getOwnPropertyDescriptor(l,i);return c.get?c.get.call(u||r):c.value}},Wa(e,t,n||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(e)}function Bct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dct(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Act(e,t){return t&&(kct(t)==="object"||typeof t=="function")?t:Ect(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u0(e,t)}function Ict(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function kct(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cB=function(){return!!e})()}var Fct=1,Oe=function(t){Bct(n,t);function n(o){Tct(this,n);var r;r=Sct(this,n,[o]),jt(r,"excludes",void 0),jt(r,"childrenMaxLength",void 0),jt(r,"props",void 0),jt(r,"children",void 0);var i=Dct(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new i0(o==null?void 0:o.props),Wt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Bt(u),r.childrenMaxLength=l,r}return Rct(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=Wa(qn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(nt);jt(Oe,"controlType","custom-column"),jt(Oe,"controlName",f("CMD.custom",null,"\u81EA\u5B9A\u4E49")),jt(Oe,"controlIcon","custom-column"),jt(Oe,"slots",["column-column-slot"]),jt(Oe,"excludes",[]),jt(Oe,"childrenMaxLength",Fct),jt(Oe,"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},{key:"super-setting",visible:!0}]);function xct(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=Ka(t),Cct(e,aB()?Reflect.construct(t,n||[],Ka(e).constructor):t.apply(e,n))}function Lct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(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 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&&c0(e,t)}function Cct(e,t){return t&&(Nct(t)==="object"||typeof t=="function")?t:xct(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(e,t)}function Nct(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 Vct=function(e){jct(t,e);function t(n){Lct(this,t);var o;return o=Mct(this,t,[n]),l0(o,"props",void 0),l0(o,"children",void 0),o.props=new i0(n==null?void 0:n.props),Wt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(ot);l0(Vct,"controlType","custom-column");function zct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hct(e,t,n){return t=Ga(t),Kct(e,fB()?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 Uct(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 Wct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kct(e,t){return t&&(Gct(t)==="object"||typeof t=="function")?t:zct(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a0(e,t)}function Gct(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 _B=function(e){Wct(t,e);function t(n){qct(this,t);var o;o=Hct(this,t,[n]),Uct(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ie.controlName;var i;return o.datasourceBind=new zo((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Ie.controlCustomAttributes}),o}return t}(K);function Xct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qct(e,t,n){return t=Xa(t),tat(e,yB()?Reflect.construct(t,n||[],Xa(e).constructor):t.apply(e,n))}function Jct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sB(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Zct(e,t,n){return t&&sB(e.prototype,t),n&&sB(e,n),e}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 Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(e)}function Yct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tat(e,t){return t&&(eat(t)==="object"||typeof t=="function")?t:Xct(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f0(e,t)}function eat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yB=function(){return!!e})()}var Ie=function(e){Yct(t,e);function t(n){Jct(this,t);var o;return o=Qct(this,t,[n]),Un(o,"props",void 0),o.props=new _B(n==null?void 0:n.props),o}return Zct(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(nt);Un(Ie,"controlType","employee-column"),Un(Ie,"controlName",f("CMD.employee",null,"\u4EBA\u5458")),Un(Ie,"controlIcon","employee-column"),Un(Ie,"controlFieldType",g.EMPLOYEES),Un(Ie,"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},{key:"super-setting",visible:!0}]);function nat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oat(e,t,n){return t=Qa(t),uat(e,pB()?Reflect.construct(t,n||[],Qa(e).constructor):t.apply(e,n))}function rat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qa(e)}function 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&&s0(e,t)}function uat(e,t){return t&&(lat(t)==="object"||typeof t=="function")?t:nat(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s0(e,t)}function lat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pB=function(){return!!e})()}var dB=function(e){iat(t,e);function t(n){rat(this,t);var o;return o=oat(this,t,[n]),_0(o,"props",void 0),o.props=new _B(n==null?void 0:n.props),o}return t}(ot);_0(dB,"controlType","employee-column"),_0(dB,"controlFieldType",g.EMPLOYEES);function cat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aat(e,t,n){return t=Ja(t),sat(e,vB()?Reflect.construct(t,n||[],Ja(e).constructor):t.apply(e,n))}function fat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y0(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 _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&&p0(e,t)}function sat(e,t){return t&&(yat(t)==="object"||typeof t=="function")?t:cat(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p0(e,t)}function yat(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 hB=function(e){_at(t,e);function t(n){fat(this,t);var o;o=aat(this,t,[n]),y0(o,"lineEllipsis",void 0),y0(o,"showLinkOperation",void 0),y0(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Wn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Kt(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return t}(K);function pat(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=Za(t),bat(e,bB()?Reflect.construct(t,n||[],Za(e).constructor):t.apply(e,n))}function vat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(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 hat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bat(e,t){return t&&(mat(t)==="object"||typeof t=="function")?t:pat(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d0(e,t)}function mat(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 Wn=function(e){hat(t,e);function t(n){vat(this,t);var o;return o=dat(this,t,[n]),ke(o,"props",void 0),ke(o,"children",void 0),o.props=new hB(n==null?void 0:n.props),o}return t}(nt);ke(Wn,"controlType","approval-status-column"),ke(Wn,"controlName",f("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001")),ke(Wn,"controlIcon","approval-status-column"),ke(Wn,"excludes",[]),ke(Wn,"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},{key:"super-setting",visible:!0}]);function gat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oat(e,t,n){return t=Ya(t),Pat(e,mB()?Reflect.construct(t,n||[],Ya(e).constructor):t.apply(e,n))}function wat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v0(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 $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&&h0(e,t)}function Pat(e,t){return t&&(Eat(t)==="object"||typeof t=="function")?t:gat(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h0(e,t)}function Eat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mB=function(){return!!e})()}var Sat=function(e){$at(t,e);function t(n){wat(this,t);var o;return o=Oat(this,t,[n]),v0(o,"props",void 0),v0(o,"children",void 0),o.props=new hB(n==null?void 0:n.props),o}return t}(ot);v0(Sat,"controlType","approval-status-column");function Tat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gB(e,t,n){return t=tf(t),Rat(e,$B()?Reflect.construct(t,n||[],tf(e).constructor):t.apply(e,n))}function OB(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 tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tf(e)}function wB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function Rat(e,t){return t&&(Bat(t)==="object"||typeof t=="function")?t:Tat(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b0(e,t)}function Bat(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 Dat=function(e){wB(t,e);function t(n){OB(this,t);var o;return o=gB(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}($e),m0=function(e){wB(t,e);function t(n){OB(this,t);var o;o=gB(this,t,[n]),Pt(o,"search",void 0),Pt(o,"cancel",void 0),Pt(o,"searchType",void 0),Pt(o,"labelPosition",void 0),Pt(o,"viewType",void 0),Pt(o,"isLoading",void 0),Pt(o,"custom",void 0),Pt(o,"queryTypeMap",void 0),Pt(o,"childMinWidth",void 0),Pt(o,"colGap",void 0),Pt(o,"viewConfig",void 0),Pt(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 ce((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:f("CMD.query",null,"\u67E5\u8BE2"),isShow:!0});var c;o.cancel=new ce((c=n==null?void 0:n.cancel)!==null&&c!==void 0?c:{content:f("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0});var a;o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(w){return new ce(w)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var b;o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24;var O;o.viewConfig=(O=n==null?void 0:n.viewConfig)!==null&&O!==void 0?O:[];var m;return o.simpleConfig=(m=n==null?void 0:n.simpleConfig)!==null&&m!==void 0?m:[],o}return t}(d_);Pt(m0,"RuntimeRules",Dat);function Aat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iat(e,t,n){return t=nf(t),xat(e,PB()?Reflect.construct(t,n||[],nf(e).constructor):t.apply(e,n))}function kat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ef(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nf(e)}function Fat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g0(e,t)}function xat(e,t){return t&&(Mat(t)==="object"||typeof t=="function")?t:Aat(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g0(e,t)}function Mat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PB=function(){return!!e})()}var O0=function(e){Fat(t,e);function t(n){kat(this,t);var o;return o=Iat(this,t,[n]),ef(o,"props",void 0),o.props=new m0(n==null?void 0:n.props),o}return t}(J7);ef(O0,"controlType","simple-search"),ef(O0,"slotPosition",{default:"search"}),ef(O0,"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 Lat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jat(e,t,n){return t=of(t),Vat(e,EB()?Reflect.construct(t,n||[],of(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 w0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},of(e)}function Nat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function Vat(e,t){return t&&(zat(t)==="object"||typeof t=="function")?t:Lat(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$0(e,t)}function zat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EB=function(){return!!e})()}var Hat=function(e){Nat(t,e);function t(n){Cat(this,t);var o;o=jat(this,t,[n]),w0(o,"props",void 0),w0(o,"children",void 0),o.props=new m0(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}(rj);w0(Hat,"controlType","simple-search");function y_t(e){return e}f("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C");const qat=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];nft(t==null?void 0:t.events),Qat(o),Jat(o);const r=Xat(o),i=Zat(r,t);let u=ue(j(i,l=>Gat(l,t)));return n?u:u[0]},Uat=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Wat=["subtable","grid-table"],Kat=["simple-search"];function Gat(e,t){var r,i,u,l,c,a;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Uat.includes(n.type)?n.controlType="base":n.controlType="form",Wat.includes(n.type)&&(n.controlType="list"),Kat.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),ft((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),ft((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),ft((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(l=e.attachment_format)==null?void 0:l.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(ft(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ft(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const _=n.props.entry_type||n.props.entryType;n.props.openType=_==="subpage"?"modal":"default",((a=n.children[0])==null?void 0:a.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((p,d)=>{const b=new Ott.Designer;b.props.caption=ft(p.field_name)?p.field_name.zh:p.field_name;const O=b.toSchema();O.id=p.header_id;const m=n.children[0].children[d].children[0];return m&&(O.children=[m]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(_=>{_.label=ft(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=e),e.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(p=>{const d=new HE.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={};_&&(SB(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={};_&&(SB(n,t),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=Le(_.props.range_min),n.props.range_max=Le(_.props.range_max),b.amount=Le(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=ft(_.props.caption)?_.props.caption.zh:_.props.caption,n.props.is_hide_caption=_.props.is_hide_caption,n.props.showUpperCase=_.props.is_show_chn),p&&(d.currency=p.props.data_bind,b.currency=p.props.value,n.props.datasourceBind=p.props.datasource_bind,n.props.options=p.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=d,n.props.defaultValue=b,delete n.children}if(e.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],p=n==null?void 0:n.children[1];n.props.placeholderStart=ft(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=ft(e.props.caption)?e.props.caption.zh:e.props.caption;const d={};_&&(d.min=_.props.data_bind),p&&(d.max=p.props.data_bind),n.props.dataBind=d,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=ft(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=Le(e.props.range_min),n.props.range_max=Le(e.props.range_max),n.props.defaultValue=Le(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"),oft(n,t==null?void 0:t.control_events),n}function SB(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const l=u.show_controls.findIndex(a=>a===r),c=u.hide_controls.findIndex(a=>a===r);l>-1&&u.show_controls.splice(l,1,i),c>-1&&u.hide_controls.splice(c,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Xat(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new Unt.Designer().toSchema();return o.children=e,[o]}function Qat(e){e.forEach(t=>{t.children&&eft(t.children)})}function Jat(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 Zat(e,t){var b,O,m,w,h,$,S,E;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;Yat(i),l.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,tft(l,u);const c=(m=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?m:t==null?void 0:t.dataCode,a=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:c)?`${c}_selectMore`:void 0,_=(S=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?S:[],p=new Pnt.Designer;p.props.datasourceBind=new X({dataCode:c,svcCode:a,orders:vx(_)}),p.props.isShowSubList=o.is_show_sublist,p.props.triggerType=o.timing_type,p.props.triggerFieldCode=o.ctrl_field_code,(E=o==null?void 0:o.sublist_page)==null||E.sublists.forEach(R=>{R.title=ft(R.title)?R.title.zh:R.title}),p.props.sublistPage=o.sublist_page;const d=p.toSchema();return d.children.push(i,l),[d]}function Yat(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=ft(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(r=(o=t.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function tft(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ft(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=ft(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new X({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function eft(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 nft(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 oft(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 rft=(e,t)=>{const n=Array.isArray(e);let r=ue(j(n?e:[e],i=>ift(i)));return n?r:r[0]};function ift(e,t){return e.type===y.LIST_VIEW&&e.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 It({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const uft=(e,t)=>{const n=Array.isArray(e);let r=ue(j(n?e:[e],i=>lft(i)));return n?r:r[0]};function lft(e,t){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(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===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const cft=(e,t)=>{const n=Array.isArray(e);let r=ue(j(n?e:[e],i=>aft(i)));return n?r:r[0]};function aft(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 fft=(e,t)=>{const n=Array.isArray(e);let r=ue(j(n?e:[e],i=>sft(i)));return n?r:r[0]},_ft=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function sft(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(n=>{if(_ft.includes(n.type))return n;const o=new KY.Designer,r=new HE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const yft=(e,t)=>{const n=Array.isArray(e);let r=ue(j(n?e:[e],i=>pft(i)));return n?r:r[0]};function pft(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const dft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>vft(i));return n?r:r[0]};function vft(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const hft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>bft(i));return n?r:r[0]};function we(e,t){e.field_code&&(e.field_type=t)}function bft(e,t){var o;const n={[y.TITLE]:g.AUTO_NUMBER,[y.ADDRESS]:g.ADDRESS,[y.ATTACHMENT]:g.FILE,[y.AUTO_NUMBER]:g.AUTO_NUMBER,[y.CHECKBOX]:g.ARRAY,[y.DATE_PICKER]:g.TIMESTAMP,[y.DEPARTMENT]:g.DEPARTMENTS,[y.DEPARTMENT2]:g.DEPARTMENTS,[y.EMPLOYEE]:g.EMPLOYEES,[y.EMPLOYEE2]:g.EMPLOYEES,[y.IMAGE]:g.IMAGE,[y.INPUT]:g.VARCHAR,[y.NUMBER]:g.DECIMAL,[y.RADIO]:g.VARCHAR,[y.RICH_TEXT]:g.TEXT,[y.SCORE]:g.DECIMAL,[y.SELECT]:g.VARCHAR,[y.SELECT_MULTIPLE]:g.ARRAY,[y.SELECT_RELATION]:g.VARCHAR,[y.TEXTAREA]:g.TEXT,[y.TREE]:g.ARRAY,[y.SEARCH_DATE_RANGE]:g.ARRAY,[y.SEARCH_INPUT]:g.VARCHAR,[y.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(e.type)&&we(e.props.data_bind,n[e.type]),e.type===y.AMOUNT&&(we(e.props.data_bind.amount,g.DECIMAL),we(e.props.data_bind.currency,g.VARCHAR)),e.type===y.CALC&&(we(e.props.data_bind.result,g.DECIMAL),we(e.props.data_bind.unit,g.VARCHAR)),e.type===y.DATE_RANGE&&(we(e.props.data_bind.min,g.TIMESTAMP),we(e.props.data_bind.max,g.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&we(e.props.data_bind,(o=e.field_type)!=null?o:g.ANY),e}const mft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>gft(i));return n?r:r[0]};function gft(e,t){return e.type===y.GRID_TABLE&&e.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")}),e}const Oft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>wft(i));return n?r:r[0]};function wft(e,t){return e.type===y.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 $ft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>Pft(i));return n?r:r[0]};function Pft(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.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)}),e}const Eft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>Sft(i));return n?r:r[0]};function Sft(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.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)}),e}const Tft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>Rft(i));return n?r:r[0]};function Rft(e,t){return e.type===y.TITLE&&e.props.config.push(Zt.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,l,c,a,_,p,d,b,O,m,w,h,$,S,E,R,z,A,ct;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 D=new Ss.Designer;Object.defineProperty(D,"id",{value:"listPageCheckBtnId"}),D.props.code="view",D.props.icon="iconliulan1",D.props.command="view",D.props.content=(i=n.props)==null?void 0:i.check.content,D.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,D.props.openType=(l=n.props)==null?void 0:l.check.open_type,D.props.formKey=(c=n.props)==null?void 0:c.check.form_key,(a=n.props)!=null&&a.check.is_show&&n.children.push(D.toSchema()),(_=n.props)==null||delete _.check}if(((p=n.props)==null?void 0:p.edit)!==void 0){const D=new Ss.Designer;Object.defineProperty(D,"id",{value:"listPageEditBtnId"}),D.props.code="edit",D.props.icon="iconbianji1",D.props.command="edit",D.props.content=(d=n.props)==null?void 0:d.edit.content,D.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,D.props.openType=(O=n.props)==null?void 0:O.edit.open_type,D.props.formKey=(m=n.props)==null?void 0:m.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(D.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const D=new Ss.Designer;Object.defineProperty(D,"id",{value:"listPageDeleteBtnId"}),D.props.code="delete",D.props.icon="iconlajitong",D.props.command="delete",D.props.content=(S=n.props)==null?void 0:S.delete.content,D.props.priorityProcess=(E=n.props)==null?void 0:E.delete.priority_process,D.props.openType=(R=n.props)==null?void 0:R.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}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.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)}),e}const Bft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>Dft(i,t));return n?r:r[0]};function Dft(e,t){e.type===y.SUBTABLE&&e.props.headers.map(o=>{var i;o.props.meta_auto_width=new cb,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 e.type in n&&n[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===y.GRID_TABLE&&e.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 wf)}),e.type===y.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Aft(t),e}function Aft(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(P0()),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:[Ift()]}];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(P0())}}}function Ift(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[P0()]}}function P0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const kft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>Fft(i,t));return n?r:r[0]};function Fft(e,t){if(e.type===y.LIST_VIEW){if(e.props.is_show_selection===!1){const n=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];e.children.forEach(o=>{o.type===y.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===y.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===y.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===y.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===y.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Bf),e}const xft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>Mft(i));return n?r:r[0]};function Mft(e,t){const n={[y.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),[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(e.type)&&(e.control_type="base"),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),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 jft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=j(o,u=>{const l=Cft(u);return r[u.id]=u,l});return Lft(r,t),n?i:i[0]};function Cft(e,t){var n,o,r;if(e.type===y.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=ue(new lb({pc:i,mobile:i})),e.type===y.ORGANIZATION_SELECTION){const u=e.props.selected_content_config,l=u==null?void 0:u.display_bo_list;l&&l.forEach(c=>{c.value==="org_type_code"&&(c.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),c.value==="org_pattern_code"&&(c.label=f("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}e.type===y.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}const Nft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=j(o,u=>{const l=Vft(u);return r[u.id]=u,l});return zft(r,t),n?i:i[0]};function Vft(e,t){return e}function zft(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(n=>{var i,u,l,c,a;const o=t==null?void 0:t.listeners[n],r=e[n];(r==null?void 0:r.type)===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(m=>{var w;(w=m==null?void 0:m.handlers)==null||w.map(h=>{var $,S,E,R;(h==null?void 0:h.method)==="optPage"&&h.params.operation==="refresh"&&(h.params.operation="close"),(h==null?void 0:h.method)==="openPage"&&((R=(E=(S=($=h.params)==null?void 0:$.options)==null?void 0:S.link)==null?void 0:E.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((c=(l=r.props)==null?void 0:l.opt_obj)==null?void 0:c.opt_type)&&((a=t.dataModelExtend)==null?void 0:a.process_status_enum_type)==="business"&&(o==null||o.map(_=>{_.cases[0].handlers.map(p=>{(p==null?void 0:p.method)==="optPage"&&p.params.operation==="close"&&(p.params.operation="edit")})})))})}const Hft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=j(o,u=>{const l=qft(u);return r[u.id]=u,l});return Uft(r,t),n?i:i[0]};function qft(e,t){if(e.type===y.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 Uft(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 Wft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>Kft(i));return n?r:r[0]};function Kft(e,t){var n,o;if(e.type===y.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===y.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 Gft=(e,t)=>{const n=Array.isArray(e);let r=j(n?e:[e],i=>Xft(i));return t_t(r),Qft(r),n?r:r[0]};function Xft(e,t){return e.type===y.SIMPLE_SEARCH&&e.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)}}),e}function Qft(e){var t,n;if(e[0].type===y.LIST_VIEW){const o=e[0].props;let r={type:(t=o.row_style_type)!=null?t:"none",interval:{color:(n=o.row_style_bg_color)!=null?n:""},rules:[]};o.row_style_rules&&(o.row_style_rules.forEach(i=>{const u=i.id;let l={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},c;if(o.row_style_rules_script){const a=o.row_style_rules_script.find(_=>_.id===u);a&&(c=Yft(i.filters,a.script))}i.settings=[l],i.script=c,delete i.color}),r.rules=o.row_style_rules),o.row_style=r,delete o.row_style_type,delete o.row_style_bg_color,delete o.row_style_rules,delete o.row_style_rules_script}}function TB(e,t){return t||(t={}),e.forEach(n=>{if(n.children)TB(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 Jft(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(n=>n.replace(/^\s+|\s+$/gm,""))}function Zft(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 Yft(e,t){const n=TB(e);return Jft(t).forEach(r=>{Object.keys(n).forEach(i=>{if(r.indexOf(`params.data.data_value_map['${i}']`)>-1){const c=n[i].type,{operate:a,value:_}=Zft(r);let p=`SpecialMatch(data, sys, '${i}', '${c}', '${a}', ${_||"''"})`;t=t.replace(r,p)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function t_t(e){if(e[0].type===y.LIST_VIEW){const t=e[0].children.find(n=>n.type===y.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!==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 l=u.children;if(!l||l.length===0)return;const c=i.children||[];i.children=[].concat(c,l)}}),t.props.footers=[]}}return e}const e_t=(e,t)=>{const n=Array.isArray(e);let r=n_t(n?e:[e],t);return n?r:r[0]};function n_t(e,t){const n=r_t(t);return n.length>0&&(o_t(n,t),RB(n,e)),e}function RB(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):RB(e,r.children)}}}function o_t(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 r_t(e){const t=[],n=e==null?void 0:e.listeners;return n&&Object.keys(n).forEach(o=>{n[o].forEach(r=>{!r.cases||r.cases.forEach(i=>{!i.handlers||i.handlers.forEach(u=>{var l;if(!!u&&u.method==="openPage"){const c=(l=u.params)==null?void 0:l.relation_control_id;c&&t.push(c)}})})})}),t}const i_t=(e,t)=>{console.log(t,"payload");const n=Array.isArray(e);let r=j(n?e:[e],i=>l_t(i));return n?r:r[0]},u_t=e=>["yylb_kujg9i5r","btdev_listin_n","yylb_gd_ryneloyh","byteluck_list_"].some(t=>t.includes(e)||e.includes(t));function l_t(e,t){if(u_t(e.type)){const n=ue(new GN.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 BB={"v1.0":qat,"v2.0":rft,"v2.1":uft,"v2.2":cft,"v2.3":fft,"v2.4":yft,"v2.5":dft,"v2.6":hft,"v2.7":mft,"v2.8":Oft,"v2.9":$ft,"v2.10":Eft,"v3.0":Tft,"v3.1":Bft,"v3.2":kft,"v3.3":xft,"v3.4":jft,"v3.5":Nft,"v3.6":Hft,"v3.7":Wft,"v3.8":Gft,"v3.10":e_t,"v3.11":i_t,"v3.12":()=>{}};const DB=(e,t)=>{const n=AB(e),o=AB(t),r=n.pop(),i=o.pop(),u=FB(n,o);return u!==0?u:r&&i?FB(r.split("."),i.split(".")):r||i?r?-1:1:0},rf=(e,t,n)=>{__t(n);const o=DB(e,t);return xB[n].includes(o)},c_t=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,AB=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(c_t);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},IB=e=>e==="*"||e==="x"||e==="X",kB=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},a_t=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],f_t=(e,t)=>{if(IB(e)||IB(t))return 0;const[n,o]=a_t(kB(e),kB(t));return n>o?1:n<o?-1:0},FB=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=f_t(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},xB={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},MB=Object.keys(xB),__t=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(MB.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${MB.join("|")}`)};function E0(e){return e.replace(/^v/,"")}const Kn=Object.keys(BB).map(e=>E0(e)).sort(DB),xo=Kn[Kn.length-1];class s_t{constructor(t,n=xo){this.schemaVersion=t,this.toVersion=n,rf(n,xo,">")?Zn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${xo}`):(!Kn.includes(E0(n))||!Kn.includes(E0(t)))&&Zn(`Version Builder: Please give me a valid version number, The valid version is: ${Kn.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(rf(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,l)=>{var p;const c=(p=l[u+1])!=null?p:this.toVersion;jo(`Version Builder: current version: ${i}, nextVersion: ${c}`);const a=BB[i];let _=r;if(typeof a=="function"){const d=a(r,n);d&&(_=d)}return _},t);return jo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Kn.filter(t=>rf(t,this.schemaVersion,">=")&&rf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return xo}static get version(){return xo}}xe.VersionBuilder=s_t,Object.defineProperty(xe,"__esModule",{value:!0})});
|