@byteluck-fe/model-driven-upgrade 3.0.0-beta.5 → 4.34.0-lx1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- (function(Le,Xn){typeof exports=="object"&&typeof module!="undefined"?Xn(exports):typeof define=="function"&&define.amd?define(["exports"],Xn):(Le=typeof globalThis!="undefined"?globalThis:Le||self,Xn(Le.modelDrivenUpgrade={}))})(this,function(Le){"use strict";var Xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",jB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",NB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",VB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",zB="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",HB="{caption}\u5FC5\u586B",qB="\u8BF7\u8F93\u5165\u6807\u9898",UB="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",WB="\u8BF7\u8F93\u5165\u884C\u6807\u9898",KB="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",GB="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",XB="\u8BF7\u7ED1\u5B9A\u8868\u5355",QB="\u8BF7\u7ED1\u5B9A\u5217\u8868",JB="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ZB="\u8BF7\u8F93\u5165\u663E\u793A\u503C",YB="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",t3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",e3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",n3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",o3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",r3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",i3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",u3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",l3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",c3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",a3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",f3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",_3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",s3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",y3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",p3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",d3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",v3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",h3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",b3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",m3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",g3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",O3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",w3="\u8BF7\u9009\u62E9\u7701",$3="\u8BF7\u9009\u62E9\u5E02",P3="\u8BF7\u9009\u62E9\u533A",E3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",S3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",T3="\u8BF7\u8F93\u5165\u5217\u5BBD",R3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",B3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",D3="\u8BF7\u9009\u62E9\u63A7\u4EF6",A3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",I3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",k3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",F3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",x3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",M3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",L3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",C3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",j3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",N3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",V3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",z3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",H3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",q3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",U3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",W3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",K3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",G3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",X3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Q3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",J3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Z3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Y3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",t1="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",e1="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",n1="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",o1="\u6279\u91CF\u5220\u9664",r1="\u6279\u91CF\u6253\u5370",i1="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",u1="\u6309\u94AE",l1="\u521B\u5EFA\u5355\u636E",c1="\u4EEA\u8868\u76D8",a1="\u5206\u5272\u7EBF",f1="\u5BFC\u51FA",_1="\u8868\u5355\u64CD\u4F5C",s1="\u5BFC\u5165",y1="\u53D1\u7968\u8BC6\u522B",p1="\u94FE\u63A5",d1="\u5217\u8868\u9009\u62E9",v1="\u5217\u8868\u89C6\u56FE",h1="\u64CD\u4F5C\u6309\u94AE",b1="\u5206\u9875",m1="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",g1="\u8BF4\u660E\u6587\u5B57",O1="\u6587\u5B57\u8BC6\u522B",w1="\u6807\u9898\u7EC4\u4EF6",$1="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",P1="\u6570\u7EC4",E1="\u81EA\u52A8\u7F16\u53F7",S1="\u81EA\u5B9A\u4E49",T1="\u6570\u503C",R1="\u90E8\u95E8",B1="\u4EBA\u5458",D1="\u9644\u4EF6",A1="\u56FE\u7247",I1="\u5730\u5740",k1="\u64CD\u4F5C",F1="\u5E8F\u53F7",x1="\u4EBA\u5458",M1="\u957F\u6587\u672C",L1="\u65E5\u671F\u533A\u95F4",C1="\u65E5\u671F",j1="\u77ED\u6587\u672C",N1="\u6362\u884C\u5BB9\u5668Wrap",V1="\u8868\u683C",z1="\u660E\u7EC6\u5B50\u8868",H1="\u5730\u5740",q1="\u91D1\u989D",U1="\u8BA1\u7B97\u516C\u5F0F",W1="\u591A\u9009",K1="\u7535\u5B50\u7B7E\u7AE0",G1="\u5355\u884C\u6587\u672C",X1="\u6570\u5B57",Q1="\u4E1A\u52A1\u7EC4\u7EC7",J1="\u5355\u9009",Z1="\u5BCC\u6587\u672C",Y1="\u8BC4\u5206",tD="\u6570\u5B57\u533A\u95F4",eD="\u4E0B\u62C9\u5355\u9009",nD="\u4E0B\u62C9\u591A\u9009",oD="\u5173\u8054\u5355\u9009",rD="\u591A\u884C\u6587\u672C",iD="\u6811",uD="Vue\u5BB9\u5668",lD="Vue\u9875\u9762",cD="\u5728\u7EBF\u6587\u6863",aD="\u6309\u94AE\u64CD\u4F5C\u680F",fD="\u9AD8\u7EA7\u5BB9\u5668",_D="\u5206\u7EC4",sD="\u6805\u683C\u5217",yD="\u6570\u636E\u5BB9\u5668",pD="\u753B\u5E03",dD="\u6362\u884C\u5BB9\u5668",vD="\u6805\u683C\u7B49\u5206\u884C",hD="\u5217\u8868\u5BB9\u5668",bD="\u81EA\u7531\u9875\u9762",mD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",gD="\u5B9A\u4F4D\u5BB9\u5668",OD="\u6805\u683C\u5E03\u5C40",wD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",$D="\u660E\u7EC6\u5B50\u8868\u884C",PD="\u6807\u7B7E\u9875",ED="\u6807\u7B7E\u5355\u5143",SD="\u5DE5\u5177\u680F",TD="\u6279\u91CF\u63D0\u4EA4",RD="\u5BFC\u51FA\u8BB0\u5F55",BD="\u5217\u8868\u89C6\u56FE",DD="\u7ED3\u675F\u65F6\u95F4",AD="\u5F00\u59CB\u65F6\u95F4",ID="\u5355\u4F4D",kD="\u7ED3\u679C",FD="\u5E01\u79CD",xD="\u7ED3\u675F\u65E5\u671F",MD="\u5F00\u59CB\u65E5\u671F",LD="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",CD="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",jD="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",ND="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",VD="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",zD="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",HD="\u8BF7\u9009\u62E9",qD="\u8BF7\u9009\u62E9\u7EC4\u7EC7",UD="\u8BF7\u9009\u62E9\u90E8\u95E8",WD="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",KD="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",GD="\u8BF7\u9009\u62E9\u5730\u5740",XD="\u5F39\u7A97\u786E\u8BA4\u65F6",QD="\u6807\u7B7E\u9875\u5207\u6362\u65F6",JD="\u884C\u9009\u4E2D\u65F6",ZD="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",YD="\u884C\u5220\u9664\u524D",tA="\u884C\u70B9\u51FB\u65F6",eA="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",nA="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",oA="\u91CD\u547D\u540D\u65F6",rA="\u4FDD\u5B58\u6587\u4EF6\u65F6",iA="\u6253\u5F00\u6587\u4EF6\u65F6",uA="\u83B7\u53D6\u7126\u70B9\u65F6",lA="\u5931\u53BB\u7126\u70B9\u65F6",cA="\u7528\u6237\u8F93\u5165\u65F6",aA="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",fA="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",_A="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",sA="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",yA="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",pA="\u641C\u7D22\u65F6",dA="\u503C\u53D1\u751F\u53D8\u5316\u65F6",vA="\u6267\u884C\u5B8C\u6210\u65F6",hA="\u70B9\u51FB\u65F6",bA="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",mA="\u8BF7\u8F93\u5165\u65E5\u671F",gA="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",OA="\u8BF7\u8F93\u5165",wA="\u9ED8\u8BA4\u6A21\u7248",$A="\u5DE6\u53F3\u5E03\u5C40",PA="\u4E0A\u4E0B\u5E03\u5C40",EA="\u53EA\u8BFB",SA="\u5FC5\u586B",TA="\u63D0\u793A\u6587\u5B57",RA="\u9690\u85CF\u6807\u9898",BA="\u6807\u9898\u5FC5\u586B",DA="\u7EC4\u7EC7\u5F62\u6001",AA="\u4E1A\u52A1\u7C7B\u578B",IA="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",kA="\u9690\u85CF",FA="\u6D41\u7A0B\u72B6\u6001",xA="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",MA="\u5220\u9664",LA="\u7F16\u8F91",CA="\u67E5\u770B",jA="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",NA="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",VA="\u5145\u6EE1\u6574\u884C",zA="\u6700\u5C0F\u503C",HA="\u6700\u5927\u503C",qA="\u65B0\u5EFA\u6587\u6863",UA="\u91CD\u7F6E",WA="\u67E5\u8BE2",KA="\u660E\u7EC6",GA="\u6253\u5370",XA="\u4FDD\u5B58\u8349\u7A3F",QA="\u4FDD\u5B58",JA="\u53D6\u6D88",ZA="\u4E0A\u4F20\u56FE\u7247",YA="\u53D1\u8D77\u7B7E\u7F72",t2="\u4E0A\u4F20\u9644\u4EF6",e2="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",n2="\u5F15\u7528\u5217\u8868",o2="\u9009\u9879\u4E00",r2="\u9009\u9879\u4E8C",i2="\u9009\u9879\u4E09",u2={isNotNumber:Xn,isNotString:jB,isNotObject:NB,isNotArray:VB,isNotBoolean:zB,runtimeRequired:HB,pleaseEnterCaption:qB,pleaseEnterCaptionTip:UB,pleaseEnterRowCaption:WB,pleaseEnterPlaceholder:KB,pleaseEnterFieldCode:GB,pleaseEnterForm:XB,pleaseEnterList:QB,pleaseEnterProcess:JB,pleaseEnterLabel:ZB,pleaseEnterValue:YB,bizKeyNotBindFiled:t3,pleaseSelectOneField:e3,pleaseEnterNumberRange:n3,pleaseEnterAValueGreaterThanMin:o3,pleaseEnterAValueLessThanMax:r3,numberRangeSetError:i3,stringRangeError:u3,attachmentMaxSize:l3,pleaseEnterTotalScoreSetting:c3,theTotalScoreMustNotBeLessThan1:a3,scoreDefaultValueRange:f3,attachmentLimitError:_3,PleaseReselectTheOptionalQuantity:s3,TheMaximumLengthIsGreaterThanTheMinimumLength:y3,TheMinimumLengthIsGreaterThanTheMaximumLength:p3,PleaseSelectTheCorrectOptionSettings:d3,optionIdIsRepeat:v3,optionIsRequired:h3,pleaseEnterDataCode:b3,pleaseEnterValueFieldCode:m3,pleaseEnterSvcCode:g3,pleaseBindAtLeastOneDisplayValue:O3,pleaseSelectProvince:w3,pleaseSelectCity:$3,pleaseSelectDistrict:P3,limitRowsCannotBeLessThan0:E3,TheNumberOfRowsCannotBeLessThanMinRows:S3,pleaseEnterColumnWidth:T3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:R3,pleaseCompleteAllRulesAndConditions:B3,pleaseSelectControl:D3,pleaseSelectAtLeastOneColumn:A3,pleaseSelectFillBackMode:I3,pleaseSelectDashboard:k3,rootNodeIsRequired:F3,theViewNameCannotBeEmpty:x3,pleaseSelectOcrType:M3,pleaseSelectAtLeastOneFieldToFillIn:L3,pleaseChooseAtLeastOne:C3,pleaseEnterButtonContent:j3,pleaseEnterDataCodeInDataSetting:N3,pleaseEnterValueFieldCodeInDataSetting:V3,pleaseEnterSvcCodeInDataSetting:z3,pleaseBindAtLeastOneDisplayValueInDataSetting:H3,rootNodeIsRequiredInDataSetting:q3,pleaseEnterMaxHeight:U3,pleaseEnterWatermark:W3,pleaseEnterFileName:K3,pleaseUploadAtLeastOnePrintTemplate:G3,pleaseAssignBusiness:X3,pleaseAssignExternal:Q3,pleaseEnterAliasCode:J3,pleaseSelectDataCode:Z3,pleaseSelectSvcCode:Y3,pleaseSelectJoinFieldCode:t1,pleaseSelectMainFieldCode:e1,pleaseSelectSortFieldCode:n1,batchDeleteButton:o1,batchPrintListButton:r1,batchPrintRecordList:i1,button:u1,createFormListButton:l1,dashboard:c1,divider:a1,exportListButton:f1,formSelectButton:_1,importRecordListButton:s1,invoiceCheckButton:y1,link:p1,listSelectButton:d1,ListViewSelect:v1,operationButton:h1,pagination:b1,submissionRecordListButton:m1,text:g1,textOcrButton:O1,title:w1,approvalStatusColumn:$1,array:P1,autoNumber:E1,custom:S1,decimal:T1,department:R1,employee:B1,file:D1,image:A1,location:I1,operation:k1,order:F1,people:x1,long:M1,timescope:L1,timestamp:C1,varchar:j1,gridLayoutWrap:N1,gridTable:V1,subTable:z1,address:H1,amount:q1,calc:U1,checkBox:W1,electronicSignature:K1,input:G1,number:X1,organizationSelection:Q1,radio:J1,richText:Z1,score:Y1,searchNumberRange:tD,select:eD,selectMultiple:nD,selectRelation:oD,textarea:rD,tree:iD,vueFormItem:uD,vuePage:lD,WPS:cD,actionBar:aD,advancedContainer:fD,cardGroup:_D,col:sD,dataView:yD,grid:pD,gridLayoutContainer:dD,gridRow:vD,listView:hD,page:bD,position:mD,positioningContainer:gD,row:OD,subtableColumn:wD,subtableRow:$D,tab:PD,tabPane:ED,toolbox:SD,batchSubmissionListButton:TD,exportRecordListButton:RD,listViewSelect:BD,endTime:DD,startTime:AD,unit:ID,result:kD,currency:FD,endDate:xD,startDate:MD,pleaseSelectCompanyName:LD,pleaseSelectPhoneOrEmail:CD,pleaseSelectSignType:jD,pleaseSelectSigner:ND,pleaseSelectOnlyOne:VD,pleaseSelectSignFile:zD,pleaseSelect:HD,pleaseSelectOrg:qD,pleaseSelectDept:UD,pleaseSelectEndDate:WD,pleaseSelectStartDate:KD,pleaseChooseAddress:GD,modalConfirm:XD,tabChange:QD,rowSelected:JD,listDataImport:ZD,rowDelete:YD,rowClick:tA,cellRender:eA,onClickBtn:nA,rename:oA,onSaveFile:rA,onOpenFile:iA,onFocus:uA,onBlur:lA,onInput:cA,listDataAdd:aA,listDataDelete:fA,listDataBack:_A,listDataCreate:sA,listDataChange:yA,search:pA,valueChange:dA,finished:vA,click:hA,pleaseEnterNameorEmail:bA,pleaseEnterDate:mA,pleaseEnterAutonumber:gA,pleaseEnter:OA,defaultTemplate:wA,left:$A,top:PA,default:"\u666E\u901A",readonly:EA,required:SA,textTip:TA,hideCaption:RA,titleRequired:BA,organizationalForm:DA,businessType:AA,deleteConfirm:IA,hide:kA,processStatus:FA,approvedDocuments:xA,delete:MA,edit:LA,view:CA,loadCtrlErrorTip:jA,loadCtrlError:NA,fullLine:VA,min:zA,max:HA,createWPS:qA,reset:UA,query:WA,detailed:KA,print:GA,draft:XA,save:QA,cancel:JA,uploadImg:ZA,signature:YA,uploadFile:t2,linkContent:e2,referenceList:n2,optionOne:o2,optionTwo:r2,optionThird:i2},l2="Please enter a number",c2="Please enter a string",a2="Please enter an object",f2="Please enter an array",_2="Please enter a boolean",s2="{caption} Required",y2="Please enter the title",p2="Please enter the bubble prompt",d2="Please enter the row title",v2="Please enter the prompt text",h2="Please bind data items",b2="Please bind the form",m2="Please bind the list",g2="Please bind the process",O2="Please enter the displayed value",w2="Please enter the stored value",$2="The document number is not bound to the data item",P2="Please select at least one display field",E2="Please enter a value greater than or equal to {min} and less than or equal to {max}",S2="Please enter a value greater than or equal to {min}",T2="Please enter a value less than or equal to {max}",R2="The value range is set incorrectly",B2="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",D2="The attachment size must be between 0MB and 1000MB",A2="Please fill in the total score setting",I2="The total score cannot be less than 1",k2="The default value must be between {min} and {max}",F2="The number of attachment uploads exceeds the limit",x2="Please re-select the optional quantity",M2="The maximum length of the control must be greater than the minimum length",L2="The minimum length of the control must be less than the maximum length",C2="Please select the correct option setting",j2="Option ID cannot be repeated",N2="Please enter at least one option",V2="Please bind the data source",z2="Please bind the stored value",H2="Please bind the service",q2="At least one display value must be bound",U2="Please select a province",W2="Please select a city",K2="Please select a district",G2="The minimum number of lines to fill in cannot be less than 0",X2="The number of rows cannot be less than {min} rows",Q2="Please enter the column width",J2="Please set the logical relationship of all rule conditions",Z2="Please complete all rules and conditions",Y2="please select control",t5="Please select the dashboard",e5="View name cannot be empty",n5="Please select recognition type",o5="Please select at least one field to fill in",r5="Please select at least one",i5="Please enter the button title",u5="Please bind the business model in the data settings",l5="Please bind storage values in data settings",c5="Please bind the service in the data settings",a5="Please bind at least one display value in the data settings",f5="Please select the root node in the data settings",_5="Please enter the maximum height",s5="The input content cannot be empty",y5="Watermark cannot be empty",p5="File name cannot be empty",d5="Please upload at least one printing template!\uFF01",v5="Please select a specific business department",h5="Please select a specified external organization",b5="Please enter a sub table alias",m5="Please select the associated table to set the business model",g5="Please select the association table to set the binding service",O5="Select associated sub table fields",w5="Please select the associated main table field",$5="Please select the sort field",P5="\u6279\u91CF\u5220\u9664",E5="\u6279\u91CF\u6253\u5370",S5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",T5="\u6309\u94AE",R5="\u521B\u5EFA\u5355\u636E",B5="\u4EEA\u8868\u76D8",D5="\u5206\u5272\u7EBF",A5="\u5BFC\u51FA",I5="\u8868\u5355\u64CD\u4F5C",k5="\u5BFC\u5165",F5="\u53D1\u7968\u8BC6\u522B",x5="\u94FE\u63A5",M5="\u5217\u8868\u9009\u62E9",L5="\u5217\u8868\u89C6\u56FE",C5="\u64CD\u4F5C\u6309\u94AE",j5="\u5206\u9875",N5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",V5="\u8BF4\u660E\u6587\u5B57",z5="\u6587\u5B57\u8BC6\u522B",H5="\u6807\u9898\u7EC4\u4EF6",q5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",U5="\u6570\u7EC4",W5="\u81EA\u52A8\u7F16\u53F7",K5="\u81EA\u5B9A\u4E49",G5="\u6570\u503C",X5="\u90E8\u95E8",Q5="\u4EBA\u5458",J5="\u9644\u4EF6",Z5="\u56FE\u7247",Y5="\u5730\u5740",tI="\u64CD\u4F5C",eI="\u5E8F\u53F7",nI="\u4EBA\u5458",oI="\u957F\u6587\u672C",rI="\u65E5\u671F\u533A\u95F4",iI="\u65E5\u671F",uI="\u77ED\u6587\u672C",lI="\u6362\u884C\u5BB9\u5668Wrap",cI="\u8868\u683C",aI="\u660E\u7EC6\u5B50\u8868",fI="\u5730\u5740",_I="\u91D1\u989D",sI="\u8BA1\u7B97\u516C\u5F0F",yI="\u591A\u9009",pI="\u7535\u5B50\u7B7E\u7AE0",dI="\u5355\u884C\u6587\u672C",vI="\u6570\u5B57",hI="\u4E1A\u52A1\u7EC4\u7EC7",bI="\u5355\u9009",mI="\u5BCC\u6587\u672C",gI="\u8BC4\u5206",OI="\u6570\u5B57\u533A\u95F4",wI="\u4E0B\u62C9\u5355\u9009",$I="\u4E0B\u62C9\u591A\u9009",PI="\u5173\u8054\u5355\u9009",EI="\u591A\u884C\u6587\u672C",SI="\u6811",TI="Vue\u5BB9\u5668",RI="Vue\u9875\u9762",BI="\u5728\u7EBF\u6587\u6863",DI="\u6309\u94AE\u64CD\u4F5C\u680F",AI="\u9AD8\u7EA7\u5BB9\u5668",II="\u5206\u7EC4",kI="\u6805\u683C\u5217",FI="\u6570\u636E\u5BB9\u5668",xI="\u753B\u5E03",MI="\u6362\u884C\u5BB9\u5668",LI="\u6805\u683C\u7B49\u5206\u884C",CI="\u5217\u8868\u5BB9\u5668",jI="\u81EA\u7531\u9875\u9762",NI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",VI="\u5B9A\u4F4D\u5BB9\u5668",zI="\u6805\u683C\u5E03\u5C40",HI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",qI="\u660E\u7EC6\u5B50\u8868\u884C",UI="\u6807\u7B7E\u9875",WI="\u6807\u7B7E\u5355\u5143",KI="\u5DE5\u5177\u680F",GI="\u6279\u91CF\u63D0\u4EA4",XI="\u5BFC\u51FA\u8BB0\u5F55",QI="\u5217\u8868\u89C6\u56FE",JI="\u5F15\u7528\u5217\u8868",ZI="\u9009\u9879\u4E00",YI="\u9009\u9879\u4E8C",tk="\u9009\u9879\u4E09",ek={isNotNumber:l2,isNotString:c2,isNotObject:a2,isNotArray:f2,isNotBoolean:_2,runtimeRequired:s2,pleaseEnterCaption:y2,pleaseEnterCaptionTip:p2,pleaseEnterRowCaption:d2,pleaseEnterPlaceholder:v2,pleaseEnterFieldCode:h2,pleaseEnterForm:b2,pleaseEnterList:m2,pleaseEnterProcess:g2,pleaseEnterLabel:O2,pleaseEnterValue:w2,bizKeyNotBindFiled:$2,pleaseSelectOneField:P2,pleaseEnterNumberRange:E2,pleaseEnterAValueGreaterThanMin:S2,pleaseEnterAValueLessThanMax:T2,numberRangeSetError:R2,stringRangeError:B2,attachmentMaxSize:D2,pleaseEnterTotalScoreSetting:A2,theTotalScoreMustNotBeLessThan1:I2,scoreDefaultValueRange:k2,attachmentLimitError:F2,PleaseReselectTheOptionalQuantity:x2,TheMaximumLengthIsGreaterThanTheMinimumLength:M2,TheMinimumLengthIsGreaterThanTheMaximumLength:L2,PleaseSelectTheCorrectOptionSettings:C2,optionIdIsRepeat:j2,optionIsRequired:N2,pleaseEnterDataCode:V2,pleaseEnterValueFieldCode:z2,pleaseEnterSvcCode:H2,pleaseBindAtLeastOneDisplayValue:q2,pleaseSelectProvince:U2,pleaseSelectCity:W2,pleaseSelectDistrict:K2,limitRowsCannotBeLessThan0:G2,TheNumberOfRowsCannotBeLessThanMinRows:X2,pleaseEnterColumnWidth:Q2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:J2,pleaseCompleteAllRulesAndConditions:Z2,pleaseSelectControl:Y2,pleaseSelectDashboard:t5,theViewNameCannotBeEmpty:e5,pleaseSelectOcrType:n5,pleaseSelectAtLeastOneFieldToFillIn:o5,pleaseChooseAtLeastOne:r5,pleaseEnterButtonContent:i5,pleaseEnterDataCodeInDataSetting:u5,pleaseEnterValueFieldCodeInDataSetting:l5,pleaseEnterSvcCodeInDataSetting:c5,pleaseBindAtLeastOneDisplayValueInDataSetting:a5,rootNodeIsRequiredInDataSetting:f5,pleaseEnterMaxHeight:_5,pleaseEnter:s5,pleaseEnterWatermark:y5,pleaseEnterFileName:p5,pleaseUploadAtLeastOnePrintTemplate:d5,pleaseAssignBusiness:v5,pleaseAssignExternal:h5,pleaseEnterAliasCode:b5,pleaseSelectDataCode:m5,pleaseSelectSvcCode:g5,pleaseSelectJoinFieldCode:O5,pleaseSelectMainFieldCode:w5,pleaseSelectSortFieldCode:$5,batchDeleteButton:P5,batchPrintListButton:E5,batchPrintRecordList:S5,button:T5,createFormListButton:R5,dashboard:B5,divider:D5,exportListButton:A5,formSelectButton:I5,importRecordListButton:k5,invoiceCheckButton:F5,link:x5,listSelectButton:M5,ListViewSelect:L5,operationButton:C5,pagination:j5,submissionRecordListButton:N5,text:V5,textOcrButton:z5,title:H5,approvalStatusColumn:q5,array:U5,autoNumber:W5,custom:K5,decimal:G5,department:X5,employee:Q5,file:J5,image:Z5,location:Y5,operation:tI,order:eI,people:nI,long:oI,timescope:rI,timestamp:iI,varchar:uI,gridLayoutWrap:lI,gridTable:cI,subTable:aI,address:fI,amount:_I,calc:sI,checkBox:yI,electronicSignature:pI,input:dI,number:vI,organizationSelection:hI,radio:bI,richText:mI,score:gI,searchNumberRange:OI,select:wI,selectMultiple:$I,selectRelation:PI,textarea:EI,tree:SI,vueFormItem:TI,vuePage:RI,WPS:BI,actionBar:DI,advancedContainer:AI,cardGroup:II,col:kI,dataView:FI,grid:xI,gridLayoutContainer:MI,gridRow:LI,listView:CI,page:jI,position:NI,positioningContainer:VI,row:zI,subtableColumn:HI,subtableRow:qI,tab:UI,tabPane:WI,toolbox:KI,batchSubmissionListButton:GI,exportRecordListButton:XI,listViewSelect:QI,referenceList:JI,optionOne:ZI,optionTwo:YI,optionThird:tk},nk="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ok="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rk="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ik="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uk="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lk="{caption}\u5FC5\u9808",ck="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ak="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fk="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_k="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sk="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yk="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pk="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dk="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vk="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hk="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bk="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",mk="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gk="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ok="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wk="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$k="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Pk="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ek="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Sk="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Tk="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Rk="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Bk="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Dk="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ak="\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",Ik="\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",kk="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Fk="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",xk="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Mk="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lk="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ck="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jk="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Nk="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Vk="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zk="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hk="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qk="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Uk="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wk="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kk="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Gk="please select control",Xk="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qk="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Jk="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Zk="\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",Yk="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tF="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",nF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",oF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",rF="\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",iF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",uF="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lF="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",cF="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",aF="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fF="\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",_F="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sF="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yF="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pF="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",dF="\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",vF="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",hF="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bF="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mF="\u6279\u91CF\u5220\u9664",gF="\u6279\u91CF\u6253\u5370",OF="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",wF="\u6309\u94AE",$F="\u521B\u5EFA\u5355\u636E",PF="\u4EEA\u8868\u76D8",EF="\u5206\u5272\u7EBF",SF="\u5BFC\u51FA",TF="\u8868\u5355\u64CD\u4F5C",RF="\u5BFC\u5165",BF="\u53D1\u7968\u8BC6\u522B",DF="\u94FE\u63A5",AF="\u5217\u8868\u9009\u62E9",IF="\u5217\u8868\u89C6\u56FE",kF="\u64CD\u4F5C\u6309\u94AE",FF="\u5206\u9875",xF="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",MF="\u8BF4\u660E\u6587\u5B57",LF="\u6587\u5B57\u8BC6\u522B",CF="\u6807\u9898\u7EC4\u4EF6",jF="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",NF="\u6570\u7EC4",VF="\u81EA\u52A8\u7F16\u53F7",zF="\u81EA\u5B9A\u4E49",HF="\u6570\u503C",qF="\u90E8\u95E8",UF="\u4EBA\u5458",WF="\u9644\u4EF6",KF="\u56FE\u7247",GF="\u5730\u5740",XF="\u64CD\u4F5C",QF="\u5E8F\u53F7",JF="\u4EBA\u5458",ZF="\u957F\u6587\u672C",YF="\u65E5\u671F\u533A\u95F4",t6="\u65E5\u671F",e6="\u77ED\u6587\u672C",n6="\u6362\u884C\u5BB9\u5668Wrap",o6="\u8868\u683C",r6="\u660E\u7EC6\u5B50\u8868",i6="\u5730\u5740",u6="\u91D1\u989D",l6="\u8BA1\u7B97\u516C\u5F0F",c6="\u591A\u9009",a6="\u7535\u5B50\u7B7E\u7AE0",f6="\u5355\u884C\u6587\u672C",_6="\u6570\u5B57",s6="\u4E1A\u52A1\u7EC4\u7EC7",y6="\u5355\u9009",p6="\u5BCC\u6587\u672C",d6="\u8BC4\u5206",v6="\u6570\u5B57\u533A\u95F4",h6="\u4E0B\u62C9\u5355\u9009",b6="\u4E0B\u62C9\u591A\u9009",m6="\u5173\u8054\u5355\u9009",g6="\u591A\u884C\u6587\u672C",O6="\u6811",w6="Vue\u5BB9\u5668",$6="Vue\u9875\u9762",P6="\u5728\u7EBF\u6587\u6863",E6="\u6309\u94AE\u64CD\u4F5C\u680F",S6="\u9AD8\u7EA7\u5BB9\u5668",T6="\u5206\u7EC4",R6="\u6805\u683C\u5217",B6="\u6570\u636E\u5BB9\u5668",D6="\u753B\u5E03",A6="\u6362\u884C\u5BB9\u5668",I6="\u6805\u683C\u7B49\u5206\u884C",k6="\u5217\u8868\u5BB9\u5668",F6="\u81EA\u7531\u9875\u9762",x6="\u5B9A\u4F4D\u5B50\u5BB9\u5668",M6="\u5B9A\u4F4D\u5BB9\u5668",L6="\u6805\u683C\u5E03\u5C40",C6="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",j6="\u660E\u7EC6\u5B50\u8868\u884C",N6="\u6807\u7B7E\u9875",V6="\u6807\u7B7E\u5355\u5143",z6="\u5DE5\u5177\u680F",H6="\u6279\u91CF\u63D0\u4EA4",q6="\u5BFC\u51FA\u8BB0\u5F55",U6="\u5217\u8868\u89C6\u56FE",W6="\u5F15\u7528\u5217\u8868",K6="\u9009\u9879\u4E00",G6="\u9009\u9879\u4E8C",X6="\u9009\u9879\u4E09",Q6={isNotNumber:nk,isNotString:ok,isNotObject:rk,isNotArray:ik,isNotBoolean:uk,runtimeRequired:lk,pleaseEnterCaption:ck,pleaseEnterCaptionTip:ak,pleaseEnterRowCaption:fk,pleaseEnterPlaceholder:_k,pleaseEnterFieldCode:sk,pleaseEnterForm:yk,pleaseEnterList:pk,pleaseEnterProcess:dk,pleaseEnterLabel:vk,pleaseEnterValue:hk,bizKeyNotBindFiled:bk,pleaseSelectOneField:mk,pleaseEnterNumberRange:gk,pleaseEnterAValueGreaterThanMin:Ok,pleaseEnterAValueLessThanMax:wk,numberRangeSetError:$k,stringRangeError:Pk,attachmentMaxSize:Ek,pleaseEnterTotalScoreSetting:Sk,theTotalScoreMustNotBeLessThan1:Tk,scoreDefaultValueRange:Rk,attachmentLimitError:Bk,PleaseReselectTheOptionalQuantity:Dk,TheMaximumLengthIsGreaterThanTheMinimumLength:Ak,TheMinimumLengthIsGreaterThanTheMaximumLength:Ik,PleaseSelectTheCorrectOptionSettings:kk,optionIdIsRepeat:Fk,optionIsRequired:xk,pleaseEnterDataCode:Mk,pleaseEnterValueFieldCode:Lk,pleaseEnterSvcCode:Ck,pleaseBindAtLeastOneDisplayValue:jk,pleaseSelectProvince:Nk,pleaseSelectCity:Vk,pleaseSelectDistrict:zk,limitRowsCannotBeLessThan0:Hk,TheNumberOfRowsCannotBeLessThanMinRows:qk,pleaseEnterColumnWidth:Uk,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Wk,pleaseCompleteAllRulesAndConditions:Kk,pleaseSelectControl:Gk,pleaseSelectDashboard:Xk,theViewNameCannotBeEmpty:Qk,pleaseSelectOcrType:Jk,pleaseSelectAtLeastOneFieldToFillIn:Zk,pleaseChooseAtLeastOne:Yk,pleaseEnterButtonContent:tF,pleaseEnterDataCodeInDataSetting:eF,pleaseEnterValueFieldCodeInDataSetting:nF,pleaseEnterSvcCodeInDataSetting:oF,pleaseBindAtLeastOneDisplayValueInDataSetting:rF,rootNodeIsRequiredInDataSetting:iF,pleaseEnterMaxHeight:uF,pleaseEnter:lF,pleaseEnterWatermark:cF,pleaseEnterFileName:aF,pleaseUploadAtLeastOnePrintTemplate:fF,pleaseAssignBusiness:_F,pleaseAssignExternal:sF,pleaseEnterAliasCode:yF,pleaseSelectDataCode:pF,pleaseSelectSvcCode:dF,pleaseSelectJoinFieldCode:vF,pleaseSelectMainFieldCode:hF,pleaseSelectSortFieldCode:bF,batchDeleteButton:mF,batchPrintListButton:gF,batchPrintRecordList:OF,button:wF,createFormListButton:$F,dashboard:PF,divider:EF,exportListButton:SF,formSelectButton:TF,importRecordListButton:RF,invoiceCheckButton:BF,link:DF,listSelectButton:AF,ListViewSelect:IF,operationButton:kF,pagination:FF,submissionRecordListButton:xF,text:MF,textOcrButton:LF,title:CF,approvalStatusColumn:jF,array:NF,autoNumber:VF,custom:zF,decimal:HF,department:qF,employee:UF,file:WF,image:KF,location:GF,operation:XF,order:QF,people:JF,long:ZF,timescope:YF,timestamp:t6,varchar:e6,gridLayoutWrap:n6,gridTable:o6,subTable:r6,address:i6,amount:u6,calc:l6,checkBox:c6,electronicSignature:a6,input:f6,number:_6,organizationSelection:s6,radio:y6,richText:p6,score:d6,searchNumberRange:v6,select:h6,selectMultiple:b6,selectRelation:m6,textarea:g6,tree:O6,vueFormItem:w6,vuePage:$6,WPS:P6,actionBar:E6,advancedContainer:S6,cardGroup:T6,col:R6,dataView:B6,grid:D6,gridLayoutContainer:A6,gridRow:I6,listView:k6,page:F6,position:x6,positioningContainer:M6,row:L6,subtableColumn:C6,subtableRow:j6,tab:N6,tabPane:V6,toolbox:z6,batchSubmissionListButton:H6,exportRecordListButton:q6,listViewSelect:U6,referenceList:W6,optionOne:K6,optionTwo:G6,optionThird:X6},lf={zhCN:u2,enUS:ek,jaJP:Q6},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 cf,J6=(cf=window.localStorage.getItem("locale"))!==null&&cf!==void 0?cf:"zh-CN",Ce;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Ce||(Ce={}));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 p;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page",e.REFERENCE_LIST="reference-list"})(p||(p={}));var 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 ue;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(ue||(ue={}));var L0={DEFAULT:"default"},C0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Z6=C0+"0123456789";function Vt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?C0:Z6,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function af(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 Y6(e){if(Array.isArray(e))return af(e)}function tx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j0(e,t,n){return t=Qn(t),rx(e,_f()?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 _f()?Lo=Reflect.construct:Lo=function(r,i,u){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),c=new a;return u&&Jn(c,u.prototype),c},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 ex(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function nx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ox(){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 rx(e,t){return t&&(ix(t)==="object"||typeof t=="function")?t:tx(e)}function Jn(e,t){return Jn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jn(e,t)}function z0(e){return Y6(e)||nx(e)||ux(e)||ox()}function ix(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ux(e,t){if(!!e){if(typeof e=="string")return af(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 af(e,t)}}function ff(e){var t=typeof Map=="function"?new Map:void 0;return ff=function(o){if(o===null||!ex(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return 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)},ff(e)}function _f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_f=function(){return!!e})()}var sf=console;function yf(){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=sf).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(z0(r)))}function Co(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=sf).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(z0(r)))}function lx(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var pf=function(e){V0(t,e);function t(n){N0(this,t);var o;return o=j0(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?lx(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(ff(Error)),cx=function(e){V0(t,e);function t(n){N0(this,t);var o;return o=j0(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(pf);function Zn(e){throw new pf(e)}function H0(e){throw new cx(e)}function ax(e){sf.error(new pf(e))}const f=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const o=e.split(".");let r;const i=(window.baitedaWorkers||{}).languageMessages||{};o.forEach((l,a)=>{a===0?r=i[l]:r&&(r=r[l])});let u="";return r&&(u=r),t&&Object.keys(t).forEach(l=>{const a=t[l];u=u.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),a)}),u||(n?u=n:u=e),u};function fx(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 _x(e,t,n){return t&&q0(e.prototype,t),n&&q0(e,n),e}function sx(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(){fx(this,e)}return _x(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return f("CMD."+n,o,lf==null||(r=lf[J6.split("-").join("")])===null||r===void 0?void 0:r[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,o){}}]),e}();sx(U0,"$i18n",U0.resetI18n());function yx(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,l,a){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){yf("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return l===a.length-1&&!Object.is(c[u],n)&&(c[u]=n,r=!0),c[u]}},e),r}var px=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},df={exports:{}};(function(e){(function(t){var n=function(v,$,E){if(!c($)||y($)||d($)||m($)||a($))return $;var S,R=0,z=0;if(_($))for(S=[],z=$.length;R<z;R++)S.push(n(v,$[R],E));else{S={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(S[v(A,E)]=n(v,$[A],E))}return S},o=function(v,$){$=$||{};var E=$.separator||"_",S=$.split||/(?=[A-Z])/;return v.split(S).join(E)},r=function(v){return O(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function($,E){return E?E.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var $=r(v);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(v,$){return o(v,$).toLowerCase()},l=Object.prototype.toString,a=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},_=function(v){return l.call(v)=="[object Array]"},y=function(v){return l.call(v)=="[object Date]"},d=function(v){return l.call(v)=="[object RegExp]"},m=function(v){return l.call(v)=="[object Boolean]"},O=function(v){return v=v-0,v===v},b=function(v,$){var E=$&&"process"in $?$.process:$;return typeof E!="function"?v:function(S,R){return E(S,v,R)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,$){return n(b(r,$),v)},decamelizeKeys:function(v,$){return n(b(u,$),v,$)},pascalizeKeys:function(v,$){return n(b(i,$),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(px)})(df);var W0={};Object.defineProperty(W0,"__esModule",{value:!0});function vf(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:vf(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:vf(o)}return t}}var dx=W0.default=vf;function vx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":vx(e))==="object"?dx(e):e}function ft(e){return K0(e)&&"zh"in e}function K0(e){return Object.prototype.toString.call(e)==="[object Object]"}function jo(e){return Array.isArray(e)}function je(e){return isNaN(parseFloat(e))?"":Number(e)}function hx(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 bx(e){return df.exports.camelizeKeys(e)}function le(e){return df.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 mx(e){if(Array.isArray(e))return hf(e)}function G0(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function gx(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){G0(i,o,r,u,l,"next",a)}function l(a){G0(i,o,r,u,l,"throw",a)}u(void 0)})}}function Ox(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 wx(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 $x(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Px(){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 mx(e)||$x(e)||Ex(e)||Px()}function Ex(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 Sx(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(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,o=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){u=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){u.label=c[1];break}if(c[0]===6&&u.label<r[1]){u.label=r[1],r=c;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(c);break}r[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Tx=function(){function e(){Ox(this,e),Q0(this,"_events",new Map),Q0(this,"debug",!1)}return wx(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 gx(function(){var l,a,c,_,y,d,m,O,b,w,v,$;return Sx(this,function(E){switch(E.label){case 0:if(l=u._events.get(n),a=[],!l)return[3,10];c=l.slice(),_=!0,y=!1,d=void 0,E.label=1;case 1:E.trys.push([1,8,9,10]),m=c[Symbol.iterator](),E.label=2;case 2:if(_=(O=m.next()).done)return[3,7];if(b=O.value,!l.includes(b))return[3,6];E.label=3;case 3:return E.trys.push([3,5,,6]),u.debug&&Co.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(bf(r))),[4,b.apply(null,bf(r))];case 4:return w=E.sent(),u.debug&&Co.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bf(r),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return v=E.sent(),ax(String(v)+":"+String(v.stack)),[3,6];case 6:return _=!0,[3,2];case 7:return[3,10];case 8:return $=E.sent(),y=!0,d=$,[3,10];case 9:try{!_&&m.return!=null&&m.return()}finally{if(y)throw d}return[7];case 10:return[2,a]}})})()}},{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 Rx(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 Bx(e,t,n){return t&&J0(e.prototype,t),n&&J0(e,n),e}function Dx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ax=[{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"}],Ix=function(){function e(){Rx(this,e)}return Bx(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}();Dx(Ix,"events",Ax);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 kx(e){if(Array.isArray(e))return mf(e)}function Fx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xx(){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 kx(e)||Fx(e)||Mx(e)||xx()}function Mx(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 Lx(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 Lx(e,t,n),new Proxy(e,{get:function(r,i){for(var u=arguments.length,l=new Array(u>2?u-2:0),a=2;a<u;a++)l[a-2]=arguments[a];var c;return i===tb?r:(c=Reflect).get.apply(c,[r,i].concat(Z0(l)))},set:function(r,i,u){for(var l=arguments.length,a=new Array(l>3?l-3:0),c=3;c<l;c++)a[c-3]=arguments[c];var _;if(jo(e)&&i==="length"&&u===e.length)return!0;var y=(_=Reflect).set.apply(_,[r,i,u].concat(Z0(a)));return K0(u)&&Y0(u,t,n),y}})}function Gt(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(a){u=nb(eb(a),i,r)},enumerable:!0})}function Cx(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 jx(e,t,n){return t&&ob(e.prototype,t),n&&ob(e,n),e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rb=[],No=function(){function e(t){Cx(this,e),ce(this,"registeredControlTypes",new Set),ce(this,"controlConfigMap",new Map),ce(this,"_controls",[]),ce(this,"_type",void 0),this._type=t,this._initControls(t)}return jx(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&&(yf("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===Ce.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Ce.FORM}},{key:"isListControl",value:function(n){return n.controlType===Ce.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Ce.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(_){return r.createControl(_,o)});if(n.children&&(n.children=n.children.map(function(_){return r.createControl(_,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(_){return r.createControl(_,o)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof o=="function"){var a=o(l);a&&(l=a)}var c;return u.mode==="Runtime"?(c=l,c.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new u(l),c}else 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 a=u[i],c=l[i];if(!(!a&&!c)){var _=c.findIndex(function(m){return m==n}),y=l[a]||[],d;return y.length!==c.length?d=y[0]:d=y[_],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(a){return a.Designer.controlType===r.controlType});return l>-1&&(yf("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}();ce(No,"staticControlsRuntimeRules",new Map),ce(No,"staticControls",rb),ce(No,"staticRegisteredTypes",new Set(rb.map(function(e){return e.Designer.controlType}))),ce(No,"staticRegisteredConfigs",new Map);function Nx(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=Vo(t),Vx(e,ib()?Reflect.construct(t,n||[],Vo(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 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 Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(e)}function St(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Of(e,t)}function Vx(e,t){return t&&(zx(t)==="object"||typeof t=="function")?t:Nx(e)}function Of(e,t){return Of=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Of(e,t)}function zx(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 Ft=function e(t){T(this,e),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(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),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(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),h(this,"pc",void 0),h(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){St(t,e);function t(n){T(this,t);var o;o=Et(this,t,[n]),h(o,"width",void 0),h(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),h(this,"pc",void 0),h(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})},Hx=function e(t){T(this,e),h(this,"type",void 0),h(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){T(this,e),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(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:""},qx=function(e){St(t,e);function t(n){T(this,t);var o;o=Et(this,t,[n]),h(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){T(this,e),h(this,"fieldCode",void 0),h(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;h(this,"appId",void 0),h(this,"formKey",void 0),h(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:[]},Ux=function e(t){T(this,e),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(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},Wx=function(e){St(t,e);function t(n){T(this,t);var o;o=Et(this,t,[n]),h(o,"title",void 0),h(o,"svcCode",void 0),h(o,"isOpenFilter",void 0),h(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),Kx=function e(t){T(this,e);var n,o;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(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 Ux(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 Wx(u)}))!==null&&i!==void 0?i:[]},Gx=function e(t){T(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},ae=function e(t){T(this,e),h(this,"type",void 0),h(this,"value",void 0),h(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),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Vt();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(l){if(l.children!==void 0){var a,c=new e(l);(a=n.children)===null||a===void 0||a.push(c)}else{var _,y=new zo(l);(_=n.children)===null||_===void 0||_.push(y)}}))},zo=function e(t){T(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt();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 Gx(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ae(t==null?void 0:t.rightVariableBo)},Xx=function e(t){T(this,e),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(t==null?void 0:t.datasourceBind);var o;this.relationFields=(o=t==null?void 0:t.relationFields)!==null&&o!==void 0?o:[]},pt=function e(t){T(this,e),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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),h(this,"type",void 0),h(this,"value",void 0),h(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},Qx=function e(t){T(this,e),h(this,"columnName",void 0),h(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 zo(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 zo(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 Qx(l)}))!==null&&u!==void 0?u:[]}var X=function e(t){var n=this;T(this,e),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0),h(this,"assignDepartment",void 0),h(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(y){var d;(d=n.displayBoList)===null||d===void 0||d.push(new Sf(y))}));var l;this.keywordMapping=(l=t==null?void 0:t.keywordMapping)!==null&&l!==void 0?l:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var c;this.svcCode=(c=t==null?void 0:t.svcCode)!==null&&c!==void 0?c:"",this.assignDepartment=new ae(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),h(this,"dataCode",void 0),h(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:[]},Xt=function e(t){T(this,e),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var l;this.formKey=(l=t==null?void 0:t.formKey)!==null&&l!==void 0?l:void 0,this.formType=t==null?void 0:t.formType;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var c;this.needConfirm=(c=t==null?void 0:t.needConfirm)!==null&&c!==void 0?c:!1;var _;this.openType=(_=t==null?void 0:t.openType)!==null&&_!==void 0?_:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},fb=function e(t){T(this,e);var n;h(this,"name",void 0),h(this,"key",void 0),h(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:[]},Ho=function(e){St(t,e);function t(n){T(this,t);var o,r;o=Et(this,t,[n]),h(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),Jx=function(e){St(t,e);function t(n){T(this,t);var o,r;o=Et(this,t,[n]),h(o,"attributes",void 0),h(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){St(t,e);function t(n){T(this,t);var o;o=Et(this,t,[n]),h(o,"rootNode",void 0),h(o,"filterCode",void 0),o.rootNode=new ae(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}(Ho),sb=function e(t){T(this,e);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(u){return new pt(u)}))!==null&&i!==void 0?i:[]},yb=function(e){St(t,e);function t(n){T(this,t);var o;return o=Et(this,t,[n]),h(o,"filters",void 0),h(o,"viewFilters",void 0),h(o,"orders",void 0),Tf.call(o,n),o}return t}(sb),pb=function(e){St(t,e);function t(n){T(this,t);var o;o=Et(this,t,[n]),h(o,"mode",void 0),h(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),h(this,"stencilName",void 0),h(this,"expression",void 0),h(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:""},db=function e(t){T(this,e),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Vt(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},Zx=function(e){St(t,e);function t(n){T(this,t);var o;o=Et(this,t,[n]),h(o,"cueWord",void 0),h(o,"checked",void 0);var r;o.cueWord=(r=n==null?void 0:n.cueWord)!==null&&r!==void 0?r:"";var i;return o.checked=(i=n==null?void 0:n.checked)!==null&&i!==void 0?i:!1,o}return t}(db);function Qt(e){var t;return(t=e==null?void 0:e.map(function(n){return new db(n)}))!==null&&t!==void 0?t:[]}function vb(e){var t;return(t=e==null?void 0:e.map(function(n){return new Zx(n)}))!==null&&t!==void 0?t:[]}var Df=function e(){T(this,e)},Yx=function(e){St(t,e);function t(n){T(this,t);var o;return o=Et(this,t),h(o,"amount",void 0),h(o,"currency",void 0),o.amount=new Ft(n==null?void 0:n.amount),o.currency=new Ft(n==null?void 0:n.currency),o}return t}(Df),tM=function e(t){T(this,e),h(this,"amount",void 0),h(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"},eM=function(e){St(t,e);function t(n){T(this,t);var o;return o=Et(this,t),h(o,"min",void 0),h(o,"max",void 0),o.min=new Ft(n==null?void 0:n.min),o.max=new Ft(n==null?void 0:n.max),o}return t}(Df),nM=function e(t){T(this,e),h(this,"min",void 0),h(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:""},oM=function e(t){T(this,e),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var 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:""},rM=function(e){St(t,e);function t(n){T(this,t);var o;return o=Et(this,t),h(o,"result",void 0),h(o,"unit",void 0),o.result=new Ft(n==null?void 0:n.result),o.unit=new Ft(n==null?void 0:n.unit),o}return t}(Df),iM=function e(t){T(this,e),h(this,"result",void 0),h(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 fe=function e(t){T(this,e),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var 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},uM=function e(t){T(this,e);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Vt(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)},lM=function e(t){T(this,e),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(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){T(this,e),h(this,"optCode",void 0),h(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:""},aM=function e(t){T(this,e);var n,o;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Vt();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(n=t.filters)===null||n===void 0?void 0:n.map(function(a){return a.children!==void 0?new Ef(a):new zo(a)}))!==null&&u!==void 0?u:[];var l;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(l=t==null||(o=t.settings)===null||o===void 0?void 0:o.map(function(a){return new fM(a)}))!==null&&l!==void 0?l:[]:[],this.script=t==null?void 0:t.script},fM=function e(t){T(this,e),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(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"},_M=function e(t){T(this,e);var n;h(this,"type",void 0),h(this,"interval",void 0),h(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 aM(u)}))!==null&&i!==void 0?i:[]:[]};function sM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yM(e,t,n){return t=Yn(t),vM(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 qo(e,t,n){return xf()?qo=Reflect.construct:qo=function(r,i,u){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),c=new a;return u&&to(c,u.prototype),c},qo.apply(null,arguments)}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 Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(e)}function pM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dM(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function vM(e,t){return t&&(hM(t)==="object"||typeof t=="function")?t:sM(e)}function to(e,t){return to=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},to(e,t)}function hM(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||!dM(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return qo(o,arguments,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),Jt(this,"isHide",{type:"boolean"})},Pe=function(e){pM(t,e);function t(n){return kf(this,t),yM(this,t)}return t}(Ff(Array)),W=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";kf(this,e),Jt(this,"isHide",void 0),Jt(this,"className",void 0),Jt(this,"style",void 0),Jt(this,"caption",void 0),Jt(this,"defaultState",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new lM(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};Jt(W,"mode",void 0),Jt(W,"Rules",U),Jt(W,"RuntimeRules",Pe);function zt(){return zt=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},zt.apply(this,arguments)}function bM(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 Uo(e,t){return Uo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uo(e,t)}function mM(){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 Wo(e,t,n){return mM()?Wo=Reflect.construct:Wo=function(r,i,u){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),c=new a;return u&&Uo(c,u.prototype),c},Wo.apply(null,arguments)}function gM(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||!gM(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,Mf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Uo(r,o)},Lf(e)}var OM=/%[sdj%]/g,hb=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(hb=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function Cf(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 gt(){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(OM,function(l){if(l==="%%")return"%";if(o>=i)return l;switch(l){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(a){return"[Circular]"}break;default:return l}});return u}return r}function wM(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||wM(t)&&typeof e=="string"&&!e)}function $M(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 bb(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 PM(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var mb=function(e){bM(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 EM(e,t,n,o){if(t.first){var r=new Promise(function(y,d){var m=function(w){return o(w),w.length?d(new mb(w,Cf(w))):y()},O=PM(e);bb(O,n,m)});return r.catch(function(y){return y}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),l=u.length,a=0,c=[],_=new Promise(function(y,d){var m=function(b){if(c.push.apply(c,b),a++,a===l)return o(c),c.length?d(new mb(c,Cf(c))):y()};u.length||(o(c),y()),u.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?bb(b,n,m):$M(b,n,m)})});return _.catch(function(y){return y}),_}function gb(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 Ob(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]=zt(zt({},e[n]),o):e[n]=o}}return e}function wb(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||G(t,i||e.type))&&o.push(gt(r.messages.required,e.fullField))}function SM(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(gt(r.messages.whitespace,e.fullField))}var jf={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(jf.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(jf.url)},hex:function(t){return typeof t=="string"&&!!t.match(jf.hex)}};function TM(e,t,n,o,r){if(e.required&&t===void 0){wb(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(gt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(gt(r.messages.types[u],e.fullField,e.type))}function RM(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",l=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,_=null,y=typeof t=="number",d=typeof t=="string",m=Array.isArray(t);if(y?_="number":d?_="string":m&&(_="array"),!_)return!1;m&&(c=t.length),d&&(c=t.replace(a,"_").length),i?c!==e.len&&o.push(gt(r.messages[_].len,e.fullField,e.len)):u&&!l&&c<e.min?o.push(gt(r.messages[_].min,e.fullField,e.min)):l&&!u&&c>e.max?o.push(gt(r.messages[_].max,e.fullField,e.max)):u&&l&&(c<e.min||c>e.max)&&o.push(gt(r.messages[_].range,e.fullField,e.min,e.max))}var Ve="enum";function BM(e,t,n,o,r){e[Ve]=Array.isArray(e[Ve])?e[Ve]:[],e[Ve].indexOf(t)===-1&&o.push(gt(r.messages[Ve],e.fullField,e[Ve].join(", ")))}function DM(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(gt(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(gt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:wb,whitespace:SM,type:TM,range:RM,enum:BM,pattern:DM};function AM(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 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(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 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)}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),G(t)||I.type(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(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 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),I.range(e,t,o,i,r))}n(i)}function CM(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(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 jM(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 NM="enum";function VM(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[NM](e,t,o,i,r)}n(i)}function zM(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 HM(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 qM(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 UM(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:AM,method:IM,number:kM,boolean:FM,regexp:xM,integer:MM,float:LM,array:CM,object:jM,enum:VM,pattern:zM,date:HM,url:Nf,hex:Nf,email:Nf,required:qM,any:UM};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 _e(e){this.rules=null,this._messages=zf,this.define(e)}_e.prototype={messages:function(t){return t&&(this._messages=Ob(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 a(b){var w,v=[],$={};function E(S){if(Array.isArray(S)){var R;v=(R=v).concat.apply(R,S)}else v.push(S)}for(w=0;w<b.length;w++)E(b[w]);v.length?$=Cf(v):(v=null,$=null),l(v,$)}if(u.messages){var c=this.messages();c===zf&&(c=Vf()),Ob(c,u.messages),u.messages=c}else u.messages=this.messages();var _,y,d={},m=u.keys||Object.keys(this.rules);m.forEach(function(b){_=r.rules[b],y=i[b],_.forEach(function(w){var v=w;typeof v.transform=="function"&&(i===t&&(i=zt({},i)),y=i[b]=v.transform(y)),typeof v=="function"?v={validator:v}:v=zt({},v),v.validator=r.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=r.getType(v),v.validator&&(d[b]=d[b]||[],d[b].push({rule:v,value:y,source:i,field:b}))})});var O={};return EM(d,u,function(b,w){var v=b.rule,$=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");$=$&&(v.required||!v.required&&b.value),v.field=b.field;function E(z,A){return zt(zt({},A),{},{fullField:v.fullField+"."+z})}function S(z){z===void 0&&(z=[]);var A=z;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&_e.warning("async-validator:",A),A.length&&v.message!==void 0&&(A=[].concat(v.message)),A=A.map(gb(v)),u.first&&A.length)return O[v.field]=1,w(A);if(!$)w(A);else{if(v.required&&!b.value)return v.message!==void 0?A=[].concat(v.message).map(gb(v)):u.error&&(A=[u.error(v,gt(u.messages.required,v.field))]),w(A);var ct={};if(v.defaultField)for(var D in b.value)b.value.hasOwnProperty(D)&&(ct[D]=v.defaultField);ct=zt(zt({},ct),b.rule.fields);for(var Wt in ct)if(ct.hasOwnProperty(Wt)){var Mo=Array.isArray(ct[Wt])?ct[Wt]:[ct[Wt]];ct[Wt]=Mo.map(E.bind(null,Wt))}var Gn=new _e(ct);Gn.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Gn.validate(b.value,b.rule.options||u,function(Me){var Kt=[];A&&A.length&&Kt.push.apply(Kt,A),Me&&Me.length&&Kt.push.apply(Kt,Me),w(Kt.length?Kt:null)})}}var R;v.asyncValidator?R=v.asyncValidator(v,b.value,S,b.source,u):v.validator&&(R=v.validator(v,b.value,S,b.source,u),R===!0?S():R===!1?S(v.message||v.field+" fails"):R instanceof Array?S(R):R instanceof Error&&S(R.message)),R&&R.then&&R.then(function(){return S()},function(z){return S(z)})},function(b){a(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!no.hasOwnProperty(t.type))throw new Error(gt("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}},_e.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},_e.warning=hb,_e.messages=zf,_e.validators=no;var WM={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 KM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new _e(e);return n.messages(Object.assign(WM,t)),n}var GM=new Tx;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 XM(e){if(Array.isArray(e))return e}function QM(e){if(Array.isArray(e))return Hf(e)}function $b(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function Pb(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){$b(i,o,r,u,l,"next",a)}function l(a){$b(i,o,r,u,l,"throw",a)}u(void 0)})}}function JM(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 ZM(e,t,n){return t&&Eb(e.prototype,t),n&&Eb(e,n),e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Tb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function YM(){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 tL(){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 Rb(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 eL(e){return XM(e)||Tb(e)||Bb(e)||YM()}function qf(e){return QM(e)||Tb(e)||Bb(e)||tL()}function nL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bb(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 Db(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(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,o=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){u=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){u.label=c[1];break}if(c[0]===6&&u.label<r[1]){u.label=r[1],r=c;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(c);break}r[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var L=function(){function t(n){var o=this;JM(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",Ib),M(this,"removeSetting",Ab),this._callControlHooks("preInstance",n);var r=Sb(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,l=r.controlType,a=r.controlFieldType,c=r.controlEventKeys,_=r.controlCustomEvents,y=r.name,d=r.setting,m=r.slots,O=r.slotPosition;i&&u&&l||H0("The ".concat(y," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:Vt(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,(Sb(this,t)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=kt(d);var $;this.fieldType=($=n==null?void 0:n.fieldType)!==null&&$!==void 0?$:a,this.eventKeys=kt(c),this.customEvents=kt(_),this.slots=kt(m),this.slotPosition=kt(O),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return ZM(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=eL(r),a=l[0],c=l.slice(1);return(u=GM).emit.apply(u,[a,this].concat(qf(c)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),yx(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return Pb(function(){var r,i,u;return Db(this,function(l){switch(l.label){case 0:return r=Rb({},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 Pb(function(){var u,l,a,c;return Db(this,function(_){switch(_.label){case 0:return[4,i.preValidate()];case 1:u=_.sent(),l=u!==void 0?u:Rb({},i.rules),Array.isArray(r)&&r.forEach(function(y){l.hasOwnProperty(y)&&delete l[y]}),a=KM(l,o),_.label=2;case 2:return _.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return _.sent(),[2,!0];case 4:throw c=_.sent(),c.control||(c.control=i),c;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,a=l.dataBind,c=l.datasourceBind,_=l.optionConfig,y=l.caption,d=l.required,m=l.maxLength,O=l.options,b=l.encrypted,w=l.encryptedMode;if(!(!r&&!a&&!c)){var v={parentId:o,fieldType:r,controlId:i,caption:y,type:u,props:{}};switch(a&&(v.dataBind=a),_){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=O;break}return d!==void 0&&(v.required=d),m!==void 0&&(v.maxLength=m),b!==void 0&&(v.encrypted=b),w!==void 0&&(v.encryptedMode=w),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:kt(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",Ab),M(L,"updateSettingItem",Ib);function Ab(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r,i=typeof o!="string",u=(r=t.setting)===null||r===void 0?void 0:r.findIndex(function(c){return c.key===(i?o.key:o)});if(u!==-1){var l,a;i?t.setting[u].showItems=(l=t.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(c){return!o.hideItems.includes(c)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function Ib(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(c){return c.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":nL(t))==="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,qf(t.showItems))}}}})}function oL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rL(e,t,n){return t&&kb(e.prototype,t),n&&kb(e,n),e}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 iL(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Ht=function(){function t(n){oL(this,t),Ot(this,"id",void 0),Ot(this,"type",void 0),Ot(this,"controlType",void 0),Ot(this,"props",void 0),Ot(this,"fieldType",void 0),Ot(this,"customEvents",[]),Ot(this,"pageStatus",void 0),Ot(this,"parent",null);var o=iL(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 a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Vt(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:r,this.props=new W(n==null?void 0:n.props),this.customEvents=l;var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:If.UNKNOWN}return rL(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}();Ot(Ht,"mode","Runtime"),Ot(Ht,"controlType","control"),Ot(Ht,"controlFieldType",void 0),Ot(Ht,"__is_control__",!0),Ot(Ht,"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=hx(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 Ko(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 uL(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function lL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Go(e,t,n){return t=Qo(t),cL(e,Fb()?Reflect.construct(t,n||[],Qo(e).constructor):t.apply(e,n))}function Xo(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 Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(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&&Wf(e,t)}function cL(e,t){return t&&(aL(t)==="object"||typeof t=="function")?t:lL(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(e,t)}function aL(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 tt=function(e){Jo(t,e);function t(n){Xo(this,t);var o;o=Go(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(uL(n.dataBind))o.dataBind={type:"object",required:!0,fields:kt(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:kt(r),message:f("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),j=function(e){Jo(t,e);function t(n){Xo(this,t);var o;o=Go(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}(Pe),k=function(e){Jo(t,e);function t(n){Xo(this,t);var o;o=Go(this,t,[n]),N(o,"caption",void 0),N(o,"isHideCaption",void 0),N(o,"isShowCaptionTip",void 0),N(o,"captionTip",void 0),N(o,"labelPosition",void 0),N(o,"dataBind",void 0),N(o,"defaultValue",void 0),N(o,"placeholder",void 0),N(o,"defaultState",void 0),N(o,"required",void 0),N(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var y;o.required=(y=n==null?void 0:n.required)!==null&&y!==void 0?y:!1;var d;o.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",o.dataBind=new Ft(n==null?void 0:n.dataBind);var m;return o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"",o}return t}(W);N(k,"Rules",tt),N(k,"RuntimeRules",j);var ze=function(e){Jo(t,e);function t(n){Xo(this,t);var o;return o=Go(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}(tt);function fL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _L(e,t,n){return t=Yo(t),pL(e,xb()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function sL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(e)}function yL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pL(e,t){return t&&(dL(t)==="object"||typeof t=="function")?t:fL(e)}function Kf(e,t){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(e,t)}function dL(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 F=function(e){yL(t,e);function t(n){sL(this,t);var o;return o=_L(this,t,[n]),Zo(o,"controlType","form"),Zo(o,"props",void 0),o.props=new k(n==null?void 0:n.props),o}return t}(L);Zo(F,"controlEventKeys",["on_change","on_focus","on_blur"]),Zo(F,"controlCustomAttributes",void 0);function vL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hL(e,t,n){return t=tr(t),gL(e,Mb()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function bL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(e)}function mL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:vL(e)}function Xf(e,t){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(e,t)}function OL(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 x=function(e){mL(t,e);function t(n){bL(this,t);var o;return o=hL(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}(Ht);function wL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $L(e,t,n){return t=er(t),SL(e,Lb()?Reflect.construct(t,n||[],er(e).constructor):t.apply(e,n))}function PL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(e)}function EL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SL(e,t){return t&&(TL(t)==="object"||typeof t=="function")?t:wL(e)}function Qf(e,t){return Qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qf(e,t)}function TL(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 et=function(e){EL(t,e);function t(n){return PL(this,t),$L(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 RL(e){if(Array.isArray(e))return Jf(e)}function BL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cb(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function DL(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){Cb(i,o,r,u,l,"next",a)}function l(a){Cb(i,o,r,u,l,"throw",a)}u(void 0)})}}function AL(e,t,n){return t=ye(t),VL(e,Vb()?Reflect.construct(t,n||[],ye(e).constructor):t.apply(e,n))}function IL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kL(e,t,n){return t&&jb(e.prototype,t),n&&jb(e,n),e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?He=Reflect.get:He=function(r,i,u){var l=zL(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},He(e,t,n||e)}function ye(e){return ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ye(e)}function FL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xL(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ML(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LL(){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 CL(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){se(e,r,n[r])})}return e}function jL(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 NL(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jL(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function VL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:BL(e)}function Zf(e,t){return Zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zf(e,t)}function zL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ye(e),e!==null););return e}function Nb(e){return RL(e)||ML(e)||qL(e)||LL()}function HL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qL(e,t){if(!!e){if(typeof e=="string")return Jf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jf(e,t)}}function Vb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vb=function(){return!!e})()}function UL(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(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,o=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){u=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){u.label=c[1];break}if(c[0]===6&&u.label<r[1]){u.label=r[1],r=c;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(c);break}r[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var WL=1e4,nt=function(t){FL(n,t);function n(o){IL(this,n);var r;r=AL(this,n,[o]),se(r,"controlType","layout"),se(r,"children",void 0),se(r,"excludes",void 0),se(r,"childrenMaxLength",void 0),se(r,"props",void 0);var i=xL(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new et(o==null?void 0:o.props),Gt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=kt(u),r.childrenMaxLength=l,r}return kL(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,l=this,a=function(){return He(ye(n.prototype),"validate",u)};return DL(function(){return UL(this,function(c){switch(c.label){case 0:return[4,a().call(l,r,i)];case 1:return c.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(r,i)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=He(ye(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(l,a){var c=a.toDataBindModel(r);if(Array.isArray(c)){var _=c.filter(function(y){return!!y});return Nb(l).concat(Nb(_))}return c&&l.push(c),l},u)}},{key:"toSchema",value:function(){var r=He(ye(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var l=u.toSchema();return l});return NL(CL({},r),{children:i})}}]),n}(L);se(nt,"excludes",!1),se(nt,"childrenMaxLength",WL);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,zb()?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 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 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&&t_(e,t)}function JL(e,t){return t&&(ZL(t)==="object"||typeof t=="function")?t:KL(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t_(e,t)}function ZL(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 Ee=function(e){QL(t,e);function t(n){XL(this,t);var o;return o=GL(this,t,[n]),Yf(o,"controlType","layout"),Yf(o,"children",void 0),Yf(o,"props",void 0),o.props=new et(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Ht);function YL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tC(e,t,n){return t=or(t),oC(e,Hb()?Reflect.construct(t,n||[],or(e).constructor):t.apply(e,n))}function eC(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 or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(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&&e_(e,t)}function oC(e,t){return t&&(rC(t)==="object"||typeof t=="function")?t:YL(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(e,t)}function rC(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 n_=function(e){nC(t,e);function t(n,o,r){eC(this,t);var i;i=tC(this,t,[o]),qe(i,"headers",void 0),qe(i,"footers",void 0),qe(i,"pageIndex",void 0),qe(i,"pageSize",void 0),qe(i,"pageSizeOptions",void 0),qe(i,"totalCount",void 0),Gt(i,"headers",o==null?void 0:o.headers,n,r),Gt(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var l;i.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var c;return i.totalCount=(c=o==null?void 0:o.totalCount)!==null&&c!==void 0?c:0,i}return t}(W);function 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 iC(e){if(Array.isArray(e))return o_(e)}function uC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qb(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function lC(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){qb(i,o,r,u,l,"next",a)}function l(a){qb(i,o,r,u,l,"throw",a)}u(void 0)})}}function cC(e,t,n){return t=pe(t),dC(e,Xb()?Reflect.construct(t,n||[],pe(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 Ub(e,t){for(var n=0;n<t.length;n++){var 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&&Ub(e.prototype,t),n&&Ub(e,n),e}function rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ue(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ue=Reflect.get:Ue=function(r,i,u){var l=vC(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ue(e,t,n||e)}function pe(e){return pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pe(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&&r_(e,t)}function sC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yC(){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 Wb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){rr(e,r,n[r])})}return e}function pC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Kb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function dC(e,t){return t&&(hC(t)==="object"||typeof t=="function")?t:uC(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r_(e,t)}function vC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pe(e),e!==null););return e}function Gb(e){return iC(e)||sC(e)||bC(e)||yC()}function hC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bC(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 Xb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xb=function(){return!!e})()}function mC(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(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,o=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){u=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){u.label=c[1];break}if(c[0]===6&&u.label<r[1]){u.label=r[1],r=c;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(c);break}r[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var i_=function(e){_C(t,e);function t(n){aC(this,t);var o;return o=cC(this,t,[n]),rr(o,"controlType","list"),rr(o,"props",void 0),o.props=new n_(o,n==null?void 0:n.props,"Designer"),o}return fC(t,[{key:"validate",value:function(o,r){var i=this,u=this,l=function(){return Ue(pe(t.prototype),"validate",i)};return lC(function(){return mC(this,function(a){switch(a.label){case 0:return[4,l().call(u,o)];case 1:return a.sent(),[4,Promise.all(u.props.headers.map(function(c){return c.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Ue(pe(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,l){var a=l.toDataBindModel(i);if(Array.isArray(a)){var c=a.filter(function(_){return!!_});return Gb(u).concat(Gb(c))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o=Ue(pe(t.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return Kb(Wb({},o),{props:Kb(Wb({},this.props),{headers:r})})}}]),t}(L);rr(i_,"controlFieldType",g.LIST);function gC(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=ir(t),OC(e,Qb()?Reflect.construct(t,n||[],ir(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 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 ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(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 OC(e,t){return t&&(wC(t)==="object"||typeof t=="function")?t:gC(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(e,t)}function wC(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 Zt=function(e){c_(t,e);function t(n){l_(this,t);var o;return o=u_(this,t,[n]),ot(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),ot(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]),ot(o,"widthType",void 0),ot(o,"width",void 0),ot(o,"caption",void 0),ot(o,"dataBind",void 0),ot(o,"autoWidth",void 0),ot(o,"fixed",void 0),ot(o,"sort",void 0),ot(o,"align",void 0),ot(o,"colSpan",void 0),ot(o,"autoHeight",void 0),ot(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 Ft(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return t}(W);ot(K,"Rules",Zt);var f_=function(e){c_(t,e);function t(n){l_(this,t);var o;return o=u_(this,t,[n]),ot(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),ot(o,"options",[{type:"array",message:f("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),ot(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Uf.call(o,n),o}return t}(Zt);function $C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PC(e,t,n){return t=We(t),AC(e,Zb()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}function EC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SC(e,t,n){return t&&Jb(e.prototype,t),n&&Jb(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 lr(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?lr=Reflect.get:lr=function(r,i,u){var l=IC(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},lr(e,t,n||e)}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function TC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RC(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 BC(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 DC(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):BC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function AC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:$C(e)}function __(e,t){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(e,t)}function IC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=We(e),e!==null););return e}function kC(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 rt=function(e){TC(t,e);function t(n){EC(this,t);var o;return o=PC(this,t,[n]),ur(o,"controlType","column"),ur(o,"props",void 0),ur(o,"children",void 0),o.props=new K(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return SC(t,[{key:"toSchema",value:function(){var o=lr(We(t.prototype),"toSchema",this).call(this);return DC(RC({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(L);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=cr(t),CC(e,Yb()?Reflect.construct(t,n||[],cr(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 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 cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function CC(e,t){return t&&(jC(t)==="object"||typeof t=="function")?t:FC(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y_(e,t)}function jC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yb=function(){return!!e})()}var it=function(e){LC(t,e);function t(n){MC(this,t);var o;return o=xC(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),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Ht);function NC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VC(e,t,n){return t=ar(t),UC(e,tm()?Reflect.construct(t,n||[],ar(e).constructor):t.apply(e,n))}function zC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(e)}function qC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function UC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:NC(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(e,t)}function WC(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 d_=function(e){qC(t,e);function t(n){zC(this,t);var o;return o=VC(this,t,[n]),HC(o,"dataBind",void 0),o.dataBind=new Ft(n==null?void 0:n.dataBind),o}return t}(et);function KC(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=fr(t),JC(e,nm()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function XC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 QC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function JC(e,t){return t&&(ZC(t)==="object"||typeof t=="function")?t:KC(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function ZC(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 YC=function(e){QC(t,e);function t(n){XC(this,t);var o;return o=GC(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}(nt);function t7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e7(e,t,n){return t=_r(t),r7(e,rm()?Reflect.construct(t,n||[],_r(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 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 _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(e)}function o7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h_(e,t)}function r7(e,t){return t&&(i7(t)==="object"||typeof t=="function")?t:t7(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(e,t)}function i7(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 u7=function(e){o7(t,e);function t(n){n7(this,t);var o;return o=e7(this,t,[n]),om(o,"controlType","search"),om(o,"props",void 0),o.props=new d_(n==null?void 0:n.props),o}return t}(Ee);function de(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 l7(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=sr(t),_7(e,im()?Reflect.construct(t,n||[],sr(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 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 sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(e)}function f7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b_(e,t)}function _7(e,t){return t&&(s7(t)==="object"||typeof t=="function")?t:l7(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b_(e,t)}function s7(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 y7=function(e){f7(t,e);function t(n){a7(this,t);var o;o=c7(this,t,[n]),Se(o,"content",void 0),Se(o,"fontSize",void 0),Se(o,"color",void 0),Se(o,"icon",void 0),Se(o,"align",void 0),Se(o,"showState",void 0),Se(o,"aiContentSearch",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:f("CMD.text",null,"\u8BF4\u660E\u6587\u5B57");var c;o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"";var _;return o.aiContentSearch=(_=n==null?void 0:n.aiContentSearch)!==null&&_!==void 0?_:!1,o}return t}(W);function p7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d7(e,t,n){return t=yr(t),m7(e,cm()?Reflect.construct(t,n||[],yr(e).constructor):t.apply(e,n))}function v7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 h7(e,t,n){return t&&um(e.prototype,t),n&&um(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}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yr(e)}function b7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:p7(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m_(e,t)}function g7(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 O7=function(e){b7(t,e);function t(n){v7(this,t);var o;return o=d7(this,t,[n]),lm(o,"props",void 0),o.props=new y7(n==null?void 0:n.props),o}return h7(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);lm(O7,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function w7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $7(e,t,n){return t=pr(t),S7(e,am()?Reflect.construct(t,n||[],pr(e).constructor):t.apply(e,n))}function P7(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 pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(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&&O_(e,t)}function S7(e,t){return t&&(T7(t)==="object"||typeof t=="function")?t:w7(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O_(e,t)}function T7(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 R7=function(e){E7(t,e);function t(n){P7(this,t);var o;o=$7(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 B7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D7(e,t,n){return t=dr(t),F7(e,_m()?Reflect.construct(t,n||[],dr(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 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 I7(e,t,n){return t&&fm(e.prototype,t),n&&fm(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 dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dr(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&&$_(e,t)}function F7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:B7(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(e,t)}function x7(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 sm=function(e){k7(t,e);function t(n){A7(this,t);var o;return o=D7(this,t,[n]),w_(o,"props",void 0),o.props=new R7(n==null?void 0:n.props),o}return I7(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_(sm,"controlEventKeys",["on_click"]),w_(sm,"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 M7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L7(e,t,n){return t=vr(t),N7(e,ym()?Reflect.construct(t,n||[],vr(e).constructor):t.apply(e,n))}function C7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(e)}function j7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function N7(e,t){return t&&(V7(t)==="object"||typeof t=="function")?t:M7(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},P_(e,t)}function V7(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 wt=function(e){j7(t,e);function t(n){C7(this,t);var o;o=L7(this,t,[n]),Yt(o,"content",void 0),Yt(o,"buttonType",void 0),Yt(o,"showType",void 0),Yt(o,"color",void 0),Yt(o,"icon",void 0),Yt(o,"defaultState",void 0),Yt(o,"command",void 0),Yt(o,"isLoading",void 0),Yt(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.button",null,"\u6309\u94AE");var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var d;return o.optObj=new cM((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return t}(W);function z7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H7(e,t,n){return t=br(t),K7(e,dm()?Reflect.construct(t,n||[],br(e).constructor):t.apply(e,n))}function q7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function U7(e,t,n){return t&&pm(e.prototype,t),n&&pm(e,n),e}function hr(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 W7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K7(e,t){return t&&(G7(t)==="object"||typeof t=="function")?t:z7(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(e,t)}function G7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dm=function(){return!!e})()}var _t=function(e){W7(t,e);function t(n){q7(this,t);var o;return o=H7(this,t,[n]),hr(o,"props",void 0),o.props=new wt(n==null?void 0:n.props),o}return U7(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);hr(_t,"slots",["grid-table-toolbar-slot","action-bar-slot",L0.DEFAULT]),hr(_t,"controlEventKeys",["on_click"]),hr(_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 $t(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 te;(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"})(te||(te={}));var vm;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(vm||(vm={}));var hm;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(hm||(hm={}));var S_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Vt(8),value:["",""]};$t(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){$t(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:Vt();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 bm=function e(t){$t(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,"signaturePosition",void 0),P(this,"indexSignature",void 0),P(this,"posX",void 0),P(this,"posY",void 0),P(this,"platformAutoSign",void 0),P(this,"signDateBeanType",void 0),P(this,"signDateFontSize",void 0),P(this,"signDateFormat",void 0),P(this,"signOrder",void 0),P(this,"forceReadTime",void 0),P(this,"seal",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 ae((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 ae((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var l,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new ae((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var c,_;this.indexSignature=(_=t==null?void 0:t.indexSignature)!==null&&_!==void 0?_:new ae((c=t==null?void 0:t.indexSignature)!==null&&c!==void 0?c:{type:"form"});var y;this.signaturePosition=(y=t==null?void 0:t.signaturePosition)!==null&&y!==void 0?y:"free";var d;this.seal=new ae((d=t==null?void 0:t.seal)!==null&&d!==void 0?d:{type:"form"});var m;this.platformAutoSign=(m=t==null?void 0:t.platformAutoSign)!==null&&m!==void 0?m:!1;var O;this.signDateBeanType=(O=t==null?void 0:t.signDateBeanType)!==null&&O!==void 0?O:0;var b;this.signDateFontSize=(b=t==null?void 0:t.signDateFontSize)!==null&&b!==void 0?b:12;var w;this.signOrder=(w=t==null?void 0:t.signOrder)!==null&&w!==void 0?w:1,this.forceReadTime=t==null?void 0:t.forceReadTime;var v;this.posX=(v=t==null?void 0:t.posX)!==null&&v!==void 0?v:0;var $;this.posY=($=t==null?void 0:t.posY)!==null&&$!==void 0?$:0;var E;this.remark=(E=t==null?void 0:t.remark)!==null&&E!==void 0?E:""},X7=function e(t){$t(this,e);var n;P(this,"fileControl",void 0),P(this,"undersignedList",void 0),P(this,"statusControl",void 0),P(this,"completeControl",void 0),P(this,"completeTimeControl",void 0);var o;this.fileControl=(o=t==null?void 0:t.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=t==null||(n=t.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new bm(a)}))!==null&&r!==void 0?r:[new bm];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:""},mr=function e(t){$t(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:Vt(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var l;this.fieldList=(l=t==null?void 0:t.fieldList)!==null&&l!==void 0?l:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},mm=function e(t){$t(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:""},Q7=function e(t){$t(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 mm(t==null?void 0:t.watermark),this.autoRename=new mm(t==null?void 0:t.autoRename)},gm=function e(t){$t(this,e),P(this,"appId",void 0),P(this,"dataCode",void 0),P(this,"formKey",void 0),P(this,"orders",void 0),P(this,"filters",void 0),P(this,"isRelation",void 0),P(this,"relationBindCode",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.orders=(i=t==null?void 0:t.orders)!==null&&i!==void 0?i:[];var u;this.filters=(u=t==null?void 0:t.filters)!==null&&u!==void 0?u:[];var l;this.isRelation=(l=t==null?void 0:t.isRelation)!==null&&l!==void 0?l:!1;var a;this.relationBindCode=(a=t==null?void 0:t.relationBindCode)!==null&&a!==void 0?a:""},Om=function e(t){$t(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},J7=function e(t){$t(this,e),P(this,"dataCode",void 0),this.dataCode=t.dataCode},Z7=function e(t){$t(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 J7(i)}))!==null&&r!==void 0?r:[]},Y7=function e(t){$t(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 mr(i)}))!==null&&r!==void 0?r:[new mr({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},tj=480;function gr(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var ej=function e(t){$t(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:[]},wm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(wm||(wm={}));var D_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(D_||(D_={}));var Or;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(Or||(Or={}));var ve;(function(e){e.ALL="all",e.ASSIGN="assign"})(ve||(ve={}));var A_;(function(e){e.ALL="all",e.ADMIN="admin"})(A_||(A_={}));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=wr(t),uj(e,Pm()?Reflect.construct(t,n||[],wr(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 $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 wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(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&&I_(e,t)}function uj(e,t){return t&&(lj(t)==="object"||typeof t=="function")?t:nj(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function lj(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 cj=function(e){ij(t,e);function t(n){rj(this,t);var o;o=oj(this,t,[n]),$m(o,"color",void 0),$m(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 aj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fj(e,t,n){return t=$r(t),pj(e,Tm()?Reflect.construct(t,n||[],$r(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 Em(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sj(e,t,n){return t&&Em(e.prototype,t),n&&Em(e,n),e}function Sm(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 yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function pj(e,t){return t&&(dj(t)==="object"||typeof t=="function")?t:aj(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function dj(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 vj=function(e){yj(t,e);function t(n){_j(this,t);var o;return o=fj(this,t,[n]),Sm(o,"props",void 0),o.props=new cj(n==null?void 0:n.props),o}return sj(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);Sm(vj,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function hj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rm(e,t,n){return t=Pr(t),bj(e,Am()?Reflect.construct(t,n||[],Pr(e).constructor):t.apply(e,n))}function Bm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pr(e)}function Dm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function bj(e,t){return t&&(mj(t)==="object"||typeof t=="function")?t:hj(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function mj(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 gj=function(e){Dm(t,e);function t(n){Bm(this,t);var o;return o=Rm(this,t,[n]),he(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),he(o,"dataBind",{type:"any"}),he(o,"config",{type:"array"}),n.config.includes(te.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),Im=function(e){Dm(t,e);function t(n){Bm(this,t);var o;o=Rm(this,t,[n]),he(o,"dataBind",void 0),he(o,"caption",void 0),he(o,"config",void 0),he(o,"position",void 0),o.dataBind=new Ft(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[te.ShowSubmitUser,te.ShowSubmitDept,te.ShowSubmitTime,te.ShowCurrentApprovar,te.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);he(Im,"Rules",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=Er(t),Sj(e,Fm()?Reflect.construct(t,n||[],Er(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 km(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Pj(e,t,n){return t&&km(e.prototype,t),n&&km(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 Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(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&&M_(e,t)}function Sj(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:Oj(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function Tj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fm=function(){return!!e})()}var oo=function(e){Ej(t,e);function t(n){$j(this,t);var o;return o=wj(this,t,[n]),x_(o,"props",void 0),o.props=new Im(n==null?void 0:n.props),o}return Pj(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 Rj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xm(e,t,n){return t=Tr(t),Bj(e,Cm()?Reflect.construct(t,n||[],Tr(e).constructor):t.apply(e,n))}function Mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tr(e)}function Lm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bj(e,t){return t&&(Dj(t)==="object"||typeof t=="function")?t:Rj(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(e,t)}function Dj(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 Aj=function(e){Lm(t,e);function t(n){Mm(this,t);var o;return o=xm(this,t,[n]),Sr(o,"formKey",{type:"string",required:!0,message:f("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}),o}return t}(U),jm=function(e){Lm(t,e);function t(n){Mm(this,t);var o;o=xm(this,t,[n]),Sr(o,"formKey",void 0),Sr(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}(wt);Sr(jm,"Rules",Aj);function Ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kj(e,t,n){return t=Br(t),Lj(e,Vm()?Reflect.construct(t,n||[],Br(e).constructor):t.apply(e,n))}function Fj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xj(e,t,n){return t&&Nm(e.prototype,t),n&&Nm(e,n),e}function Rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(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&&C_(e,t)}function Lj(e,t){return t&&(Cj(t)==="object"||typeof t=="function")?t:Ij(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(e,t)}function Cj(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 ro=function(e){Mj(t,e);function t(n){Fj(this,t);var o;return o=kj(this,t,[n]),Rr(o,"props",void 0),o.props=new jm(n==null?void 0:n.props),o}return xj(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);Rr(ro,"slots",["grid-table-toolbar-slot"]),Rr(ro,"controlEventKeys",["on_click","on_click_finish"]),Rr(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 jj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zm(e,t,n){return t=Dr(t),Nj(e,Um()?Reflect.construct(t,n||[],Dr(e).constructor):t.apply(e,n))}function Hm(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 Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(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&&j_(e,t)}function Nj(e,t){return t&&(Vj(t)==="object"||typeof t=="function")?t:jj(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(e,t)}function Vj(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 zj=function(e){qm(t,e);function t(n){Hm(this,t);var o;return o=zm(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),Wm=function(e){qm(t,e);function t(n){Hm(this,t);var o;o=zm(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 a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var c;return o.employeeId=(c=n==null?void 0:n.employeeId)!==null&&c!==void 0?c:"",o}return t}(wt);Ke(Wm,"Rules",zj);function Hj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qj(e,t,n){return t=Ir(t),Gj(e,Gm()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function Uj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Wj(e,t,n){return t&&Km(e.prototype,t),n&&Km(e,n),e}function Ar(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 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&&N_(e,t)}function Gj(e,t){return t&&(Xj(t)==="object"||typeof t=="function")?t:Hj(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(e,t)}function Xj(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 io=function(e){Kj(t,e);function t(n){Uj(this,t);var o;return o=qj(this,t,[n]),Ar(o,"props",void 0),o.props=new Wm(n==null?void 0:n.props),o}return Wj(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);Ar(io,"slots",["grid-table-toolbar-slot"]),Ar(io,"controlEventKeys",["on_click","on_click_finish"]),Ar(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 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=kr(t),t8(e,Xm()?Reflect.construct(t,n||[],kr(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 kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(e)}function Yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function t8(e,t){return t&&(e8(t)==="object"||typeof t=="function")?t:Qj(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(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 n8=function(e){Yj(t,e);function t(n){Zj(this,t);var o;o=Jj(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}(wt);function o8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(e,t,n){return t=xr(t),c8(e,Jm()?Reflect.construct(t,n||[],xr(e).constructor):t.apply(e,n))}function i8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 u8(e,t,n){return t&&Qm(e.prototype,t),n&&Qm(e,n),e}function Fr(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 l8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function c8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:o8(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(e,t)}function a8(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 uo=function(e){l8(t,e);function t(n){i8(this,t);var o;return o=r8(this,t,[n]),Fr(o,"props",void 0),o.props=new n8(n==null?void 0:n.props),o}return u8(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);Fr(uo,"slots",["grid-table-toolbar-slot"]),Fr(uo,"controlEventKeys",["on_click"]),Fr(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 f8(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=Mr(t),p8(e,Ym()?Reflect.construct(t,n||[],Mr(e).constructor):t.apply(e,n))}function s8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(e)}function y8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:f8(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(e,t)}function d8(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 v8=function(e){y8(t,e);function t(n){s8(this,t);var o,r;o=_8(this,t,[n]),Zm(o,"templateList",void 0),Zm(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 a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(c){return new mr(c)}))!==null&&a!==void 0?a:[new mr({id:"default",name:f("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return t}(wt);function h8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b8(e,t,n){return t=Cr(t),w8(e,eg()?Reflect.construct(t,n||[],Cr(e).constructor):t.apply(e,n))}function m8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 g8(e,t,n){return t&&tg(e.prototype,t),n&&tg(e,n),e}function Lr(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 O8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function w8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:h8(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(e,t)}function $8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eg=function(){return!!e})()}var lo=function(e){O8(t,e);function t(n){m8(this,t);var o;return o=b8(this,t,[n]),Lr(o,"props",void 0),o.props=new v8(n==null?void 0:n.props),o}return g8(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);Lr(lo,"slots",["grid-table-toolbar-slot"]),Lr(lo,"controlEventKeys",["on_click","on_click_finish"]),Lr(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 P8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E8(e,t,n){return t=jr(t),R8(e,ng()?Reflect.construct(t,n||[],jr(e).constructor):t.apply(e,n))}function S8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(e)}function T8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function R8(e,t){return t&&(B8(t)==="object"||typeof t=="function")?t:P8(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function B8(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 D8=function(e){T8(t,e);function t(n){S8(this,t);var o;o=E8(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}(wt);function A8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I8(e,t,n){return t=Vr(t),M8(e,rg()?Reflect.construct(t,n||[],Vr(e).constructor):t.apply(e,n))}function k8(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 F8(e,t,n){return t&&og(e.prototype,t),n&&og(e,n),e}function Nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(e)}function x8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:A8(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function L8(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 co=function(e){x8(t,e);function t(n){k8(this,t);var o;return o=I8(this,t,[n]),Nr(o,"props",void 0),o.props=new D8(n==null?void 0:n.props),o}return F8(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);Nr(co,"slots",["grid-table-toolbar-slot"]),Nr(co,"controlEventKeys",["on_click"]),Nr(co,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function C8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j8(e,t,n){return t=zr(t),V8(e,ug()?Reflect.construct(t,n||[],zr(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 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 zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(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&&G_(e,t)}function V8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:C8(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(e,t)}function z8(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 H8=function e(t){ig(this,e),K_(this,"dataCode",void 0),this.dataCode=t.dataCode},q8=function(e){N8(t,e);function t(n){ig(this,t);var o,r;o=j8(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(c){return new H8(c)}))!==null&&l!==void 0?l:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return t}(wt);function U8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(e,t,n){return t=qr(t),Q8(e,cg()?Reflect.construct(t,n||[],qr(e).constructor):t.apply(e,n))}function K8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function G8(e,t,n){return t&&lg(e.prototype,t),n&&lg(e,n),e}function Hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(e)}function X8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q8(e,t){return t&&(J8(t)==="object"||typeof t=="function")?t:U8(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(e,t)}function J8(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 ao=function(e){X8(t,e);function t(n){K8(this,t);var o;return o=W8(this,t,[n]),Hr(o,"props",void 0),o.props=new q8(n==null?void 0:n.props),o}return G8(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);Hr(ao,"slots",["grid-table-toolbar-slot"]),Hr(ao,"controlEventKeys",["on_click","on_click_finish"]),Hr(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 Ur(){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 Z8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ag(e,t,n){return t=Wr(t),Y8(e,yg()?Reflect.construct(t,n||[],Wr(e).constructor):t.apply(e,n))}function fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(e)}function _g(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function sg(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){ee(e,r,n[r])})}return e}function Y8(e,t){return t&&(t9(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 t9(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 e9=function(e){_g(t,e);function t(n){fg(this,t);var o;return o=ag(this,t,[n]),ee(o,"fillPayload",{type:"object",fields:sg({},Ur())}),ee(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:f("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}),ee(o,"fillBack",{type:"object",fields:sg({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ur())}),(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),pg=function(e){_g(t,e);function t(n){fg(this,t);var o;o=ag(this,t,[n]),ee(o,"fillPayload",void 0),ee(o,"formBind",void 0),ee(o,"fillBack",void 0),ee(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Gr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Gr.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 qx(n==null?void 0:n.formBind),o.fillBack=new pb(n==null?void 0:n.fillBack),o}return t}(wt);ee(pg,"Rules",e9);function n9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o9(e,t,n){return t=Kr(t),l9(e,vg()?Reflect.construct(t,n||[],Kr(e).constructor):t.apply(e,n))}function r9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i9(e,t,n){return t&&dg(e.prototype,t),n&&dg(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 Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(e)}function u9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l9(e,t){return t&&(c9(t)==="object"||typeof t=="function")?t:n9(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function c9(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 Gr=function(e){u9(t,e);function t(n){r9(this,t);var o;return o=o9(this,t,[n]),J_(o,"props",void 0),o.props=new pg(n==null?void 0:n.props),o}return i9(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_(Gr,"controlEventKeys",["on_click","on_click_finish"]),J_(Gr,"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 a9(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=Xr(t),f9(e,Og()?Reflect.construct(t,n||[],Xr(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 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 Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(e)}function mg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gg(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){Tt(e,r,n[r])})}return e}function f9(e,t){return t&&(_9(t)==="object"||typeof t=="function")?t:a9(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Y_(e,t)}function _9(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 s9=function(e){mg(t,e);function t(n){bg(this,t);var o;return o=hg(this,t,[n]),Tt(o,"fillPayload",{type:"object",fields:gg({},Ur())}),Tt(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")}}}),Tt(o,"fillBack",{type:"object",fields:gg({mode:{type:"string",required:!0,message:f("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ur())}),o}return t}(U),wg=function(e){mg(t,e);function t(n){bg(this,t);var o;o=hg(this,t,[n]),Tt(o,"fillPayload",void 0),Tt(o,"listPageBind",void 0),Tt(o,"disableFilling",void 0),Tt(o,"fillBack",void 0),Tt(o,"showSelectedDetail",void 0),Tt(o,"isSelectedRowFill",void 0),Tt(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Jr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Jr.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 a;return o.disableFilling=(a=n==null?void 0:n.disableFilling)!==null&&a!==void 0?a:!0,o}return t}(wt);Tt(wg,"Rules",s9);function y9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p9(e,t,n){return t=Qr(t),b9(e,Pg()?Reflect.construct(t,n||[],Qr(e).constructor):t.apply(e,n))}function d9(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 v9(e,t,n){return t&&$g(e.prototype,t),n&&$g(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 Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qr(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&&es(e,t)}function b9(e,t){return t&&(m9(t)==="object"||typeof t=="function")?t:y9(e)}function es(e,t){return es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},es(e,t)}function m9(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 Jr=function(e){h9(t,e);function t(n){d9(this,t);var o;return o=p9(this,t,[n]),ts(o,"props",void 0),o.props=new wg(n==null?void 0:n.props),o}return v9(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(Jr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),ts(Jr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function g9(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=Zr(t),O9(e,Sg()?Reflect.construct(t,n||[],Zr(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 Eg(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 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 O9(e,t){return t&&(w9(t)==="object"||typeof t=="function")?t:g9(e)}function is(e,t){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(e,t)}function w9(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 $9=function(e){rs(t,e);function t(n){return os(this,t),ns(this,t,[n])}return t}(U),P9=function(e){rs(t,e);function t(n){return os(this,t),ns(this,t,[n])}return t}(Pe),us=function(e){rs(t,e);function t(n){return os(this,t),ns(this,t,[n])}return t}(W);Eg(us,"Rules",$9),Eg(us,"RuntimeRules",P9);function E9(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=Yr(t),D9(e,Bg()?Reflect.construct(t,n||[],Yr(e).constructor):t.apply(e,n))}function T9(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 R9(e,t,n){return t&&Tg(e.prototype,t),n&&Tg(e,n),e}function Rg(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 B9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:E9(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(e,t)}function A9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bg=function(){return!!e})()}var I9=function(e){B9(t,e);function t(n){T9(this,t);var o;return o=S9(this,t,[n]),Rg(o,"props",void 0),o.props=new us(n==null?void 0:n.props),o}return R9(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);Rg(I9,"setting",[]);function k9(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=ti(t),F9(e,kg()?Reflect.construct(t,n||[],ti(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 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 ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(e)}function Ig(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function F9(e,t){return t&&(x9(t)==="object"||typeof t=="function")?t:k9(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cs(e,t)}function x9(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 M9=function(e){Ig(t,e);function t(n){Ag(this,t);var o;return o=Dg(this,t,[n]),Rt(o,"dashboardKey",{type:"string",required:!0,message:f("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")}),Rt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Rt(o,"isHideCaption",{type:"boolean"}),Rt(o,"labelPosition",{type:"enum",enum:["top","left"]}),Rt(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),Fg=function(e){Ig(t,e);function t(n){Ag(this,t);var o;o=Dg(this,t,[n]),Rt(o,"dashboardKey",void 0),Rt(o,"caption",void 0),Rt(o,"isHideCaption",void 0),Rt(o,"isShowCaptionTip",void 0),Rt(o,"captionTip",void 0),Rt(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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var c;return o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top",o}return t}(W);Rt(Fg,"Rules",M9);function L9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C9(e,t,n){return t=ei(t),z9(e,Lg()?Reflect.construct(t,n||[],ei(e).constructor):t.apply(e,n))}function j9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 N9(e,t,n){return t&&xg(e.prototype,t),n&&xg(e,n),e}function Mg(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 V9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z9(e,t){return t&&(H9(t)==="object"||typeof t=="function")?t:L9(e)}function as(e,t){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(e,t)}function H9(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 q9=function(e){V9(t,e);function t(n){j9(this,t);var o;return o=C9(this,t,[n]),Mg(o,"props",void 0),o.props=new Fg(n==null?void 0:n.props),o}return N9(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);Mg(q9,"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 U9(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=ni(t),W9(e,Vg()?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 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 ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(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&&fs(e,t)}function W9(e,t){return t&&(K9(t)==="object"||typeof t=="function")?t:U9(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(e,t)}function K9(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 G9=function(e){Ng(t,e);function t(n){jg(this,t);var o;return o=Cg(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),zg=function(e){Ng(t,e);function t(n){jg(this,t);var o,r;o=Cg(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 uM(l)}))!==null&&u!==void 0?u:[],o}return t}(W);fo(zg,"Rules",G9);function X9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q9(e,t,n){return t=oi(t),t4(e,Ug()?Reflect.construct(t,n||[],oi(e).constructor):t.apply(e,n))}function J9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Z9(e,t,n){return t&&Hg(e.prototype,t),n&&Hg(e,n),e}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 oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(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&&_s(e,t)}function t4(e,t){return t&&(e4(t)==="object"||typeof t=="function")?t:X9(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(e,t)}function e4(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 n4=function(e){Y9(t,e);function t(n){J9(this,t);var o;return o=Q9(this,t,[n]),qg(o,"props",void 0),o.props=new zg(n==null?void 0:n.props),o}return Z9(t,null,[{key:"controlName",get:function(){return f("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),t}(L);qg(n4,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function o4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wg(e,t,n){return t=ri(t),r4(e,Xg()?Reflect.construct(t,n||[],ri(e).constructor):t.apply(e,n))}function Kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(e)}function 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&&ss(e,t)}function r4(e,t){return t&&(i4(t)==="object"||typeof t=="function")?t:o4(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(e,t)}function i4(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 u4=function(e){Gg(t,e);function t(n){Kg(this,t);var o;return o=Wg(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"ocrType",{type:"string",required:!0,message:f("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")}),dt(o,"fillList",{type:"array",validator:function(i,u,l){var a=u.every(function(c){return!c.controlId});if(a){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),dt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),Qg=function(e){Gg(t,e);function t(n){Kg(this,t);var o,r;o=Wg(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"ocrType",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:_o.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:_o.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var m;return o.fillList=(m=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new pt(O)}))!==null&&m!==void 0?m:[],o}return t}(wt);dt(Qg,"Rules",u4);function l4(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=ii(t),s4(e,Zg()?Reflect.construct(t,n||[],ii(e).constructor):t.apply(e,n))}function a4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f4(e,t,n){return t&&Jg(e.prototype,t),n&&Jg(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 ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(e)}function _4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ps(e,t)}function s4(e,t){return t&&(y4(t)==="object"||typeof t=="function")?t:l4(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(e,t)}function y4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zg=function(){return!!e})()}var _o=function(e){_4(t,e);function t(n){a4(this,t);var o;return o=c4(this,t,[n]),ys(o,"props",void 0),o.props=new Qg(n==null?void 0:n.props),o}return f4(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 p4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yg(e,t,n){return t=ui(t),d4(e,nO()?Reflect.construct(t,n||[],ui(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 vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(e)}function eO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 d4(e,t){return t&&(v4(t)==="object"||typeof t=="function")?t:p4(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(e,t)}function v4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nO=function(){return!!e})()}var h4=function(e){eO(t,e);function t(n){tO(this,t);var o;return o=Yg(this,t,[n]),vt(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),vt(o,"isHideCaption",{type:"boolean"}),vt(o,"labelPosition",{type:"enum",enum:["top","left"]}),vt(o,"invoiceCheck",{type:"boolean"}),vt(o,"fillList",{type:"array",validator:function(i,u,l){var a=u.every(function(c){return!c.controlId});if(a){l(f("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}l()}}),vt(o,"captionTip",{type:"string",required:!1,message:f("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(U),oO=function(e){eO(t,e);function t(n){tO(this,t);var o,r;o=Yg(this,t,[n]),vt(o,"caption",void 0),vt(o,"isHideCaption",void 0),vt(o,"isShowCaptionTip",void 0),vt(o,"captionTip",void 0),vt(o,"labelPosition",void 0),vt(o,"invoiceCheck",void 0),vt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i: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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:so.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:so.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var m;return o.fillList=(m=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new pt(O)}))!==null&&m!==void 0?m:[],o}return t}(wt);vt(oO,"Rules",h4);function b4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m4(e,t,n){return t=li(t),$4(e,iO()?Reflect.construct(t,n||[],li(e).constructor):t.apply(e,n))}function g4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O4(e,t,n){return t&&rO(e.prototype,t),n&&rO(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 li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(e)}function w4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function $4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:b4(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(e,t)}function P4(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 so=function(e){w4(t,e);function t(n){g4(this,t);var o;return o=m4(this,t,[n]),vs(o,"props",void 0),o.props=new oO(n==null?void 0:n.props),o}return O4(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 E4(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=ai(t),S4(e,aO()?Reflect.construct(t,n||[],ai(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 ci(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(e)}function cO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 S4(e,t){return t&&(T4(t)==="object"||typeof t=="function")?t:E4(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(e,t)}function T4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aO=function(){return!!e})()}var R4=function(e){cO(t,e);function t(){lO(this,t);var n;return n=uO(this,t,arguments),ci(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),fO=function(e){cO(t,e);function t(n){lO(this,t);var o,r;o=uO(this,t,[n]),ci(o,"printTemplates",void 0),ci(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i: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(c){return new ej(c)}))!==null&&l!==void 0?l:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return t}(wt);ci(fO,"Rules",R4);function B4(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=_i(t),F4(e,sO()?Reflect.construct(t,n||[],_i(e).constructor):t.apply(e,n))}function A4(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 I4(e,t,n){return t&&_O(e.prototype,t),n&&_O(e,n),e}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 k4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function F4(e,t){return t&&(x4(t)==="object"||typeof t=="function")?t:B4(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ms(e,t)}function x4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sO=function(){return!!e})()}var yo=function(e){k4(t,e);function t(n){A4(this,t);var o;return o=D4(this,t,[n]),fi(o,"props",void 0),o.props=new fO(n==null?void 0:n.props),o}return I4(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);fi(yo,"slots",["grid-table-toolbar-slot"]),fi(yo,"controlEventKeys",["on_click","on_click_finish"]),fi(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 M4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L4(e,t,n){return t=si(t),N4(e,yO()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}function C4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(e)}function j4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N4(e,t){return t&&(V4(t)==="object"||typeof t=="function")?t:M4(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(e,t)}function V4(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 z4=function(e){j4(t,e);function t(n){C4(this,t);var o;o=L4(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}(wt);function H4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q4(e,t,n){return t=pi(t),G4(e,dO()?Reflect.construct(t,n||[],pi(e).constructor):t.apply(e,n))}function U4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W4(e,t,n){return t&&pO(e.prototype,t),n&&pO(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 pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(e)}function K4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}function G4(e,t){return t&&(X4(t)==="object"||typeof t=="function")?t:H4(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Os(e,t)}function X4(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 po=function(e){K4(t,e);function t(n){U4(this,t);var o;return o=q4(this,t,[n]),yi(o,"props",void 0),o.props=new z4(n==null?void 0:n.props),o}return W4(t,null,[{key:"controlName",get:function(){return f("CMD.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);yi(po,"slots",["grid-table-toolbar-slot"]),yi(po,"controlEventKeys",["on_click"]),yi(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 Q4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vO(e,t,n){return t=di(t),J4(e,mO()?Reflect.construct(t,n||[],di(e).constructor):t.apply(e,n))}function hO(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 di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(e)}function bO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 J4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:Q4(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ws(e,t)}function Z4(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 Y4=function(e){bO(t,e);function t(n){hO(this,t);var o;return o=vO(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),vi=function(e){bO(t,e);function t(n){hO(this,t);var o;o=vO(this,t,[n]),st(o,"content",void 0),st(o,"code",void 0),st(o,"command",void 0),st(o,"color",void 0),st(o,"icon",void 0),st(o,"formKey",void 0),st(o,"openType",void 0),st(o,"needConfirm",void 0),st(o,"confirmMessage",void 0),st(o,"options",void 0),st(o,"defaultState",void 0),st(o,"priorityProcess",void 0),st(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:f("CMD.button",null,"\u6309\u94AE"),o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return t}(W);st(vi,"Rules",Y4);function tN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eN(e,t,n){return t=hi(t),iN(e,OO()?Reflect.construct(t,n||[],hi(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 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 oN(e,t,n){return t&&gO(e.prototype,t),n&&gO(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 hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(e)}function rN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function iN(e,t){return t&&(uN(t)==="object"||typeof t=="function")?t:tN(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(e,t)}function uN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OO=function(){return!!e})()}var bi=function(e){rN(t,e);function t(n){nN(this,t);var o;return o=eN(this,t,[n]),$s(o,"props",void 0),o.props=new vi(n==null?void 0:n.props),o}return oN(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(bi,"controlEventKeys",["on_click"]),$s(bi,"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 lN(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=mi(t),yN(e,$O()?Reflect.construct(t,n||[],mi(e).constructor):t.apply(e,n))}function aN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fN(e,t,n){return t&&wO(e.prototype,t),n&&wO(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 mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(e)}function sN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function yN(e,t){return t&&(pN(t)==="object"||typeof t=="function")?t:lN(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function pN(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 dN=function(e){sN(t,e);function t(n){aN(this,t);var o;return o=cN(this,t,[n]),_N(o,"props",void 0),o.props=new vi(n==null?void 0:n.props),o}return fN(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Ht),Ss={Designer:bi,Runtime:dN,Property:vi};function vN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hN(e,t,n){return t=gi(t),gN(e,PO()?Reflect.construct(t,n||[],gi(e).constructor):t.apply(e,n))}function bN(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 gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(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&&Ts(e,t)}function gN(e,t){return t&&(ON(t)==="object"||typeof t=="function")?t:vN(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ts(e,t)}function ON(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 wN=function(e){mN(t,e);function t(n){bN(this,t);var o;o=hN(this,t,[n]),be(o,"content",void 0),be(o,"buttonType",void 0),be(o,"showType",void 0),be(o,"color",void 0),be(o,"icon",void 0),be(o,"defaultState",void 0),be(o,"command",void 0),be(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 a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var c;o.isHide=(c=n==null?void 0:n.isHide)!==null&&c!==void 0?c:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return t}(W);function $N(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=wi(t),RN(e,SO()?Reflect.construct(t,n||[],wi(e).constructor):t.apply(e,n))}function EN(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 SN(e,t,n){return t&&EO(e.prototype,t),n&&EO(e,n),e}function Oi(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 TN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RN(e,t){return t&&(BN(t)==="object"||typeof t=="function")?t:$N(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rs(e,t)}function BN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SO=function(){return!!e})()}var vo=function(e){TN(t,e);function t(n){EN(this,t);var o;return o=PN(this,t,[n]),Oi(o,"props",void 0),o.props=new wN(n==null?void 0:n.props),o}return SN(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);Oi(vo,"slots",["grid-table-toolbar-slot"]),Oi(vo,"controlEventKeys",["on_click"]),Oi(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 DN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TO(e,t,n){return t=$i(t),AN(e,DO()?Reflect.construct(t,n||[],$i(e).constructor):t.apply(e,n))}function RO(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 $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$i(e)}function BO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AN(e,t){return t&&(IN(t)==="object"||typeof t=="function")?t:DN(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(e,t)}function IN(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 kN=function(e){BO(t,e);function t(n){RO(this,t);var o;return o=TO(this,t,[n]),Te(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),Pi=function(e){BO(t,e);function t(n){RO(this,t);var o;o=TO(this,t,[n]),Te(o,"isShowSimpleSearch",void 0),Te(o,"isShowToolbar",void 0),Te(o,"actionSetting",void 0),Te(o,"listHeightSetting",void 0),Te(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Si.controlName;var i;o.isShowSimpleSearch=(i=n==null?void 0:n.isShowSimpleSearch)!==null&&i!==void 0?i:!0;var u;o.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!==null&&u!==void 0?u:!0;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var a;o.actionSetting=(a=new gm(n==null?void 0:n.actionSetting))!==null&&a!==void 0?a:new gm;var c;return o.listHeightSetting=(c=new Om(n==null?void 0:n.listHeightSetting))!==null&&c!==void 0?c:new Om,o}return t}(W);Te(Pi,"Rules",kN);function FN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xN(e,t,n){return t=Ei(t),jN(e,IO()?Reflect.construct(t,n||[],Ei(e).constructor):t.apply(e,n))}function MN(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 LN(e,t,n){return t&&AO(e.prototype,t),n&&AO(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 Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(e)}function CN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jN(e,t){return t&&(NN(t)==="object"||typeof t=="function")?t:FN(e)}function As(e,t){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(e,t)}function NN(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 Si=function(e){CN(t,e);function t(n){MN(this,t);var o;return o=xN(this,t,[n]),Ds(o,"props",void 0),o.props=new Pi(n==null?void 0:n.props),o}return LN(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(Si,"controlEventKeys",["on_list_rowclick"]),Ds(Si,"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 VN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zN(e,t,n){return t=Ti(t),KN(e,FO()?Reflect.construct(t,n||[],Ti(e).constructor):t.apply(e,n))}function HN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qN(e,t,n){return t&&kO(e.prototype,t),n&&kO(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 Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(e)}function WN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KN(e,t){return t&&(GN(t)==="object"||typeof t=="function")?t:VN(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(e,t)}function GN(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 XN=function(e){WN(t,e);function t(n){HN(this,t);var o;return o=zN(this,t,[n]),UN(o,"props",void 0),o.props=new Pi(n==null?void 0:n.props),o}return qN(t,null,[{key:"controlType",get:function(){return"reference-list"}}]),t}(Ht),QN={Designer:Si,Runtime:XN,Property:Pi};function JN(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=Ri(t),ZN(e,xO()?Reflect.construct(t,n||[],Ri(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 Bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ri(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 ZN(e,t){return t&&(YN(t)==="object"||typeof t=="function")?t:JN(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function YN(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 tV=function(e){xs(t,e);function t(n){Fs(this,t);var o;return o=ks(this,t,[n]),Bt(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")}),Bt(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")}),Bt(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=gr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(tt),eV=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:gr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),ho=function(e){xs(t,e);function t(n){Fs(this,t);var o;o=ks(this,t,[n]),Bt(o,"maxLength",void 0),Bt(o,"minLength",void 0),Bt(o,"regularRules",void 0),Bt(o,"defaultValue",void 0),Bt(o,"encrypted",void 0),Bt(o,"encryptedMode",void 0),Bt(o,"aiContentSearch",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 a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var c;o.encrypted=(c=n==null?void 0:n.encrypted)!==null&&c!==void 0?c:!1;var _;o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"";var y;return o.aiContentSearch=(y=n==null?void 0:n.aiContentSearch)!==null&&y!==void 0?y:!1,o}return t}(k);Bt(ho,"Rules",tV),Bt(ho,"RuntimeRules",eV);function nV(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=Di(t),lV(e,LO()?Reflect.construct(t,n||[],Di(e).constructor):t.apply(e,n))}function rV(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 iV(e,t,n){return t&&MO(e.prototype,t),n&&MO(e,n),e}function Bi(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 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&&Ls(e,t)}function lV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:nV(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(e,t)}function cV(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 bo=function(e){uV(t,e);function t(n){rV(this,t);var o;return o=oV(this,t,[n]),Bi(o,"props",void 0),o.props=new ho(n==null?void 0:n.props),o}return iV(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);Bi(bo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Bi(bo,"controlFieldType",g.VARCHAR),Bi(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:"ai-content-search",visible:!0},{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 aV(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=Ai(t),pV(e,NO()?Reflect.construct(t,n||[],Ai(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 CO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sV(e,t,n){return t&&CO(e.prototype,t),n&&CO(e,n),e}function jO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(e)}function yV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pV(e,t){return t&&(dV(t)==="object"||typeof t=="function")?t:aV(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(e,t)}function dV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NO=function(){return!!e})()}var vV=function(e){yV(t,e);function t(n){_V(this,t);var o;return o=fV(this,t,[n]),jO(o,"props",void 0),o.props=new ho(n==null?void 0:n.props),o}return sV(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(x);jO(vV,"controlFieldType",g.VARCHAR);function hV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function js(e,t,n){return t=Ii(t),bV(e,VO()?Reflect.construct(t,n||[],Ii(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 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 Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(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 bV(e,t){return t&&(mV(t)==="object"||typeof t=="function")?t:hV(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zs(e,t)}function mV(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 gV=function(e){Vs(t,e);function t(n){Ns(this,t);var o;o=js(this,t,[n]),Q(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),OV=function(e){Vs(t,e);function t(n){Ns(this,t);var o;return o=js(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),ki=function(e){Vs(t,e);function t(n){Ns(this,t);var o;o=js(this,t,[n]),Q(o,"checkboxMode",void 0),Q(o,"options",void 0),Q(o,"optionsOrder",void 0),Q(o,"limitMax",void 0),Q(o,"limitMin",void 0),Q(o,"otherOption",void 0),Q(o,"optionConfig",void 0),Q(o,"optionsFormat",void 0),Q(o,"defaultShowOptions",void 0),Q(o,"datasourceBind",void 0),Q(o,"multistageFilling",void 0),Q(o,"interreaction",void 0),Q(o,"defaultValue",void 0),Q(o,"openMultistageFilling",void 0),Q(o,"aiContentSearch",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\u9009\u9879\u4E09")}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var c;o.limitMin=(c=n==null?void 0:n.limitMin)!==null&&c!==void 0?c:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Mi.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var b;o.defaultShowOptions=(b=n==null?void 0:n.defaultShowOptions)!==null&&b!==void 0?b:!0;var w;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($){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new pt($))}));var v;return o.aiContentSearch=(v=n==null?void 0:n.aiContentSearch)!==null&&v!==void 0?v:!1,o}return t}(k);Q(ki,"Rules",gV),Q(ki,"RuntimeRules",OV);function wV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $V(e,t,n){return t=xi(t),TV(e,HO()?Reflect.construct(t,n||[],xi(e).constructor):t.apply(e,n))}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 EV(e,t,n){return t&&zO(e.prototype,t),n&&zO(e,n),e}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 xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xi(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&&Hs(e,t)}function TV(e,t){return t&&(RV(t)==="object"||typeof t=="function")?t:wV(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hs(e,t)}function RV(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 Mi=function(e){SV(t,e);function t(n){PV(this,t);var o;return o=$V(this,t,[n]),Fi(o,"props",void 0),o.props=new ki(n==null?void 0:n.props),o}return EV(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);Fi(Mi,"controlEventKeys",["on_change","on_click"]),Fi(Mi,"controlFieldType",g.ARRAY),Fi(Mi,"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:"ai-content-search",visible:!0},{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 BV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DV(e,t,n){return t=Li(t),FV(e,WO()?Reflect.construct(t,n||[],Li(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 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 IV(e,t,n){return t&&qO(e.prototype,t),n&&qO(e,n),e}function UO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(e)}function kV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FV(e,t){return t&&(xV(t)==="object"||typeof t=="function")?t:BV(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qs(e,t)}function xV(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 MV=function(e){kV(t,e);function t(n){AV(this,t);var o;return o=DV(this,t,[n]),UO(o,"props",void 0),o.props=new ki(n==null?void 0:n.props),o}return IV(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(x);UO(MV,"controlFieldType",g.ARRAY);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=Ci(t),CV(e,QO()?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 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 Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(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&&Us(e,t)}function CV(e,t){return t&&(jV(t)==="object"||typeof t=="function")?t:LV(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function jV(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 NV=function(e){XO(t,e);function t(n){return GO(this,t),KO(this,t,[n])}return t}(ze),Ws=function(e){XO(t,e);function t(n){GO(this,t);var o;o=KO(this,t,[n]),ht(o,"radioMode",void 0),ht(o,"options",void 0),ht(o,"optionConfig",void 0),ht(o,"optionsFormat",void 0),ht(o,"defaultShowOptions",void 0),ht(o,"otherOption",void 0),ht(o,"optionsOrder",void 0),ht(o,"datasourceBind",void 0),ht(o,"multistageFilling",void 0),ht(o,"interreaction",void 0),ht(o,"defaultValue",void 0),ht(o,"openMultistageFilling",void 0),ht(o,"aiContentSearch",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:f("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:f("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:f("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:f("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:f("CMD.optionThird",null,"\u9009\u9879\u4E09")}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Vi.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"";var O;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(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new pt(w))}));var b;return o.aiContentSearch=(b=n==null?void 0:n.aiContentSearch)!==null&&b!==void 0?b:!1,o}return t}(k);ht(Ws,"Rules",NV);function VV(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=Ni(t),WV(e,ZO()?Reflect.construct(t,n||[],Ni(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 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 qV(e,t,n){return t&&JO(e.prototype,t),n&&JO(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 Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(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&&Ks(e,t)}function WV(e,t){return t&&(KV(t)==="object"||typeof t=="function")?t:VV(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(e,t)}function KV(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 Vi=function(e){UV(t,e);function t(n){HV(this,t);var o;return o=zV(this,t,[n]),ji(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return qV(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(Vi,"controlEventKeys",["on_change","on_click"]),ji(Vi,"controlFieldType",g.VARCHAR),ji(Vi,"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:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function GV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XV(e,t,n){return t=zi(t),YV(e,ew()?Reflect.construct(t,n||[],zi(e).constructor):t.apply(e,n))}function QV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 JV(e,t,n){return t&&YO(e.prototype,t),n&&YO(e,n),e}function tw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(e)}function ZV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function YV(e,t){return t&&(tz(t)==="object"||typeof t=="function")?t:GV(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function tz(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 ez=function(e){ZV(t,e);function t(n){QV(this,t);var o;return o=XV(this,t,[n]),tw(o,"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return JV(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(x);tw(ez,"controlFieldType",g.VARCHAR);function nz(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=Hi(t),oz(e,nw()?Reflect.construct(t,n||[],Hi(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 Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(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 oz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:nz(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(e,t)}function rz(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 iz=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=gr(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(tt),uz=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:gr(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(j),qi=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 a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var m;o.unit=(m=n==null?void 0:n.unit)!==null&&m!==void 0?m:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Ki.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 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(qi,"Rules",iz),at(qi,"RuntimeRules",uz);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=Ge(t),sz(e,rw()?Reflect.construct(t,n||[],Ge(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 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 fz(e,t,n){return t&&ow(e.prototype,t),n&&ow(e,n),e}function Ui(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Wi=Reflect.get:Wi=function(r,i,u){var l=yz(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Wi(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function _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&&Ys(e,t)}function sz(e,t){return t&&(pz(t)==="object"||typeof t=="function")?t:lz(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ys(e,t)}function yz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function pz(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 Ki=function(e){_z(t,e);function t(n){az(this,t);var o;return o=cz(this,t,[n]),Ui(o,"props",void 0),o.props=new qi(n==null?void 0:n.props),o}return fz(t,[{key:"toDataBindModel",value:function(o){var r=Wi(Ge(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,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);Ui(Ki,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ui(Ki,"controlFieldType",g.DECIMAL),Ui(Ki,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 dz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vz(e,t,n){return t=Gi(t),gz(e,lw()?Reflect.construct(t,n||[],Gi(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 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 bz(e,t,n){return t&&iw(e.prototype,t),n&&iw(e,n),e}function uw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(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&&ty(e,t)}function gz(e,t){return t&&(Oz(t)==="object"||typeof t=="function")?t:dz(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function Oz(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 wz=function(e){mz(t,e);function t(n){hz(this,t);var o;return o=vz(this,t,[n]),uw(o,"props",void 0),o.props=new qi(n==null?void 0:n.props),o}return bz(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(x);uw(wz,"controlFieldType",g.DECIMAL);function $z(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=Xi(t),Tz(e,cw()?Reflect.construct(t,n||[],Xi(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 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 Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xi(e)}function Sz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function Tz(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:$z(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(e,t)}function Rz(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 aw=function(e){Sz(t,e);function t(n){Ez(this,t);var o,r;o=Pz(this,t,[n]),me(o,"dateType",void 0),me(o,"dateFormat",void 0),me(o,"commonTimeSetting",void 0),me(o,"setValueType",void 0),me(o,"defaultValue",void 0),me(o,"limitDateList",void 0),me(o,"allowDateRange",void 0),me(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:ue.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ry.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:f("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F");var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var d;o.limitDateList=(d=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(b){return new S_(b)}))!==null&&d!==void 0?d:[];var m;o.allowDateRange=(m=n==null?void 0:n.allowDateRange)!==null&&m!==void 0?m:["",""];var O;return o.filterWeekend=(O=n==null?void 0:n.filterWeekend)!==null&&O!==void 0?O:!1,o}return t}(k);function Bz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dz(e,t,n){return t=Xe(t),Fz(e,_w()?Reflect.construct(t,n||[],Xe(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 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 Iz(e,t,n){return t&&fw(e.prototype,t),n&&fw(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 Qi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Qi=Reflect.get:Qi=function(r,i,u){var l=xz(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Qi(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function Fz(e,t){return t&&(Mz(t)==="object"||typeof t=="function")?t:Bz(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(e,t)}function xz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function Mz(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 ry=function(e){kz(t,e);function t(n){Az(this,t);var o;return o=Dz(this,t,[n]),ny(o,"props",void 0),o.props=new aw(n==null?void 0:n.props),o}return Iz(t,[{key:"toDataBindModel",value:function(o){var r=Qi(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 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=Ji(t),zz(e,pw()?Reflect.construct(t,n||[],Ji(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 sw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Nz(e,t,n){return t&&sw(e.prototype,t),n&&sw(e,n),e}function yw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(e)}function Vz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function zz(e,t){return t&&(Hz(t)==="object"||typeof t=="function")?t:Lz(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iy(e,t)}function Hz(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 qz=function(e){Vz(t,e);function t(n){jz(this,t);var o;return o=Cz(this,t,[n]),yw(o,"props",void 0),o.props=new aw(n==null?void 0:n.props),o}return Nz(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(x);yw(qz,"controlFieldType",g.TIMESTAMP);function Uz(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=Zi(t),Wz(e,bw()?Reflect.construct(t,n||[],Zi(e).constructor):t.apply(e,n))}function vw(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 Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(e)}function hw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wz(e,t){return t&&(Kz(t)==="object"||typeof t=="function")?t:Uz(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(e,t)}function Kz(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 Gz=function(e){hw(t,e);function t(n){vw(this,t);var o;return o=dw(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),ly=function(e){hw(t,e);function t(n){vw(this,t);var o,r;o=dw(this,t,[n]),Dt(o,"dataBind",void 0),Dt(o,"rangeMin",void 0),Dt(o,"rangeMax",void 0),Dt(o,"placeholderStart",void 0),Dt(o,"placeholderEnd",void 0),Dt(o,"dateFormat",void 0),Dt(o,"commonTimeSetting",void 0),Dt(o,"dateType",void 0),Dt(o,"setValueType",void 0),Dt(o,"defaultValue",void 0),Dt(o,"limitDateList",void 0),o.dataBind=new eM(n==null?void 0:n.dataBind),o.defaultValue=new nM(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:ue.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var c;o.rangeMin=(c=n==null?void 0:n.rangeMin)!==null&&c!==void 0?c:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y: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 m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:fy.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(b){return new S_(b)}))!==null&&O!==void 0?O:[],o}return t}(k);Dt(ly,"RuntimeRules",Gz);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=Qe(t),tH(e,gw()?Reflect.construct(t,n||[],Qe(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 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 Zz(e,t,n){return t&&mw(e.prototype,t),n&&mw(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 Yi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Yi=Reflect.get:Yi=function(r,i,u){var l=eH(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Yi(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(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&&ay(e,t)}function tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:Xz(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(e,t)}function eH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function nH(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 fy=function(e){Yz(t,e);function t(n){Jz(this,t);var o;return o=Qz(this,t,[n]),cy(o,"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return Zz(t,[{key:"toDataBindModel",value:function(o){var r=Yi(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 oH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rH(e,t,n){return t=tu(t),cH(e,$w()?Reflect.construct(t,n||[],tu(e).constructor):t.apply(e,n))}function iH(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 uH(e,t,n){return t&&Ow(e.prototype,t),n&&Ow(e,n),e}function ww(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 lH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function cH(e,t){return t&&(aH(t)==="object"||typeof t=="function")?t:oH(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_y(e,t)}function aH(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 fH=function(e){lH(t,e);function t(n){iH(this,t);var o;return o=rH(this,t,[n]),ww(o,"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return uH(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(x);ww(fH,"controlFieldType",g.TIMESCOPE);function _H(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=eu(t),sH(e,Pw()?Reflect.construct(t,n||[],eu(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 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 eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(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 sH(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:_H(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dy(e,t)}function yH(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 pH=function(e){py(t,e);function t(n){yy(this,t);var o;return o=sy(this,t,[n]),At(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")}),At(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")}),At(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}(tt),dH=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}(j),nu=function(e){py(t,e);function t(n){yy(this,t);var o;o=sy(this,t,[n]),At(o,"maxLength",void 0),At(o,"minLength",void 0),At(o,"defaultValue",void 0),At(o,"rowHeightSetting",void 0),At(o,"aiContentSearch",void 0),At(o,"aiGeneration",void 0),At(o,"aiOptions",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:iu.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),o.rowHeightSetting=new lb(n==null?void 0:n.rowHeightSetting);var c;o.aiContentSearch=(c=n==null?void 0:n.aiContentSearch)!==null&&c!==void 0?c:!1;var _;o.aiGeneration=(_=n==null?void 0:n.aiGeneration)!==null&&_!==void 0?_:!1;var y;return o.aiOptions=vb((y=n==null?void 0:n.aiOptions)!==null&&y!==void 0?y:[{label:f("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:f("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:f("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:f("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:f("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:f("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),o}return t}(k);At(nu,"Rules",pH),At(nu,"RuntimeRules",dH);function vH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hH(e,t,n){return t=ru(t),OH(e,Sw()?Reflect.construct(t,n||[],ru(e).constructor):t.apply(e,n))}function bH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mH(e,t,n){return t&&Ew(e.prototype,t),n&&Ew(e,n),e}function ou(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 gH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OH(e,t){return t&&(wH(t)==="object"||typeof t=="function")?t:vH(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vy(e,t)}function wH(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 iu=function(e){gH(t,e);function t(n){bH(this,t);var o;return o=hH(this,t,[n]),ou(o,"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return mH(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);ou(iu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ou(iu,"controlFieldType",g.TEXT),ou(iu,"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:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{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 $H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PH(e,t,n){return t=uu(t),RH(e,Bw()?Reflect.construct(t,n||[],uu(e).constructor):t.apply(e,n))}function EH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SH(e,t,n){return t&&Tw(e.prototype,t),n&&Tw(e,n),e}function Rw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(e)}function TH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RH(e,t){return t&&(BH(t)==="object"||typeof t=="function")?t:$H(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hy(e,t)}function BH(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 DH=function(e){TH(t,e);function t(n){EH(this,t);var o;return o=PH(this,t,[n]),Rw(o,"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return SH(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(x);Rw(DH,"controlFieldType",g.TEXT);function AH(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=lu(t),IH(e,Dw()?Reflect.construct(t,n||[],lu(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 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 lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lu(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 IH(e,t){return t&&(kH(t)==="object"||typeof t=="function")?t:AH(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oy(e,t)}function kH(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 FH=function(e){gy(t,e);function t(n){my(this,t);var o;return o=by(this,t,[n]),xt(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")}),xt(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")}),xt(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}(tt),xH=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}(j),cu=function(e){gy(t,e);function t(n){my(this,t);var o;o=by(this,t,[n]),xt(o,"maxLength",void 0),xt(o,"minLength",void 0),xt(o,"defaultValue",void 0),xt(o,"aiContentSearch",void 0),xt(o,"aiGeneration",void 0),xt(o,"aiOptions",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:_u.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var c;o.aiContentSearch=(c=n==null?void 0:n.aiContentSearch)!==null&&c!==void 0?c:!1;var _;o.aiGeneration=(_=n==null?void 0:n.aiGeneration)!==null&&_!==void 0?_:!1;var y;return o.aiOptions=vb((y=n==null?void 0:n.aiOptions)!==null&&y!==void 0?y:[{label:f("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:f("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:f("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:f("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:f("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:f("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),o}return t}(k);xt(cu,"Rules",FH),xt(cu,"RuntimeRules",xH);function MH(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=fu(t),VH(e,Iw()?Reflect.construct(t,n||[],fu(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 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 jH(e,t,n){return t&&Aw(e.prototype,t),n&&Aw(e,n),e}function au(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 NH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VH(e,t){return t&&(zH(t)==="object"||typeof t=="function")?t:MH(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wy(e,t)}function zH(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 _u=function(e){NH(t,e);function t(n){CH(this,t);var o;return o=LH(this,t,[n]),au(o,"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return jH(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);au(_u,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),au(_u,"controlFieldType",g.TEXT),au(_u,"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:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function HH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qH(e,t,n){return t=su(t),GH(e,xw()?Reflect.construct(t,n||[],su(e).constructor):t.apply(e,n))}function UH(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 WH(e,t,n){return t&&kw(e.prototype,t),n&&kw(e,n),e}function Fw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(e)}function KH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GH(e,t){return t&&(XH(t)==="object"||typeof t=="function")?t:HH(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(e,t)}function XH(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 QH=function(e){KH(t,e);function t(n){UH(this,t);var o;return o=qH(this,t,[n]),Fw(o,"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return WH(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(x);Fw(QH,"controlFieldType",g.TEXT);function JH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mw(e,t,n){return t=yu(t),ZH(e,jw()?Reflect.construct(t,n||[],yu(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 bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(e)}function Cw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function ZH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:JH(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Py(e,t)}function YH(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 tq=function(e){Cw(t,e);function t(n){Lw(this,t);var o;return o=Mw(this,t,[n]),bt(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),Ey=function(e){Cw(t,e);function t(n){Lw(this,t);var o;o=Mw(this,t,[n]),bt(o,"options",void 0),bt(o,"defaultShowOptions",void 0),bt(o,"optionConfig",void 0),bt(o,"defaultValue",void 0),bt(o,"datasourceBind",void 0),bt(o,"multistageFilling",void 0),bt(o,"allowCopyOptions",void 0),bt(o,"openMultistageFilling",void 0),bt(o,"viewFormModelType",void 0),bt(o,"canViewForm",void 0),bt(o,"formBind",void 0),bt(o,"aiContentSearch",void 0);var r;o.options=Qt((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 a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new pt(b))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var m;o.viewFormModelType=(m=n==null?void 0:n.viewFormModelType)!==null&&m!==void 0?m:"window",o.formBind=new Ne(n==null?void 0:n.formBind);var O;return o.aiContentSearch=(O=n==null?void 0:n.aiContentSearch)!==null&&O!==void 0?O:!1,o}return t}(k);bt(Ey,"Rules",tq);function eq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nq(e,t,n){return t=pu(t),uq(e,Vw()?Reflect.construct(t,n||[],pu(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 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 rq(e,t,n){return t&&Nw(e.prototype,t),n&&Nw(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 pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pu(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&&Ty(e,t)}function uq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:eq(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(e,t)}function lq(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 Ry=function(e){iq(t,e);function t(n){oq(this,t);var o;return o=nq(this,t,[n]),Sy(o,"props",void 0),o.props=new Ey(n==null?void 0:n.props),o}return rq(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:"ai-content-search",visible:!0},{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 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=du(t),yq(e,qw()?Reflect.construct(t,n||[],du(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 zw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _q(e,t,n){return t&&zw(e.prototype,t),n&&zw(e,n),e}function Hw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(e)}function sq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function yq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:cq(e)}function By(e,t){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(e,t)}function pq(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 dq=function(e){sq(t,e);function t(n){fq(this,t);var o;return o=aq(this,t,[n]),Hw(o,"props",void 0),o.props=new Ey(n==null?void 0:n.props),o}return _q(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(x);Hw(dq,"controlFieldType",g.VARCHAR);function vq(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=vu(t),hq(e,Uw()?Reflect.construct(t,n||[],vu(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 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 vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(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 hq(e,t){return t&&(bq(t)==="object"||typeof t=="function")?t:vq(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ky(e,t)}function bq(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 mq=function(e){Iy(t,e);function t(n){Ay(this,t);var o;return o=Dy(this,t,[n]),mt(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),gq=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}(j),hu=function(e){Iy(t,e);function t(n){Ay(this,t);var o;o=Dy(this,t,[n]),mt(o,"options",void 0),mt(o,"defaultShowOptions",void 0),mt(o,"optionConfig",void 0),mt(o,"defaultValue",void 0),mt(o,"datasourceBind",void 0),mt(o,"multistageFilling",void 0),mt(o,"openMultistageFilling",void 0),mt(o,"viewFormModelType",void 0),mt(o,"canViewForm",void 0),mt(o,"formBind",void 0),mt(o,"aiContentSearch",void 0);var r;o.options=Qt((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 a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new pt(O))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!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 m;return o.aiContentSearch=(m=n==null?void 0:n.aiContentSearch)!==null&&m!==void 0?m:!1,o}return t}(k);mt(hu,"Rules",mq),mt(hu,"RuntimeRules",gq);function Oq(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=bu(t),Sq(e,Kw()?Reflect.construct(t,n||[],bu(e).constructor):t.apply(e,n))}function $q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Pq(e,t,n){return t&&Ww(e.prototype,t),n&&Ww(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 bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(e)}function Eq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function Sq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:Oq(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(e,t)}function Tq(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 My=function(e){Eq(t,e);function t(n){$q(this,t);var o;return o=wq(this,t,[n]),Fy(o,"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return Pq(t,null,[{key:"controlName",get:function(){return f("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),t}(F);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:"ai-content-search",visible:!0},{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 Rq(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=mu(t),kq(e,Qw()?Reflect.construct(t,n||[],mu(e).constructor):t.apply(e,n))}function Dq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Aq(e,t,n){return t&&Gw(e.prototype,t),n&&Gw(e,n),e}function Xw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(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&&Ly(e,t)}function kq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:Rq(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(e,t)}function Fq(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 xq=function(e){Iq(t,e);function t(n){Dq(this,t);var o;return o=Bq(this,t,[n]),Xw(o,"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return Aq(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);Xw(xq,"controlFieldType",g.ARRAY);function Mq(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=gu(t),Lq(e,t$()?Reflect.construct(t,n||[],gu(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 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 gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(e)}function Yw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lq(e,t){return t&&(Cq(t)==="object"||typeof t=="function")?t:Mq(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(e,t)}function Cq(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 jq=function(e){Yw(t,e);function t(n){Zw(this,t);var o;return o=Jw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),jy=function(e){Yw(t,e);function t(n){Zw(this,t);var o;o=Jw(this,t,[n]),ne(o,"showType",void 0),ne(o,"range",void 0),ne(o,"rangeOptions",void 0),ne(o,"multiple",void 0),ne(o,"defaultValueType",void 0),ne(o,"defaultValue",void 0),ne(o,"multistageFilling",void 0),ne(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:zy.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y: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(m){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new pt(m))})),o}return t}(k);ne(jy,"RuntimeRules",jq);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=Ou(t),Uq(e,n$()?Reflect.construct(t,n||[],Ou(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 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 Hq(e,t,n){return t&&e$(e.prototype,t),n&&e$(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 Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function qq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function Uq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:Nq(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vy(e,t)}function Wq(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 zy=function(e){qq(t,e);function t(n){zq(this,t);var o;return o=Vq(this,t,[n]),Ny(o,"props",void 0),o.props=new jy(n==null?void 0:n.props),o}return Hq(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 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=wu(t),Zq(e,i$()?Reflect.construct(t,n||[],wu(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 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 Qq(e,t,n){return t&&o$(e.prototype,t),n&&o$(e,n),e}function r$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(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&&Hy(e,t)}function Zq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:Kq(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(e,t)}function Yq(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 tU=function(e){Jq(t,e);function t(n){Xq(this,t);var o;return o=Gq(this,t,[n]),r$(o,"props",void 0),o.props=new jy(n==null?void 0:n.props),o}return Qq(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(x);r$(tU,"controlFieldType",g.EMPLOYEES);function eU(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=$u(t),nU(e,u$()?Reflect.construct(t,n||[],$u(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 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 $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$u(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 nU(e,t){return t&&(oU(t)==="object"||typeof t=="function")?t:eU(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(e,t)}function oU(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 rU=10485760,iU=104857600,uU=1048576e3,lU=function(e){Wy(t,e);function t(n){Uy(this,t);var o;return o=qy(this,t,[n]),yt(o,"maxSize",{type:"number",min:0,max:uU,message:f("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}),o}return t}(tt),cU=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}(j),Pu=function(e){Wy(t,e);function t(n){Uy(this,t);var o;o=qy(this,t,[n]),yt(o,"defaultValue",void 0),yt(o,"showType",void 0),yt(o,"resultShowType",void 0),yt(o,"attachmentAccept",void 0),yt(o,"maxLimit",void 0),yt(o,"minLimit",void 0),yt(o,"isShowWatermark",void 0),yt(o,"watermarkFx",void 0),yt(o,"maxSize",void 0),yt(o,"operation",void 0),yt(o,"aiExplanation",void 0),yt(o,"aiExplanationLength",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var c;o.minLimit=(c=n==null?void 0:n.minLimit)!==null&&c!==void 0?c:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:iU;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y: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 m;o.isShowWatermark=(m=n==null?void 0:n.isShowWatermark)!==null&&m!==void 0?m:!1;var O;o.watermarkFx=(O=n==null?void 0:n.watermarkFx)!==null&&O!==void 0?O:{};var b;o.operation=(b=n==null?void 0:n.operation)!==null&&b!==void 0?b:["info","preview","download"];var w;o.aiExplanation=(w=n==null?void 0:n.aiExplanation)!==null&&w!==void 0?w:!1;var v;return o.aiExplanationLength=(v=n==null?void 0:n.aiExplanationLength)!==null&&v!==void 0?v:500,o}return t}(k);yt(Pu,"Rules",lU),yt(Pu,"RuntimeRules",cU);function aU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fU(e,t,n){return t=Su(t),pU(e,c$()?Reflect.construct(t,n||[],Su(e).constructor):t.apply(e,n))}function _U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sU(e,t,n){return t&&l$(e.prototype,t),n&&l$(e,n),e}function Eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(e)}function yU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function pU(e,t){return t&&(dU(t)==="object"||typeof t=="function")?t:aU(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gy(e,t)}function dU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(c$=function(){return!!e})()}var mo=function(e){yU(t,e);function t(n){_U(this,t);var o;return o=fU(this,t,[n]),Eu(o,"props",void 0),o.props=new Pu(n==null?void 0:n.props),o}return sU(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);Eu(mo,"controlEventKeys",["on_change"]),Eu(mo,"controlFieldType",g.FILE),Eu(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:"ai-explanation",visible:!0},{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 vU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hU(e,t,n){return t=Tu(t),OU(e,_$()?Reflect.construct(t,n||[],Tu(e).constructor):t.apply(e,n))}function bU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function mU(e,t,n){return t&&a$(e.prototype,t),n&&a$(e,n),e}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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function OU(e,t){return t&&(wU(t)==="object"||typeof t=="function")?t:vU(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xy(e,t)}function wU(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 $U=function(e){gU(t,e);function t(n){bU(this,t);var o;return o=hU(this,t,[n]),f$(o,"props",void 0),o.props=new Pu(n==null?void 0:n.props),o}return mU(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(x);f$($U,"controlFieldType",g.FILE);function PU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EU(e,t,n){return t=Ru(t),BU(e,p$()?Reflect.construct(t,n||[],Ru(e).constructor):t.apply(e,n))}function SU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function TU(e,t,n){return t&&s$(e.prototype,t),n&&s$(e,n),e}function y$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(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&&Qy(e,t)}function BU(e,t){return t&&(DU(t)==="object"||typeof t=="function")?t:PU(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qy(e,t)}function DU(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 d$=function(e){RU(t,e);function t(n){SU(this,t);var o,r,i;o=EU(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 TU(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$(d$,"controlFieldType",g.IMAGE),y$(d$,"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:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function AU(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=Bu(t),xU(e,v$()?Reflect.construct(t,n||[],Bu(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 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 Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bu(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 IU(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){ut(e,r,n[r])})}return e}function kU(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 FU(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kU(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function xU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:AU(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(e,t)}function MU(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 LU=function(e){Yy(t,e);function t(n){Zy(this,t);var o;o=Jy(this,t,[n]),ut(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")}]}}),ut(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),CU=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:[FU(IU({},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),Du=function(e){Yy(t,e);function t(n){Zy(this,t);var o;o=Jy(this,t,[n]),ut(o,"rangeMin",void 0),ut(o,"rangeMax",void 0),ut(o,"showUpperCase",void 0),ut(o,"submitSelectCurrency",void 0),ut(o,"micrometer",void 0),ut(o,"precision",void 0),ut(o,"unitPosition",void 0),ut(o,"optionConfig",void 0),ut(o,"dataBind",void 0),ut(o,"datasourceBind",void 0),ut(o,"defaultValue",void 0),ut(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new Yx(n==null?void 0:n.dataBind);var c;o.datasourceBind=new X((c=n==null?void 0:n.datasourceBind)!==null&&c!==void 0?c:{displayBoList:[new Sf({value:"name"})]});var _;o.defaultValue=new tM((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:Af.CNY});var y;o.unitPosition=(y=n==null?void 0:n.unitPosition)!==null&&y!==void 0?y:"right",o.options=Qt(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:ku.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 O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var b;return o.showUpperCase=(b=n==null?void 0:n.showUpperCase)!==null&&b!==void 0?b:!1,o}return t}(k);ut(Du,"Rules",LU),ut(Du,"RuntimeRules",CU);function jU(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=Je(t),qU(e,b$()?Reflect.construct(t,n||[],Je(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 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 zU(e,t,n){return t&&h$(e.prototype,t),n&&h$(e,n),e}function Au(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Iu=Reflect.get:Iu=function(r,i,u){var l=UU(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Iu(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(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&&ep(e,t)}function qU(e,t){return t&&(WU(t)==="object"||typeof t=="function")?t:jU(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(e,t)}function UU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function WU(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 ku=function(e){HU(t,e);function t(n){VU(this,t);var o;return o=NU(this,t,[n]),Au(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return zU(t,[{key:"toDataBindModel",value:function(o){var r=Iu(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);Au(ku,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Au(ku,"controlFieldType",g.MONEY),Au(ku,"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 KU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GU(e,t,n){return t=Fu(t),ZU(e,O$()?Reflect.construct(t,n||[],Fu(e).constructor):t.apply(e,n))}function XU(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 QU(e,t,n){return t&&m$(e.prototype,t),n&&m$(e,n),e}function g$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fu(e)}function JU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZU(e,t){return t&&(YU(t)==="object"||typeof t=="function")?t:KU(e)}function np(e,t){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(e,t)}function YU(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 tW=function(e){JU(t,e);function t(n){XU(this,t);var o;return o=GU(this,t,[n]),g$(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return QU(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(x);g$(tW,"controlFieldType",g.MONEY);function eW(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=xu(t),nW(e,w$()?Reflect.construct(t,n||[],xu(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 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 xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xu(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 nW(e,t){return t&&(oW(t)==="object"||typeof t=="function")?t:eW(e)}function up(e,t){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(e,t)}function oW(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 rW=function(e){ip(t,e);function t(n){rp(this,t);var o;return o=op(this,t,[n]),oe(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")}]),oe(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}(tt),iW=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}(j),Mu=function(e){ip(t,e);function t(n){rp(this,t);var o,r;o=op(this,t,[n]),oe(o,"totalScore",void 0),oe(o,"scoreType",void 0),oe(o,"isShowExplain",void 0),oe(o,"explain",void 0),oe(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 a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(y){return new R_(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new R_});var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:ju.controlName,o}return t}(k);oe(Mu,"Rules",rW),oe(Mu,"RuntimeRules",iW);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 uW(e){if(Array.isArray(e))return lp(e)}function lW(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),pW(e,P$()?Reflect.construct(t,n||[],Ze(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 $$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fW(e,t,n){return t&&$$(e.prototype,t),n&&$$(e,n),e}function Lu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Cu=Reflect.get:Cu=function(r,i,u){var l=dW(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Cu(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function _W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function sW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yW(){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 pW(e,t){return t&&(hW(t)==="object"||typeof t=="function")?t:lW(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(e,t)}function dW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function vW(e){return uW(e)||sW(e)||bW(e)||yW()}function hW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bW(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 P$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(P$=function(){return!!e})()}var ju=function(e){_W(t,e);function t(n){aW(this,t);var o;return o=cW(this,t,[n]),Lu(o,"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return fW(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,vW(l))}}Cu(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);Lu(ju,"controlEventKeys",["on_change","on_click"]),Lu(ju,"controlFieldType",g.DECIMAL),Lu(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 mW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gW(e,t,n){return t=Nu(t),PW(e,T$()?Reflect.construct(t,n||[],Nu(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 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 wW(e,t,n){return t&&E$(e.prototype,t),n&&E$(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 Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(e)}function $W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function PW(e,t){return t&&(EW(t)==="object"||typeof t=="function")?t:mW(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(e,t)}function EW(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 SW=function(e){$W(t,e);function t(n){OW(this,t);var o;return o=gW(this,t,[n]),S$(o,"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return wW(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(x);S$(SW,"controlFieldType",g.DECIMAL);function TW(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=zu(t),RW(e,A$()?Reflect.construct(t,n||[],zu(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 Vu(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 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&&fp(e,t)}function RW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:TW(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(e,t)}function BW(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 DW=function(e){D$(t,e);function t(n){B$(this,t);var o;if(o=R$(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),_p=function(e){D$(t,e);function t(n){B$(this,t);var o;o=R$(this,t,[n]),Vu(o,"defaultValueType",void 0),Vu(o,"defaultValue",void 0),Vu(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 oM((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:f("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740"),o}return t}(k);Vu(_p,"RuntimeRules",DW);function AW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IW(e,t,n){return t=Hu(t),MW(e,k$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function kW(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 FW(e,t,n){return t&&I$(e.prototype,t),n&&I$(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 Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function xW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MW(e,t){return t&&(LW(t)==="object"||typeof t=="function")?t:AW(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(e,t)}function LW(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 pp=function(e){xW(t,e);function t(n){kW(this,t);var o;return o=IW(this,t,[n]),sp(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return FW(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 CW(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=qu(t),HW(e,M$()?Reflect.construct(t,n||[],qu(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 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 VW(e,t,n){return t&&F$(e.prototype,t),n&&F$(e,n),e}function x$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(e)}function zW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:CW(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(e,t)}function qW(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 UW=function(e){zW(t,e);function t(n){NW(this,t);var o;return o=jW(this,t,[n]),x$(o,"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return VW(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);x$(UW,"controlFieldType",g.ADDRESS);function WW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L$(e,t,n){return t=Uu(t),KW(e,N$()?Reflect.construct(t,n||[],Uu(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 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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(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&&vp(e,t)}function KW(e,t){return t&&(GW(t)==="object"||typeof t=="function")?t:WW(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(e,t)}function GW(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 XW=function(e){j$(t,e);function t(n){C$(this,t);var o;return o=L$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(j),hp=function(e){j$(t,e);function t(n){C$(this,t);var o;o=L$(this,t,[n]),Mt(o,"showType",void 0),Mt(o,"range",void 0),Mt(o,"defaultValueType",void 0),Mt(o,"multiple",void 0),Mt(o,"rangeOptions",void 0),Mt(o,"defaultValue",void 0),Mt(o,"displayLevel",void 0),Mt(o,"showSubDept",void 0),Mt(o,"multistageFilling",void 0),Mt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Gu.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m: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(b){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new pt(b))})),o}return t}(k);Mt(hp,"RuntimeRules",XW);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=Ye(t),eK(e,z$()?Reflect.construct(t,n||[],Ye(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 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 YW(e,t,n){return t&&V$(e.prototype,t),n&&V$(e,n),e}function Wu(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ku=Reflect.get:Ku=function(r,i,u){var l=nK(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ku(e,t,n||e)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(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&&(oK(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,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ye(e),e!==null););return e}function oK(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 Gu=function(e){tK(t,e);function t(n){ZW(this,t);var o;return o=JW(this,t,[n]),Wu(o,"props",void 0),o.props=new hp(n==null?void 0:n.props),o}return YW(t,[{key:"toDataBindModel",value:function(o){var r=Ku(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);Wu(Gu,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Wu(Gu,"controlFieldType",g.DEPARTMENTS),Wu(Gu,"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 rK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iK(e,t,n){return t=Xu(t),aK(e,U$()?Reflect.construct(t,n||[],Xu(e).constructor):t.apply(e,n))}function uK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lK(e,t,n){return t&&H$(e.prototype,t),n&&H$(e,n),e}function q$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xu(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&&mp(e,t)}function aK(e,t){return t&&(fK(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 fK(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 _K=function(e){cK(t,e);function t(n){uK(this,t);var o;return o=iK(this,t,[n]),q$(o,"props",void 0),o.props=new hp(n==null?void 0:n.props),o}return lK(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(x);q$(_K,"controlFieldType",g.DEPARTMENTS);function sK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yK(e,t,n){return t=Qu(t),hK(e,W$()?Reflect.construct(t,n||[],Qu(e).constructor):t.apply(e,n))}function pK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dK(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 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&&gp(e,t)}function hK(e,t){return t&&(bK(t)==="object"||typeof t=="function")?t:sK(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(e,t)}function bK(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 K$=function(e){vK(t,e);function t(n){pK(this,t);var o;o=yK(this,t,[n]),dK(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:Yu.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 mK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gK(e,t,n){return t=Zu(t),PK(e,X$()?Reflect.construct(t,n||[],Zu(e).constructor):t.apply(e,n))}function OK(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 wK(e,t,n){return t&&G$(e.prototype,t),n&&G$(e,n),e}function Ju(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(e)}function $K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PK(e,t){return t&&(EK(t)==="object"||typeof t=="function")?t:mK(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(e,t)}function EK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(X$=function(){return!!e})()}var Yu=function(e){$K(t,e);function t(n){OK(this,t);var o;return o=gK(this,t,[n]),Ju(o,"props",void 0),o.props=new K$(n==null?void 0:n.props),o}return wK(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);Ju(Yu,"controlEventKeys",["on_change"]),Ju(Yu,"controlFieldType",g.AUTO_NUMBER),Ju(Yu,"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 SK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TK(e,t,n){return t=tl(t),AK(e,Z$()?Reflect.construct(t,n||[],tl(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 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 BK(e,t,n){return t&&Q$(e.prototype,t),n&&Q$(e,n),e}function J$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(e)}function DK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function AK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:SK(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function IK(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 kK=function(e){DK(t,e);function t(n){RK(this,t);var o;return o=TK(this,t,[n]),J$(o,"props",void 0),o.props=new K$(n==null?void 0:n.props),o}return BK(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(x);J$(kK,"controlFieldType",g.AUTO_NUMBER);function FK(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=el(t),xK(e,Y$()?Reflect.construct(t,n||[],el(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 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 el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(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 xK(e,t){return t&&(MK(t)==="object"||typeof t=="function")?t:FK(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(e,t)}function MK(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 LK=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}(tt),CK=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}(j),nl=function(e){Ep(t,e);function t(n){Pp(this,t);var o;o=$p(this,t,[n]),Lt(o,"precision",void 0),Lt(o,"micrometer",void 0),Lt(o,"showUpperCase",void 0),Lt(o,"scriptSrc",void 0),Lt(o,"scriptEcho",void 0),Lt(o,"dataBind",void 0),Lt(o,"defaultValue",void 0),Lt(o,"unitPosition",void 0),Lt(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 rM(n==null?void 0:n.dataBind),o.defaultValue=new iM(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:il.controlName;var a;o.unitPosition=(a=n==null?void 0:n.unitPosition)!==null&&a!==void 0?a:"right";var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:f("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165");var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var y;o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"";var d;return o.calcOnMounted=(d=n==null?void 0:n.calcOnMounted)!==null&&d!==void 0?d:!1,o}return t}(k);Lt(nl,"Rules",LK),Lt(nl,"RuntimeRules",CK);function jK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NK(e,t,n){return t=tn(t),qK(e,eP()?Reflect.construct(t,n||[],tn(e).constructor):t.apply(e,n))}function VK(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 zK(e,t,n){return t&&tP(e.prototype,t),n&&tP(e,n),e}function ol(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,t,n){return typeof Reflect!="undefined"&&Reflect.get?rl=Reflect.get:rl=function(r,i,u){var l=UK(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},rl(e,t,n||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(e)}function HK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qK(e,t){return t&&(WK(t)==="object"||typeof t=="function")?t:jK(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function UK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function WK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eP=function(){return!!e})()}var il=function(e){HK(t,e);function t(n){VK(this,t);var o;return o=NK(this,t,[n]),ol(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return zK(t,[{key:"toDataBindModel",value:function(o){var r=rl(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);ol(il,"controlEventKeys",["on_change"]),ol(il,"controlFieldType",g.CALC),ol(il,"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 KK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GK(e,t,n){return t=ul(t),ZK(e,rP()?Reflect.construct(t,n||[],ul(e).constructor):t.apply(e,n))}function XK(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 QK(e,t,n){return t&&nP(e.prototype,t),n&&nP(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 ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function JK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function ZK(e,t){return t&&(YK(t)==="object"||typeof t=="function")?t:KK(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function YK(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 tG=function(e){JK(t,e);function t(n){XK(this,t);var o;return o=GK(this,t,[n]),oP(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return QK(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(x);oP(tG,"controlFieldType",g.CALC);function eG(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=ll(t),nG(e,cP()?Reflect.construct(t,n||[],ll(e).constructor):t.apply(e,n))}function uP(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 ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(e)}function lP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nG(e,t){return t&&(oG(t)==="object"||typeof t=="function")?t:eG(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(e,t)}function oG(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 rG=function(e){lP(t,e);function t(n){uP(this,t);var o;return o=iP(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var l=u.every(function(a){return!a});return l?Promise.reject(f("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}else return Promise.resolve()}}),o}return t}(j),Dp=function(e){lP(t,e);function t(n){uP(this,t);var o;o=iP(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 a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:f("CMD.max",null,"\u6700\u5927\u503C");var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:kp.controlName,o}return t}(k);en(Dp,"RuntimeRules",rG);function iG(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=cl(t),fG(e,fP()?Reflect.construct(t,n||[],cl(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 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 cG(e,t,n){return t&&aP(e.prototype,t),n&&aP(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 cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(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&&Ip(e,t)}function fG(e,t){return t&&(_G(t)==="object"||typeof t=="function")?t:iG(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ip(e,t)}function _G(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fP=function(){return!!e})()}var kp=function(e){aG(t,e);function t(n){lG(this,t);var o;return o=uG(this,t,[n]),Ap(o,"props",void 0),o.props=new Dp(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);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 sG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(e,t,n){return t=al(t),hG(e,yP()?Reflect.construct(t,n||[],al(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 _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 dG(e,t,n){return t&&_P(e.prototype,t),n&&_P(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 al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function vG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function hG(e,t){return t&&(bG(t)==="object"||typeof t=="function")?t:sG(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fp(e,t)}function bG(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 mG=function(e){vG(t,e);function t(n){pG(this,t);var o;return o=yG(this,t,[n]),sP(o,"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return dG(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);sP(mG,"controlFieldType",g.DECIMAL_RANGE);function gG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pP(e,t,n){return t=fl(t),OG(e,hP()?Reflect.construct(t,n||[],fl(e).constructor):t.apply(e,n))}function dP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(e)}function vP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function OG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:gG(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(e,t)}function wG(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 $G=function(e){vP(t,e);function t(n){dP(this,t);var o;return o=pP(this,t,[n]),o[0]!==void 0&&(o[0].type="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),Mp=function(e){vP(t,e);function t(n){dP(this,t);var o,r;o=pP(this,t,[n]),Ct(o,"rangeMin",void 0),Ct(o,"rangeMax",void 0),Ct(o,"placeholderStart",void 0),Ct(o,"placeholderEnd",void 0),Ct(o,"dateType",void 0),Ct(o,"dateFormat",void 0),Ct(o,"commonTimeSetting",void 0),Ct(o,"setValueType",void 0),Ct(o,"defaultValue",void 0),Ct(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:ue.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:f("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F");var m;o.placeholderEnd=(m=n==null?void 0:n.placeholderEnd)!==null&&m!==void 0?m:f("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F");var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:jp.controlName;var b;return o.limitDateList=(b=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new S_(w)}))!==null&&b!==void 0?b:[],o}return t}(k);Ct(Mp,"RuntimeRules",$G);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=_l(t),BG(e,mP()?Reflect.construct(t,n||[],_l(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 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 TG(e,t,n){return t&&bP(e.prototype,t),n&&bP(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 _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(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&&Cp(e,t)}function BG(e,t){return t&&(DG(t)==="object"||typeof t=="function")?t:PG(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(e,t)}function DG(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 jp=function(e){RG(t,e);function t(n){SG(this,t);var o;return o=EG(this,t,[n]),Lp(o,"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return TG(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(jp,"controlFieldType",g.ARRAY),Lp(jp,"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 AG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IG(e,t,n){return t=sl(t),MG(e,wP()?Reflect.construct(t,n||[],sl(e).constructor):t.apply(e,n))}function kG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FG(e,t,n){return t&&gP(e.prototype,t),n&&gP(e,n),e}function OP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(e)}function xG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:AG(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(e,t)}function LG(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 CG=function(e){xG(t,e);function t(n){kG(this,t);var o;return o=IG(this,t,[n]),OP(o,"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return FG(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);OP(CG,"controlFieldType",g.ARRAY);function jG(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=yl(t),NG(e,$P()?Reflect.construct(t,n||[],yl(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 yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(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 NG(e,t){return t&&(VG(t)==="object"||typeof t=="function")?t:jG(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(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 zG=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}(tt),HG=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}(j),pl=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 a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return t}(k);nn(pl,"Rules",zG),nn(pl,"RuntimeRules",HG);function qG(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=dl(t),XG(e,EP()?Reflect.construct(t,n||[],dl(e).constructor):t.apply(e,n))}function WG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KG(e,t,n){return t&&PP(e.prototype,t),n&&PP(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 dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(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&&Up(e,t)}function XG(e,t){return t&&(QG(t)==="object"||typeof t=="function")?t:qG(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function QG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EP=function(){return!!e})()}var Oo=function(e){GG(t,e);function t(n){WG(this,t);var o;return o=UG(this,t,[n]),go(o,"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return KG(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 JG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZG(e,t,n){return t=vl(t),nX(e,RP()?Reflect.construct(t,n||[],vl(e).constructor):t.apply(e,n))}function YG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tX(e,t,n){return t&&SP(e.prototype,t),n&&SP(e,n),e}function TP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(e)}function eX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function nX(e,t){return t&&(oX(t)==="object"||typeof t=="function")?t:JG(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wp(e,t)}function oX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RP=function(){return!!e})()}var rX=function(e){eX(t,e);function t(n){YG(this,t);var o;return o=ZG(this,t,[n]),TP(o,"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return tX(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);TP(rX,"controlFieldType",g.ANY);function iX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BP(e,t,n){return t=hl(t),uX(e,IP()?Reflect.construct(t,n||[],hl(e).constructor):t.apply(e,n))}function DP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(e)}function AP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function uX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:iX(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 IP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IP=function(){return!!e})()}var cX=function(e){AP(t,e);function t(n){DP(this,t);var o;return o=BP(this,t,[n]),J(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")}]}}]),J(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),Gp=function(e){AP(t,e);function t(n){DP(this,t);var o;o=BP(this,t,[n]),J(o,"options",void 0),J(o,"optionConfig",void 0),J(o,"defaultValue",void 0),J(o,"listPageBind",void 0),J(o,"datasourceBind",void 0),J(o,"multistageFilling",void 0),J(o,"viewFormModelType",void 0),J(o,"canViewForm",void 0),J(o,"formBind",void 0),J(o,"openMultistageFilling",void 0),J(o,"showSelectedDetail",void 0),J(o,"selectedContentConfig",void 0),J(o,"optionDisplayConfig",void 0),J(o,"canSearch",void 0),J(o,"aiContentSearch",void 0);var r;o.options=Qt((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:gl.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var c;o.openMultistageFilling=(c=n==null?void 0:n.openMultistageFilling)!==null&&c!==void 0?c:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Rf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new pt(w))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!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 m;o.optionDisplayConfig=(m=n==null?void 0:n.optionDisplayConfig)!==null&&m!==void 0?m:[];var O;o.canSearch=(O=n==null?void 0:n.canSearch)!==null&&O!==void 0?O:!1;var b;return o.aiContentSearch=(b=n==null?void 0:n.aiContentSearch)!==null&&b!==void 0?b:!1,o}return t}(k);J(Gp,"Rules",cX);function aX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fX(e,t,n){return t=on(t),pX(e,FP()?Reflect.construct(t,n||[],on(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 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 sX(e,t,n){return t&&kP(e.prototype,t),n&&kP(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 ml(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ml=Reflect.get:ml=function(r,i,u){var l=dX(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ml(e,t,n||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},on(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 pX(e,t){return t&&(vX(t)==="object"||typeof t=="function")?t:aX(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(e,t)}function dX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function vX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FP=function(){return!!e})()}var gl=function(e){yX(t,e);function t(n){_X(this,t);var o;return o=fX(this,t,[n]),bl(o,"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return sX(t,[{key:"toDataBindModel",value:function(o){var r=ml(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);bl(gl,"controlFieldType",g.VARCHAR),bl(gl,"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:"ai-content-search",visible:!0},{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}]),bl(gl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function hX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bX(e,t,n){return t=Ol(t),wX(e,LP()?Reflect.construct(t,n||[],Ol(e).constructor):t.apply(e,n))}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gX(e,t,n){return t&&xP(e.prototype,t),n&&xP(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 Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(e)}function OX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function wX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:hX(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(e,t)}function $X(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 PX=function(e){OX(t,e);function t(n){mX(this,t);var o;return o=bX(this,t,[n]),MP(o,"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return gX(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(x);MP(PX,"controlFieldType",g.VARCHAR);function EX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SX(e,t,n){return t=wl(t),BX(e,CP()?Reflect.construct(t,n||[],wl(e).constructor):t.apply(e,n))}function TX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function RX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jp(e,t)}function BX(e,t){return t&&(DX(t)==="object"||typeof t=="function")?t:EX(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(e,t)}function DX(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 jP=function(e){RX(t,e);function t(n){return TX(this,t),SX(this,t,[n])}return t}(ho);function AX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IX(e,t,n){return t=$l(t),MX(e,zP()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function kX(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 FX(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 $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function xX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function MX(e,t){return t&&(LX(t)==="object"||typeof t=="function")?t:AX(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(e,t)}function LX(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){xX(t,e);function t(n){kX(this,t);var o;return o=IX(this,t,[n]),VP(o,"props",void 0),o.props=new jP(n==null?void 0:n.props),o}return FX(t,null,[{key:"controlName",get:function(){return f("CMD.input",null,"\u5355\u884C\u6587\u672C")}},{key:"controlType",get:function(){return"search-input"}}]),t}(bo);VP(CX,"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 jX(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=Pl(t),qX(e,UP()?Reflect.construct(t,n||[],Pl(e).constructor):t.apply(e,n))}function VX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HP(e,t){for(var n=0;n<t.length;n++){var 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&&HP(e.prototype,t),n&&HP(e,n),e}function qP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pl(e)}function HX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:jX(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yp(e,t)}function UX(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 WX=function(e){HX(t,e);function t(n){VX(this,t);var o;return o=NX(this,t,[n]),qP(o,"props",void 0),o.props=new jP(n==null?void 0:n.props),o}return zX(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(x);qP(WX,"controlFieldType",g.VARCHAR);function KX(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=El(t),GX(e,WP()?Reflect.construct(t,n||[],El(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 El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(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 GX(e,t){return t&&(XX(t)==="object"||typeof t=="function")?t:KX(e)}function od(e,t){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(e,t)}function XX(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 QX=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")}]),Ko.call(o,n,Re.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}(tt),JX=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}(j),Sl=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:Re.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9");var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var c;o.levelType=(c=n==null?void 0:n.levelType)!==null&&c!==void 0?c:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var m;o.isShowIncludeSub=(m=n==null?void 0:n.isShowIncludeSub)!==null&&m!==void 0?m:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var b;o.defaultCollapse=(b=n==null?void 0:n.defaultCollapse)!==null&&b!==void 0?b:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var v;o.datasourceBind=new _b((v=n==null?void 0:n.datasourceBind)!==null&&v!==void 0?v:{attributes:Re.controlCustomAttributes});var $;o.filterItemDatasourceBind=new _b(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:Re.controlCustomAttributes});var E;o.openMultistageFilling=(E=n==null?void 0:n.openMultistageFilling)!==null&&E!==void 0?E:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var R;o.multistageFilling=(R=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new pt(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(Sl,"Rules",QX),q(Sl,"RuntimeRules",JX);function ZX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YX(e,t,n){return t=Rl(t),oQ(e,GP()?Reflect.construct(t,n||[],Rl(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 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 eQ(e,t,n){return t&&KP(e.prototype,t),n&&KP(e,n),e}function Tl(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 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&&rd(e,t)}function oQ(e,t){return t&&(rQ(t)==="object"||typeof t=="function")?t:ZX(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(e,t)}function rQ(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 Re=function(e){nQ(t,e);function t(n){tQ(this,t);var o;return o=YX(this,t,[n]),Tl(o,"props",void 0),o.props=new Sl(n==null?void 0:n.props),o}return eQ(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);Tl(Re,"controlEventKeys",["on_change","on_click"]),Tl(Re,"controlFieldType",g.ARRAY),Tl(Re,"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 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=Bl(t),fQ(e,JP()?Reflect.construct(t,n||[],Bl(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 XP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cQ(e,t,n){return t&&XP(e.prototype,t),n&&XP(e,n),e}function QP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(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&&id(e,t)}function fQ(e,t){return t&&(_Q(t)==="object"||typeof t=="function")?t:iQ(e)}function id(e,t){return id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},id(e,t)}function _Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JP=function(){return!!e})()}var sQ=function(e){aQ(t,e);function t(n){lQ(this,t);var o;return o=uQ(this,t,[n]),QP(o,"props",void 0),o.props=new Sl(n==null?void 0:n.props),o}return cQ(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(x);QP(sQ,"controlFieldType",g.ARRAY);function yQ(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=Dl(t),pQ(e,ZP()?Reflect.construct(t,n||[],Dl(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 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 Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(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 pQ(e,t){return t&&(dQ(t)==="object"||typeof t=="function")?t:yQ(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(e,t)}function dQ(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 vQ=function(e){cd(t,e);function t(n){ld(this,t);var o;return o=ud(this,t,[n]),Z(o,"datasourceBind",[{type:"object",message:f("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Z(o,"externalScope",{type:"any"}),Ko.call(o,n,rn.controlCustomAttributes),n.externalType===ve.ASSIGN&&(o.externalScope={type:"array",required:!0,message:f("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")}),o}return t}(tt),hQ=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}(j),Al=function(e){cd(t,e);function t(n){ld(this,t);var o;o=ud(this,t,[n]),Z(o,"showType",void 0),Z(o,"range",void 0),Z(o,"rangeOptions",void 0),Z(o,"multiple",void 0),Z(o,"defaultValueType",void 0),Z(o,"defaultValue",void 0),Z(o,"multistageFilling",void 0),Z(o,"datasourceBind",void 0),Z(o,"datasourceType",void 0),Z(o,"insideType",void 0),Z(o,"externalType",void 0),Z(o,"externalScope",void 0),Z(o,"openMultistageFilling",void 0),Z(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 a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:rn.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:f("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1");var d;o.datasourceBind=new Ho((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:rn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:D_.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:A_.ADMIN;var b;o.externalType=(b=n==null?void 0:n.externalType)!==null&&b!==void 0?b:ve.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var v;o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!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(E){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new pt(E))})),o}return t}(k);Z(Al,"Rules",vQ),Z(Al,"RuntimeRules",hQ);function bQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mQ(e,t,n){return t=kl(t),$Q(e,tE()?Reflect.construct(t,n||[],kl(e).constructor):t.apply(e,n))}function gQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 OQ(e,t,n){return t&&YP(e.prototype,t),n&&YP(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 kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(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&&fd(e,t)}function $Q(e,t){return t&&(PQ(t)==="object"||typeof t=="function")?t:bQ(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(e,t)}function PQ(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 rn=function(e){wQ(t,e);function t(n){gQ(this,t);var o;return o=mQ(this,t,[n]),Il(o,"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return OQ(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);Il(rn,"controlFieldType",g.EMPLOYEES),Il(rn,"controlEventKeys",["on_change","on_focus","on_blur","on_option_selected"]),Il(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 EQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SQ(e,t,n){return t=Fl(t),DQ(e,oE()?Reflect.construct(t,n||[],Fl(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 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 RQ(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 Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(e)}function BQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DQ(e,t){return t&&(AQ(t)==="object"||typeof t=="function")?t:EQ(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_d(e,t)}function AQ(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 IQ=function(e){BQ(t,e);function t(n){TQ(this,t);var o;return o=SQ(this,t,[n]),nE(o,"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return RQ(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(x);nE(IQ,"controlFieldType",g.EMPLOYEES);function kQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rE(e,t,n){return t=xl(t),FQ(e,lE()?Reflect.construct(t,n||[],xl(e).constructor):t.apply(e,n))}function iE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(e)}function uE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function FQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:kQ(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 lE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lE=function(){return!!e})()}var MQ=function(e){uE(t,e);function t(n){iE(this,t);var o;return o=rE(this,t,[n]),qt(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:f("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:n.signatureConfig.undersignedList.reduce(function(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:f("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator:function(a,c,_){if(i.type==="public"&&jo(c.value)&&c.value.length===0){_(f("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}_()}},indexSignature:{type:"object",required:!0,validator:function(a,c,_){if((i==null?void 0:i.signaturePosition)==="index"&&jo(c.value)&&c.value.length===0){_(f("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}_()}},company:{type:"object",required:!0,validator:function(a,c,_){if(i.type==="public"&&i.signatureType.includes("company")&&jo(c.value)&&c.value.length===0){_(f("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}_()}}}},r},{})}}},o}return t}(tt),yd=function(e){uE(t,e);function t(n){iE(this,t);var o;o=rE(this,t,[n]),qt(o,"buttonType",void 0),qt(o,"content",void 0),qt(o,"showType",void 0),qt(o,"color",void 0),qt(o,"icon",void 0),qt(o,"command",""),qt(o,"isLoading",!1),qt(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Cl.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72");var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"iconfenlei2",o.signatureConfig=new X7(n==null?void 0:n.signatureConfig),o}return t}(k);qt(yd,"Rules",MQ);function LQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CQ(e,t,n){return t=Ll(t),zQ(e,aE()?Reflect.construct(t,n||[],Ll(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 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 NQ(e,t,n){return t&&cE(e.prototype,t),n&&cE(e,n),e}function Ml(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 VQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function zQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:LQ(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(e,t)}function HQ(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 Cl=function(e){VQ(t,e);function t(n){jQ(this,t);var o;return o=CQ(this,t,[n]),Ml(o,"props",void 0),o.props=new yd(n==null?void 0:n.props),o}return NQ(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);Ml(Cl,"controlEventKeys",["on_click","on_click_finish"]),Ml(Cl,"controlFieldType",g.VARCHAR),Ml(Cl,"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 qQ(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=jl(t),XQ(e,sE()?Reflect.construct(t,n||[],jl(e).constructor):t.apply(e,n))}function WQ(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 KQ(e,t,n){return t&&fE(e.prototype,t),n&&fE(e,n),e}function _E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(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&&dd(e,t)}function XQ(e,t){return t&&(QQ(t)==="object"||typeof t=="function")?t:qQ(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(e,t)}function QQ(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 JQ=function(e){GQ(t,e);function t(n){WQ(this,t);var o;return o=UQ(this,t,[n]),_E(o,"props",void 0),o.props=new yd(n==null?void 0:n.props),o}return KQ(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);_E(JQ,"controlFieldType",g.VARCHAR);function ZQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vd(e,t,n){return t=Nl(t),YQ(e,yE()?Reflect.construct(t,n||[],Nl(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 Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(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 YQ(e,t){return t&&(tJ(t)==="object"||typeof t=="function")?t:ZQ(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function tJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yE=function(){return!!e})()}var eJ=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}(tt),nJ=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}(j),Vl=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:ql.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:f("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863");var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var c;o.canEdit=(c=n==null?void 0:n.canEdit)!==null&&c!==void 0?c:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var m;o.maxSize=(m=n==null?void 0:n.maxSize)!==null&&m!==void 0?m:rU;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new Q7(n==null?void 0:n.wpsSetting);var b;return o.revisionsMode=(b=n==null?void 0:n.revisionsMode)!==null&&b!==void 0?b:!1,o}return t}(k);lt(Vl,"Rules",eJ),lt(Vl,"RuntimeRules",nJ);function oJ(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=Hl(t),cJ(e,dE()?Reflect.construct(t,n||[],Hl(e).constructor):t.apply(e,n))}function iJ(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 zl(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 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&&gd(e,t)}function cJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:oJ(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(e,t)}function aJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dE=function(){return!!e})()}var ql=function(e){lJ(t,e);function t(n){iJ(this,t);var o;return o=rJ(this,t,[n]),zl(o,"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return uJ(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);zl(ql,"controlEventKeys",["on_change","on_wps_open"]),zl(ql,"controlFieldType",g.FILE),zl(ql,"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 fJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _J(e,t,n){return t=Ul(t),dJ(e,bE()?Reflect.construct(t,n||[],Ul(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 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 yJ(e,t,n){return t&&vE(e.prototype,t),n&&vE(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 Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(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&&Od(e,t)}function dJ(e,t){return t&&(vJ(t)==="object"||typeof t=="function")?t:fJ(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(e,t)}function vJ(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 hJ=function(e){pJ(t,e);function t(n){sJ(this,t);var o;return o=_J(this,t,[n]),hE(o,"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return yJ(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(x);hE(hJ,"controlFieldType",g.FILE);function bJ(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=Wl(t),mJ(e,mE()?Reflect.construct(t,n||[],Wl(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 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 Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(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 mJ(e,t){return t&&(gJ(t)==="object"||typeof t=="function")?t:bJ(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ed(e,t)}function gJ(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 OJ=function(e){Pd(t,e);function t(n){$d(this,t);var o;return o=wd(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"}),Ko.call(o,n,ln.controlCustomAttributes),n.businessType===ve.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(tt),wJ=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}(j),Kl=function(e){Pd(t,e);function t(n){$d(this,t);var o;o=wd(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 a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:ln.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:f("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8");var O;o.datasourceBind=new Ho((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:ln.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:Or.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var v;o.businessType=(v=n==null?void 0:n.businessType)!==null&&v!==void 0?v:ve.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 S;(S=o.multistageFilling)===null||S===void 0||S.push(new pt(E))})),o}return t}(k);Y(Kl,"Rules",OJ),Y(Kl,"RuntimeRules",wJ);function $J(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PJ(e,t,n){return t=un(t),RJ(e,OE()?Reflect.construct(t,n||[],un(e).constructor):t.apply(e,n))}function EJ(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 SJ(e,t,n){return t&&gE(e.prototype,t),n&&gE(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 Xl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Xl=Reflect.get:Xl=function(r,i,u){var l=BJ(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Xl(e,t,n||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(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&&Sd(e,t)}function RJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:$J(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(e,t)}function BJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}function DJ(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 ln=function(e){TJ(t,e);function t(n){EJ(this,t);var o;return o=PJ(this,t,[n]),Gl(o,"props",void 0),o.props=new Kl(n==null?void 0:n.props),o}return SJ(t,[{key:"toDataBindModel",value:function(o){var r=Xl(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);Gl(ln,"controlName",f("CMD.department",null,"\u90E8\u95E8")),Gl(ln,"controlFieldType",g.DEPARTMENTS),Gl(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 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=Ql(t),MJ(e,PE()?Reflect.construct(t,n||[],Ql(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 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 FJ(e,t,n){return t&&wE(e.prototype,t),n&&wE(e,n),e}function $E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(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&&Td(e,t)}function MJ(e,t){return t&&(LJ(t)==="object"||typeof t=="function")?t:AJ(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function LJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PE=function(){return!!e})()}var CJ=function(e){xJ(t,e);function t(n){kJ(this,t);var o;return o=IJ(this,t,[n]),$E(o,"props",void 0),o.props=new Kl(n==null?void 0:n.props),o}return FJ(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(x);$E(CJ,"controlFieldType",g.DEPARTMENTS);function jJ(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=Jl(t),NJ(e,EE()?Reflect.construct(t,n||[],Jl(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 Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(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 NJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:jJ(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(e,t)}function VJ(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 zJ=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"}),Ko.call(o,n,wo.controlCustomAttributes),n.businessType===ve.ASSIGN&&(o.businessScope={type:"array",required:!0,message:f("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")}),o}return t}(tt),HJ=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}(j),Zl=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 a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:wo.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:f("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7");var O;o.datasourceBind=new Jx((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:wo.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:Or.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var v;o.businessType=(v=n==null?void 0:n.businessType)!==null&&v!==void 0?v:ve.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 S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!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 pt(z))})),o}return t}(k);V(Zl,"Rules",zJ),V(Zl,"RuntimeRules",HJ);function qJ(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=cn(t),XJ(e,TE()?Reflect.construct(t,n||[],cn(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 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 KJ(e,t,n){return t&&SE(e.prototype,t),n&&SE(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 Yl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Yl=Reflect.get:Yl=function(r,i,u){var l=QJ(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Yl(e,t,n||e)}function cn(e){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cn(e)}function GJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XJ(e,t){return t&&(JJ(t)==="object"||typeof t=="function")?t:qJ(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function QJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=cn(e),e!==null););return e}function JJ(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 wo=function(e){GJ(t,e);function t(n){WJ(this,t);var o;return o=UJ(this,t,[n]),Id(o,"props",void 0),o.props=new Zl(n==null?void 0:n.props),o}return KJ(t,[{key:"toDataBindModel",value:function(o){var r=Yl(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 ZJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YJ(e,t,n){return t=tc(t),oZ(e,DE()?Reflect.construct(t,n||[],tc(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 RE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eZ(e,t,n){return t&&RE(e.prototype,t),n&&RE(e,n),e}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 nZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function oZ(e,t){return t&&(rZ(t)==="object"||typeof t=="function")?t:ZJ(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(e,t)}function rZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DE=function(){return!!e})()}var iZ=function(e){nZ(t,e);function t(n){tZ(this,t);var o;return o=YJ(this,t,[n]),BE(o,"props",void 0),o.props=new Zl(n==null?void 0:n.props),o}return eZ(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(x);BE(iZ,"controlFieldType",g.DEPARTMENTS);function uZ(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=ec(t),lZ(e,AE()?Reflect.construct(t,n||[],ec(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 ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(e)}function Ld(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function lZ(e,t){return t&&(cZ(t)==="object"||typeof t=="function")?t:uZ(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function cZ(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 aZ=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}(tt),fZ=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}(j),nc=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:ic.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return t}(k);an(nc,"Rules",aZ),an(nc,"RuntimeRules",fZ);function _Z(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=rc(t),vZ(e,kE()?Reflect.construct(t,n||[],rc(e).constructor):t.apply(e,n))}function yZ(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 pZ(e,t,n){return t&&IE(e.prototype,t),n&&IE(e,n),e}function oc(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 dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:_Z(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function hZ(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 ic=function(e){dZ(t,e);function t(n){yZ(this,t);var o;return o=sZ(this,t,[n]),oc(o,"props",void 0),o.props=new nc(n==null?void 0:n.props),o}return pZ(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 p.VUE_PAGE}}]),t}(F);oc(ic,"controlFieldType",g.ANY),oc(ic,"controlEventKeys",[]),oc(ic,"setting",[]);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=uc(t),$Z(e,ME()?Reflect.construct(t,n||[],uc(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 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 OZ(e,t,n){return t&&FE(e.prototype,t),n&&FE(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 uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(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&&Nd(e,t)}function $Z(e,t){return t&&(PZ(t)==="object"||typeof t=="function")?t:bZ(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(e,t)}function PZ(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 EZ=function(e){wZ(t,e);function t(n){gZ(this,t);var o;return o=mZ(this,t,[n]),xE(o,"props",void 0),o.props=new nc(n==null?void 0:n.props),o}return OZ(t,null,[{key:"controlType",get:function(){return p.VUE_PAGE}}]),t}(x);xE(EZ,"controlFieldType",g.ANY);function SZ(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=lc(t),IZ(e,CE()?Reflect.construct(t,n||[],lc(e).constructor):t.apply(e,n))}function RZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BZ(e,t,n){return t&&LE(e.prototype,t),n&&LE(e,n),e}function DZ(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 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&&Vd(e,t)}function IZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:SZ(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(e,t)}function kZ(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 FZ=function(e){AZ(t,e);function t(n){return RZ(this,t),TZ(this,t,[n])}return BZ(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}(nt);DZ(FZ,"excludes",[p.GRID]);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=cc(t),jZ(e,NE()?Reflect.construct(t,n||[],cc(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 jE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(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&&zd(e,t)}function jZ(e,t){return t&&(NZ(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 NZ(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 VZ=24,$o=function(e){CZ(t,e);function t(n){LZ(this,t);var o;o=MZ(this,t,[n]),jE(o,"span",void 0),jE(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:VZ;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(et);function zZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HZ(e,t,n){return t=ac(t),KZ(e,zE()?Reflect.construct(t,n||[],ac(e).constructor):t.apply(e,n))}function qZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 UZ(e,t,n){return t&&VE(e.prototype,t),n&&VE(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 ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(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&&qd(e,t)}function KZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:zZ(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function GZ(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 Po=function(e){WZ(t,e);function t(n){qZ(this,t);var o;return o=HZ(this,t,[n]),Hd(o,"props",void 0),o.props=new $o(n==null?void 0:n.props),o}return UZ(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}(nt);Hd(Po,"excludes",[p.COL,p.SUBTABLE,p.SUBTABLE_COLUMN,p.GRID_LAYOUT_CONTAINER,p.DIVIDER]),Hd(Po,"childrenMaxLength",1);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=fc(t),eY(e,qE()?Reflect.construct(t,n||[],fc(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 HE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ZZ(e,t,n){return t&&HE(e.prototype,t),n&&HE(e,n),e}function YZ(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 tY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function eY(e,t){return t&&(nY(t)==="object"||typeof t=="function")?t:XZ(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function nY(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 oY=function(e){tY(t,e);function t(n){JZ(this,t);var o;return o=QZ(this,t,[n]),YZ(o,"props",void 0),o.props=new $o(n==null?void 0:n.props),o}return ZZ(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(Ee),UE={Designer:Po,Runtime:oY,Property:$o};function rY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iY(e,t,n){return t=_c(t),cY(e,KE()?Reflect.construct(t,n||[],_c(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 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 _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(e)}function lY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cY(e,t){return t&&(aY(t)==="object"||typeof t=="function")?t:rY(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(e,t)}function aY(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 Kd=function(e){lY(t,e);function t(n){uY(this,t);var o;o=iY(this,t,[n]),WE(o,"layoutMode",void 0),WE(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}(et);function fY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Y(e,t,n){return t=sc(t),dY(e,XE()?Reflect.construct(t,n||[],sc(e).constructor):t.apply(e,n))}function sY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yY(e,t,n){return t&&GE(e.prototype,t),n&&GE(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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(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&&Xd(e,t)}function dY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:fY(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(e,t)}function vY(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 Qd=function(e){pY(t,e);function t(n){sY(this,t);var o;return o=_Y(this,t,[n]),Gd(o,"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return yY(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}(nt);Gd(Qd,"excludes",[p.ROW]),Gd(Qd,"setting",[{key:"col-setting",visible:!0}]);function hY(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=yc(t),$Y(e,JE()?Reflect.construct(t,n||[],yc(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 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 gY(e,t,n){return t&&QE(e.prototype,t),n&&QE(e,n),e}function OY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(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&&Jd(e,t)}function $Y(e,t){return t&&(PY(t)==="object"||typeof t=="function")?t:hY(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(e,t)}function PY(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 EY=function(e){wY(t,e);function t(n){mY(this,t);var o;return o=bY(this,t,[n]),OY(o,"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return gY(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(Ee);function SY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TY(e,t,n){return t=pc(t),AY(e,YE()?Reflect.construct(t,n||[],pc(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 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 BY(e,t,n){return t&&ZE(e.prototype,t),n&&ZE(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 pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AY(e,t){return t&&(IY(t)==="object"||typeof t=="function")?t:SY(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function IY(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 kY=4,dc=function(e){DY(t,e);function t(n){return RY(this,t),TY(this,t,[n])}return BY(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(dc,"excludes",[p.GRID_ROW]),Zd(dc,"setting",[]),Zd(dc,"childrenMaxLength",kY);function FY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xY(e,t,n){return t=vc(t),jY(e,eS()?Reflect.construct(t,n||[],vc(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 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 LY(e,t,n){return t&&tS(e.prototype,t),n&&tS(e,n),e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function CY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function jY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:FY(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function NY(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 VY=function(e){CY(t,e);function t(n){return MY(this,t),xY(this,t,[n])}return LY(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(EY);function zY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HY(e,t,n){return t=hc(t),WY(e,nS()?Reflect.construct(t,n||[],hc(e).constructor):t.apply(e,n))}function qY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hc(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&&ev(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:zY(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(e,t)}function KY(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 GY=function(e){UY(t,e);function t(n){return qY(this,t),HY(this,t,[n])}return t}(Kd),XY={Designer:dc,Runtime:VY,Property:GY};function QY(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=bc(t),JY(e,uS()?Reflect.construct(t,n||[],bc(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 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 bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(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&&nv(e,t)}function JY(e,t){return t&&(ZY(t)==="object"||typeof t=="function")?t:QY(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(e,t)}function ZY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uS=function(){return!!e})()}var YY=function(e){iS(t,e);function t(){rS(this,t);var n;return n=oS(this,t,arguments),Eo(n,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),n}return t}(et.Rules),lS=function(e){iS(t,e);function t(n){rS(this,t);var o;o=oS(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}(et);Eo(lS,"Rules",YY);function ttt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ett(e,t,n){return t=mc(t),itt(e,aS()?Reflect.construct(t,n||[],mc(e).constructor):t.apply(e,n))}function ntt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ott(e,t,n){return t&&cS(e.prototype,t),n&&cS(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 mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(e)}function rtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function itt(e,t){return t&&(utt(t)==="object"||typeof t=="function")?t:ttt(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(e,t)}function utt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aS=function(){return!!e})()}var fS=function(e){rtt(t,e);function t(n){ntt(this,t);var o;return o=ett(this,t,[n]),ov(o,"props",void 0),o.props=new lS(n==null?void 0:n.props),o}return ott(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}(nt);ov(fS,"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(fS,"excludes",[p.CARD_GROUP]);function ltt(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=gc(t),ctt(e,pS()?Reflect.construct(t,n||[],gc(e).constructor):t.apply(e,n))}function sS(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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gc(e)}function yS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function ctt(e,t){return t&&(att(t)==="object"||typeof t=="function")?t:ltt(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function att(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 ftt=function(e){yS(t,e);function t(n){sS(this,t);var o;return o=_S(this,t,[n]),Ut(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ut(o,"width",{type:"number",required:!1,message:f("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),Ut(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),Oc=function(e){yS(t,e);function t(n){sS(this,t);var o;o=_S(this,t,[n]),Ut(o,"metaAutoWidth",void 0),Ut(o,"caption",void 0),Ut(o,"fixed",void 0),Ut(o,"isShowCaptionTip",void 0),Ut(o,"captionTip",void 0),Ut(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new cb(n==null?void 0:n.metaAutoWidth),o}return t}(et);Ut(Oc,"Rules",ftt);function _tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function stt(e,t,n){return t=wc(t),dtt(e,dS()?Reflect.construct(t,n||[],wc(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 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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function ptt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function dtt(e,t){return t&&(vtt(t)==="object"||typeof t=="function")?t:_tt(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(e,t)}function vtt(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 jt=function(e){ptt(t,e);function t(n){ytt(this,t);var o;return o=stt(this,t,[n]),Be(o,"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return t}(nt);Be(jt,"controlName",f("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C")),Be(jt,"controlType","subtable-column"),Be(jt,"controlIcon","subtable-column"),Be(jt,"childrenMaxLength",1),Be(jt,"excludes",[p.SUBTABLE,p.SUBTABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT,p.GRID_LAYOUT_CONTAINER]),Be(jt,"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 htt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function btt(e,t,n){return t=$c(t),Ott(e,hS()?Reflect.construct(t,n||[],$c(e).constructor):t.apply(e,n))}function mtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function gtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ott(e,t){return t&&(wtt(t)==="object"||typeof t=="function")?t:htt(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(e,t)}function wtt(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 bS=function(e){gtt(t,e);function t(n){mtt(this,t);var o;return o=btt(this,t,[n]),vS(o,"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return t}(Ee);vS(bS,"controlType","subtable-column");var $tt={Designer:jt,Runtime:bS,Property:Oc};function Ptt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ett(e,t,n){return t=Pc(t),Rtt(e,mS()?Reflect.construct(t,n||[],Pc(e).constructor):t.apply(e,n))}function Stt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(e)}function 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&&cv(e,t)}function Rtt(e,t){return t&&(Btt(t)==="object"||typeof t=="function")?t:Ptt(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function Btt(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 Dtt=function(e){Ttt(t,e);function t(n){return Stt(this,t),Ett(this,t,[n])}return t}(et);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=Ec(t),xtt(e,gS()?Reflect.construct(t,n||[],Ec(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 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 Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(e)}function Ftt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function xtt(e,t){return t&&(Mtt(t)==="object"||typeof t=="function")?t:Att(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function Mtt(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 fn=function(e){Ftt(t,e);function t(n){ktt(this,t);var o;return o=Itt(this,t,[n]),De(o,"props",void 0),o.props=new Dtt(n==null?void 0:n.props),o}return t}(nt);De(fn,"controlName",f("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C")),De(fn,"controlType","subtable-row"),De(fn,"controlIcon","subtable-row"),De(fn,"childrenMaxLength",1),De(fn,"excludes",[p.SUBTABLE,p.SUBTABLE_COLUMN,p.SUBTABLE_ROW,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT]),De(fn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Ltt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ctt(e,t,n){return t=Sc(t),Vtt(e,OS()?Reflect.construct(t,n||[],Sc(e).constructor):t.apply(e,n))}function jtt(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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(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&&fv(e,t)}function Vtt(e,t){return t&&(ztt(t)==="object"||typeof t=="function")?t:Ltt(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(e,t)}function ztt(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 wS=function(e){Ntt(t,e);function t(n){jtt(this,t);var o;o=Ctt(this,t,[n]),It(o,"widthType",void 0),It(o,"width",void 0),It(o,"caption",void 0),It(o,"fieldCode",void 0),It(o,"fieldType",void 0),It(o,"fieldName",void 0),It(o,"datasourceBind",void 0),It(o,"fixed",void 0),It(o,"textCleanFormart",void 0),It(o,"decimalKeepPrecision",void 0),It(o,"timestampDateType",void 0),It(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var c;o.fieldName=(c=n==null?void 0:n.fieldName)!==null&&c!==void 0?c:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:ue.DATE;var m;return o.departmentDisplayLevel=(m=n==null?void 0:n.departmentDisplayLevel)!==null&&m!==void 0?m:1,o}return t}(et);function Htt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qtt(e,t,n){return t=Tc(t),Ktt(e,$S()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}function Utt(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 Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function Wtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ktt(e,t){return t&&(Gtt(t)==="object"||typeof t=="function")?t:Htt(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(e,t)}function Gtt(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 _n=function(e){Wtt(t,e);function t(n){Utt(this,t);var o;return o=qtt(this,t,[n]),Ae(o,"props",void 0),o.props=new wS(n==null?void 0:n.props),o}return t}(nt);Ae(_n,"controlName","\u5217\u8868\u5355\u5143\u683C"),Ae(_n,"controlType","gridtable-column"),Ae(_n,"controlIcon","gridtable-column"),Ae(_n,"childrenMaxLength",1),Ae(_n,"excludes",[p.GRID_TABLE,p.GRID_TABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT]),Ae(_n,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",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 Qtt(e,t,n){return t=Rc(t),Ytt(e,ES()?Reflect.construct(t,n||[],Rc(e).constructor):t.apply(e,n))}function Jtt(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 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&&sv(e,t)}function Ytt(e,t){return t&&(tet(t)==="object"||typeof t=="function")?t:Xtt(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(e,t)}function tet(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 eet=function(e){Ztt(t,e);function t(n){Jtt(this,t);var o;return o=Qtt(this,t,[n]),PS(o,"props",void 0),o.props=new wS(n==null?void 0:n.props),o}return t}(Ee);PS(eet,"controlType","gridtable-column");function net(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oet(e,t,n){return t=Bc(t),uet(e,TS()?Reflect.construct(t,n||[],Bc(e).constructor):t.apply(e,n))}function ret(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SS(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 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&&yv(e,t)}function uet(e,t){return t&&(cet(t)==="object"||typeof t=="function")?t:net(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function cet(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 aet=function(e){iet(t,e);function t(n){ret(this,t);var o;o=oet(this,t,[n]),SS(o,"childMinWidth",void 0),SS(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}(et);function fet(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=Dc(t),det(e,BS()?Reflect.construct(t,n||[],Dc(e).constructor):t.apply(e,n))}function set(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 yet(e,t,n){return t&&RS(e.prototype,t),n&&RS(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 Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function pet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 det(e,t){return t&&(vet(t)==="object"||typeof t=="function")?t:fet(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(e,t)}function vet(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 DS=function(e){pet(t,e);function t(n){set(this,t);var o;return o=_et(this,t,[n]),pv(o,"props",void 0),o.props=new aet(n==null?void 0:n.props),o}return yet(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}(nt);pv(DS,"excludes",[p.GRID_LAYOUT_CONTAINER,p.CARD_GROUP,p.TAB]),pv(DS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function het(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=Ac(t),wet(e,AS()?Reflect.construct(t,n||[],Ac(e).constructor):t.apply(e,n))}function met(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function get(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 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&&vv(e,t)}function wet(e,t){return t&&($et(t)==="object"||typeof t=="function")?t:het(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(e,t)}function $et(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AS=function(){return!!e})()}var Pet=function(e){Oet(t,e);function t(n){met(this,t);var o;o=bet(this,t,[n]),get(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}(et);function Eet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IS(e,t,n){return t=Ic(t),Tet(e,xS()?Reflect.construct(t,n||[],Ic(e).constructor):t.apply(e,n))}function kS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(e)}function FS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function Tet(e,t){return t&&(Ret(t)==="object"||typeof t=="function")?t:Eet(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(e,t)}function Ret(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 Bet=function(e){FS(t,e);function t(n){kS(this,t);var o;return o=IS(this,t,[n]),hv(o,"caption",{type:"string",required:!0,message:f("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),o}return t}(U),MS=function(e){FS(t,e);function t(n){kS(this,t);var o;o=IS(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:Lc.controlName,o}return t}(et);hv(MS,"Rules",Bet);function Det(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aet(e,t,n){return t=kc(t),xet(e,CS()?Reflect.construct(t,n||[],kc(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 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 ket(e,t,n){return t&&LS(e.prototype,t),n&&LS(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 kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kc(e)}function Fet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function xet(e,t){return t&&(Met(t)==="object"||typeof t=="function")?t:Det(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gv(e,t)}function Met(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CS=function(){return!!e})()}var Fc=function(e){Fet(t,e);function t(n){Iet(this,t);var o;return o=Aet(this,t,[n]),mv(o,"props",void 0),o.props=new MS(n==null?void 0:n.props),o}return ket(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}(nt);mv(Fc,"excludes",[p.TAB]),mv(Fc,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function Let(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cet(e,t,n){return t=Mc(t),zet(e,NS()?Reflect.construct(t,n||[],Mc(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 jS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Net(e,t,n){return t&&jS(e.prototype,t),n&&jS(e,n),e}function xc(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 Vet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zet(e,t){return t&&(Het(t)==="object"||typeof t=="function")?t:Let(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ov(e,t)}function Het(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 Lc=function(e){Vet(t,e);function t(n){jet(this,t);var o;o=Cet(this,t,[n]),xc(o,"props",void 0),o.props=new Pet(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new Fc,new Fc],o}return Net(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}(nt);xc(Lc,"excludes",[p.TAB]),xc(Lc,"controlEventKeys",["on_change_tab"]),xc(Lc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function qet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uet(e,t,n){return t=Cc(t),Get(e,VS()?Reflect.construct(t,n||[],Cc(e).constructor):t.apply(e,n))}function Wet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(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&&wv(e,t)}function Get(e,t){return t&&(Xet(t)==="object"||typeof t=="function")?t:qet(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(e,t)}function Xet(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 Qet=function(e){Ket(t,e);function t(n){return Wet(this,t),Uet(this,t,[n])}return t}(et);function Jet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zet(e,t,n){return t=jc(t),nnt(e,qS()?Reflect.construct(t,n||[],jc(e).constructor):t.apply(e,n))}function Yet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tnt(e,t,n){return t&&zS(e.prototype,t),n&&zS(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 jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(e)}function ent(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function nnt(e,t){return t&&(ont(t)==="object"||typeof t=="function")?t:Jet(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function ont(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 rnt=function(e){ent(t,e);function t(n){Yet(this,t);var o;return o=Zet(this,t,[n]),HS(o,"props",void 0),o.props=new Qet({}),o.children=(n==null?void 0:n.children)||[new Po({props:new $o({span:12})}),new Po({props:new $o({span:12})})],o}return tnt(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}(nt);HS(rnt,"excludes",[p.GRID_ROW,p.ROW,p.GRID,p.SUBTABLE,p.TAB,p.TOOLBOX]);function int(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=Nc(t),unt(e,US()?Reflect.construct(t,n||[],Nc(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 Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(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 unt(e,t){return t&&(lnt(t)==="object"||typeof t=="function")?t:int(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(e,t)}function lnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function US(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(US=function(){return!!e})()}var WS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(WS||(WS={}));var cnt=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}(Pe),ant=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 Kx(n==null?void 0:n.sublistPage);var a;o.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,o.joinRelation=new Xx(n==null?void 0:n.joinRelation);var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var y;o.selectionType=(y=n==null?void 0:n.selectionType)!==null&&y!==void 0?y:"multiple";var d;o.isFixedHeader=(d=n==null?void 0:n.isFixedHeader)!==null&&d!==void 0?d:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!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 b;return o.countLimit=(b=n==null?void 0:n.countLimit)!==null&&b!==void 0?b:1e5,o.rowStyle=new _M(n==null?void 0:n.rowStyle),o}return t}(et);H(So,"Rules",ant),H(So,"RuntimeRules",cnt);function fnt(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=Vc(t),dnt(e,GS()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function snt(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 ynt(e,t,n){return t&&KS(e.prototype,t),n&&KS(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 Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function pnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dnt(e,t){return t&&(vnt(t)==="object"||typeof t=="function")?t:fnt(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(e,t)}function vnt(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 Ro=function(e){pnt(t,e);function t(n){snt(this,t);var o;return o=_nt(this,t,[n]),To(o,"props",void 0),o.props=new So(n==null?void 0:n.props),o}return ynt(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}(nt);To(Ro,"slotPosition",{left:"list-view-left-slot"}),To(Ro,"excludes",[p.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 hnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bnt(e,t,n){return t=zc(t),$nt(e,QS()?Reflect.construct(t,n||[],zc(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 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 gnt(e,t,n){return t&&XS(e.prototype,t),n&&XS(e,n),e}function Ont(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 wnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function $nt(e,t){return t&&(Pnt(t)==="object"||typeof t=="function")?t:hnt(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(e,t)}function Pnt(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 Ent=function(e){wnt(t,e);function t(n){mnt(this,t);var o;return o=bnt(this,t,[n]),Ont(o,"props",void 0),o.props=new So(n==null?void 0:n.props),o}return gnt(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(Ee),Snt={Designer:Ro,Runtime:Ent,Property:So};function Tnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JS(e,t,n){return t=Hc(t),Rnt(e,tT()?Reflect.construct(t,n||[],Hc(e).constructor):t.apply(e,n))}function ZS(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 Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(e)}function YS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function Rnt(e,t){return t&&(Bnt(t)==="object"||typeof t=="function")?t:Tnt(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(e,t)}function Bnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tT=function(){return!!e})()}var Dnt=function(e){YS(t,e);function t(n){ZS(this,t);var o;return o=JS(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Pe),qc=function(e){YS(t,e);function t(n){ZS(this,t);var o;o=JS(this,t,[n]),ge(o,"save",void 0),ge(o,"cancel",void 0),ge(o,"saveAs",void 0),ge(o,"print",void 0),ge(o,"custom",void 0),ge(o,"isLoading",void 0),ge(o,"datasourceBind",void 0);var r;o.save=new fe((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 fe((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 fe((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 fe((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:f("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(_){return new fe(_)});var c;return o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return t}(et);ge(qc,"RuntimeRules",Dnt);function Ant(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Int(e,t,n){return t=Uc(t),Mnt(e,oT()?Reflect.construct(t,n||[],Uc(e).constructor):t.apply(e,n))}function knt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Fnt(e,t,n){return t&&eT(e.prototype,t),n&&eT(e,n),e}function nT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(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&&Av(e,t)}function Mnt(e,t){return t&&(Lnt(t)==="object"||typeof t=="function")?t:Ant(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Av(e,t)}function Lnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oT=function(){return!!e})()}var rT=function(e){xnt(t,e);function t(n){knt(this,t);var o;return o=Int(this,t,[n]),nT(o,"props",void 0),o.props=new qc(n==null?void 0:n.props),o}return Fnt(t,null,[{key:"controlName",get:function(){return f("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}},{key:"controlType",get:function(){return"data-view"}}]),t}(nt);nT(rT,"excludes",[]);function Cnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jnt(e,t,n){return t=Wc(t),qnt(e,uT()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function Nnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Vnt(e,t,n){return t&&iT(e.prototype,t),n&&iT(e,n),e}function znt(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 Hnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qnt(e,t){return t&&(Unt(t)==="object"||typeof t=="function")?t:Cnt(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(e,t)}function Unt(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 Wnt=function(e){Hnt(t,e);function t(n){Nnt(this,t);var o;return o=jnt(this,t,[n]),znt(o,"props",void 0),o.props=new qc(n==null?void 0:n.props),o}return Vnt(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(Ee),Knt={Designer:rT,Runtime:Wnt,Property:qc};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=Kc(t),Znt(e,lT()?Reflect.construct(t,n||[],Kc(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 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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(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&&Fv(e,t)}function Znt(e,t){return t&&(Ynt(t)==="object"||typeof t=="function")?t:Gnt(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(e,t)}function Ynt(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 tot=function(e){Jnt(t,e);function t(n){Qnt(this,t);var o;o=Xnt(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}(et);function eot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function not(e,t,n){return t=Xc(t),uot(e,aT()?Reflect.construct(t,n||[],Xc(e).constructor):t.apply(e,n))}function oot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rot(e,t,n){return t&&cT(e.prototype,t),n&&cT(e,n),e}function Gc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(e)}function 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 uot(e,t){return t&&(lot(t)==="object"||typeof t=="function")?t:eot(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function lot(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aT=function(){return!!e})()}var Mv=function(e){iot(t,e);function t(n){oot(this,t);var o;o=not(this,t,[n]),Gc(o,"props",void 0);var r;return o.props=new tot((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return rot(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}(nt);Gc(Mv,"slotPosition",{default:"action-bar-slot"}),Gc(Mv,"excludes",[]),Gc(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 cot(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=Qc(t),aot(e,fT()?Reflect.construct(t,n||[],Qc(e).constructor):t.apply(e,n))}function Cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(e)}function jv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aot(e,t){return t&&(fot(t)==="object"||typeof t=="function")?t:cot(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(e,t)}function fot(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 _ot=function(e){jv(t,e);function t(n){Cv(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),sot=function(e){jv(t,e);function t(n){Cv(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}(Pe),Vv=function(e){jv(t,e);function t(n,o){Cv(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:Yc.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var l;r.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var c;r.openType=(c=o==null?void 0:o.openType)!==null&&c!==void 0?c:"default";var _;r.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var y;r.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:tj;var m;r.printMode=(m=o==null?void 0:o.printMode)!==null&&m!==void 0?m:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var b;r.maxRows=(b=o==null?void 0:o.maxRows)!==null&&b!==void 0?b: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 v;r.canAdd=(v=o==null?void 0:o.canAdd)!==null&&v!==void 0?v:!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 S;r.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!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 Wt;r.captionTip=(Wt=o==null?void 0:o.captionTip)!==null&&Wt!==void 0?Wt:"";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 Me;r.dataStorageDoc=(Me=o==null?void 0:o.dataStorageDoc)!==null&&Me!==void 0?Me:new Hx;var Kt;r.fixedColumn=(Kt=o==null?void 0:o.fixedColumn)!==null&&Kt!==void 0?Kt:[];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 Z7(o==null?void 0:o.importConfig),r.exportConfig=new Y7(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",_ot),B(Vv,"RuntimeRules",sot);function yot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pot(e,t,n){return t=Zc(t),bot(e,sT()?Reflect.construct(t,n||[],Zc(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 _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 vot(e,t,n){return t&&_T(e.prototype,t),n&&_T(e,n),e}function Jc(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 hot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bot(e,t){return t&&(mot(t)==="object"||typeof t=="function")?t:yot(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zv(e,t)}function mot(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 Yc=function(e){hot(t,e);function t(n){dot(this,t);var o,r;return o=pot(this,t,[n]),Jc(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 jt,new jt,new jt]),o}return vot(t,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new jt,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_);Jc(Yc,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Jc(Yc,"slotPosition",{toolbar:"subtable-toolbar-slot"}),Jc(Yc,"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 got(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oot(e,t,n){return t=ta(t),Pot(e,yT()?Reflect.construct(t,n||[],ta(e).constructor):t.apply(e,n))}function wot(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 ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(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&&Hv(e,t)}function Pot(e,t){return t&&(Eot(t)==="object"||typeof t=="function")?t:got(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(e,t)}function Eot(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 Sot=function(e){$ot(t,e);function t(n,o){wot(this,t);var r;r=Oot(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 a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var c;return r.pageSizeOptions=(c=o==null?void 0:o.pageSizeOptions)!==null&&c!==void 0?c:[10,20,50,100,500],r}return t}(n_);function Tot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pT(e,t,n){return t=ea(t),Bot(e,hT()?Reflect.construct(t,n||[],ea(e).constructor):t.apply(e,n))}function dT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rot(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 vT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function Bot(e,t){return t&&(Dot(t)==="object"||typeof t=="function")?t:Tot(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(e,t)}function Dot(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 Aot=function(e){vT(t,e);function t(n){dT(this,t);var o;return o=pT(this,t,[n]),o.caption.required=!1,o}return t}(Zt),Uv=function(e){vT(t,e);function t(n){dT(this,t);var o,r,i;o=pT(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 a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var c;o.autoWidth.minWidth=(c=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&c!==void 0?c:60;var _;o.autoWidth.flex=(_=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&_!==void 0?_:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return t}(K);Rot(Uv,"Rules",Aot);function Iot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kot(e,t,n){return t=na(t),Mot(e,bT()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function Fot(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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(e)}function xot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mot(e,t){return t&&(Lot(t)==="object"||typeof t=="function")?t:Iot(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wv(e,t)}function Lot(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 sn=function(e){xot(t,e);function t(n){Fot(this,t);var o;return o=kot(this,t,[n]),Do(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return t}(rt);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 Cot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jot(e,t,n){return t=oa(t),zot(e,mT()?Reflect.construct(t,n||[],oa(e).constructor):t.apply(e,n))}function Not(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 oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(e)}function Vot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function zot(e,t){return t&&(Hot(t)==="object"||typeof t=="function")?t:Cot(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(e,t)}function Hot(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 gT=function(e){Vot(t,e);function t(n){Not(this,t);var o;return o=jot(this,t,[n]),Kv(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return t}(it);Kv(gT,"controlType","order-column"),Kv(gT,"controlFieldType",g.DECIMAL);function qot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uot(e,t,n){return t=ra(t),Got(e,wT()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function Wot(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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(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&&Xv(e,t)}function Got(e,t){return t&&(Xot(t)==="object"||typeof t=="function")?t:qot(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(e,t)}function Xot(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 $T=function(e){Kot(t,e);function t(n){Wot(this,t);var o,r;o=Uot(this,t,[n]),OT(o,"showType",void 0),OT(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 a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var c;return o.limit=(c=n==null?void 0:n.limit)!==null&&c!==void 0?c:3,o}return t}(K);function Qot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PT(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function Jot(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){PT(i,o,r,u,l,"next",a)}function l(a){PT(i,o,r,u,l,"throw",a)}u(void 0)})}}function Zot(e,t,n){return t=Ie(t),nrt(e,ST()?Reflect.construct(t,n||[],Ie(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 ET(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function trt(e,t,n){return t&&ET(e.prototype,t),n&&ET(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=ort(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Io(e,t,n||e)}function Ie(e){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(e)}function ert(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nrt(e,t){return t&&(rrt(t)==="object"||typeof t=="function")?t:Qot(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(e,t)}function ort(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ie(e),e!==null););return e}function rrt(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})()}function irt(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(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,o=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){u=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){u.label=c[1];break}if(c[0]===6&&u.label<r[1]){u.label=r[1],r=c;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(c);break}r[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var yn=function(e){ert(t,e);function t(n){Yot(this,t);var o;return o=Zot(this,t,[n]),Ao(o,"props",void 0),o.props=new $T(n==null?void 0:n.props),o}return trt(t,[{key:"toDataBindModel",value:function(){var o=Io(Ie(t.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===bi.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(Ie(t.prototype),"validate",i)};return Jot(function(){return irt(this,function(a){switch(a.label){case 0:return[4,l().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(c){return c.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}]),t}(rt);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 urt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lrt(e,t,n){return t=ia(t),frt(e,TT()?Reflect.construct(t,n||[],ia(e).constructor):t.apply(e,n))}function crt(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 ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(e)}function art(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 frt(e,t){return t&&(_rt(t)==="object"||typeof t=="function")?t:urt(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(e,t)}function _rt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TT=function(){return!!e})()}var RT=function(e){art(t,e);function t(n){crt(this,t);var o;return o=lrt(this,t,[n]),Jv(o,"props",void 0),o.props=new $T(n==null?void 0:n.props),o}return t}(it);Jv(RT,"controlType","operation-column"),Jv(RT,"controlFieldType",g.FILE);function srt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BT(e,t,n,o,r,i,u){try{var l=e[i](u),a=l.value}catch(c){n(c);return}l.done?t(a):Promise.resolve(a).then(o,r)}function yrt(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){BT(i,o,r,u,l,"next",a)}function l(a){BT(i,o,r,u,l,"throw",a)}u(void 0)})}}function prt(e,t,n){return t=ke(t),wrt(e,AT()?Reflect.construct(t,n||[],ke(e).constructor):t.apply(e,n))}function drt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vrt(e,t,n){return t&&DT(e.prototype,t),n&&DT(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 ko(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ko=Reflect.get:ko=function(r,i,u){var l=$rt(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ko(e,t,n||e)}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(e)}function hrt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 brt(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function mrt(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){re(e,r,n[r])})}return e}function grt(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 Ort(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):grt(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function wrt(e,t){return t&&(Prt(t)==="object"||typeof t=="function")?t:srt(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(e,t)}function $rt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ke(e),e!==null););return e}function Prt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AT=function(){return!!e})()}function Ert(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(c){return function(_){return a([c,_])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=c[0]&2?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,o=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){u=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){u.label=c[1];break}if(c[0]===6&&u.label<r[1]){u.label=r[1],r=c;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(c);break}r[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(_){c=[6,_],o=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Srt=1e4,ua=function(t){hrt(n,t);function n(o){drt(this,n);var r;r=prt(this,n,[o]),re(r,"props",void 0),re(r,"children",void 0),re(r,"excludes",void 0),re(r,"childrenMaxLength",void 0);var i=brt(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new Sot(r,o==null?void 0:o.props),Gt(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=kt(u),r.childrenMaxLength=l,r}return vrt(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(ke(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return Ort(mrt({},r),{children:i})}},{key:"validate",value:function(r,i){var u=this,l=this,a=function(){return ko(ke(n.prototype),"validate",u)};return yrt(function(){return Ert(this,function(c){switch(c.label){case 0:return[4,a().call(l,r,i)];case 1:return c.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(r,i)}))];case 2:return c.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_);re(ua,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),re(ua,"setting",[{key:"list-fixed-header",visible:!0}]),re(ua,"excludes",[]),re(ua,"childrenMaxLength",Srt);function Trt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IT(e,t,n){return t=la(t),Rrt(e,xT()?Reflect.construct(t,n||[],la(e).constructor):t.apply(e,n))}function kT(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 la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(e)}function FT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rrt(e,t){return t&&(Brt(t)==="object"||typeof t=="function")?t:Trt(e)}function th(e,t){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(e,t)}function Brt(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 Drt=function(e){FT(t,e);function t(n){kT(this,t);var o;return o=IT(this,t,[n]),de.call(o,n),o}return t}(f_),eh=function(e){FT(t,e);function t(n){kT(this,t);var o;o=IT(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,"lineEllipsis",void 0),Oe(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=Qt((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 Xt(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var c;return o.dictionaryTagConfig=(c=n==null?void 0:n.dictionaryTagConfig)!==null&&c!==void 0?c:{isTag:!1},o}return t}(K);Oe(eh,"Rules",Drt);function Art(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=ca(t),xrt(e,MT()?Reflect.construct(t,n||[],ca(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 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 ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(e)}function Frt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xrt(e,t){return t&&(Mrt(t)==="object"||typeof t=="function")?t:Art(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(e,t)}function Mrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MT=function(){return!!e})()}var dn=function(e){Frt(t,e);function t(n){krt(this,t);var o;return o=Irt(this,t,[n]),pn(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return t}(rt);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 Lrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Crt(e,t,n){return t=aa(t),Vrt(e,LT()?Reflect.construct(t,n||[],aa(e).constructor):t.apply(e,n))}function jrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(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&&rh(e,t)}function Vrt(e,t){return t&&(zrt(t)==="object"||typeof t=="function")?t:Lrt(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(e,t)}function zrt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LT=function(){return!!e})()}var CT=function(e){Nrt(t,e);function t(n){jrt(this,t);var o;return o=Crt(this,t,[n]),oh(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return t}(it);oh(CT,"controlType","varchar-column"),oh(CT,"controlFieldType",g.VARCHAR);function Hrt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t,n){return t=fa(t),qrt(e,zT()?Reflect.construct(t,n||[],fa(e).constructor):t.apply(e,n))}function NT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(e)}function VT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function qrt(e,t){return t&&(Urt(t)==="object"||typeof t=="function")?t:Hrt(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(e,t)}function Urt(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 Wrt=function(e){VT(t,e);function t(n){NT(this,t);var o;return o=jT(this,t,[n]),de.call(o,n),o}return t}(Zt),uh=function(e){VT(t,e);function t(n){NT(this,t);var o;o=jT(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 Xt(n==null?void 0:n.linkOperationOption),o}return t}(K);Fo(uh,"Rules",Wrt);function Krt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Grt(e,t,n){return t=hn(t),Zrt(e,qT()?Reflect.construct(t,n||[],hn(e).constructor):t.apply(e,n))}function Xrt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qrt(e,t,n){return t&&HT(e.prototype,t),n&&HT(e,n),e}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?_a=Reflect.get:_a=function(r,i,u){var l=Yrt(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},_a(e,t,n||e)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(e)}function 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&&lh(e,t)}function Zrt(e,t){return t&&(tit(t)==="object"||typeof t=="function")?t:Krt(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(e,t)}function Yrt(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hn(e),e!==null););return e}function tit(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 bn=function(e){Jrt(t,e);function t(n){Xrt(this,t);var o;return o=Grt(this,t,[n]),vn(o,"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return Qrt(t,[{key:"toDataBindModel",value:function(o){var r=_a(hn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(rt);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 eit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nit(e,t,n){return t=sa(t),iit(e,UT()?Reflect.construct(t,n||[],sa(e).constructor):t.apply(e,n))}function oit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(e)}function rit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iit(e,t){return t&&(uit(t)==="object"||typeof t=="function")?t:eit(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(e,t)}function uit(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UT=function(){return!!e})()}var WT=function(e){rit(t,e);function t(n){oit(this,t);var o;return o=nit(this,t,[n]),ch(o,"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return t}(it);ch(WT,"controlType","text-column"),ch(WT,"controlFieldType",g.TEXT);function lit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KT(e,t,n){return t=ya(t),cit(e,QT()?Reflect.construct(t,n||[],ya(e).constructor):t.apply(e,n))}function GT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(e)}function XT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function cit(e,t){return t&&(ait(t)==="object"||typeof t=="function")?t:lit(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(e,t)}function ait(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 fit=function(e){XT(t,e);function t(n){GT(this,t);var o;return o=KT(this,t,[n]),de.call(o,n),o}return t}(f_),_h=function(e){XT(t,e);function t(n){GT(this,t);var o;o=KT(this,t,[n]),ie(o,"optionConfig",void 0),ie(o,"datasourceBind",void 0),ie(o,"showLinkOperation",void 0),ie(o,"linkOperationOption",void 0),ie(o,"options",void 0),ie(o,"precision",void 0),ie(o,"micrometer",void 0),ie(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 a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.options=Qt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(K);ie(_h,"Rules",fit);function _it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sit(e,t,n){return t=gn(t),vit(e,ZT()?Reflect.construct(t,n||[],gn(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 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 pit(e,t,n){return t&&JT(e.prototype,t),n&&JT(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 pa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?pa=Reflect.get:pa=function(r,i,u){var l=hit(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},pa(e,t,n||e)}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(e)}function dit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function vit(e,t){return t&&(bit(t)==="object"||typeof t=="function")?t:_it(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(e,t)}function hit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gn(e),e!==null););return e}function bit(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 On=function(e){dit(t,e);function t(n){yit(this,t);var o;return o=sit(this,t,[n]),mn(o,"props",void 0),o.props=new _h(n==null?void 0:n.props),o}return pit(t,[{key:"toDataBindModel",value:function(o){var r=pa(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}(rt);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 mit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function git(e,t,n){return t=da(t),$it(e,YT()?Reflect.construct(t,n||[],da(e).constructor):t.apply(e,n))}function Oit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(e)}function wit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $it(e,t){return t&&(Pit(t)==="object"||typeof t=="function")?t:mit(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(e,t)}function Pit(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){wit(t,e);function t(n){Oit(this,t);var o;return o=git(this,t,[n]),yh(o,"props",void 0),o.props=new _h(n==null?void 0:n.props),o}return t}(it);yh(tR,"controlType","decimal-column"),yh(tR,"controlFieldType",g.DECIMAL);function Eit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eR(e,t,n){return t=ha(t),Sit(e,rR()?Reflect.construct(t,n||[],ha(e).constructor):t.apply(e,n))}function nR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function va(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 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&&dh(e,t)}function Sit(e,t){return t&&(Tit(t)==="object"||typeof t=="function")?t:Eit(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(e,t)}function Tit(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 Rit=function(e){oR(t,e);function t(n){nR(this,t);var o;return o=eR(this,t,[n]),de.call(o,n),o}return t}(Zt),vh=function(e){oR(t,e);function t(n){nR(this,t);var o;o=eR(this,t,[n]),va(o,"dateType",void 0),va(o,"showLinkOperation",void 0),va(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:ue.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(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);va(vh,"Rules",Rit);function Bit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dit(e,t,n){return t=$n(t),Fit(e,uR()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}function Ait(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Iit(e,t,n){return t&&iR(e.prototype,t),n&&iR(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 ba(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ba=Reflect.get:ba=function(r,i,u){var l=xit(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},ba(e,t,n||e)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(e)}function kit(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function Fit(e,t){return t&&(Mit(t)==="object"||typeof t=="function")?t:Bit(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(e,t)}function xit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$n(e),e!==null););return e}function Mit(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 Pn=function(e){kit(t,e);function t(n){Ait(this,t);var o;return o=Dit(this,t,[n]),wn(o,"props",void 0),o.props=new vh(n==null?void 0:n.props),o}return Iit(t,[{key:"toDataBindModel",value:function(o){var r=ba($n(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(rt);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 Lit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cit(e,t,n){return t=ma(t),Vit(e,lR()?Reflect.construct(t,n||[],ma(e).constructor):t.apply(e,n))}function jit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(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&&mh(e,t)}function Vit(e,t){return t&&(zit(t)==="object"||typeof t=="function")?t:Lit(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(e,t)}function zit(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 cR=function(e){Nit(t,e);function t(n){jit(this,t);var o;return o=Cit(this,t,[n]),bh(o,"props",void 0),o.props=new vh(n==null?void 0:n.props),o}return t}(it);bh(cR,"controlType","timescope-column"),bh(cR,"controlFieldType",g.TIMESCOPE);function Hit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aR(e,t,n){return t=Oa(t),qit(e,sR()?Reflect.construct(t,n||[],Oa(e).constructor):t.apply(e,n))}function fR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(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&&gh(e,t)}function qit(e,t){return t&&(Uit(t)==="object"||typeof t=="function")?t:Hit(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(e,t)}function Uit(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 Wit=function(e){_R(t,e);function t(n){fR(this,t);var o;return o=aR(this,t,[n]),de.call(o,n),o}return t}(Zt),Oh=function(e){_R(t,e);function t(n){fR(this,t);var o;o=aR(this,t,[n]),ga(o,"dateType",void 0),ga(o,"showLinkOperation",void 0),ga(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:ue.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(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);ga(Oh,"Rules",Wit);function Kit(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Git(e,t,n){return t=Sn(t),Zit(e,pR()?Reflect.construct(t,n||[],Sn(e).constructor):t.apply(e,n))}function Xit(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qit(e,t,n){return t&&yR(e.prototype,t),n&&yR(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 wa(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?wa=Reflect.get:wa=function(r,i,u){var l=Yit(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},wa(e,t,n||e)}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(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&&wh(e,t)}function Zit(e,t){return t&&(tut(t)==="object"||typeof t=="function")?t:Kit(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(e,t)}function Yit(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sn(e),e!==null););return e}function tut(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 Tn=function(e){Jit(t,e);function t(n){Xit(this,t);var o;return o=Git(this,t,[n]),En(o,"props",void 0),o.props=new Oh(n==null?void 0:n.props),o}return Qit(t,[{key:"toDataBindModel",value:function(o){var r=wa(Sn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(rt);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 eut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nut(e,t,n){return t=$a(t),iut(e,dR()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function out(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(e)}function rut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function iut(e,t){return t&&(uut(t)==="object"||typeof t=="function")?t:eut(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(e,t)}function uut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dR=function(){return!!e})()}var vR=function(e){rut(t,e);function t(n){out(this,t);var o;return o=nut(this,t,[n]),$h(o,"props",void 0),o.props=new Oh(n==null?void 0:n.props),o}return t}(it);$h(vR,"controlType","timestamp-column"),$h(vR,"controlFieldType",g.TIMESTAMP);function lut(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=Pa(t),cut(e,gR()?Reflect.construct(t,n||[],Pa(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 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 Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(e)}function mR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cut(e,t){return t&&(aut(t)==="object"||typeof t=="function")?t:lut(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(e,t)}function aut(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 fut=function(e){mR(t,e);function t(n){bR(this,t);var o;return o=hR(this,t,[n]),de.call(o,n),o}return t}(f_),Sh=function(e){mR(t,e);function t(n){bR(this,t);var o;o=hR(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 Xt(n==null?void 0:n.linkOperationOption);var l;return o.options=Qt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return t}(K);Rn(Sh,"Rules",fut);function _ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sut(e,t,n){return t=Ea(t),dut(e,OR()?Reflect.construct(t,n||[],Ea(e).constructor):t.apply(e,n))}function yut(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 Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(e)}function put(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function dut(e,t){return t&&(vut(t)==="object"||typeof t=="function")?t:_ut(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(e,t)}function vut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OR=function(){return!!e})()}var Dn=function(e){put(t,e);function t(n){yut(this,t);var o;return o=sut(this,t,[n]),Bn(o,"props",void 0),o.props=new Sh(n==null?void 0:n.props),o}return t}(rt);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 hut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function but(e,t,n){return t=Sa(t),Out(e,wR()?Reflect.construct(t,n||[],Sa(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 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 Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(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&&Bh(e,t)}function Out(e,t){return t&&(wut(t)==="object"||typeof t=="function")?t:hut(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(e,t)}function wut(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){gut(t,e);function t(n){mut(this,t);var o;return o=but(this,t,[n]),Rh(o,"props",void 0),o.props=new Sh(n==null?void 0:n.props),o}return t}(it);Rh($R,"controlType","array-column"),Rh($R,"controlFieldType",g.ARRAY);function $ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Put(e,t,n){return t=Ta(t),Rut(e,PR()?Reflect.construct(t,n||[],Ta(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 Sut(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 Tut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rut(e,t){return t&&(But(t)==="object"||typeof t=="function")?t:$ut(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(e,t)}function But(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PR=function(){return!!e})()}var ER=function(e){Tut(t,e);function t(n){Eut(this,t);var o;o=Put(this,t,[n]),Sut(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 Dut(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=In(t),xut(e,TR()?Reflect.construct(t,n||[],In(e).constructor):t.apply(e,n))}function Iut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SR(e,t){for(var n=0;n<t.length;n++){var 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&&SR(e.prototype,t),n&&SR(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 Ra(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ra=Reflect.get:Ra=function(r,i,u){var l=Mut(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ra(e,t,n||e)}function In(e){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(e)}function Fut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function xut(e,t){return t&&(Lut(t)==="object"||typeof t=="function")?t:Dut(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(e,t)}function Mut(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=In(e),e!==null););return e}function Lut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TR=function(){return!!e})()}var kn=function(e){Fut(t,e);function t(n){Iut(this,t);var o;return o=Aut(this,t,[n]),An(o,"props",void 0),o.props=new ER(n==null?void 0:n.props),o}return kut(t,[{key:"toDataBindModel",value:function(o){var r=Ra(In(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(rt);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 Cut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jut(e,t,n){return t=Ba(t),zut(e,RR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function Nut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(e)}function Vut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function zut(e,t){return t&&(Hut(t)==="object"||typeof t=="function")?t:Cut(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(e,t)}function Hut(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RR=function(){return!!e})()}var BR=function(e){Vut(t,e);function t(n){Nut(this,t);var o;return o=jut(this,t,[n]),Ih(o,"props",void 0),o.props=new ER(n==null?void 0:n.props),o}return t}(it);Ih(BR,"controlType","department-column"),Ih(BR,"controlFieldType",g.DEPARTMENTS);function qut(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=Da(t),Uut(e,kR()?Reflect.construct(t,n||[],Da(e).constructor):t.apply(e,n))}function AR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(e)}function IR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function Uut(e,t){return t&&(Wut(t)==="object"||typeof t=="function")?t:qut(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xh(e,t)}function Wut(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 Kut=function(e){IR(t,e);function t(n){AR(this,t);var o;return o=DR(this,t,[n]),de.call(o,n),o}return t}(Zt),Mh=function(e){IR(t,e);function t(n){AR(this,t);var o;o=DR(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 Xt(n==null?void 0:n.linkOperationOption),o}return t}(K);Fh(Mh,"Rules",Kut);function Gut(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=Aa(t),Zut(e,FR()?Reflect.construct(t,n||[],Aa(e).constructor):t.apply(e,n))}function Qut(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 Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(e)}function Jut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function Zut(e,t){return t&&(Yut(t)==="object"||typeof t=="function")?t:Gut(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(e,t)}function Yut(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 xn=function(e){Jut(t,e);function t(n){Qut(this,t);var o;return o=Xut(this,t,[n]),Fn(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return t}(rt);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 tlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function elt(e,t,n){return t=Ia(t),rlt(e,xR()?Reflect.construct(t,n||[],Ia(e).constructor):t.apply(e,n))}function nlt(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 Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(e)}function olt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rlt(e,t){return t&&(ilt(t)==="object"||typeof t=="function")?t:tlt(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(e,t)}function ilt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xR=function(){return!!e})()}var MR=function(e){olt(t,e);function t(n){nlt(this,t);var o;return o=elt(this,t,[n]),Ch(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return t}(it);Ch(MR,"controlType","auto-number-column"),Ch(MR,"controlFieldType",g.AUTO_NUMBER);function ult(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function llt(e,t,n){return t=ka(t),_lt(e,LR()?Reflect.construct(t,n||[],ka(e).constructor):t.apply(e,n))}function clt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function alt(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 flt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _lt(e,t){return t&&(slt(t)==="object"||typeof t=="function")?t:ult(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(e,t)}function slt(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 CR=function(e){flt(t,e);function t(n){clt(this,t);var o;o=llt(this,t,[n]),alt(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 ylt(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=Fa(t),hlt(e,jR()?Reflect.construct(t,n||[],Fa(e).constructor):t.apply(e,n))}function dlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(e)}function vlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function hlt(e,t){return t&&(blt(t)==="object"||typeof t=="function")?t:ylt(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vh(e,t)}function blt(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 Ln=function(e){vlt(t,e);function t(n){dlt(this,t);var o;return o=plt(this,t,[n]),Mn(o,"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return t}(rt);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 mlt(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=xa(t),$lt(e,NR()?Reflect.construct(t,n||[],xa(e).constructor):t.apply(e,n))}function Olt(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 wlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function $lt(e,t){return t&&(Plt(t)==="object"||typeof t=="function")?t:mlt(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(e,t)}function Plt(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){wlt(t,e);function t(n){Olt(this,t);var o;return o=glt(this,t,[n]),zh(o,"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return t}(it);zh(VR,"controlType","file-column"),zh(VR,"controlFieldType",g.FILE);function Elt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Slt(e,t,n){return t=Ma(t),Blt(e,zR()?Reflect.construct(t,n||[],Ma(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 Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(e)}function Rlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Blt(e,t){return t&&(Dlt(t)==="object"||typeof t=="function")?t:Elt(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(e,t)}function Dlt(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 HR=function(e){Rlt(t,e);function t(n){Tlt(this,t);var o;o=Slt(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}(K);function Alt(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=La(t),xlt(e,qR()?Reflect.construct(t,n||[],La(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 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 La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(e)}function Flt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xlt(e,t){return t&&(Mlt(t)==="object"||typeof t=="function")?t:Alt(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uh(e,t)}function Mlt(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 jn=function(e){Flt(t,e);function t(n){klt(this,t);var o;return o=Ilt(this,t,[n]),Cn(o,"props",void 0),o.props=new HR(n==null?void 0:n.props),o}return t}(rt);Cn(jn,"controlType","image-column"),Cn(jn,"controlName",f("CMD.image",null,"\u56FE\u7247")),Cn(jn,"controlIcon","image-column"),Cn(jn,"controlFieldType",g.IMAGE),Cn(jn,"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 Llt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Clt(e,t,n){return t=Ca(t),Vlt(e,UR()?Reflect.construct(t,n||[],Ca(e).constructor):t.apply(e,n))}function jlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ca(e)}function Nlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function Vlt(e,t){return t&&(zlt(t)==="object"||typeof t=="function")?t:Llt(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(e,t)}function zlt(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){Nlt(t,e);function t(n){jlt(this,t);var o;return o=Clt(this,t,[n]),Wh(o,"props",void 0),o.props=new HR(n==null?void 0:n.props),o}return t}(it);Wh(WR,"controlType","image-column"),Wh(WR,"controlFieldType",g.IMAGE);function Hlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qlt(e,t,n){return t=ja(t),Klt(e,KR()?Reflect.construct(t,n||[],ja(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 ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(e)}function Wlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function Klt(e,t){return t&&(Glt(t)==="object"||typeof t=="function")?t:Hlt(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(e,t)}function Glt(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 GR=function(e){Wlt(t,e);function t(n){Ult(this,t);var o;o=qlt(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 Xlt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qlt(e,t,n){return t=Na(t),Ylt(e,XR()?Reflect.construct(t,n||[],Na(e).constructor):t.apply(e,n))}function Jlt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Na(e)}function Zlt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function Ylt(e,t){return t&&(tct(t)==="object"||typeof t=="function")?t:Xlt(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(e,t)}function tct(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 Vn=function(e){Zlt(t,e);function t(n){Jlt(this,t);var o;return o=Qlt(this,t,[n]),Nn(o,"props",void 0),o.props=new GR(n==null?void 0:n.props),o}return t}(rt);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 ect(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nct(e,t,n){return t=Va(t),ict(e,QR()?Reflect.construct(t,n||[],Va(e).constructor):t.apply(e,n))}function oct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Va(e)}function rct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function ict(e,t){return t&&(uct(t)==="object"||typeof t=="function")?t:ect(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jh(e,t)}function uct(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){rct(t,e);function t(n){oct(this,t);var o;return o=nct(this,t,[n]),Qh(o,"props",void 0),o.props=new GR(n==null?void 0:n.props),o}return t}(it);Qh(JR,"controlType","people-column"),Qh(JR,"controlFieldType",g.EMPLOYEES);function lct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZR(e,t,n){return t=za(t),cct(e,eB()?Reflect.construct(t,n||[],za(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 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 za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},za(e)}function tB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cct(e,t){return t&&(act(t)==="object"||typeof t=="function")?t:lct(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(e,t)}function act(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 fct=function(e){tB(t,e);function t(n){YR(this,t);var o;return o=ZR(this,t,[n]),de.call(o,n),o}return t}(Zt),t0=function(e){tB(t,e);function t(n){YR(this,t);var o;o=ZR(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 Xt(n==null?void 0:n.linkOperationOption),o}return t}(K);Zh(t0,"Rules",fct);function _ct(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=Ha(t),dct(e,nB()?Reflect.construct(t,n||[],Ha(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 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 Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ha(e)}function pct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dct(e,t){return t&&(vct(t)==="object"||typeof t=="function")?t:_ct(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(e,t)}function vct(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 Hn=function(e){pct(t,e);function t(n){yct(this,t);var o;return o=sct(this,t,[n]),zn(o,"props",void 0),o.props=new t0(n==null?void 0:n.props),o}return t}(rt);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 hct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bct(e,t,n){return t=qa(t),Oct(e,oB()?Reflect.construct(t,n||[],qa(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 n0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qa(e)}function gct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Oct(e,t){return t&&(wct(t)==="object"||typeof t=="function")?t:hct(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o0(e,t)}function wct(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 rB=function(e){gct(t,e);function t(n){mct(this,t);var o;return o=bct(this,t,[n]),n0(o,"props",void 0),o.props=new t0(n==null?void 0:n.props),o}return t}(it);n0(rB,"controlType","location-column"),n0(rB,"controlFieldType",g.ADDRESS);function $ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iB(e,t,n){return t=Wa(t),Pct(e,cB()?Reflect.construct(t,n||[],Wa(e).constructor):t.apply(e,n))}function uB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ua(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 lB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pct(e,t){return t&&(Ect(t)==="object"||typeof t=="function")?t:$ct(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r0(e,t)}function Ect(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 Sct=function(e){lB(t,e);function t(n){uB(this,t);var o;return o=iB(this,t,[n]),Ua(o,"sortFieldCode",{type:"string",message:f("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return t}(Zt),i0=function(e){lB(t,e);function t(n){uB(this,t);var o;o=iB(this,t,[n]),Ua(o,"fieldCodeList",void 0),Ua(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:we.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);Ua(i0,"Rules",Sct);function Tct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rct(e,t,n){return t=qn(t),kct(e,fB()?Reflect.construct(t,n||[],qn(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 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 Dct(e,t,n){return t&&aB(e.prototype,t),n&&aB(e,n),e}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ka(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ka=Reflect.get:Ka=function(r,i,u){var l=Fct(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(u||r):a.value}},Ka(e,t,n||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(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&&u0(e,t)}function Ict(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function kct(e,t){return t&&(xct(t)==="object"||typeof t=="function")?t:Tct(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u0(e,t)}function Fct(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function xct(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 Mct=1,we=function(t){Act(n,t);function n(o){Bct(this,n);var r;r=Rct(this,n,[o]),Nt(r,"excludes",void 0),Nt(r,"childrenMaxLength",void 0),Nt(r,"props",void 0),Nt(r,"children",void 0);var i=Ict(this,n)?this.constructor:void 0,u=i.excludes,l=i.childrenMaxLength;return r.props=new i0(o==null?void 0:o.props),Gt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=kt(u),r.childrenMaxLength=l,r}return Dct(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=Ka(qn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(rt);Nt(we,"controlType","custom-column"),Nt(we,"controlName",f("CMD.custom",null,"\u81EA\u5B9A\u4E49")),Nt(we,"controlIcon","custom-column"),Nt(we,"slots",["column-column-slot"]),Nt(we,"excludes",[]),Nt(we,"childrenMaxLength",Mct),Nt(we,"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 Lct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cct(e,t,n){return t=Ga(t),Vct(e,_B()?Reflect.construct(t,n||[],Ga(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 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 Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ga(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&&c0(e,t)}function Vct(e,t){return t&&(zct(t)==="object"||typeof t=="function")?t:Lct(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(e,t)}function zct(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 Hct=function(e){Nct(t,e);function t(n){jct(this,t);var o;return o=Cct(this,t,[n]),l0(o,"props",void 0),l0(o,"children",void 0),o.props=new i0(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(it);l0(Hct,"controlType","custom-column");function qct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uct(e,t,n){return t=Xa(t),Xct(e,sB()?Reflect.construct(t,n||[],Xa(e).constructor):t.apply(e,n))}function Wct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kct(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 Gct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function Xct(e,t){return t&&(Qct(t)==="object"||typeof t=="function")?t:qct(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a0(e,t)}function Qct(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 yB=function(e){Gct(t,e);function t(n){Wct(this,t);var o;o=Uct(this,t,[n]),Kct(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 Ho((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Fe.controlCustomAttributes}),o}return t}(K);function Jct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zct(e,t,n){return t=Qa(t),nat(e,dB()?Reflect.construct(t,n||[],Qa(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 pB(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tat(e,t,n){return t&&pB(e.prototype,t),n&&pB(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 Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qa(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&&f0(e,t)}function nat(e,t){return t&&(oat(t)==="object"||typeof t=="function")?t:Jct(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f0(e,t)}function oat(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dB=function(){return!!e})()}var Fe=function(e){eat(t,e);function t(n){Yct(this,t);var o;return o=Zct(this,t,[n]),Un(o,"props",void 0),o.props=new yB(n==null?void 0:n.props),o}return tat(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(rt);Un(Fe,"controlType","employee-column"),Un(Fe,"controlName",f("CMD.employee",null,"\u4EBA\u5458")),Un(Fe,"controlIcon","employee-column"),Un(Fe,"controlFieldType",g.EMPLOYEES),Un(Fe,"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 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=Ja(t),cat(e,vB()?Reflect.construct(t,n||[],Ja(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 _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 Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ja(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&&s0(e,t)}function cat(e,t){return t&&(aat(t)==="object"||typeof t=="function")?t:rat(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s0(e,t)}function aat(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){lat(t,e);function t(n){uat(this,t);var o;return o=iat(this,t,[n]),_0(o,"props",void 0),o.props=new yB(n==null?void 0:n.props),o}return t}(it);_0(hB,"controlType","employee-column"),_0(hB,"controlFieldType",g.EMPLOYEES);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=Za(t),pat(e,bB()?Reflect.construct(t,n||[],Za(e).constructor):t.apply(e,n))}function sat(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 Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Za(e)}function yat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pat(e,t){return t&&(dat(t)==="object"||typeof t=="function")?t:fat(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p0(e,t)}function dat(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 mB=function(e){yat(t,e);function t(n){sat(this,t);var o;o=_at(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 Xt(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 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=Ya(t),gat(e,gB()?Reflect.construct(t,n||[],Ya(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 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 Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ya(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&&d0(e,t)}function gat(e,t){return t&&(Oat(t)==="object"||typeof t=="function")?t:vat(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 gB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gB=function(){return!!e})()}var Wn=function(e){mat(t,e);function t(n){bat(this,t);var o;return o=hat(this,t,[n]),xe(o,"props",void 0),xe(o,"children",void 0),o.props=new mB(n==null?void 0:n.props),o}return t}(rt);xe(Wn,"controlType","approval-status-column"),xe(Wn,"controlName",f("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001")),xe(Wn,"controlIcon","approval-status-column"),xe(Wn,"excludes",[]),xe(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 wat(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=tf(t),Sat(e,OB()?Reflect.construct(t,n||[],tf(e).constructor):t.apply(e,n))}function Pat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tf(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&&h0(e,t)}function Sat(e,t){return t&&(Tat(t)==="object"||typeof t=="function")?t:wat(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h0(e,t)}function Tat(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 Rat=function(e){Eat(t,e);function t(n){Pat(this,t);var o;return o=$at(this,t,[n]),v0(o,"props",void 0),v0(o,"children",void 0),o.props=new mB(n==null?void 0:n.props),o}return t}(it);v0(Rat,"controlType","approval-status-column");function Bat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wB(e,t,n){return t=ef(t),Dat(e,EB()?Reflect.construct(t,n||[],ef(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 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 ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ef(e)}function PB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dat(e,t){return t&&(Aat(t)==="object"||typeof t=="function")?t:Bat(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b0(e,t)}function Aat(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 Iat=function(e){PB(t,e);function t(n){$B(this,t);var o;return o=wB(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(Pe),m0=function(e){PB(t,e);function t(n){$B(this,t);var o;o=wB(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 fe((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:f("CMD.query",null,"\u67E5\u8BE2"),isShow:!0});var a;o.cancel=new fe((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:f("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0});var c;o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(w){return new fe(w)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var m;o.colGap=(m=n==null?void 0:n.colGap)!==null&&m!==void 0?m:24;var O;o.viewConfig=(O=n==null?void 0:n.viewConfig)!==null&&O!==void 0?O:[];var b;return o.simpleConfig=(b=n==null?void 0:n.simpleConfig)!==null&&b!==void 0?b:[],o}return t}(d_);Pt(m0,"RuntimeRules",Iat);function kat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fat(e,t,n){return t=of(t),Lat(e,SB()?Reflect.construct(t,n||[],of(e).constructor):t.apply(e,n))}function xat(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(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 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&&g0(e,t)}function Lat(e,t){return t&&(Cat(t)==="object"||typeof t=="function")?t:kat(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g0(e,t)}function Cat(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 O0=function(e){Mat(t,e);function t(n){xat(this,t);var o;return o=Fat(this,t,[n]),nf(o,"props",void 0),o.props=new m0(n==null?void 0:n.props),o}return t}(YC);nf(O0,"controlType","simple-search"),nf(O0,"slotPosition",{default:"search"}),nf(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 jat(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nat(e,t,n){return t=rf(t),Hat(e,TB()?Reflect.construct(t,n||[],rf(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 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 rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rf(e)}function zat(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hat(e,t){return t&&(qat(t)==="object"||typeof t=="function")?t:jat(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$0(e,t)}function qat(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 Uat=function(e){zat(t,e);function t(n){Vat(this,t);var o;o=Nat(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}(u7);w0(Uat,"controlType","simple-search");function h_t(e){return e}f("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C");const Wat=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];rft(t==null?void 0:t.events),Zat(o),Yat(o);const r=Jat(o),i=tft(r,t);let u=le(C(i,l=>Qat(l,t)));return n?u:u[0]},Kat=[p.DIVIDER,p.TEXT,p.TITLE,p.LINK,p.BUTTON,"list-btn-export-list","list-btn-export-record"],Gat=["subtable","grid-table"],Xat=["simple-search"];function Qat(e,t){var r,i,u,l,a,c;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Kat.includes(n.type)?n.controlType="base":n.controlType="form",Gat.includes(n.type)&&(n.controlType="list"),Xat.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=(a=e.attachment_format)==null?void 0:a.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",((c=n.children[0])==null?void 0:c.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((y,d)=>{const m=new $tt.Designer;m.props.caption=ft(y.field_name)?y.field_name.zh:y.field_name;const O=m.toSchema();O.id=y.header_id;const b=n.children[0].children[d].children[0];return b&&(O.children=[b]),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(y=>{const d=new UE.Designer;d.props.span=_;const m=d.toSchema();return m.children.push(y),m})}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],y=n==null?void 0:n.children[1],d={};_&&(RB(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),y&&(d.unit=y.props.data_bind,n.props.default_value={unit:y.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],y=n==null?void 0:n.children[1],d={},m={};_&&(RB(n,t),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=je(_.props.range_min),n.props.range_max=je(_.props.range_max),m.amount=je(_.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),y&&(d.currency=y.props.data_bind,m.currency=y.props.value,n.props.datasourceBind=y.props.datasource_bind,n.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=d,n.props.defaultValue=m,delete n.children}if(e.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],y=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),y&&(d.max=y.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=je(e.props.range_min),n.props.range_max=je(e.props.range_max),n.props.defaultValue=je(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"),ift(n,t==null?void 0:t.control_events),n}function RB(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const l=u.show_controls.findIndex(c=>c===r),a=u.hide_controls.findIndex(c=>c===r);l>-1&&u.show_controls.splice(l,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Jat(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new Knt.Designer().toSchema();return o.children=e,[o]}function Zat(e){e.forEach(t=>{t.children&&oft(t.children)})}function Yat(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 tft(e,t){var m,O,b,w,v,$,E,S;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:o,children:r}=n,[i,u,l]=r;eft(i),l.props.is_fixed_header=(m=o==null?void 0:o.source_config)==null?void 0:m.is_fixed_header,nft(l,u);const a=(b=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?b:t==null?void 0:t.dataCode,c=((v=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?v:a)?`${a}_selectMore`:void 0,_=(E=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?E:[],y=new Snt.Designer;y.props.datasourceBind=new X({dataCode:a,svcCode:c,orders:bx(_)}),y.props.isShowSubList=o.is_show_sublist,y.props.triggerType=o.timing_type,y.props.triggerFieldCode=o.ctrl_field_code,(S=o==null?void 0:o.sublist_page)==null||S.sublists.forEach(R=>{R.title=ft(R.title)?R.title.zh:R.title}),y.props.sublistPage=o.sublist_page;const d=y.toSchema();return d.children.push(i,l),[d]}function eft(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 nft(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 oft(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 rft(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 ift(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 uft=(e,t)=>{const n=Array.isArray(e);let r=le(C(n?e:[e],i=>lft(i)));return n?r:r[0]};function lft(e,t){return e.type===p.LIST_VIEW&&e.children.find(o=>o.type===p.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new Ft({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const cft=(e,t)=>{const n=Array.isArray(e);let r=le(C(n?e:[e],i=>aft(i)));return n?r:r[0]};function aft(e,t){return[p.BUTTON,p.CREATE_FORM_LIST_BUTTON,p.BATCH_SUBMISSION_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.EXPORT_LIST_BUTTON,p.FORM_SELECT_BUTTON,p.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===p.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===p.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const fft=(e,t)=>{const n=Array.isArray(e);let r=le(C(n?e:[e],i=>_ft(i)));return n?r:r[0]};function _ft(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 sft=(e,t)=>{const n=Array.isArray(e);let r=le(C(n?e:[e],i=>pft(i)));return n?r:r[0]},yft=[p.ROW,p.TAB,p.SUBTABLE,p.GRID_ROW,p.CARD_GROUP];function pft(e,t){return e.type===p.TAB_PANE&&(e.children=e.children.map(n=>{if(yft.includes(n.type))return n;const o=new XY.Designer,r=new UE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const dft=(e,t)=>{const n=Array.isArray(e);let r=le(C(n?e:[e],i=>vft(i)));return n?r:r[0]};function vft(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===p.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const hft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>bft(i));return n?r:r[0]};function bft(e,t){return e.type===p.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const mft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>gft(i));return n?r:r[0]};function $e(e,t){e.field_code&&(e.field_type=t)}function gft(e,t){var o;const n={[p.TITLE]:g.AUTO_NUMBER,[p.ADDRESS]:g.ADDRESS,[p.ATTACHMENT]:g.FILE,[p.AUTO_NUMBER]:g.AUTO_NUMBER,[p.CHECKBOX]:g.ARRAY,[p.DATE_PICKER]:g.TIMESTAMP,[p.DEPARTMENT]:g.DEPARTMENTS,[p.DEPARTMENT2]:g.DEPARTMENTS,[p.EMPLOYEE]:g.EMPLOYEES,[p.EMPLOYEE2]:g.EMPLOYEES,[p.IMAGE]:g.IMAGE,[p.INPUT]:g.VARCHAR,[p.NUMBER]:g.DECIMAL,[p.RADIO]:g.VARCHAR,[p.RICH_TEXT]:g.TEXT,[p.SCORE]:g.DECIMAL,[p.SELECT]:g.VARCHAR,[p.SELECT_MULTIPLE]:g.ARRAY,[p.SELECT_RELATION]:g.VARCHAR,[p.TEXTAREA]:g.TEXT,[p.TREE]:g.ARRAY,[p.SEARCH_DATE_RANGE]:g.ARRAY,[p.SEARCH_INPUT]:g.VARCHAR,[p.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(e.type)&&$e(e.props.data_bind,n[e.type]),e.type===p.AMOUNT&&($e(e.props.data_bind.amount,g.DECIMAL),$e(e.props.data_bind.currency,g.VARCHAR)),e.type===p.CALC&&($e(e.props.data_bind.result,g.DECIMAL),$e(e.props.data_bind.unit,g.VARCHAR)),e.type===p.DATE_RANGE&&($e(e.props.data_bind.min,g.TIMESTAMP),$e(e.props.data_bind.max,g.TIMESTAMP)),e.type===p.VUE_FORM_ITEM&&$e(e.props.data_bind,(o=e.field_type)!=null?o:g.ANY),e}const Oft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>wft(i));return n?r:r[0]};function wft(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===p.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const $ft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Pft(i));return n?r:r[0]};function Pft(e,t){return e.type===p.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 Eft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Sft(i));return n?r:r[0]};function Sft(e,t){return[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(n=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.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=C(n?e:[e],i=>Rft(i));return n?r:r[0]};function Rft(e,t){return[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(n=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.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=C(n?e:[e],i=>Dft(i));return n?r:r[0]};function Dft(e,t){return e.type===p.TITLE&&e.props.config.push(te.ShowTitle),e.type===p.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,l,a,c,_,y,d,m,O,b,w,v,$,E,S,R,z,A,ct;if(n.type===p.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=(a=n.props)==null?void 0:a.check.form_key,(c=n.props)!=null&&c.check.is_show&&n.children.push(D.toSchema()),(_=n.props)==null||delete _.check}if(((y=n.props)==null?void 0:y.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=(m=n.props)==null?void 0:m.edit.priority_process,D.props.openType=(O=n.props)==null?void 0:O.edit.open_type,D.props.formKey=(b=n.props)==null?void 0:b.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(D.toSchema()),(v=n.props)==null||delete v.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=(E=n.props)==null?void 0:E.delete.content,D.props.priorityProcess=(S=n.props)==null?void 0:S.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}}}),[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(n=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.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 Aft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Ift(i,t));return n?r:r[0]};function Ift(e,t){e.type===p.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===p.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[p.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[p.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[p.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[p.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[p.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in n&&n[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===p.GRID_TABLE&&e.props.headers.forEach(o=>{o.type===p.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===p.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),kft(t),e}function kft(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:[Fft()]}];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 Fft(){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 xft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Mft(i,t));return n?r:r[0]};function Mft(e,t){if(e.type===p.LIST_VIEW){if(e.props.is_show_selection===!1){const n=[p.BATCH_SUBMISSION_LIST_BUTTON,p.LIST_PAGE_BTN_BATCH_PRINT,p.BATCH_DELETE_LIST_BUTTON];e.children.forEach(o=>{o.type===p.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===p.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===p.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===p.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===p.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===p.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Bf),e}const Lft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Cft(i));return n?r:r[0]};function Cft(e,t){const n={[p.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),[p.LIST_PAGE_BTN_BATCH_PRINT_RECORD,p.EXPORT_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.CREATE_FORM_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.BATCH_DELETE_LIST_BUTTON,p.BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===p.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function jft(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 Nft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=Vft(u);return r[u.id]=u,l});return jft(r,t),n?i:i[0]};function Vft(e,t){var n,o,r;if(e.type===p.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=le(new lb({pc:i,mobile:i})),e.type===p.ORGANIZATION_SELECTION){const u=e.props.selected_content_config,l=u==null?void 0:u.display_bo_list;l&&l.forEach(a=>{a.value==="org_type_code"&&(a.label=f("CMD.businessType",null,"\u4E1A\u52A1\u7C7B\u578B")),a.value==="org_pattern_code"&&(a.label=f("CMD.organizationalForm",null,"\u7EC4\u7EC7\u5F62\u6001"))})}e.type===p.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}const zft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=Hft(u);return r[u.id]=u,l});return qft(r,t),n?i:i[0]};function Hft(e,t){return e}function qft(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(n=>{var i,u,l,a,c;const o=t==null?void 0:t.listeners[n],r=e[n];(r==null?void 0:r.type)===p.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 y,d,m,O;(y=_==null?void 0:_.cases)==null||y.map(b=>{var w;(w=b==null?void 0:b.handlers)==null||w.map(v=>{var $,E,S,R;(v==null?void 0:v.method)==="optPage"&&v.params.operation==="refresh"&&(v.params.operation="close"),(v==null?void 0:v.method)==="openPage"&&((R=(S=(E=($=v.params)==null?void 0:$.options)==null?void 0:E.link)==null?void 0:S.fx)==null?void 0:R.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(v.id="optPage",v.method="optPage",v.params={operation:"close"})})}),((O=(m=(d=_==null?void 0:_.cases)==null?void 0:d[0])==null?void 0:m.handlers)==null?void 0:O.length)===1&&_.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((a=(l=r.props)==null?void 0:l.opt_obj)==null?void 0:a.opt_type)&&((c=t.dataModelExtend)==null?void 0:c.process_status_enum_type)==="business"&&(o==null||o.map(_=>{_.cases[0].handlers.map(y=>{(y==null?void 0:y.method)==="optPage"&&y.params.operation==="close"&&(y.params.operation="edit")})})))})}const Uft=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=C(o,u=>{const l=Wft(u);return r[u.id]=u,l});return Kft(r,t),n?i:i[0]};function Wft(e,t){if(e.type===p.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 Kft(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 Gft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Xft(i));return n?r:r[0]};function Xft(e,t){var n,o;if(e.type===p.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===p.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 Qft=(e,t)=>{const n=Array.isArray(e);let r=C(n?e:[e],i=>Jft(i));return n_t(r),Zft(r),n?r:r[0]};function Jft(e,t){return e.type===p.SIMPLE_SEARCH&&e.children.forEach(n=>{if(n.type===p.SELECT||n.type===p.SELECT_MULTIPLE){const o=n;o.props.option_config==="datasource"&&(o.props.default_show_options=!1)}}),e}function Zft(e){var t,n;if(e[0].type===p.LIST_VIEW){const o=e[0].props;let r={type:(t=o.row_style_type)!=null?t:"none",interval:{color:(n=o.row_style_bg_color)!=null?n:""},rules:[]};o.row_style_rules&&(o.row_style_rules.forEach(i=>{const u=i.id;let l={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},a;if(o.row_style_rules_script){const c=o.row_style_rules_script.find(_=>_.id===u);c&&(a=e_t(i.filters,c.script))}i.settings=[l],i.script=a,delete i.color}),r.rules=o.row_style_rules),o.row_style=r,delete o.row_style_type,delete o.row_style_bg_color,delete o.row_style_rules,delete o.row_style_rules_script}}function BB(e,t){return t||(t={}),e.forEach(n=>{if(n.children)BB(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 Yft(e){return e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__"),e.split("__split__").map(n=>n.replace(/^\s+|\s+$/gm,""))}function t_t(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 e_t(e,t){const n=BB(e);return Yft(t).forEach(r=>{Object.keys(n).forEach(i=>{if(r.indexOf(`params.data.data_value_map['${i}']`)>-1){const a=n[i].type,{operate:c,value:_}=t_t(r);let y=`SpecialMatch(data, sys, '${i}', '${a}', '${c}', ${_||"''"})`;t=t.replace(r,y)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function n_t(e){if(e[0].type===p.LIST_VIEW){const t=e[0].children.find(n=>n.type===p.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!==p.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),r[u]=i}),n.forEach(i=>{const u=r[i.id];if(u){const l=u.children;if(!l||l.length===0)return;const a=i.children||[];i.children=[].concat(a,l)}}),t.props.footers=[]}}return e}const o_t=(e,t)=>{const n=Array.isArray(e);let r=r_t(n?e:[e],t);return n?r:r[0]};function r_t(e,t){const n=u_t(t);return n.length>0&&(i_t(n,t),DB(n,e)),e}function DB(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):DB(e,r.children)}}}function i_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 u_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 a=(l=u.params)==null?void 0:l.relation_control_id;a&&t.push(a)}})})})}),t}const l_t=(e,t)=>{console.log(t,"payload");const n=Array.isArray(e);let r=C(n?e:[e],i=>a_t(i));return n?r:r[0]},c_t=e=>["yylb_kujg9i5r","btdev_listin_n","yylb_gd_ryneloyh","byteluck_list_"].some(t=>t.includes(e)||e.includes(t));function a_t(e,t){if(c_t(e.type)){const n=le(new QN.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}const f_t=(e,t)=>{console.log(t,"payload");const n=Array.isArray(e);let r=C(n?e:[e],i=>__t(i));return n?r:r[0]};function __t(e,t){if(e.type===p.ELECTRONIC_SIGNATURE){const n=e;n.props.signature_config.undersigned_list.length&&n.props.signature_config.undersigned_list.forEach(o=>{(o==null?void 0:o.signature_position)===void 0&&(o.signature_position="free",o.platform_auto_sign=!1,o.pos_x=0,o.pos_y=0)}),e=n}return e}var AB={"v1.0":Wat,"v2.0":uft,"v2.1":cft,"v2.2":fft,"v2.3":sft,"v2.4":dft,"v2.5":hft,"v2.6":mft,"v2.7":Oft,"v2.8":$ft,"v2.9":Eft,"v2.10":Tft,"v3.0":Bft,"v3.1":Aft,"v3.2":xft,"v3.3":Lft,"v3.4":Nft,"v3.5":zft,"v3.6":Uft,"v3.7":Gft,"v3.8":Qft,"v3.10":o_t,"v3.11":l_t,"v3.12":f_t,"v3.13":()=>{}};const IB=(e,t)=>{const n=kB(e),o=kB(t),r=n.pop(),i=o.pop(),u=MB(n,o);return u!==0?u:r&&i?MB(r.split("."),i.split(".")):r||i?r?-1:1:0},uf=(e,t,n)=>{d_t(n);const o=IB(e,t);return LB[n].includes(o)},s_t=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,kB=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(s_t);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},FB=e=>e==="*"||e==="x"||e==="X",xB=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},y_t=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],p_t=(e,t)=>{if(FB(e)||FB(t))return 0;const[n,o]=y_t(xB(e),xB(t));return n>o?1:n<o?-1:0},MB=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=p_t(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},LB={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},CB=Object.keys(LB),d_t=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(CB.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${CB.join("|")}`)};function E0(e){return e.replace(/^v/,"")}const Kn=Object.keys(AB).map(e=>E0(e)).sort(IB),xo=Kn[Kn.length-1];class v_t{constructor(t,n=xo){this.schemaVersion=t,this.toVersion=n,uf(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(uf(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,l)=>{var y;const a=(y=l[u+1])!=null?y:this.toVersion;Co(`Version Builder: current version: ${i}, nextVersion: ${a}`);const c=AB[i];let _=r;if(typeof c=="function"){const d=c(r,n);d&&(_=d)}return _},t);return Co(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Kn.filter(t=>uf(t,this.schemaVersion,">=")&&uf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return xo}static get version(){return xo}}Le.VersionBuilder=v_t,Object.defineProperty(Le,"__esModule",{value:!0})});
1
+ (function(Ft,Gn){typeof exports=="object"&&typeof module!="undefined"?Gn(exports):typeof define=="function"&&define.amd?define(["exports"],Gn):(Ft=typeof globalThis!="undefined"?globalThis:Ft||self,Gn(Ft.modelDrivenUpgrade={}))})(this,function(Ft){"use strict";var Gn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",l3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",a3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",f3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",_3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",y3="{caption}\u5FC5\u586B",s3="\u8BF7\u8F93\u5165\u6807\u9898",p3="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",d3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",v3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",h3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",b3="\u8BF7\u7ED1\u5B9A\u8868\u5355",g3="\u8BF7\u7ED1\u5B9A\u5217\u8868",m3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",O3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",w3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",$3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",P3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",E3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",S3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",T3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",R3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",B3="\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",A3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",k3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",D3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",x3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",F3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",j3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",L3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",M3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",N3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",V3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",z3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",H3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",q3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",U3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",C3="\u8BF7\u9009\u62E9\u7701",W3="\u8BF7\u9009\u62E9\u5E02",K3="\u8BF7\u9009\u62E9\u533A",G3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",X3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Q3="\u8BF7\u8F93\u5165\u5217\u5BBD",J3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Z3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Y3="\u8BF7\u9009\u62E9\u63A7\u4EF6",eB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",tB="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",nB="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",oB="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",rB="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",iB="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",uB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",cB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",lB="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",aB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",fB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_B="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",yB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",sB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",pB="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",dB="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",vB="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",hB="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",gB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",mB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",OB="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",wB="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",$B="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",PB="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",EB="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",SB="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",TB={isNotNumber:Gn,isNotString:l3,isNotObject:a3,isNotArray:f3,isNotBoolean:_3,runtimeRequired:y3,pleaseEnterCaption:s3,pleaseEnterCaptionTip:p3,pleaseEnterRowCaption:d3,pleaseEnterPlaceholder:v3,pleaseEnterFieldCode:h3,pleaseEnterForm:b3,pleaseEnterList:g3,pleaseEnterProcess:m3,pleaseEnterLabel:O3,pleaseEnterValue:w3,bizKeyNotBindFiled:$3,pleaseSelectOneField:P3,pleaseEnterNumberRange:E3,pleaseEnterAValueGreaterThanMin:S3,pleaseEnterAValueLessThanMax:T3,numberRangeSetError:R3,stringRangeError:B3,attachmentMaxSize:I3,pleaseEnterTotalScoreSetting:A3,theTotalScoreMustNotBeLessThan1:k3,scoreDefaultValueRange:D3,attachmentLimitError:x3,PleaseReselectTheOptionalQuantity:F3,TheMaximumLengthIsGreaterThanTheMinimumLength:j3,TheMinimumLengthIsGreaterThanTheMaximumLength:L3,PleaseSelectTheCorrectOptionSettings:M3,optionIdIsRepeat:N3,optionIsRequired:V3,pleaseEnterDataCode:z3,pleaseEnterValueFieldCode:H3,pleaseEnterSvcCode:q3,pleaseBindAtLeastOneDisplayValue:U3,pleaseSelectProvince:C3,pleaseSelectCity:W3,pleaseSelectDistrict:K3,limitRowsCannotBeLessThan0:G3,TheNumberOfRowsCannotBeLessThanMinRows:X3,pleaseEnterColumnWidth:Q3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:J3,pleaseCompleteAllRulesAndConditions:Z3,pleaseSelectControl:Y3,pleaseSelectAtLeastOneColumn:eB,pleaseSelectFillBackMode:tB,pleaseSelectDashboard:nB,rootNodeIsRequired:oB,theViewNameCannotBeEmpty:rB,pleaseSelectOcrType:iB,pleaseSelectAtLeastOneFieldToFillIn:uB,pleaseChooseAtLeastOne:cB,pleaseEnterButtonContent:lB,pleaseEnterDataCodeInDataSetting:aB,pleaseEnterValueFieldCodeInDataSetting:fB,pleaseEnterSvcCodeInDataSetting:_B,pleaseBindAtLeastOneDisplayValueInDataSetting:yB,rootNodeIsRequiredInDataSetting:sB,pleaseEnterMaxHeight:pB,pleaseEnter:dB,pleaseEnterWatermark:vB,pleaseEnterFileName:hB,pleaseUploadAtLeastOnePrintTemplate:bB,pleaseAssignBusiness:gB,pleaseAssignExternal:mB,pleaseEnterAliasCode:OB,pleaseSelectDataCode:wB,pleaseSelectSvcCode:$B,pleaseSelectJoinFieldCode:PB,pleaseSelectMainFieldCode:EB,pleaseSelectSortFieldCode:SB},RB="Please enter a number",BB="Please enter a string",IB="Please enter an object",AB="Please enter an array",kB="Please enter a boolean",DB="{caption} Required",xB="Please enter the title",FB="Please enter the bubble prompt",jB="Please enter the row title",LB="Please enter the prompt text",MB="Please bind data items",NB="Please bind the form",VB="Please bind the list",zB="Please bind the process",HB="Please enter the displayed value",qB="Please enter the stored value",UB="The document number is not bound to the data item",CB="Please select at least one display field",WB="Please enter a value greater than or equal to {min} and less than or equal to {max}",KB="Please enter a value greater than or equal to {min}",GB="Please enter a value less than or equal to {max}",XB="The value range is set incorrectly",QB="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",JB="The attachment size must be between 0MB and 1000MB",ZB="Please fill in the total score setting",YB="The total score cannot be less than 1",e1="The default value must be between {min} and {max}",t1="The number of attachments uploaded must be between {min} and {max}",n1="Please re-select the optional quantity",o1="The maximum length of the control must be greater than the minimum length",r1="The minimum length of the control must be less than the maximum length",i1="Please select the correct option setting",u1="Option ID cannot be repeated",c1="Please enter at least one option",l1="Please bind the data source",a1="Please bind the stored value",f1="Please bind the service",_1="At least one display value must be bound",y1="Please select a province",s1="Please select a city",p1="Please select a district",d1="The minimum number of lines to fill in cannot be less than 0",v1="The number of rows cannot be less than {min} rows",h1="Please enter the column width",b1="Please set the logical relationship of all rule conditions",g1="Please complete all rules and conditions",m1="please select control",O1="Please select the dashboard",w1="View name cannot be empty",$1="Please select recognition type",P1="Please select at least one field to fill in",E1="Please select at least one",S1="Please enter the button title",T1="Please bind the business model in the data settings",R1="Please bind storage values in data settings",B1="Please bind the service in the data settings",I1="Please bind at least one display value in the data settings",A1="Please select the root node in the data settings",k1="Please enter the maximum height",D1="The input content cannot be empty",x1="Watermark cannot be empty",F1="File name cannot be empty",j1="Please upload at least one printing template!\uFF01",L1="Please select a specific business department",M1="Please select a specified external organization",N1="Please enter a sub table alias",V1="Please select the associated table to set the business model",z1="Please select the association table to set the binding service",H1="Select associated sub table fields",q1="Please select the associated main table field",U1="Please select the sort field",C1={isNotNumber:RB,isNotString:BB,isNotObject:IB,isNotArray:AB,isNotBoolean:kB,runtimeRequired:DB,pleaseEnterCaption:xB,pleaseEnterCaptionTip:FB,pleaseEnterRowCaption:jB,pleaseEnterPlaceholder:LB,pleaseEnterFieldCode:MB,pleaseEnterForm:NB,pleaseEnterList:VB,pleaseEnterProcess:zB,pleaseEnterLabel:HB,pleaseEnterValue:qB,bizKeyNotBindFiled:UB,pleaseSelectOneField:CB,pleaseEnterNumberRange:WB,pleaseEnterAValueGreaterThanMin:KB,pleaseEnterAValueLessThanMax:GB,numberRangeSetError:XB,stringRangeError:QB,attachmentMaxSize:JB,pleaseEnterTotalScoreSetting:ZB,theTotalScoreMustNotBeLessThan1:YB,scoreDefaultValueRange:e1,attachmentLimitError:t1,PleaseReselectTheOptionalQuantity:n1,TheMaximumLengthIsGreaterThanTheMinimumLength:o1,TheMinimumLengthIsGreaterThanTheMaximumLength:r1,PleaseSelectTheCorrectOptionSettings:i1,optionIdIsRepeat:u1,optionIsRequired:c1,pleaseEnterDataCode:l1,pleaseEnterValueFieldCode:a1,pleaseEnterSvcCode:f1,pleaseBindAtLeastOneDisplayValue:_1,pleaseSelectProvince:y1,pleaseSelectCity:s1,pleaseSelectDistrict:p1,limitRowsCannotBeLessThan0:d1,TheNumberOfRowsCannotBeLessThanMinRows:v1,pleaseEnterColumnWidth:h1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:b1,pleaseCompleteAllRulesAndConditions:g1,pleaseSelectControl:m1,pleaseSelectDashboard:O1,theViewNameCannotBeEmpty:w1,pleaseSelectOcrType:$1,pleaseSelectAtLeastOneFieldToFillIn:P1,pleaseChooseAtLeastOne:E1,pleaseEnterButtonContent:S1,pleaseEnterDataCodeInDataSetting:T1,pleaseEnterValueFieldCodeInDataSetting:R1,pleaseEnterSvcCodeInDataSetting:B1,pleaseBindAtLeastOneDisplayValueInDataSetting:I1,rootNodeIsRequiredInDataSetting:A1,pleaseEnterMaxHeight:k1,pleaseEnter:D1,pleaseEnterWatermark:x1,pleaseEnterFileName:F1,pleaseUploadAtLeastOnePrintTemplate:j1,pleaseAssignBusiness:L1,pleaseAssignExternal:M1,pleaseEnterAliasCode:N1,pleaseSelectDataCode:V1,pleaseSelectSvcCode:z1,pleaseSelectJoinFieldCode:H1,pleaseSelectMainFieldCode:q1,pleaseSelectSortFieldCode:U1},W1="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",K1="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",G1="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",X1="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Q1="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",J1="{caption}\u5FC5\u9808",Z1="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Y1="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",aI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_I="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",pI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",gI="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",mI="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",OI="\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",wI="\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",$I="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PI="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",EI="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",SI="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TI="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",RI="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",BI="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",II="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",AI="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kI="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",DI="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xI="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",FI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jI="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",LI="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",MI="please select control",NI="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VI="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",zI="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HI="\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",qI="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UI="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",WI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",KI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",GI="\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",XI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QI="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JI="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ZI="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",YI="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",eA="\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",tA="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",nA="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oA="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rA="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",iA="\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",uA="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",cA="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lA="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",aA={isNotNumber:W1,isNotString:K1,isNotObject:G1,isNotArray:X1,isNotBoolean:Q1,runtimeRequired:J1,pleaseEnterCaption:Z1,pleaseEnterCaptionTip:Y1,pleaseEnterRowCaption:eI,pleaseEnterPlaceholder:tI,pleaseEnterFieldCode:nI,pleaseEnterForm:oI,pleaseEnterList:rI,pleaseEnterProcess:iI,pleaseEnterLabel:uI,pleaseEnterValue:cI,bizKeyNotBindFiled:lI,pleaseSelectOneField:aI,pleaseEnterNumberRange:fI,pleaseEnterAValueGreaterThanMin:_I,pleaseEnterAValueLessThanMax:yI,numberRangeSetError:sI,stringRangeError:pI,attachmentMaxSize:dI,pleaseEnterTotalScoreSetting:vI,theTotalScoreMustNotBeLessThan1:hI,scoreDefaultValueRange:bI,attachmentLimitError:gI,PleaseReselectTheOptionalQuantity:mI,TheMaximumLengthIsGreaterThanTheMinimumLength:OI,TheMinimumLengthIsGreaterThanTheMaximumLength:wI,PleaseSelectTheCorrectOptionSettings:$I,optionIdIsRepeat:PI,optionIsRequired:EI,pleaseEnterDataCode:SI,pleaseEnterValueFieldCode:TI,pleaseEnterSvcCode:RI,pleaseBindAtLeastOneDisplayValue:BI,pleaseSelectProvince:II,pleaseSelectCity:AI,pleaseSelectDistrict:kI,limitRowsCannotBeLessThan0:DI,TheNumberOfRowsCannotBeLessThanMinRows:xI,pleaseEnterColumnWidth:FI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jI,pleaseCompleteAllRulesAndConditions:LI,pleaseSelectControl:MI,pleaseSelectDashboard:NI,theViewNameCannotBeEmpty:VI,pleaseSelectOcrType:zI,pleaseSelectAtLeastOneFieldToFillIn:HI,pleaseChooseAtLeastOne:qI,pleaseEnterButtonContent:UI,pleaseEnterDataCodeInDataSetting:CI,pleaseEnterValueFieldCodeInDataSetting:WI,pleaseEnterSvcCodeInDataSetting:KI,pleaseBindAtLeastOneDisplayValueInDataSetting:GI,rootNodeIsRequiredInDataSetting:XI,pleaseEnterMaxHeight:QI,pleaseEnter:JI,pleaseEnterWatermark:ZI,pleaseEnterFileName:YI,pleaseUploadAtLeastOnePrintTemplate:eA,pleaseAssignBusiness:tA,pleaseAssignExternal:nA,pleaseEnterAliasCode:oA,pleaseSelectDataCode:rA,pleaseSelectSvcCode:iA,pleaseSelectJoinFieldCode:uA,pleaseSelectMainFieldCode:cA,pleaseSelectSortFieldCode:lA},fA={zhCN:TB,enUS:C1,jaJP:aA},d0;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(d0||(d0={}));var v0;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(v0||(v0={}));var _A="zh-CN";function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var jt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(jt||(jt={}));var h0;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(h0||(h0={}));var s;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.SENSITIVEN_INFORMATION="sensitiven-information"})(s||(s={}));var b0;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(b0||(b0={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var ae;ae={},be(ae,"array","array-column"),be(ae,"auto_number","auto-number-column"),be(ae,"decimal","decimal-column"),be(ae,"department","department-column"),be(ae,"file","file-column"),be(ae,"image","image-column"),be(ae,"location","location-column"),be(ae,"people","employee-column"),be(ae,"text","text-column"),be(ae,"timescope","timescope-column"),be(ae,"timestamp","timestamp-column"),be(ae,"varchar","varchar-column"),be(ae,"relation","varchar-column");var rt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(rt||(rt={}));var g0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",yA=g0+"0123456789";function Ie(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var o=n===0?g0:yA,r=Math.random()*o.length;e+=o[parseInt(String(r),10)]}return e}function Na(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function sA(t){if(Array.isArray(t))return Na(t)}function pA(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m0(t,e,n){return e=Xn(e),bA(t,za()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function O0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $o(t,e,n){return za()?$o=Reflect.construct:$o=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Qn(l,u.prototype),l},$o.apply(null,arguments)}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function w0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qn(t,e)}function dA(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hA(){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 bA(t,e){return e&&(gA(e)==="object"||typeof e=="function")?e:pA(t)}function Qn(t,e){return Qn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qn(t,e)}function $0(t){return sA(t)||vA(t)||mA(t)||hA()}function gA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mA(t,e){if(!!t){if(typeof t=="string")return Na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Na(t,e)}}function Va(t){var e=typeof Map=="function"?new Map:void 0;return Va=function(o){if(o===null||!dA(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return $o(o,arguments,Xn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Qn(r,o)},Va(t)}function za(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(za=function(){return!!t})()}var Ha=console;function qa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Ha).warn.apply(o,["\u{1F9D0} Driven Warning:"+e[0]].concat($0(r)))}function Po(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Ha).log.apply(o,["\u{1F680} Driven Log:"+e[0]].concat($0(r)))}function OA(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ua=function(t){w0(e,t);function e(n){O0(this,e);var o;return o=m0(this,e,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?OA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return e}(Va(Error)),wA=function(t){w0(e,t);function e(n){O0(this,e);var o;return o=m0(this,e,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return e}(Ua);function Jn(t){throw new Ua(t)}function P0(t){throw new wA(t)}function $A(t){Ha.error(new Ua(t))}var PA=Object.prototype.toString;function E0(t,e){return PA.call(t)==="[object "+e+"]"}function EA(t){return E0(t,"String")}function SA(t){return E0(t,"Promise")}var TA=function(){function t(e){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&o!==void 0?o:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var o=this.getMessageData();SA(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,o){var r=this.getMessage(e);return r?this.formatMessage(r,o):this.formatMessage(n,o)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),o=n.reduce(function(r,i,u,c){if(r!==void 0){var a=r[i];if(!(u===c.length-1&&!EA(a)))return a}},this.message);return this._messageCache.set(e,o),o},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function RA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BA(t,e,n){return e&&S0(t.prototype,e),n&&S0(t,n),t}function IA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){RA(this,t)}return BA(t,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_A;return new TA({locale:n,messages:fA})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();IA(d,"$i18n",d.resetI18n());function AA(t,e,n){var o=e.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){qa("Can not set ".concat(e,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],n)&&(l[u]=n,r=!0),l[u]}},t),r}var kA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ca={exports:{}};(function(t){(function(e){var n=function(h,$,P){if(!l($)||y($)||p($)||b($)||a($))return $;var E,T=0,j=0;if(f($))for(E=[],j=$.length;T<j;T++)E.push(n(h,$[T],P));else{E={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(E[h(A,P)]=n(h,$[A],P))}return E},o=function(h,$){$=$||{};var P=$.separator||"_",E=$.split||/(?=[A-Z])/;return h.split(E).join(P)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},c=Object.prototype.toString,a=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},f=function(h){return c.call(h)=="[object Array]"},y=function(h){return c.call(h)=="[object Date]"},p=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},m=function(h,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?h:function(E,T){return P(E,h,T)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(m(r,$),h)},decamelizeKeys:function(h,$){return n(m(u,$),h,$)},pascalizeKeys:function(h,$){return n(m(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(kA)})(Ca);var T0={};Object.defineProperty(T0,"__esModule",{value:!0});function Wa(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Wa(e));{const e={};for(const n in t){const o=t[n];e[n]=typeof o!="object"||o===null?o:Wa(o)}return e}}var DA=T0.default=Wa;function xA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function it(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":xA(t))==="object"?DA(t):t}function fe(t){return R0(t)&&"zh"in t}function R0(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ka(t){return Array.isArray(t)}function Lt(t){return isNaN(parseFloat(t))?"":Number(t)}function FA(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function C(t,e){var n=[];return Array.isArray(t)&&(n=t.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=C(o.children,e)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=C(o.footers,e)),e(r)})),n}function jA(t){return Ca.exports.camelizeKeys(t)}function Mt(t){return Ca.exports.decamelizeKeys(t)}function Ga(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function LA(t){if(Array.isArray(t))return Ga(t)}function B0(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function MA(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){B0(i,o,r,u,c,"next",a)}function c(a){B0(i,o,r,u,c,"throw",a)}u(void 0)})}}function NA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VA(t,e,n){return e&&I0(t.prototype,e),n&&I0(t,n),t}function A0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function HA(){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 Xa(t){return LA(t)||zA(t)||qA(t)||HA()}function qA(t,e){if(!!t){if(typeof t=="string")return Ga(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ga(t,e)}}function UA(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var CA=function(){function t(){NA(this,t),A0(this,"_events",new Map),A0(this,"debug",!1)}return VA(t,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var u=this;return MA(function(){var c,a,l,f,y,p,b,O,m,w,h,$;return UA(this,function(P){switch(P.label){case 0:if(c=u._events.get(n),a=[],!c)return[3,10];l=c.slice(),f=!0,y=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(f=(O=b.next()).done)return[3,7];if(m=O.value,!c.includes(m))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Po.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(Xa(r))),[4,m.apply(null,Xa(r))];case 4:return w=P.sent(),u.debug&&Po.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(Xa(r),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return h=P.sent(),$A(String(h)+":"+String(h.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),y=!0,p=$,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(y)throw p}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function WA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KA(t,e,n){return e&&k0(t.prototype,e),n&&k0(t,n),t}function GA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var XA=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],QA=function(){function t(){WA(this,t)}return KA(t,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return t.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(t.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var c=u.key;return{key:c,code:u.key,name:u.name}});return o=o.concat(i),o}}]),t}();GA(QA,"events",XA);function Qa(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function JA(t){if(Array.isArray(t))return Qa(t)}function ZA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function YA(){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 D0(t){return JA(t)||ZA(t)||ek(t)||YA()}function ek(t,e){if(!!t){if(typeof t=="string")return Qa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qa(t,e)}}function Ja(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function x0(t,e,n){n!=="Runtime"&&(t.parent=e,Ja(t,"parent"))}function tk(t,e,n){t.forEach(function(o){x0(o,e,n)})}var F0=Symbol("targetKey");function j0(t){var e;return(e=t[F0])!==null&&e!==void 0?e:t}function L0(t,e,n){return tk(t,e,n),new Proxy(t,{get:function(r,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var l;return i===F0?r:(l=Reflect).get.apply(l,[r,i].concat(D0(c)))},set:function(r,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),l=3;l<c;l++)a[l-3]=arguments[l];var f;if(Ka(t)&&i==="length"&&u===t.length)return!0;var y=(f=Reflect).set.apply(f,[r,i,u].concat(D0(a)));return R0(u)&&x0(u,e,n),y}})}function Ge(t,e,n,o,r){var i=o!=null?o:t,u=L0(j0(n!=null?n:[]),i,r);Object.defineProperty(t,e,{get:function(){return u},set:function(a){u=L0(j0(a),i,r)},enumerable:!0})}function nk(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ok(t,e,n){return e&&M0(t.prototype,e),n&&M0(t,n),t}function ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var N0=[],Eo=function(){function t(e){nk(this,t),ut(this,"registeredControlTypes",new Set),ut(this,"controlConfigMap",new Map),ut(this,"_controls",[]),ut(this,"_type",void 0),this._type=e,this._initControls(e)}return ok(t,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Jn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(qa("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===jt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===jt.FORM}},{key:"isListControl",value:function(n){return n.controlType===jt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===jt.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(f){return r.createControl(f,o)});if(n.children&&(n.children=n.children.map(function(f){return r.createControl(f,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(f){return r.createControl(f,o)})),i.footers&&(i.footers=i.footers.map(function(f){var y;return f&&(y=r.createControl(f,o)),y}))}var u=this.getControlFormType(n.type);if(u){var c=n;if(typeof o=="function"){var a=o(c);a&&(c=a)}var l;return u.mode==="Runtime"?(l=c,l.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new u(c),l}else Jn("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}}),Ja(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=o._controlParentIdMap,c=o.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var f=l.findIndex(function(b){return b==n}),y=c[a]||[],p;return y.length!==l.length?p=y[0]:p=y[f],p}}}}),Ja(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=t.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Jn("".concat(n," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===r.controlType});return c>-1&&(qa("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),t}();ut(Eo,"staticControlsRuntimeRules",new Map),ut(Eo,"staticControls",N0),ut(Eo,"staticRegisteredTypes",new Set(N0.map(function(t){return t.Designer.controlType}))),ut(Eo,"staticRegisteredConfigs",new Map);function rk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ae(t,e,n){return e=So(e),ik(t,V0()?Reflect.construct(e,n||[],So(t).constructor):e.apply(t,n))}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function So(t){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},So(t)}function ke(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Za(t,e)}function ik(t,e){return e&&(uk(e)==="object"||typeof e=="function")?e:rk(t)}function Za(t,e){return Za=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Za(t,e)}function uk(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V0=function(){return!!t})()}var De=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},Ya=function t(e){S(this,t),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var o;this.flex=(o=e==null?void 0:e.flex)!==null&&o!==void 0?o:1},ef=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return e}(Ya),z0=function t(e){S(this,t),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new ef(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ef(e==null?void 0:e.mobile):new ef({width:130,minWidth:180})},ck=function t(e){S(this,t),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=e==null?void 0:e.customOptions)!==null&&o!==void 0?o:[]},Nt=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},lk=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return e}(Nt),H0=function t(e){S(this,t),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:""},tf=function t(e){S(this,t);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new H0(u)}))!==null&&i!==void 0?i:[]},ak=function t(e){S(this,t),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:g.VARCHAR},fk=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return e}(Nt),_k=function t(e){S(this,t);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new Nt(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new ak(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=e==null||(o=e.sublists)===null||o===void 0?void 0:o.map(function(u){return new fk(u)}))!==null&&i!==void 0?i:[]},yk=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Zn=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},nf=function t(e){var n=this;S(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Ie();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=e==null?void 0:e.level)!==null&&i!==void 0?i:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(c){if(c.children!==void 0){var a,l=new t(c);(a=n.children)===null||a===void 0||a.push(l)}else{var f,y=new To(c);(f=n.children)===null||f===void 0||f.push(y)}}))},To=function t(e){S(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ie();var o;this.ruleId=(o=e==null?void 0:e.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=e==null?void 0:e.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new yk(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Zn(e==null?void 0:e.rightVariableBo)},sk=function t(e){S(this,t),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind);var o;this.relationFields=(o=e==null?void 0:e.relationFields)!==null&&o!==void 0?o:[]},se=function t(e){S(this,t),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=e==null?void 0:e.propName)!==null&&i!==void 0?i:""},of=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:"",this.fieldType=e==null?void 0:e.fieldType},pk=function t(e){S(this,t),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=e.desc)!==null&&o!==void 0?o:!1};function rf(t){var e,n,o,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(c){return c.children!==void 0?new nf(c):new To(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new nf(c):new To(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=t==null||(o=t.orders)===null||o===void 0?void 0:o.map(function(c){return new pk(c)}))!==null&&u!==void 0?u:[]}var X=function t(e){var n=this;S(this,t),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=e==null?void 0:e.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var y;(y=n.displayBoList)===null||y===void 0||y.push(new of(f))}));var c;this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",rf.call(this,e)},uf=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=e==null?void 0:e.displayBoList)!==null&&o!==void 0?o:[]},Xe=function t(e){S(this,t),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=e==null?void 0:e.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c:void 0,this.formType=e==null?void 0:e.formType;var a;this.icon=(a=e==null?void 0:e.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=e==null?void 0:e.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var y;this.priorityProcess=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},q0=function t(e){S(this,t);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=e==null?void 0:e.name)!==null&&o!==void 0?o:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var i;this.value=(i=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new of(u)}))!==null&&i!==void 0?i:[]},Ro=function(t){ke(e,t);function e(n){S(this,e);var o,r;o=Ae(this,e,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new q0(u)}))!==null&&i!==void 0?i:[],o}return e}(X),dk=function(t){ke(e,t);function e(n){S(this,e);var o,r;o=Ae(this,e,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new q0(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return e}(X),U0=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Zn(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return e}(Ro),C0=function t(e){S(this,t);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new se(u)}))!==null&&i!==void 0?i:[]},W0=function(t){ke(e,t);function e(n){S(this,e);var o;return o=Ae(this,e,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),rf.call(o,n),o}return e}(C0),K0=function(t){ke(e,t);function e(n){S(this,e);var o;o=Ae(this,e,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return e}(C0),Bo=function t(e){S(this,t),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=e==null?void 0:e.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},vk=function t(e){S(this,t),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ie(8);var o;this.label=(o=e==null?void 0:e.label)!==null&&o!==void 0?o:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function Qe(t){var e;return(e=t==null?void 0:t.map(function(n){return new vk(n)}))!==null&&e!==void 0?e:[]}var cf=function t(){S(this,t)},hk=function(t){ke(e,t);function e(n){S(this,e);var o;return o=Ae(this,e),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new De(n==null?void 0:n.amount),o.currency=new De(n==null?void 0:n.currency),o}return e}(cf),bk=function t(e){S(this,t),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=e==null?void 0:e.currency)!==null&&o!==void 0?o:"CNY"},gk=function(t){ke(e,t);function e(n){S(this,e);var o;return o=Ae(this,e),v(o,"min",void 0),v(o,"max",void 0),o.min=new De(n==null?void 0:n.min),o.max=new De(n==null?void 0:n.max),o}return e}(cf),mk=function t(e){S(this,t),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var o;this.max=(o=e==null?void 0:e.max)!==null&&o!==void 0?o:""},Ok=function t(e){S(this,t),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=e==null?void 0:e.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=e==null?void 0:e.provinceDisplay)!==null&&c!==void 0?c:""},wk=function(t){ke(e,t);function e(n){S(this,e);var o;return o=Ae(this,e),v(o,"result",void 0),v(o,"unit",void 0),o.result=new De(n==null?void 0:n.result),o.unit=new De(n==null?void 0:n.unit),o}return e}(cf),$k=function t(e){S(this,t),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=e==null?void 0:e.unit)!==null&&o!==void 0?o:""},lf;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(lf||(lf={}));var _;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(_||(_={}));var af;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(af||(af={}));var ct=function t(e){S(this,t),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=e==null?void 0:e.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=e==null?void 0:e.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},Pk=function t(e){S(this,t);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Ie(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new H0(u)}))!==null&&i!==void 0?i:[],rf.call(this,e)},Ek=function t(e){S(this,t),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var o;this.height=(o=e==null?void 0:e.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=e==null?void 0:e.heightConfig)!==null&&i!==void 0?i:"fill"},Sk=function t(e){S(this,t),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=e==null?void 0:e.optType)!==null&&o!==void 0?o:""},Tk=function t(e){S(this,t);var n;v(this,"id",void 0),v(this,"name",void 0),v(this,"color",void 0),v(this,"filters",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Ie();var r;this.name=(r=e==null?void 0:e.name)!==null&&r!==void 0?r:"";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new nf(c):new To(c)}))!==null&&u!==void 0?u:[]},Rk=function t(e){S(this,t),v(this,"id",void 0),v(this,"script",void 0),v(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:Ie();var o;this.script=(o=e.script)!==null&&o!==void 0?o:"";var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme"};function Bk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ik(t,e,n){return e=Yn(e),Dk(t,yf()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function ff(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Io(t,e,n){return yf()?Io=Reflect.construct:Io=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&eo(l,u.prototype),l},Io.apply(null,arguments)}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function Ak(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eo(t,e)}function kk(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Dk(t,e){return e&&(xk(e)==="object"||typeof e=="function")?e:Bk(t)}function eo(t,e){return eo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eo(t,e)}function xk(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _f(t){var e=typeof Map=="function"?new Map:void 0;return _f=function(o){if(o===null||!kk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Io(o,arguments,Yn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),eo(r,o)},_f(t)}function yf(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yf=function(){return!!t})()}var W=function t(e){ff(this,t),lt(this,"isHide",{type:"boolean"})},$t=function(t){Ak(e,t);function e(n){return ff(this,e),Ik(this,e)}return e}(_f(Array)),K=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ff(this,t),lt(this,"isHide",void 0),lt(this,"className",void 0),lt(this,"style",void 0),lt(this,"caption",void 0);var o;this.isHide=(o=e==null?void 0:e.isHide)!==null&&o!==void 0?o:!1,this.style=new Ek(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};lt(K,"mode",void 0),lt(K,"Rules",W),lt(K,"RuntimeRules",$t);function Ve(){return Ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ve.apply(this,arguments)}function Fk(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function sf(t){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sf(t)}function Ao(t,e){return Ao=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ao(t,e)}function jk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function ko(t,e,n){return jk()?ko=Reflect.construct:ko=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Ao(l,u.prototype),l},ko.apply(null,arguments)}function Lk(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function pf(t){var e=typeof Map=="function"?new Map:void 0;return pf=function(o){if(o===null||!Lk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return ko(o,arguments,sf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ao(r,o)},pf(t)}var Mk=/%[sdj%]/g,G0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(G0=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(e,n)});function df(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function ge(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=1,r=e[0],i=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var u=String(r).replace(Mk,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(e[o++]);case"%d":return Number(e[o++]);case"%j":try{return JSON.stringify(e[o++])}catch(a){return"[Circular]"}break;default:return c}});return u}return r}function Nk(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Nk(e)&&typeof t=="string"&&!t)}function Vk(t,e,n){var o=[],r=0,i=t.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}t.forEach(function(c){e(c,u)})}function X0(t,e,n){var o=0,r=t.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?e(t[c],i):n([])}i([])}function zk(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Q0=function(t){Fk(e,t);function e(n,o){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return e}(pf(Error));function Hk(t,e,n,o){if(e.first){var r=new Promise(function(y,p){var b=function(w){return o(w),w.length?p(new Q0(w,df(w))):y()},O=zk(t);X0(O,n,b)});return r.catch(function(y){return y}),r}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var u=Object.keys(t),c=u.length,a=0,l=[],f=new Promise(function(y,p){var b=function(m){if(l.push.apply(l,m),a++,a===c)return o(l),l.length?p(new Q0(l,df(l))):y()};u.length||(o(l),y()),u.forEach(function(O){var m=t[O];i.indexOf(O)!==-1?X0(m,n,b):Vk(m,n,b)})});return f.catch(function(y){return y}),f}function J0(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Z0(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];typeof o=="object"&&typeof t[n]=="object"?t[n]=Ve(Ve({},t[n]),o):t[n]=o}}return t}function Y0(t,e,n,o,r,i){t.required&&(!n.hasOwnProperty(t.field)||G(e,i||t.type))&&o.push(ge(r.messages.required,t.fullField))}function qk(t,e,n,o,r){(/^\s+$/.test(e)||e==="")&&o.push(ge(r.messages.whitespace,t.fullField))}var vf={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},to={integer:function(e){return to.number(e)&&parseInt(e,10)===e},float:function(e){return to.number(e)&&!to.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!to.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(vf.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(vf.url)},hex:function(e){return typeof e=="string"&&!!e.match(vf.hex)}};function Uk(t,e,n,o,r){if(t.required&&e===void 0){Y0(t,e,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;i.indexOf(u)>-1?to[u](e)||o.push(ge(r.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&o.push(ge(r.messages.types[u],t.fullField,t.type))}function Ck(t,e,n,o,r){var i=typeof t.len=="number",u=typeof t.min=="number",c=typeof t.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=e,f=null,y=typeof e=="number",p=typeof e=="string",b=Array.isArray(e);if(y?f="number":p?f="string":b&&(f="array"),!f)return!1;b&&(l=e.length),p&&(l=e.replace(a,"_").length),i?l!==t.len&&o.push(ge(r.messages[f].len,t.fullField,t.len)):u&&!c&&l<t.min?o.push(ge(r.messages[f].min,t.fullField,t.min)):c&&!u&&l>t.max?o.push(ge(r.messages[f].max,t.fullField,t.max)):u&&c&&(l<t.min||l>t.max)&&o.push(ge(r.messages[f].range,t.fullField,t.min,t.max))}var Vt="enum";function Wk(t,e,n,o,r){t[Vt]=Array.isArray(t[Vt])?t[Vt]:[],t[Vt].indexOf(e)===-1&&o.push(ge(r.messages[Vt],t.fullField,t[Vt].join(", ")))}function Kk(t,e,n,o,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||o.push(ge(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||o.push(ge(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var k={required:Y0,whitespace:qk,type:Uk,range:Ck,enum:Wk,pattern:Kk};function Gk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e,"string")&&!t.required)return n();k.required(t,e,o,i,r,"string"),G(e,"string")||(k.type(t,e,o,i,r),k.range(t,e,o,i,r),k.pattern(t,e,o,i,r),t.whitespace===!0&&k.whitespace(t,e,o,i,r))}n(i)}function Xk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function Qk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Jk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function Zk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),G(e)||k.type(t,e,o,i,r)}n(i)}function Yk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function e2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function t2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();k.required(t,e,o,i,r,"array"),e!=null&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function n2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}var o2="enum";function r2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k[o2](t,e,o,i,r)}n(i)}function i2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e,"string")&&!t.required)return n();k.required(t,e,o,i,r),G(e,"string")||k.pattern(t,e,o,i,r)}n(i)}function u2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e,"date")&&!t.required)return n();if(k.required(t,e,o,i,r),!G(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),k.type(t,c,o,i,r),c&&k.range(t,c.getTime(),o,i,r)}}n(i)}function c2(t,e,n,o,r){var i=[],u=Array.isArray(e)?"array":typeof e;k.required(t,e,o,i,r,u),n(i)}function hf(t,e,n,o,r){var i=t.type,u=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(G(e,i)&&!t.required)return n();k.required(t,e,o,u,r,i),G(e,i)||k.type(t,e,o,u,r)}n(u)}function l2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(G(e)&&!t.required)return n();k.required(t,e,o,i,r)}n(i)}var no={string:Gk,method:Xk,number:Qk,boolean:Jk,regexp:Zk,integer:Yk,float:e2,array:t2,object:n2,enum:r2,pattern:i2,date:u2,url:hf,hex:hf,email:hf,required:c2,any:l2};function bf(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var gf=bf();function at(t){this.rules=null,this._messages=gf,this.define(t)}at.prototype={messages:function(e){return e&&(this._messages=Z0(bf(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in e)e.hasOwnProperty(n)&&(o=e[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(e,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=e,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(m){var w,h=[],$={};function P(E){if(Array.isArray(E)){var T;h=(T=h).concat.apply(T,E)}else h.push(E)}for(w=0;w<m.length;w++)P(m[w]);h.length?$=df(h):(h=null,$=null),c(h,$)}if(u.messages){var l=this.messages();l===gf&&(l=bf()),Z0(l,u.messages),u.messages=l}else u.messages=this.messages();var f,y,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(m){f=r.rules[m],y=i[m],f.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===e&&(i=Ve({},i)),y=i[m]=h.transform(y)),typeof h=="function"?h={validator:h}:h=Ve({},h),h.validator=r.getValidationMethod(h),h.field=m,h.fullField=h.fullField||m,h.type=r.getType(h),h.validator&&(p[m]=p[m]||[],p[m].push({rule:h,value:y,source:i,field:m}))})});var O={};return Hk(p,u,function(m,w){var h=m.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&m.value),h.field=m.field;function P(j,A){return Ve(Ve({},A),{},{fullField:h.fullField+"."+j})}function E(j){j===void 0&&(j=[]);var A=j;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&at.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(J0(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(J0(h)):u.error&&(A=[u.error(h,ge(u.messages.required,h.field))]),w(A);var ue={};if(h.defaultField)for(var B in m.value)m.value.hasOwnProperty(B)&&(ue[B]=h.defaultField);ue=Ve(Ve({},ue),m.rule.fields);for(var We in ue)if(ue.hasOwnProperty(We)){var wo=Array.isArray(ue[We])?ue[We]:[ue[We]];ue[We]=wo.map(P.bind(null,We))}var Kn=new at(ue);Kn.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Kn.validate(m.value,m.rule.options||u,function(xt){var Ke=[];A&&A.length&&Ke.push.apply(Ke,A),xt&&xt.length&&Ke.push.apply(Ke,xt),w(Ke.length?Ke:null)})}}var T;h.asyncValidator?T=h.asyncValidator(h,m.value,E,m.source,u):h.validator&&(T=h.validator(h,m.value,E,m.source,u),T===!0?E():T===!1?E(h.message||h.field+" fails"):T instanceof Array?E(T):T instanceof Error&&E(T.message)),T&&T.then&&T.then(function(){return E()},function(j){return E(j)})},function(m){a(m)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!no.hasOwnProperty(e.type))throw new Error(ge("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?no.required:no[this.getType(e)]||!1}},at.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");no[e]=n},at.warning=G0,at.messages=gf,at.validators=no;var a2={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 f2(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new at(t);return n.messages(Object.assign(a2,e)),n}var _2=new CA;function mf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function y2(t){if(Array.isArray(t))return t}function s2(t){if(Array.isArray(t))return mf(t)}function eb(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function tb(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){eb(i,o,r,u,c,"next",a)}function c(a){eb(i,o,r,u,c,"throw",a)}u(void 0)})}}function p2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d2(t,e,n){return e&&nb(t.prototype,e),n&&nb(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ob(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function rb(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function v2(){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 h2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ib(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(t,r,n[r])})}return t}function b2(t){return y2(t)||rb(t)||ub(t)||v2()}function Of(t){return s2(t)||rb(t)||ub(t)||h2()}function g2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ub(t,e){if(!!t){if(typeof t=="string")return mf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mf(t,e)}}function cb(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var N=function(){function e(n){var o=this;p2(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",ab),M(this,"removeSetting",lb),this._callControlHooks("preInstance",n);var r=ob(this,e)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,a=r.controlFieldType,l=r.controlEventKeys,f=r.controlCustomEvents,y=r.name,p=r.setting;i&&u&&c||P0("The ".concat(y," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:Ie(10),this.name=i,this.icon=u;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:c,this.props=new K(n==null?void 0:n.props,(ob(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=it(p);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=it(l),this.customEvents=it(f),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return d2(e,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=b2(r),a=c[0],l=c.slice(1);return(u=_2).emit.apply(u,[a,this].concat(Of(l)))}},{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),AA(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return tb(function(){var r,i,u;return cb(this,function(c){switch(c.label){case 0:return r=ib({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return tb(function(){var u,c,a,l;return cb(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:ib({},i.rules),Array.isArray(r)&&r.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=f2(c,o),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,y=c.caption,p=c.required,b=c.maxLength,O=c.options,m=c.encrypted,w=c.encryptedMode;if(!(!r&&!a&&!l)){var h={parentId:o,fieldType:r,controlId:i,caption:y,type:u,props:{}};switch(a&&(h.dataBind=a),f){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=O;break}return p!==void 0&&(h.required=p),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:it(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,Of(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();M(N,"mode","Designer"),M(N,"controlName","\u63A7\u4EF6"),M(N,"controlIcon","icon"),M(N,"controlType","control"),M(N,"controlFieldType",void 0),M(N,"controlEventKeys",[]),M(N,"controlCustomEvents",[]),M(N,"setting",[]),M(N,"__is_control__",!0),M(N,"removeSettingItem",lb),M(N,"updateSettingItem",ab);function lb(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(o){var r,i=typeof o!="string",u=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(l){return l.key===(i?o.key:o)});if(u!==-1){var c,a;i?e.setting[u].showItems=(c=e.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!o.hideItems.includes(l)}):e.setting.splice(u,1),i&&!(!((a=e.setting[u].showItems)===null||a===void 0)&&a.length)&&e.setting.splice(u,1)}})}function ab(t,e){var n=this,o=typeof t=="string"?[t]:t;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof e=="boolean")i.visible=e;else if((typeof e=="undefined"?"undefined":g2(e))==="object"){var u,c=(u=e.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=e.showItems;else{var a;(a=i.showItems).push.apply(a,Of(e.showItems))}}}})}function m2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O2(t,e,n){return e&&fb(t.prototype,e),n&&fb(t,n),t}function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Je=function(){function e(n){m2(this,e),me(this,"id",void 0),me(this,"type",void 0),me(this,"controlType",void 0),me(this,"props",void 0),me(this,"fieldType",void 0),me(this,"customEvents",[]),me(this,"pageStatus",void 0),me(this,"parent",null);var o=w2(this,e)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||P0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Ie(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new K(n==null?void 0:n.props),this.customEvents=c;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:i;var p;this.pageStatus=(p=n==null?void 0:n.pageStatus)!==null&&p!==void 0?p:af.UNKNOWN}return O2(e,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),e}();me(Je,"mode","Runtime"),me(Je,"controlType","control"),me(Je,"controlFieldType",void 0),me(Je,"__is_control__",!0),me(Je,"controlCustomEvents",[]);function wf(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=FA(i);i.length!==u.length?r(d.getMessage("optionIdIsRepeat")):r()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(d.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Do(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function $2(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function P2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xo(t,e,n){return e=jo(e),E2(t,_b()?Reflect.construct(e,n||[],jo(t).constructor):e.apply(t,n))}function Fo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jo(t){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jo(t)}function Lo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$f(t,e)}function E2(t,e){return e&&(S2(e)==="object"||typeof e=="function")?e:P2(t)}function $f(t,e){return $f=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$f(t,e)}function S2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_b=function(){return!!t})()}var J=function(t){Lo(e,t);function e(n){Fo(this,e);var o;o=xo(this,e,[n]),L(o,"dataBind",{}),L(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),L(o,"isHideCaption",{type:"boolean"}),L(o,"labelPosition",{type:"enum",enum:["top","left"]}),L(o,"defaultState",{type:"enum",enum:["default","readonly"]}),L(o,"required",{type:"boolean"}),L(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if($2(n.dataBind))o.dataBind={type:"object",required:!0,fields:it(r),message:d.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:it(r),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),z=function(t){Lo(e,t);function e(n){Fo(this,e);var o;o=xo(this,e,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return e}($t),D=function(t){Lo(e,t);function e(n){Fo(this,e);var o;o=xo(this,e,[n]),L(o,"caption",void 0),L(o,"captionSize",void 0),L(o,"captionColor",void 0),L(o,"isCaptionItalic",void 0),L(o,"isHideCaption",void 0),L(o,"isShowCaptionTip",void 0),L(o,"captionTip",void 0),L(o,"labelPosition",void 0),L(o,"dataBind",void 0),L(o,"defaultValue",void 0),L(o,"placeholder",void 0),L(o,"defaultState",void 0),L(o,"required",void 0),L(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.captionSize=(i=n==null?void 0:n.captionSize)!==null&&i!==void 0?i:"";var u;o.captionColor=(u=n==null?void 0:n.captionColor)!==null&&u!==void 0?u:"";var c;o.isCaptionItalic=(c=n==null?void 0:n.isCaptionItalic)!==null&&c!==void 0?c:!1;var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var p;o.labelPosition=(p=n==null?void 0:n.labelPosition)!==null&&p!==void 0?p:"top";var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"";var O;o.required=(O=n==null?void 0:n.required)!==null&&O!==void 0?O:!1;var m;o.requiredMessage=(m=n==null?void 0:n.requiredMessage)!==null&&m!==void 0?m:"",o.dataBind=new De(n==null?void 0:n.dataBind);var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o}return e}(K);L(D,"Rules",J),L(D,"RuntimeRules",z);var zt=function(t){Lo(e,t);function e(n){Fo(this,e);var o;return o=xo(this,e,[n]),L(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),L(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),L(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),wf.call(o,n),o}return e}(J);function T2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R2(t,e,n){return e=No(e),A2(t,yb()?Reflect.construct(e,n||[],No(t).constructor):e.apply(t,n))}function B2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function No(t){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},No(t)}function I2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pf(t,e)}function A2(t,e){return e&&(k2(e)==="object"||typeof e=="function")?e:T2(t)}function Pf(t,e){return Pf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pf(t,e)}function k2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yb=function(){return!!t})()}var x=function(t){I2(e,t);function e(n){B2(this,e);var o;return o=R2(this,e,[n]),Mo(o,"controlType","form"),Mo(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return e}(N);Mo(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Mo(x,"controlCustomAttributes",void 0);function D2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x2(t,e,n){return e=Vo(e),L2(t,sb()?Reflect.construct(e,n||[],Vo(t).constructor):e.apply(t,n))}function F2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ef(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vo(t){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(t)}function j2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sf(t,e)}function L2(t,e){return e&&(M2(e)==="object"||typeof e=="function")?e:D2(t)}function Sf(t,e){return Sf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sf(t,e)}function M2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sb=function(){return!!t})()}var F=function(t){j2(e,t);function e(n){F2(this,e);var o;return o=x2(this,e,[n]),Ef(o,"controlType","form"),Ef(o,"props",void 0),Ef(o,"value",void 0),o.props=new D(n==null?void 0:n.props),o}return e}(Je);function N2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function V2(t,e,n){return e=zo(e),q2(t,pb()?Reflect.construct(e,n||[],zo(t).constructor):e.apply(t,n))}function z2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zo(t){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zo(t)}function H2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tf(t,e)}function q2(t,e){return e&&(U2(e)==="object"||typeof e=="function")?e:N2(t)}function Tf(t,e){return Tf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tf(t,e)}function U2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pb=function(){return!!t})()}var Z=function(t){H2(e,t);function e(n){return z2(this,e),V2(this,e,[n])}return e}(K);function Rf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function C2(t){if(Array.isArray(t))return Rf(t)}function W2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function db(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function K2(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){db(i,o,r,u,c,"next",a)}function c(a){db(i,o,r,u,c,"throw",a)}u(void 0)})}}function G2(t,e,n){return e=_t(e),rD(t,bb()?Reflect.construct(e,n||[],_t(t).constructor):e.apply(t,n))}function X2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Q2(t,e,n){return e&&vb(t.prototype,e),n&&vb(t,n),t}function ft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ht(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ht=Reflect.get:Ht=function(r,i,u){var c=iD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ht(t,e,n||t)}function _t(t){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_t(t)}function J2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bf(t,e)}function Z2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Y2(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function eD(){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 tD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ft(t,r,n[r])})}return t}function nD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function oD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):nD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function rD(t,e){return e&&(uD(e)==="object"||typeof e=="function")?e:W2(t)}function Bf(t,e){return Bf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bf(t,e)}function iD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=_t(t),t!==null););return t}function hb(t){return C2(t)||Y2(t)||cD(t)||eD()}function uD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cD(t,e){if(!!t){if(typeof t=="string")return Rf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rf(t,e)}}function bb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bb=function(){return!!t})()}function lD(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var aD=1e4,Y=function(e){J2(n,e);function n(o){X2(this,n);var r;r=G2(this,n,[o]),ft(r,"controlType","layout"),ft(r,"children",void 0),ft(r,"excludes",void 0),ft(r,"childrenMaxLength",void 0),ft(r,"props",void 0);var i=Z2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),Ge(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=it(u),r.childrenMaxLength=c,r}return Q2(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,c=this,a=function(){return Ht(_t(n.prototype),"validate",u)};return K2(function(){return lD(this,function(l){switch(l.label){case 0:return[4,a().call(c,r,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(r,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ht(_t(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,a){var l=a.toDataBindModel(r);if(Array.isArray(l)){var f=l.filter(function(y){return!!y});return hb(c).concat(hb(f))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=Ht(_t(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return oD(tD({},r),{children:i})}}]),n}(N);ft(Y,"excludes",!1),ft(Y,"childrenMaxLength",aD);function fD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _D(t,e,n){return e=Ho(e),pD(t,gb()?Reflect.construct(e,n||[],Ho(t).constructor):e.apply(t,n))}function yD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function If(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ho(t){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(t)}function sD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Af(t,e)}function pD(t,e){return e&&(dD(e)==="object"||typeof e=="function")?e:fD(t)}function Af(t,e){return Af=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Af(t,e)}function dD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gb=function(){return!!t})()}var Pt=function(t){sD(e,t);function e(n){yD(this,e);var o;return o=_D(this,e,[n]),If(o,"controlType","layout"),If(o,"children",void 0),If(o,"props",void 0),o.props=new Z(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Je);function vD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hD(t,e,n){return e=qo(e),mD(t,mb()?Reflect.construct(e,n||[],qo(t).constructor):e.apply(t,n))}function bD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qo(t){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qo(t)}function gD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kf(t,e)}function mD(t,e){return e&&(OD(e)==="object"||typeof e=="function")?e:vD(t)}function kf(t,e){return kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kf(t,e)}function OD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mb=function(){return!!t})()}var Df=function(t){gD(e,t);function e(n,o,r){bD(this,e);var i;i=hD(this,e,[o]),qt(i,"headers",void 0),qt(i,"footers",void 0),qt(i,"pageIndex",void 0),qt(i,"pageSize",void 0),qt(i,"pageSizeOptions",void 0),qt(i,"totalCount",void 0),Ge(i,"headers",o==null?void 0:o.headers,n,r),Ge(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var l;return i.totalCount=(l=o==null?void 0:o.totalCount)!==null&&l!==void 0?l:0,i}return e}(K);function xf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function wD(t){if(Array.isArray(t))return xf(t)}function $D(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ob(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function PD(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){Ob(i,o,r,u,c,"next",a)}function c(a){Ob(i,o,r,u,c,"throw",a)}u(void 0)})}}function ED(t,e,n){return e=yt(e),kD(t,Sb()?Reflect.construct(e,n||[],yt(t).constructor):e.apply(t,n))}function SD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function TD(t,e,n){return e&&wb(t.prototype,e),n&&wb(t,n),t}function Uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ut(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ut=Reflect.get:Ut=function(r,i,u){var c=DD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ut(t,e,n||t)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(t)}function RD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ff(t,e)}function BD(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ID(){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 $b(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Uo(t,r,n[r])})}return t}function AD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Pb(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):AD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function kD(t,e){return e&&(xD(e)==="object"||typeof e=="function")?e:$D(t)}function Ff(t,e){return Ff=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ff(t,e)}function DD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=yt(t),t!==null););return t}function Eb(t){return wD(t)||BD(t)||FD(t)||ID()}function xD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FD(t,e){if(!!t){if(typeof t=="string")return xf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xf(t,e)}}function Sb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sb=function(){return!!t})()}function jD(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var jf=function(t){RD(e,t);function e(n){SD(this,e);var o;return o=ED(this,e,[n]),Uo(o,"controlType","list"),Uo(o,"props",void 0),o.props=new Df(o,n==null?void 0:n.props,"Designer"),o}return TD(e,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return Ut(yt(e.prototype),"validate",i)};return PD(function(){return jD(this,function(a){switch(a.label){case 0:return[4,c().call(u,o)];case 1:return a.sent(),[4,Promise.all(u.props.headers.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Ut(yt(e.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var a=c.toDataBindModel(i);if(Array.isArray(a)){var l=a.filter(function(f){return!!f});return Eb(u).concat(Eb(l))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o,r,i=Ut(yt(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()}),c=(r=this.props)===null||r===void 0||(o=r.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return Pb($b({},i),{props:Pb($b({},this.props),{headers:u,footers:c})})}}]),e}(N);Uo(jf,"controlFieldType",g.LIST);function LD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lf(t,e,n){return e=Co(e),MD(t,Tb()?Reflect.construct(e,n||[],Co(t).constructor):e.apply(t,n))}function Mf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Co(t){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(t)}function Nf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vf(t,e)}function MD(t,e){return e&&(ND(e)==="object"||typeof e=="function")?e:LD(t)}function Vf(t,e){return Vf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vf(t,e)}function ND(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tb=function(){return!!t})()}var ze=function(t){Nf(e,t);function e(n){Mf(this,e);var o;return o=Lf(this,e,[n]),ee(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ee(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return e}(W),U=function(t){Nf(e,t);function e(n){Mf(this,e);var o;o=Lf(this,e,[n]),ee(o,"widthType",void 0),ee(o,"width",void 0),ee(o,"caption",void 0),ee(o,"dataBind",void 0),ee(o,"autoWidth",void 0),ee(o,"fixed",void 0),ee(o,"sort",void 0),ee(o,"align",void 0),ee(o,"colSpan",void 0),ee(o,"autoHeight",void 0),ee(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",o.autoWidth=new Ya(n==null?void 0:n.autoWidth),o.dataBind=new De(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return e}(K);ee(U,"Rules",ze);var Rb=function(t){Nf(e,t);function e(n){Mf(this,e);var o;return o=Lf(this,e,[n]),ee(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),ee(o,"options",[{type:"array",message:d.getMessage("isNotArray")}]),ee(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),wf.call(o,n),o}return e}(ze);function VD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zD(t,e,n){return e=Ct(e),GD(t,Ib()?Reflect.construct(e,n||[],Ct(t).constructor):e.apply(t,n))}function HD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qD(t,e,n){return e&&Bb(t.prototype,e),n&&Bb(t,n),t}function Wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ko(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ko=Reflect.get:Ko=function(r,i,u){var c=XD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ko(t,e,n||t)}function Ct(t){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ct(t)}function UD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zf(t,e)}function CD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Wo(t,r,n[r])})}return t}function WD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function KD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):WD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function GD(t,e){return e&&(QD(e)==="object"||typeof e=="function")?e:VD(t)}function zf(t,e){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(t,e)}function XD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ct(t),t!==null););return t}function QD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ib(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ib=function(){return!!t})()}var te=function(t){UD(e,t);function e(n){HD(this,e);var o;return o=zD(this,e,[n]),Wo(o,"controlType","column"),Wo(o,"props",void 0),Wo(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return qD(e,[{key:"toSchema",value:function(){var o=Ko(Ct(e.prototype),"toSchema",this).call(this);return KD(CD({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),e}(N);function JD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZD(t,e,n){return e=Go(e),tx(t,Ab()?Reflect.construct(e,n||[],Go(t).constructor):e.apply(t,n))}function YD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Go(t){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Go(t)}function ex(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qf(t,e)}function tx(t,e){return e&&(nx(e)==="object"||typeof e=="function")?e:JD(t)}function qf(t,e){return qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qf(t,e)}function nx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ab(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ab=function(){return!!t})()}var ne=function(t){ex(e,t);function e(n){YD(this,e);var o;return o=ZD(this,e,[n]),Hf(o,"controlType","column"),Hf(o,"props",void 0),Hf(o,"children",void 0),o.props=new U(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Je);function ox(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rx(t,e,n){return e=Xo(e),lx(t,kb()?Reflect.construct(e,n||[],Xo(t).constructor):e.apply(t,n))}function ix(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ux(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xo(t){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(t)}function cx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uf(t,e)}function lx(t,e){return e&&(ax(e)==="object"||typeof e=="function")?e:ox(t)}function Uf(t,e){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(t,e)}function ax(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kb=function(){return!!t})()}var Cf=function(t){cx(e,t);function e(n){ix(this,e);var o;return o=rx(this,e,[n]),ux(o,"dataBind",void 0),o.dataBind=new De(n==null?void 0:n.dataBind),o}return e}(Z);function fx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _x(t,e,n){return e=Qo(e),px(t,xb()?Reflect.construct(e,n||[],Qo(t).constructor):e.apply(t,n))}function yx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Db(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qo(t){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(t)}function sx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wf(t,e)}function px(t,e){return e&&(dx(e)==="object"||typeof e=="function")?e:fx(t)}function Wf(t,e){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(t,e)}function dx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xb=function(){return!!t})()}var vx=function(t){sx(e,t);function e(n){yx(this,e);var o;return o=_x(this,e,[n]),Db(o,"controlType","search"),Db(o,"props",void 0),o.props=new Cf(n==null?void 0:n.props),o}return e}(Y);function hx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bx(t,e,n){return e=Jo(e),Ox(t,jb()?Reflect.construct(e,n||[],Jo(t).constructor):e.apply(t,n))}function gx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jo(t){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(t)}function mx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kf(t,e)}function Ox(t,e){return e&&(wx(e)==="object"||typeof e=="function")?e:hx(t)}function Kf(t,e){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(t,e)}function wx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jb=function(){return!!t})()}var $x=function(t){mx(e,t);function e(n){gx(this,e);var o;return o=bx(this,e,[n]),Fb(o,"controlType","search"),Fb(o,"props",void 0),o.props=new Cf(n==null?void 0:n.props),o}return e}(Pt);function st(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}function Px(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ex(t,e,n){return e=Zo(e),Rx(t,Lb()?Reflect.construct(e,n||[],Zo(t).constructor):e.apply(t,n))}function Sx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zo(t){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(t)}function Tx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gf(t,e)}function Rx(t,e){return e&&(Bx(e)==="object"||typeof e=="function")?e:Px(t)}function Gf(t,e){return Gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gf(t,e)}function Bx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lb=function(){return!!t})()}var Ix=function(t){Tx(e,t);function e(n){Sx(this,e);var o;o=Ex(this,e,[n]),Wt(o,"content",void 0),Wt(o,"fontSize",void 0),Wt(o,"color",void 0),Wt(o,"icon",void 0),Wt(o,"align",void 0),Wt(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"",o}return e}(K);function Ax(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kx(t,e,n){return e=Yo(e),jx(t,Vb()?Reflect.construct(e,n||[],Yo(t).constructor):e.apply(t,n))}function Dx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xx(t,e,n){return e&&Mb(t.prototype,e),n&&Mb(t,n),t}function Nb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yo(t){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(t)}function Fx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xf(t,e)}function jx(t,e){return e&&(Lx(e)==="object"||typeof e=="function")?e:Ax(t)}function Xf(t,e){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(t,e)}function Lx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vb=function(){return!!t})()}var Mx=function(t){Fx(e,t);function e(n){Dx(this,e);var o;return o=kx(this,e,[n]),Nb(o,"props",void 0),o.props=new Ix(n==null?void 0:n.props),o}return xx(e,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),e}(N);Nb(Mx,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Nx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vx(t,e,n){return e=er(e),qx(t,zb()?Reflect.construct(e,n||[],er(t).constructor):e.apply(t,n))}function zx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function er(t){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(t)}function Hx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jf(t,e)}function qx(t,e){return e&&(Ux(e)==="object"||typeof e=="function")?e:Nx(t)}function Jf(t,e){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(t,e)}function Ux(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zb=function(){return!!t})()}var Cx=function(t){Hx(e,t);function e(n){zx(this,e);var o;o=Vx(this,e,[n]),Qf(o,"content",void 0),Qf(o,"url",void 0),Qf(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\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 e}(K);function Wx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kx(t,e,n){return e=tr(e),Jx(t,qb()?Reflect.construct(e,n||[],tr(t).constructor):e.apply(t,n))}function Gx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Xx(t,e,n){return e&&Hb(t.prototype,e),n&&Hb(t,n),t}function Zf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tr(t){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(t)}function Qx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yf(t,e)}function Jx(t,e){return e&&(Zx(e)==="object"||typeof e=="function")?e:Wx(t)}function Yf(t,e){return Yf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yf(t,e)}function Zx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qb=function(){return!!t})()}var Ub=function(t){Qx(e,t);function e(n){Gx(this,e);var o;return o=Kx(this,e,[n]),Zf(o,"props",void 0),o.props=new Cx(n==null?void 0:n.props),o}return Xx(e,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),e}(N);Zf(Ub,"controlEventKeys",["on_click"]),Zf(Ub,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function Yx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eF(t,e,n){return e=nr(e),oF(t,Cb()?Reflect.construct(e,n||[],nr(t).constructor):e.apply(t,n))}function tF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nr(t){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(t)}function nF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e_(t,e)}function oF(t,e){return e&&(rF(e)==="object"||typeof e=="function")?e:Yx(t)}function e_(t,e){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(t,e)}function rF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cb=function(){return!!t})()}var Oe=function(t){nF(e,t);function e(n){tF(this,e);var o;o=eF(this,e,[n]),Ze(o,"content",void 0),Ze(o,"buttonType",void 0),Ze(o,"showType",void 0),Ze(o,"color",void 0),Ze(o,"icon",void 0),Ze(o,"defaultState",void 0),Ze(o,"command",void 0),Ze(o,"isLoading",void 0),Ze(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\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 c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var f;o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"custom";var y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var p;return o.optObj=new Sk((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),o}return e}(K);function iF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uF(t,e,n){return e=or(e),fF(t,Kb()?Reflect.construct(e,n||[],or(t).constructor):e.apply(t,n))}function cF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lF(t,e,n){return e&&Wb(t.prototype,e),n&&Wb(t,n),t}function t_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function or(t){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(t)}function aF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n_(t,e)}function fF(t,e){return e&&(_F(e)==="object"||typeof e=="function")?e:iF(t)}function n_(t,e){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(t,e)}function _F(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kb=function(){return!!t})()}var pe=function(t){aF(e,t);function e(n){cF(this,e);var o;return o=uF(this,e,[n]),t_(o,"props",void 0),o.props=new Oe(n==null?void 0:n.props),o}return lF(e,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),e}(N);t_(pe,"controlEventKeys",["on_click"]),t_(pe,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ye;(function(t){t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title"})(Ye||(Ye={}));var Gb;(function(t){t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Gb||(Gb={}));var Xb;(function(t){t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified"})(Xb||(Xb={}));var o_=function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ie(8),value:["",""]};pt(this,t),I(this,"dateConfigType",void 0),I(this,"dateLimitType",void 0),I(this,"id",void 0),I(this,"value",void 0),this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value},r_;(function(t){t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile"})(r_||(r_={}));var i_=function t(e){pt(this,t),I(this,"id",void 0),I(this,"text",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ie();var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},u_;(function(t){t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line"})(u_||(u_={}));var Qb=function t(e){pt(this,t),I(this,"type",void 0),I(this,"person",void 0),I(this,"signatureType",void 0),I(this,"telephone",void 0),I(this,"company",void 0),I(this,"remark",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"private";var o;this.person=new Zn((o=e==null?void 0:e.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=e==null?void 0:e.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=e==null?void 0:e.telephone)!==null&&u!==void 0?u:new Zn((i=e==null?void 0:e.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=e==null?void 0:e.company)!==null&&a!==void 0?a:new Zn((c=e==null?void 0:e.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=e==null?void 0:e.remark)!==null&&l!==void 0?l:""},yF=function t(e){pt(this,t);var n;I(this,"fileControl",void 0),I(this,"undersignedList",void 0),I(this,"statusControl",void 0),I(this,"completeControl",void 0),I(this,"completeTimeControl",void 0);var o;this.fileControl=(o=e==null?void 0:e.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=e==null||(n=e.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new Qb(a)}))!==null&&r!==void 0?r:[new Qb];var i;this.statusControl=(i=e==null?void 0:e.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=e==null?void 0:e.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!==null&&c!==void 0?c:""},Jb=function t(e){pt(this,t),I(this,"id",void 0),I(this,"appId",void 0),I(this,"dataCode",void 0),I(this,"svcCode",void 0),I(this,"name",void 0),I(this,"fieldList",void 0),I(this,"active",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ie(8);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=e==null?void 0:e.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=e==null?void 0:e.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=e==null?void 0:e.active)!==null&&a!==void 0?a:!1},Zb=function t(e){pt(this,t),I(this,"active",void 0),I(this,"text",void 0);var n;this.active=(n=e==null?void 0:e.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},sF=function t(e){pt(this,t),I(this,"types",void 0),I(this,"history",void 0),I(this,"collaborativeRecord",void 0),I(this,"logicToDelete",void 0),I(this,"watermark",void 0),I(this,"autoRename",void 0);var n;this.types=(n=e==null?void 0:e.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=e==null?void 0:e.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=e==null?void 0:e.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Zb(e==null?void 0:e.watermark),this.autoRename=new Zb(e==null?void 0:e.autoRename)},pF=480;function Kt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}var dF=function t(e){pt(this,t),I(this,"fileId",void 0),I(this,"fileName",void 0),I(this,"ruleName",void 0),I(this,"isDefault",void 0),I(this,"rules",void 0);var n;this.fileId=(n=e==null?void 0:e.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=e==null?void 0:e.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=e==null?void 0:e.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=e.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=e.rules)!==null&&u!==void 0?u:[]},Yb;(function(t){t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK"})(Yb||(Yb={}));var c_;(function(t){t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(c_||(c_={}));var rr;(function(t){t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS"})(rr||(rr={}));var dt;(function(t){t.ALL="all",t.ASSIGN="assign"})(dt||(dt={}));var l_;(function(t){t.ALL="all",t.ADMIN="admin"})(l_||(l_={}));function vF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hF(t,e,n){return e=ir(e),mF(t,tg()?Reflect.construct(e,n||[],ir(t).constructor):e.apply(t,n))}function bF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ir(t){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(t)}function gF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a_(t,e)}function mF(t,e){return e&&(OF(e)==="object"||typeof e=="function")?e:vF(t)}function a_(t,e){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(t,e)}function OF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tg=function(){return!!t})()}var wF=function(t){gF(e,t);function e(n){bF(this,e);var o;o=hF(this,e,[n]),eg(o,"color",void 0),eg(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:u_.SOLID,o}return e}(K);function $F(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PF(t,e,n){return e=ur(e),RF(t,rg()?Reflect.construct(e,n||[],ur(t).constructor):e.apply(t,n))}function EF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ng(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SF(t,e,n){return e&&ng(t.prototype,e),n&&ng(t,n),t}function og(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ur(t){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(t)}function TF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f_(t,e)}function RF(t,e){return e&&(BF(e)==="object"||typeof e=="function")?e:$F(t)}function f_(t,e){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(t,e)}function BF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rg=function(){return!!t})()}var IF=function(t){TF(e,t);function e(n){EF(this,e);var o;return o=PF(this,e,[n]),og(o,"props",void 0),o.props=new wF(n==null?void 0:n.props),o}return SF(e,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),e}(N);og(IF,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]}]);function AF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ig(t,e,n){return e=cr(e),kF(t,lg()?Reflect.construct(e,n||[],cr(t).constructor):e.apply(t,n))}function ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cr(t){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(t)}function cg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&__(t,e)}function kF(t,e){return e&&(DF(e)==="object"||typeof e=="function")?e:AF(t)}function __(t,e){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(t,e)}function DF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lg=function(){return!!t})()}var xF=function(t){cg(e,t);function e(n){ug(this,e);var o;return o=ig(this,e,[n]),vt(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),vt(o,"dataBind",{type:"any"}),vt(o,"config",{type:"array"}),n.config.includes(Ye.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return e}(W),ag=function(t){cg(e,t);function e(n){ug(this,e);var o;o=ig(this,e,[n]),vt(o,"dataBind",void 0),vt(o,"caption",void 0),vt(o,"config",void 0),vt(o,"position",void 0),o.dataBind=new De(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[Ye.ShowSubmitUser,Ye.ShowSubmitDept,Ye.ShowSubmitTime,Ye.ShowCurrentApprovar,Ye.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 c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return e}(K);vt(ag,"Rules",xF);function FF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jF(t,e,n){return e=lr(e),VF(t,_g()?Reflect.construct(e,n||[],lr(t).constructor):e.apply(t,n))}function LF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function MF(t,e,n){return e&&fg(t.prototype,e),n&&fg(t,n),t}function y_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lr(t){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(t)}function NF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s_(t,e)}function VF(t,e){return e&&(zF(e)==="object"||typeof e=="function")?e:FF(t)}function s_(t,e){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(t,e)}function zF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _g(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_g=function(){return!!t})()}var oo=function(t){NF(e,t);function e(n){LF(this,e);var o;return o=jF(this,e,[n]),y_(o,"props",void 0),o.props=new ag(n==null?void 0:n.props),o}return MF(e,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),e}(N);y_(oo,"controlFieldType",g.AUTO_NUMBER),y_(oo,"setting",[{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function HF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yg(t,e,n){return e=fr(e),qF(t,dg()?Reflect.construct(e,n||[],fr(t).constructor):e.apply(t,n))}function sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ar(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fr(t){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(t)}function pg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p_(t,e)}function qF(t,e){return e&&(UF(e)==="object"||typeof e=="function")?e:HF(t)}function p_(t,e){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(t,e)}function UF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dg=function(){return!!t})()}var CF=function(t){pg(e,t);function e(n){sg(this,e);var o;return o=yg(this,e,[n]),ar(o,"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return e}(W),vg=function(t){pg(e,t);function e(n){sg(this,e);var o;o=yg(this,e,[n]),ar(o,"formKey",void 0),ar(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:yr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:yr.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return e}(Oe);ar(vg,"Rules",CF);function WF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KF(t,e,n){return e=_r(e),JF(t,bg()?Reflect.construct(e,n||[],_r(t).constructor):e.apply(t,n))}function GF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XF(t,e,n){return e&&hg(t.prototype,e),n&&hg(t,n),t}function d_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _r(t){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(t)}function QF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v_(t,e)}function JF(t,e){return e&&(ZF(e)==="object"||typeof e=="function")?e:WF(t)}function v_(t,e){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(t,e)}function ZF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bg=function(){return!!t})()}var yr=function(t){QF(e,t);function e(n){GF(this,e);var o;return o=KF(this,e,[n]),d_(o,"props",void 0),o.props=new vg(n==null?void 0:n.props),o}return XF(e,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),e}(pe);d_(yr,"controlEventKeys",["on_click","on_click_finish"]),d_(yr,"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 YF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gg(t,e,n){return e=sr(e),ej(t,wg()?Reflect.construct(e,n||[],sr(t).constructor):e.apply(t,n))}function mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sr(t){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(t)}function Og(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h_(t,e)}function ej(t,e){return e&&(tj(e)==="object"||typeof e=="function")?e:YF(t)}function h_(t,e){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(t,e)}function tj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wg=function(){return!!t})()}var nj=function(t){Og(e,t);function e(n){mg(this,e);var o;return o=gg(this,e,[n]),Gt(o,"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return e}(W),$g=function(t){Og(e,t);function e(n){mg(this,e);var o;o=gg(this,e,[n]),Gt(o,"processKey",void 0),Gt(o,"initiatorMode",void 0),Gt(o,"fieldCode",void 0),Gt(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:dr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:dr.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;return o.employeeId=(l=n==null?void 0:n.employeeId)!==null&&l!==void 0?l:"",o}return e}(Oe);Gt($g,"Rules",nj);function oj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rj(t,e,n){return e=pr(e),lj(t,Eg()?Reflect.construct(e,n||[],pr(t).constructor):e.apply(t,n))}function ij(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uj(t,e,n){return e&&Pg(t.prototype,e),n&&Pg(t,n),t}function b_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pr(t){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(t)}function cj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g_(t,e)}function lj(t,e){return e&&(aj(e)==="object"||typeof e=="function")?e:oj(t)}function g_(t,e){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(t,e)}function aj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eg=function(){return!!t})()}var dr=function(t){cj(e,t);function e(n){ij(this,e);var o;return o=rj(this,e,[n]),b_(o,"props",void 0),o.props=new $g(n==null?void 0:n.props),o}return uj(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),e}(pe);b_(dr,"controlEventKeys",["on_click","on_click_finish"]),b_(dr,"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 fj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _j(t,e,n){return e=vr(e),pj(t,Sg()?Reflect.construct(e,n||[],vr(t).constructor):e.apply(t,n))}function yj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vr(t){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(t)}function sj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m_(t,e)}function pj(t,e){return e&&(dj(e)==="object"||typeof e=="function")?e:fj(t)}function m_(t,e){return m_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m_(t,e)}function dj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sg=function(){return!!t})()}var vj=function(t){sj(e,t);function e(n){yj(this,e);var o;o=_j(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:br.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:br.controlIcon,o}return e}(Oe);function hj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bj(t,e,n){return e=hr(e),wj(t,Rg()?Reflect.construct(e,n||[],hr(t).constructor):e.apply(t,n))}function gj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mj(t,e,n){return e&&Tg(t.prototype,e),n&&Tg(t,n),t}function O_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hr(t){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(t)}function Oj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w_(t,e)}function wj(t,e){return e&&($j(e)==="object"||typeof e=="function")?e:hj(t)}function w_(t,e){return w_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w_(t,e)}function $j(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rg=function(){return!!t})()}var br=function(t){Oj(e,t);function e(n){gj(this,e);var o;return o=bj(this,e,[n]),O_(o,"props",void 0),o.props=new vj(n==null?void 0:n.props),o}return mj(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),e}(pe);O_(br,"controlEventKeys",["on_click"]),O_(br,"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 Pj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ej(t,e,n){return e=gr(e),Rj(t,Ig()?Reflect.construct(e,n||[],gr(t).constructor):e.apply(t,n))}function Sj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gr(t){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(t)}function Tj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$_(t,e)}function Rj(t,e){return e&&(Bj(e)==="object"||typeof e=="function")?e:Pj(t)}function $_(t,e){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(t,e)}function Bj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ig(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ig=function(){return!!t})()}var Ij=function(t){Tj(e,t);function e(n){Sj(this,e);var o,r;o=Ej(this,e,[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:Or.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Or.controlName;var c;o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(l){return new Jb(l)}))!==null&&a!==void 0?a:[new Jb({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return e}(Oe);function Aj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kj(t,e,n){return e=mr(e),jj(t,kg()?Reflect.construct(e,n||[],mr(t).constructor):e.apply(t,n))}function Dj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ag(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xj(t,e,n){return e&&Ag(t.prototype,e),n&&Ag(t,n),t}function P_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mr(t){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mr(t)}function Fj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E_(t,e)}function jj(t,e){return e&&(Lj(e)==="object"||typeof e=="function")?e:Aj(t)}function E_(t,e){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(t,e)}function Lj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kg=function(){return!!t})()}var Or=function(t){Fj(e,t);function e(n){Dj(this,e);var o;return o=kj(this,e,[n]),P_(o,"props",void 0),o.props=new Ij(n==null?void 0:n.props),o}return xj(e,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),e}(pe);P_(Or,"controlEventKeys",["on_click","on_click_finish"]),P_(Or,"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 Mj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nj(t,e,n){return e=wr(e),Hj(t,Dg()?Reflect.construct(e,n||[],wr(t).constructor):e.apply(t,n))}function Vj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(t)}function zj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S_(t,e)}function Hj(t,e){return e&&(qj(e)==="object"||typeof e=="function")?e:Mj(t)}function S_(t,e){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(t,e)}function qj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dg=function(){return!!t})()}var Uj=function(t){zj(e,t);function e(n){Vj(this,e);var o;o=Nj(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Pr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Pr.controlIcon,o}return e}(Oe);function Cj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wj(t,e,n){return e=$r(e),Qj(t,Fg()?Reflect.construct(e,n||[],$r(t).constructor):e.apply(t,n))}function Kj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Gj(t,e,n){return e&&xg(t.prototype,e),n&&xg(t,n),t}function T_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $r(t){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(t)}function Xj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R_(t,e)}function Qj(t,e){return e&&(Jj(e)==="object"||typeof e=="function")?e:Cj(t)}function R_(t,e){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(t,e)}function Jj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fg=function(){return!!t})()}var Pr=function(t){Xj(e,t);function e(n){Kj(this,e);var o;return o=Wj(this,e,[n]),T_(o,"props",void 0),o.props=new Uj(n==null?void 0:n.props),o}return Gj(e,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),e}(pe);T_(Pr,"controlEventKeys",["on_click"]),T_(Pr,"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 Zj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yj(t,e,n){return e=Er(e),tL(t,Lg()?Reflect.construct(e,n||[],Er(t).constructor):e.apply(t,n))}function jg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Er(t){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(t)}function eL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I_(t,e)}function tL(t,e){return e&&(nL(e)==="object"||typeof e=="function")?e:Zj(t)}function I_(t,e){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(t,e)}function nL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lg=function(){return!!t})()}var oL=function t(e){jg(this,t),B_(this,"dataCode",void 0),this.dataCode=e.dataCode},rL=function(t){eL(e,t);function e(n){jg(this,e);var o,r;o=Yj(this,e,[n]),B_(o,"canImportList",void 0),B_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Tr.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Tr.controlIcon;var c;o.canImportList=(c=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(l){return new oL(l)}))!==null&&c!==void 0?c:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return e}(Oe);function iL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uL(t,e,n){return e=Sr(e),fL(t,Ng()?Reflect.construct(e,n||[],Sr(t).constructor):e.apply(t,n))}function cL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lL(t,e,n){return e&&Mg(t.prototype,e),n&&Mg(t,n),t}function A_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sr(t){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(t)}function aL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k_(t,e)}function fL(t,e){return e&&(_L(e)==="object"||typeof e=="function")?e:iL(t)}function k_(t,e){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(t,e)}function _L(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ng(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ng=function(){return!!t})()}var Tr=function(t){aL(e,t);function e(n){cL(this,e);var o;return o=uL(this,e,[n]),A_(o,"props",void 0),o.props=new rL(n==null?void 0:n.props),o}return lL(e,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),e}(pe);A_(Tr,"controlEventKeys",["on_click","on_click_finish"]),A_(Tr,"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 Rr(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}function yL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vg(t,e,n){return e=Br(e),sL(t,Ug()?Reflect.construct(e,n||[],Br(t).constructor):e.apply(t,n))}function zg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Br(t){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(t)}function Hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D_(t,e)}function qg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){et(t,r,n[r])})}return t}function sL(t,e){return e&&(pL(e)==="object"||typeof e=="function")?e:yL(t)}function D_(t,e){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(t,e)}function pL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ug(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ug=function(){return!!t})()}var dL=function(t){Hg(e,t);function e(n){zg(this,e);var o;return o=Vg(this,e,[n]),et(o,"fillPayload",{type:"object",fields:qg({},Rr())}),et(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),et(o,"fillBack",{type:"object",fields:qg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Rr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return e}(W),Cg=function(t){Hg(e,t);function e(n){zg(this,e);var o;o=Vg(this,e,[n]),et(o,"fillPayload",void 0),et(o,"formBind",void 0),et(o,"fillBack",void 0),et(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Ar.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Ar.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new W0(n==null?void 0:n.fillPayload),o.formBind=new lk(n==null?void 0:n.formBind),o.fillBack=new K0(n==null?void 0:n.fillBack),o}return e}(Oe);et(Cg,"Rules",dL);function vL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hL(t,e,n){return e=Ir(e),OL(t,Kg()?Reflect.construct(e,n||[],Ir(t).constructor):e.apply(t,n))}function bL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gL(t,e,n){return e&&Wg(t.prototype,e),n&&Wg(t,n),t}function x_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(t)}function mL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F_(t,e)}function OL(t,e){return e&&(wL(e)==="object"||typeof e=="function")?e:vL(t)}function F_(t,e){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(t,e)}function wL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kg=function(){return!!t})()}var Ar=function(t){mL(e,t);function e(n){bL(this,e);var o;return o=hL(this,e,[n]),x_(o,"props",void 0),o.props=new Cg(n==null?void 0:n.props),o}return gL(e,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),e}(pe);x_(Ar,"controlEventKeys",["on_click","on_click_finish"]),x_(Ar,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function $L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gg(t,e,n){return e=kr(e),PL(t,Zg()?Reflect.construct(e,n||[],kr(t).constructor):e.apply(t,n))}function Xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kr(t){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(t)}function Qg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j_(t,e)}function Jg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){xe(t,r,n[r])})}return t}function PL(t,e){return e&&(EL(e)==="object"||typeof e=="function")?e:$L(t)}function j_(t,e){return j_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},j_(t,e)}function EL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zg=function(){return!!t})()}var SL=function(t){Qg(e,t);function e(n){Xg(this,e);var o;return o=Gg(this,e,[n]),xe(o,"fillPayload",{type:"object",fields:Jg({},Rr())}),xe(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),xe(o,"fillBack",{type:"object",fields:Jg({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Rr())}),o}return e}(W),Yg=function(t){Qg(e,t);function e(n){Xg(this,e);var o;o=Gg(this,e,[n]),xe(o,"fillPayload",void 0),xe(o,"listPageBind",void 0),xe(o,"disableFilling",void 0),xe(o,"fillBack",void 0),xe(o,"showSelectedDetail",void 0),xe(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:xr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:xr.controlIcon,o.fillPayload=new W0(n==null?void 0:n.fillPayload),o.listPageBind=new tf(n==null?void 0:n.listPageBind),o.fillBack=new K0(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 uf(n==null?void 0:n.selectedContentConfig);var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return e}(Oe);xe(Yg,"Rules",SL);function TL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RL(t,e,n){return e=Dr(e),kL(t,tm()?Reflect.construct(e,n||[],Dr(t).constructor):e.apply(t,n))}function BL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function em(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IL(t,e,n){return e&&em(t.prototype,e),n&&em(t,n),t}function L_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dr(t){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(t)}function AL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M_(t,e)}function kL(t,e){return e&&(DL(e)==="object"||typeof e=="function")?e:TL(t)}function M_(t,e){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(t,e)}function DL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tm=function(){return!!t})()}var xr=function(t){AL(e,t);function e(n){BL(this,e);var o;return o=RL(this,e,[n]),L_(o,"props",void 0),o.props=new Yg(n==null?void 0:n.props),o}return IL(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),e}(pe);L_(xr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),L_(xr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function xL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N_(t,e,n){return e=Fr(e),FL(t,om()?Reflect.construct(e,n||[],Fr(t).constructor):e.apply(t,n))}function V_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fr(t){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(t)}function z_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H_(t,e)}function FL(t,e){return e&&(jL(e)==="object"||typeof e=="function")?e:xL(t)}function H_(t,e){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(t,e)}function jL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function om(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(om=function(){return!!t})()}var LL=function(t){z_(e,t);function e(n){return V_(this,e),N_(this,e,[n])}return e}(W),ML=function(t){z_(e,t);function e(n){return V_(this,e),N_(this,e,[n])}return e}($t),q_=function(t){z_(e,t);function e(n){return V_(this,e),N_(this,e,[n])}return e}(K);nm(q_,"Rules",LL),nm(q_,"RuntimeRules",ML);function NL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VL(t,e,n){return e=jr(e),UL(t,um()?Reflect.construct(e,n||[],jr(t).constructor):e.apply(t,n))}function zL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function HL(t,e,n){return e&&rm(t.prototype,e),n&&rm(t,n),t}function im(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jr(t){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(t)}function qL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U_(t,e)}function UL(t,e){return e&&(CL(e)==="object"||typeof e=="function")?e:NL(t)}function U_(t,e){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(t,e)}function CL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function um(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(um=function(){return!!t})()}var WL=function(t){qL(e,t);function e(n){zL(this,e);var o;return o=VL(this,e,[n]),im(o,"props",void 0),o.props=new q_(n==null?void 0:n.props),o}return HL(e,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),e}(N);im(WL,"setting",[]);function KL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cm(t,e,n){return e=Lr(e),GL(t,fm()?Reflect.construct(e,n||[],Lr(t).constructor):e.apply(t,n))}function lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lr(t){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(t)}function am(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C_(t,e)}function GL(t,e){return e&&(XL(e)==="object"||typeof e=="function")?e:KL(t)}function C_(t,e){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(t,e)}function XL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fm=function(){return!!t})()}var QL=function(t){am(e,t);function e(n){lm(this,e);var o;return o=cm(this,e,[n]),Te(o,"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),Te(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Te(o,"isHideCaption",{type:"boolean"}),Te(o,"labelPosition",{type:"enum",enum:["top","left"]}),Te(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),_m=function(t){am(e,t);function e(n){lm(this,e);var o;o=cm(this,e,[n]),Te(o,"dashboardKey",void 0),Te(o,"caption",void 0),Te(o,"isHideCaption",void 0),Te(o,"isShowCaptionTip",void 0),Te(o,"captionTip",void 0),Te(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return e}(K);Te(_m,"Rules",QL);function JL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZL(t,e,n){return e=Mr(e),nM(t,pm()?Reflect.construct(e,n||[],Mr(t).constructor):e.apply(t,n))}function YL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ym(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eM(t,e,n){return e&&ym(t.prototype,e),n&&ym(t,n),t}function sm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mr(t){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(t)}function tM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W_(t,e)}function nM(t,e){return e&&(oM(e)==="object"||typeof e=="function")?e:JL(t)}function W_(t,e){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(t,e)}function oM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pm=function(){return!!t})()}var rM=function(t){tM(e,t);function e(n){YL(this,e);var o;return o=ZL(this,e,[n]),sm(o,"props",void 0),o.props=new _m(n==null?void 0:n.props),o}return eM(e,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),e}(N);sm(rM,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function iM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dm(t,e,n){return e=Nr(e),uM(t,bm()?Reflect.construct(e,n||[],Nr(t).constructor):e.apply(t,n))}function vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nr(t){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(t)}function hm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K_(t,e)}function uM(t,e){return e&&(cM(e)==="object"||typeof e=="function")?e:iM(t)}function K_(t,e){return K_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K_(t,e)}function cM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bm=function(){return!!t})()}var lM=function(t){hm(e,t);function e(n){vm(this,e);var o;return o=dm(this,e,[n]),ro(o,"showType",{type:"enum",enum:["select","tabs"]}),ro(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return e}(W),gm=function(t){hm(e,t);function e(n){vm(this,e);var o,r;o=dm(this,e,[n]),ro(o,"showType",void 0),ro(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var u;return o.viewList=(u=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(c){return new Pk(c)}))!==null&&u!==void 0?u:[],o}return e}(K);ro(gm,"Rules",lM);function aM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fM(t,e,n){return e=Vr(e),pM(t,wm()?Reflect.construct(e,n||[],Vr(t).constructor):e.apply(t,n))}function _M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yM(t,e,n){return e&&mm(t.prototype,e),n&&mm(t,n),t}function Om(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vr(t){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(t)}function sM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G_(t,e)}function pM(t,e){return e&&(dM(e)==="object"||typeof e=="function")?e:aM(t)}function G_(t,e){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(t,e)}function dM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wm=function(){return!!t})()}var vM=function(t){sM(e,t);function e(n){_M(this,e);var o;return o=fM(this,e,[n]),Om(o,"props",void 0),o.props=new gm(n==null?void 0:n.props),o}return yM(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),e}(N);Om(vM,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function hM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $m(t,e,n){return e=zr(e),bM(t,Sm()?Reflect.construct(e,n||[],zr(t).constructor):e.apply(t,n))}function Pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zr(t){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(t)}function Em(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X_(t,e)}function bM(t,e){return e&&(gM(e)==="object"||typeof e=="function")?e:hM(t)}function X_(t,e){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(t,e)}function gM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sm=function(){return!!t})()}var mM=function(t){Em(e,t);function e(n){Pm(this,e);var o;return o=$m(this,e,[n]),de(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),de(o,"isHideCaption",{type:"boolean"}),de(o,"labelPosition",{type:"enum",enum:["top","left"]}),de(o,"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),de(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),de(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),Tm=function(t){Em(e,t);function e(n){Pm(this,e);var o,r;o=$m(this,e,[n]),de(o,"caption",void 0),de(o,"isHideCaption",void 0),de(o,"isShowCaptionTip",void 0),de(o,"captionTip",void 0),de(o,"labelPosition",void 0),de(o,"ocrType",void 0),de(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:io.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:io.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:io.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new se(O)}))!==null&&b!==void 0?b:[],o}return e}(Oe);de(Tm,"Rules",mM);function OM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wM(t,e,n){return e=Hr(e),SM(t,Bm()?Reflect.construct(e,n||[],Hr(t).constructor):e.apply(t,n))}function $M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function PM(t,e,n){return e&&Rm(t.prototype,e),n&&Rm(t,n),t}function Q_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hr(t){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(t)}function EM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J_(t,e)}function SM(t,e){return e&&(TM(e)==="object"||typeof e=="function")?e:OM(t)}function J_(t,e){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(t,e)}function TM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bm=function(){return!!t})()}var io=function(t){EM(e,t);function e(n){$M(this,e);var o;return o=wM(this,e,[n]),Q_(o,"props",void 0),o.props=new Tm(n==null?void 0:n.props),o}return PM(e,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),e}(pe);Q_(io,"controlEventKeys",["on_click","on_click_finish"]),Q_(io,"setting",[{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function RM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Im(t,e,n){return e=qr(e),BM(t,Dm()?Reflect.construct(e,n||[],qr(t).constructor):e.apply(t,n))}function Am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qr(t){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(t)}function km(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Z_(t,e)}function BM(t,e){return e&&(IM(e)==="object"||typeof e=="function")?e:RM(t)}function Z_(t,e){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(t,e)}function IM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dm=function(){return!!t})()}var AM=function(t){km(e,t);function e(n){Am(this,e);var o;return o=Im(this,e,[n]),ve(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ve(o,"isHideCaption",{type:"boolean"}),ve(o,"labelPosition",{type:"enum",enum:["top","left"]}),ve(o,"invoiceCheck",{type:"boolean"}),ve(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),ve(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),xm=function(t){km(e,t);function e(n){Am(this,e);var o,r;o=Im(this,e,[n]),ve(o,"caption",void 0),ve(o,"isHideCaption",void 0),ve(o,"isShowCaptionTip",void 0),ve(o,"captionTip",void 0),ve(o,"labelPosition",void 0),ve(o,"invoiceCheck",void 0),ve(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:uo.controlName;var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:uo.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:uo.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new se(O)}))!==null&&b!==void 0?b:[],o}return e}(Oe);ve(xm,"Rules",AM);function kM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DM(t,e,n){return e=Ur(e),LM(t,jm()?Reflect.construct(e,n||[],Ur(t).constructor):e.apply(t,n))}function xM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FM(t,e,n){return e&&Fm(t.prototype,e),n&&Fm(t,n),t}function Y_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ur(t){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ur(t)}function jM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ey(t,e)}function LM(t,e){return e&&(MM(e)==="object"||typeof e=="function")?e:kM(t)}function ey(t,e){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(t,e)}function MM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jm=function(){return!!t})()}var uo=function(t){jM(e,t);function e(n){xM(this,e);var o;return o=DM(this,e,[n]),Y_(o,"props",void 0),o.props=new xm(n==null?void 0:n.props),o}return FM(e,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),e}(pe);Y_(uo,"controlEventKeys",["on_click","on_click_finish"]),Y_(uo,"setting",[{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function NM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lm(t,e,n){return e=Wr(e),VM(t,Vm()?Reflect.construct(e,n||[],Wr(t).constructor):e.apply(t,n))}function Mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wr(t){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(t)}function Nm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ty(t,e)}function VM(t,e){return e&&(zM(e)==="object"||typeof e=="function")?e:NM(t)}function ty(t,e){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(t,e)}function zM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vm=function(){return!!t})()}var HM=function(t){Nm(e,t);function e(){Mm(this,e);var n;return n=Lm(this,e,arguments),Cr(n,"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return e}(W),zm=function(t){Nm(e,t);function e(n){Mm(this,e);var o,r;o=Lm(this,e,[n]),Cr(o,"printTemplates",void 0),Cr(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Gr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Gr.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(l){return new dF(l)}))!==null&&c!==void 0?c:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return e}(Oe);Cr(zm,"Rules",HM);function qM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UM(t,e,n){return e=Kr(e),GM(t,qm()?Reflect.construct(e,n||[],Kr(t).constructor):e.apply(t,n))}function CM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function WM(t,e,n){return e&&Hm(t.prototype,e),n&&Hm(t,n),t}function ny(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kr(t){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(t)}function KM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oy(t,e)}function GM(t,e){return e&&(XM(e)==="object"||typeof e=="function")?e:qM(t)}function oy(t,e){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(t,e)}function XM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qm=function(){return!!t})()}var Gr=function(t){KM(e,t);function e(n){CM(this,e);var o;return o=UM(this,e,[n]),ny(o,"props",void 0),o.props=new zm(n==null?void 0:n.props),o}return WM(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),e}(pe);ny(Gr,"controlEventKeys",["on_click","on_click_finish"]),ny(Gr,"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 QM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JM(t,e,n){return e=Xr(e),e5(t,Um()?Reflect.construct(e,n||[],Xr(t).constructor):e.apply(t,n))}function ZM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(t){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(t)}function YM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ry(t,e)}function e5(t,e){return e&&(t5(e)==="object"||typeof e=="function")?e:QM(t)}function ry(t,e){return ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ry(t,e)}function t5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Um(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Um=function(){return!!t})()}var n5=function(t){YM(e,t);function e(n){ZM(this,e);var o;o=JM(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Jr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Jr.controlIcon,o}return e}(Oe);function o5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r5(t,e,n){return e=Qr(e),l5(t,Wm()?Reflect.construct(e,n||[],Qr(t).constructor):e.apply(t,n))}function i5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u5(t,e,n){return e&&Cm(t.prototype,e),n&&Cm(t,n),t}function iy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qr(t){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qr(t)}function c5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uy(t,e)}function l5(t,e){return e&&(a5(e)==="object"||typeof e=="function")?e:o5(t)}function uy(t,e){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(t,e)}function a5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wm=function(){return!!t})()}var Jr=function(t){c5(e,t);function e(n){i5(this,e);var o;return o=r5(this,e,[n]),iy(o,"props",void 0),o.props=new n5(n==null?void 0:n.props),o}return u5(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),e}(pe);iy(Jr,"controlEventKeys",["on_click"]),iy(Jr,"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 f5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Km(t,e,n){return e=Zr(e),_5(t,Qm()?Reflect.construct(e,n||[],Zr(t).constructor):e.apply(t,n))}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zr(t){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(t)}function Xm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cy(t,e)}function _5(t,e){return e&&(y5(e)==="object"||typeof e=="function")?e:f5(t)}function cy(t,e){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(t,e)}function y5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qm=function(){return!!t})()}var s5=function(t){Xm(e,t);function e(n){Gm(this,e);var o;return o=Km(this,e,[n]),_e(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return e}(W),Yr=function(t){Xm(e,t);function e(n){Gm(this,e);var o;o=Km(this,e,[n]),_e(o,"content",void 0),_e(o,"code",void 0),_e(o,"command",void 0),_e(o,"color",void 0),_e(o,"icon",void 0),_e(o,"formKey",void 0),_e(o,"openType",void 0),_e(o,"needConfirm",void 0),_e(o,"confirmMessage",void 0),_e(o,"options",void 0),_e(o,"defaultState",void 0),_e(o,"priorityProcess",void 0),_e(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\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 c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return e}(K);_e(Yr,"Rules",s5);function p5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d5(t,e,n){return e=ei(e),g5(t,Zm()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function v5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h5(t,e,n){return e&&Jm(t.prototype,e),n&&Jm(t,n),t}function ly(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function b5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ay(t,e)}function g5(t,e){return e&&(m5(e)==="object"||typeof e=="function")?e:p5(t)}function ay(t,e){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(t,e)}function m5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zm=function(){return!!t})()}var ti=function(t){b5(e,t);function e(n){v5(this,e);var o;return o=d5(this,e,[n]),ly(o,"props",void 0),o.props=new Yr(n==null?void 0:n.props),o}return h5(e,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),e}(N);ly(ti,"controlEventKeys",["on_click"]),ly(ti,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function O5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w5(t,e,n){return e=ni(e),T5(t,eO()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function $5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ym(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P5(t,e,n){return e&&Ym(t.prototype,e),n&&Ym(t,n),t}function E5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function S5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fy(t,e)}function T5(t,e){return e&&(R5(e)==="object"||typeof e=="function")?e:O5(t)}function fy(t,e){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(t,e)}function R5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eO=function(){return!!t})()}var B5=function(t){S5(e,t);function e(n){$5(this,e);var o;return o=w5(this,e,[n]),E5(o,"props",void 0),o.props=new Yr(n==null?void 0:n.props),o}return P5(e,null,[{key:"controlType",get:function(){return"operation-button"}}]),e}(Je),_y={Designer:ti,Runtime:B5,Property:Yr};function I5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A5(t,e,n){return e=oi(e),x5(t,tO()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function k5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function D5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yy(t,e)}function x5(t,e){return e&&(F5(e)==="object"||typeof e=="function")?e:I5(t)}function yy(t,e){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(t,e)}function F5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tO=function(){return!!t})()}var j5=function(t){D5(e,t);function e(n){k5(this,e);var o;o=A5(this,e,[n]),ht(o,"content",void 0),ht(o,"buttonType",void 0),ht(o,"showType",void 0),ht(o,"color",void 0),ht(o,"icon",void 0),ht(o,"defaultState",void 0),ht(o,"command",void 0),ht(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ii.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ii.controlIcon;var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var l;o.isHide=(l=n==null?void 0:n.isHide)!==null&&l!==void 0?l:!1;var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return e}(K);function L5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M5(t,e,n){return e=ri(e),H5(t,oO()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function N5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function V5(t,e,n){return e&&nO(t.prototype,e),n&&nO(t,n),t}function sy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function z5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&py(t,e)}function H5(t,e){return e&&(q5(e)==="object"||typeof e=="function")?e:L5(t)}function py(t,e){return py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},py(t,e)}function q5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oO=function(){return!!t})()}var ii=function(t){z5(e,t);function e(n){N5(this,e);var o;return o=M5(this,e,[n]),sy(o,"props",void 0),o.props=new j5(n==null?void 0:n.props),o}return V5(e,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),e}(N);sy(ii,"controlEventKeys",["on_click"]),sy(ii,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function U5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dy(t,e,n){return e=ui(e),C5(t,rO()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function vy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function hy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&by(t,e)}function C5(t,e){return e&&(W5(e)==="object"||typeof e=="function")?e:U5(t)}function by(t,e){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(t,e)}function W5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rO=function(){return!!t})()}var K5=function(t){hy(e,t);function e(n){vy(this,e);var o;return o=dy(this,e,[n]),we(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),we(o,"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),we(o,"defaultValue",[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Kt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),G5=function(t){hy(e,t);function e(n){vy(this,e);var o;return o=dy(this,e,[n]),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Kt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),co=function(t){hy(e,t);function e(n){vy(this,e);var o;o=dy(this,e,[n]),we(o,"maxLength",void 0),we(o,"minLength",void 0),we(o,"regularRules",void 0),we(o,"defaultValue",void 0),we(o,"encrypted",void 0),we(o,"encryptedMode",void 0),we(o,"borderColor",void 0),we(o,"backgroundColor",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 Bo(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:lo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var f;o.encryptedMode=(f=n==null?void 0:n.encryptedMode)!==null&&f!==void 0?f:"";var y;o.borderColor=(y=n==null?void 0:n.borderColor)!==null&&y!==void 0?y:"";var p;return o.backgroundColor=(p=n==null?void 0:n.backgroundColor)!==null&&p!==void 0?p:"",o}return e}(D);we(co,"Rules",K5),we(co,"RuntimeRules",G5);function X5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q5(t,e,n){return e=li(e),eN(t,uO()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function J5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Z5(t,e,n){return e&&iO(t.prototype,e),n&&iO(t,n),t}function ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function Y5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gy(t,e)}function eN(t,e){return e&&(tN(e)==="object"||typeof e=="function")?e:X5(t)}function gy(t,e){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(t,e)}function tN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uO=function(){return!!t})()}var lo=function(t){Y5(e,t);function e(n){J5(this,e);var o;return o=Q5(this,e,[n]),ci(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return Z5(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),e}(x);ci(lo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ci(lo,"controlFieldType",g.VARCHAR),ci(lo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function nN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oN(t,e,n){return e=ai(e),cN(t,aO()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function rN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iN(t,e,n){return e&&cO(t.prototype,e),n&&cO(t,n),t}function lO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function uN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&my(t,e)}function cN(t,e){return e&&(lN(e)==="object"||typeof e=="function")?e:nN(t)}function my(t,e){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(t,e)}function lN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aO=function(){return!!t})()}var aN=function(t){uN(e,t);function e(n){rN(this,e);var o;return o=oN(this,e,[n]),lO(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return iN(e,null,[{key:"controlType",get:function(){return"input"}}]),e}(F);lO(aN,"controlFieldType",g.VARCHAR);function fN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Oy(t,e,n){return e=fi(e),_N(t,fO()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function $y(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Py(t,e)}function _N(t,e){return e&&(yN(e)==="object"||typeof e=="function")?e:fN(t)}function Py(t,e){return Py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Py(t,e)}function yN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fO=function(){return!!t})()}var sN=function(t){$y(e,t);function e(n){wy(this,e);var o;o=Oy(this,e,[n]),oe(o,"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return e}(zt),pN=function(t){$y(e,t);function e(n){wy(this,e);var o;return o=Oy(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return e}(z),_i=function(t){$y(e,t);function e(n){wy(this,e);var o;o=Oy(this,e,[n]),oe(o,"checkboxMode",void 0),oe(o,"options",void 0),oe(o,"optionsOrder",void 0),oe(o,"limitMax",void 0),oe(o,"limitMin",void 0),oe(o,"otherOption",void 0),oe(o,"optionConfig",void 0),oe(o,"optionsFormat",void 0),oe(o,"defaultShowOptions",void 0),oe(o,"datasourceBind",void 0),oe(o,"multistageFilling",void 0),oe(o,"interreaction",void 0),oe(o,"defaultValue",void 0),oe(o,"openMultistageFilling",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var f;o.limitMax=(f=n==null?void 0:n.limitMax)!==null&&f!==void 0?f:"unlimited",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:pi.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 se(h))})),o}return e}(D);oe(_i,"Rules",sN),oe(_i,"RuntimeRules",pN);function dN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vN(t,e,n){return e=si(e),mN(t,yO()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function hN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _O(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bN(t,e,n){return e&&_O(t.prototype,e),n&&_O(t,n),t}function yi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function gN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ey(t,e)}function mN(t,e){return e&&(ON(e)==="object"||typeof e=="function")?e:dN(t)}function Ey(t,e){return Ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ey(t,e)}function ON(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yO=function(){return!!t})()}var pi=function(t){gN(e,t);function e(n){hN(this,e);var o;return o=vN(this,e,[n]),yi(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return bN(e,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),e}(x);yi(pi,"controlEventKeys",["on_change","on_click"]),yi(pi,"controlFieldType",g.ARRAY),yi(pi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function wN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $N(t,e,n){return e=di(e),TN(t,dO()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function PN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function EN(t,e,n){return e&&sO(t.prototype,e),n&&sO(t,n),t}function pO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function SN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sy(t,e)}function TN(t,e){return e&&(RN(e)==="object"||typeof e=="function")?e:wN(t)}function Sy(t,e){return Sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sy(t,e)}function RN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dO=function(){return!!t})()}var BN=function(t){SN(e,t);function e(n){PN(this,e);var o;return o=$N(this,e,[n]),pO(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return EN(e,null,[{key:"controlType",get:function(){return"checkbox"}}]),e}(F);pO(BN,"controlFieldType",g.ARRAY);function IN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vO(t,e,n){return e=vi(e),AN(t,gO()?Reflect.construct(e,n||[],vi(t).constructor):e.apply(t,n))}function hO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function bO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ty(t,e)}function AN(t,e){return e&&(kN(e)==="object"||typeof e=="function")?e:IN(t)}function Ty(t,e){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(t,e)}function kN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gO=function(){return!!t})()}var DN=function(t){bO(e,t);function e(n){return hO(this,e),vO(this,e,[n])}return e}(zt),Ry=function(t){bO(e,t);function e(n){hO(this,e);var o;o=vO(this,e,[n]),$e(o,"radioMode",void 0),$e(o,"options",void 0),$e(o,"optionConfig",void 0),$e(o,"optionsFormat",void 0),$e(o,"defaultShowOptions",void 0),$e(o,"otherOption",void 0),$e(o,"optionsOrder",void 0),$e(o,"datasourceBind",void 0),$e(o,"multistageFilling",void 0),$e(o,"interreaction",void 0),$e(o,"defaultValue",void 0),$e(o,"openMultistageFilling",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var f;o.optionsFormat=(f=n==null?void 0:n.optionsFormat)!==null&&f!==void 0?f:"horizontal",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:gi.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 se(m))})),o}return e}(D);$e(Ry,"Rules",DN);function xN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FN(t,e,n){return e=bi(e),NN(t,OO()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function jN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LN(t,e,n){return e&&mO(t.prototype,e),n&&mO(t,n),t}function hi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function MN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&By(t,e)}function NN(t,e){return e&&(VN(e)==="object"||typeof e=="function")?e:xN(t)}function By(t,e){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(t,e)}function VN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OO=function(){return!!t})()}var gi=function(t){MN(e,t);function e(n){jN(this,e);var o;return o=FN(this,e,[n]),hi(o,"props",void 0),o.props=new Ry(n==null?void 0:n.props),o}return LN(e,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),e}(x);hi(gi,"controlEventKeys",["on_change","on_click"]),hi(gi,"controlFieldType",g.VARCHAR),hi(gi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function zN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HN(t,e,n){return e=mi(e),WN(t,PO()?Reflect.construct(e,n||[],mi(t).constructor):e.apply(t,n))}function qN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UN(t,e,n){return e&&wO(t.prototype,e),n&&wO(t,n),t}function $O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function CN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iy(t,e)}function WN(t,e){return e&&(KN(e)==="object"||typeof e=="function")?e:zN(t)}function Iy(t,e){return Iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iy(t,e)}function KN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PO=function(){return!!t})()}var GN=function(t){CN(e,t);function e(n){qN(this,e);var o;return o=HN(this,e,[n]),$O(o,"props",void 0),o.props=new Ry(n==null?void 0:n.props),o}return UN(e,null,[{key:"controlType",get:function(){return"radio"}}]),e}(F);$O(GN,"controlFieldType",g.VARCHAR);function XN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ay(t,e,n){return e=Oi(e),QN(t,EO()?Reflect.construct(e,n||[],Oi(t).constructor):e.apply(t,n))}function ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oi(t){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oi(t)}function Dy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xy(t,e)}function QN(t,e){return e&&(JN(e)==="object"||typeof e=="function")?e:XN(t)}function xy(t,e){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(t,e)}function JN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EO=function(){return!!t})()}var ZN=function(t){Dy(e,t);function e(n){ky(this,e);var o;o=Ay(this,e,[n]),ce(o,"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ce(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=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Kt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),YN=function(t){Dy(e,t);function e(n){ky(this,e);var o;o=Ay(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Kt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),wi=function(t){Dy(e,t);function e(n){ky(this,e);var o;o=Ay(this,e,[n]),ce(o,"rangeMin",void 0),ce(o,"rangeMax",void 0),ce(o,"numberType",void 0),ce(o,"percentageFormat",void 0),ce(o,"micrometer",void 0),ce(o,"precision",void 0),ce(o,"showUpperCase",void 0),ce(o,"isShowUnit",void 0),ce(o,"unitPosition",void 0),ce(o,"unit",void 0),ce(o,"defaultValue",void 0),ce(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:0;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1;var y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!1;var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"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:Ei.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Bo(n==null?void 0:n.regularRules),o}return e}(D);ce(wi,"Rules",ZN),ce(wi,"RuntimeRules",YN);function e6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t6(t,e,n){return e=Xt(e),i6(t,TO()?Reflect.construct(e,n||[],Xt(t).constructor):e.apply(t,n))}function n6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o6(t,e,n){return e&&SO(t.prototype,e),n&&SO(t,n),t}function $i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Pi=Reflect.get:Pi=function(r,i,u){var c=u6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Pi(t,e,n||t)}function Xt(t){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xt(t)}function r6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fy(t,e)}function i6(t,e){return e&&(c6(e)==="object"||typeof e=="function")?e:e6(t)}function Fy(t,e){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(t,e)}function u6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Xt(t),t!==null););return t}function c6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TO=function(){return!!t})()}var Ei=function(t){r6(e,t);function e(n){n6(this,e);var o;return o=t6(this,e,[n]),$i(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return o6(e,[{key:"toDataBindModel",value:function(o){var r=Pi(Xt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),e}(x);$i(Ei,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),$i(Ei,"controlFieldType",g.DECIMAL),$i(Ei,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_UNIT,_.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function l6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a6(t,e,n){return e=Si(e),s6(t,IO()?Reflect.construct(e,n||[],Si(t).constructor):e.apply(t,n))}function f6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _6(t,e,n){return e&&RO(t.prototype,e),n&&RO(t,n),t}function BO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(t)}function y6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jy(t,e)}function s6(t,e){return e&&(p6(e)==="object"||typeof e=="function")?e:l6(t)}function jy(t,e){return jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jy(t,e)}function p6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IO=function(){return!!t})()}var d6=function(t){y6(e,t);function e(n){f6(this,e);var o;return o=a6(this,e,[n]),BO(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return _6(e,null,[{key:"controlType",get:function(){return"number"}}]),e}(F);BO(d6,"controlFieldType",g.DECIMAL);function v6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h6(t,e,n){return e=Ti(e),m6(t,AO()?Reflect.construct(e,n||[],Ti(t).constructor):e.apply(t,n))}function b6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ti(t){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(t)}function g6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ly(t,e)}function m6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:v6(t)}function Ly(t,e){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(t,e)}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AO=function(){return!!t})()}var kO=function(t){g6(e,t);function e(n){b6(this,e);var o,r;o=h6(this,e,[n]),bt(o,"dateType",void 0),bt(o,"dateFormat",void 0),bt(o,"commonTimeSetting",void 0),bt(o,"setValueType",void 0),bt(o,"defaultValue",void 0),bt(o,"limitDateList",void 0),bt(o,"allowDateRange",void 0),bt(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:rt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Vy.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u65E5\u671F";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var p;o.limitDateList=(p=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new o_(m)}))!==null&&p!==void 0?p:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var O;return o.filterWeekend=(O=n==null?void 0:n.filterWeekend)!==null&&O!==void 0?O:!1,o}return e}(D);function w6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $6(t,e,n){return e=Qt(e),T6(t,xO()?Reflect.construct(e,n||[],Qt(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E6(t,e,n){return e&&DO(t.prototype,e),n&&DO(t,n),t}function My(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ri(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ri=Reflect.get:Ri=function(r,i,u){var c=R6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ri(t,e,n||t)}function Qt(t){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qt(t)}function S6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ny(t,e)}function T6(t,e){return e&&(B6(e)==="object"||typeof e=="function")?e:w6(t)}function Ny(t,e){return Ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ny(t,e)}function R6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Qt(t),t!==null););return t}function B6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xO=function(){return!!t})()}var Vy=function(t){S6(e,t);function e(n){P6(this,e);var o;return o=$6(this,e,[n]),My(o,"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return E6(e,[{key:"toDataBindModel",value:function(o){var r=Ri(Qt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),e}(x);My(Vy,"controlFieldType",g.TIMESTAMP),My(Vy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function I6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A6(t,e,n){return e=Bi(e),F6(t,LO()?Reflect.construct(e,n||[],Bi(t).constructor):e.apply(t,n))}function k6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function D6(t,e,n){return e&&FO(t.prototype,e),n&&FO(t,n),t}function jO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(t)}function x6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zy(t,e)}function F6(t,e){return e&&(j6(e)==="object"||typeof e=="function")?e:I6(t)}function zy(t,e){return zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zy(t,e)}function j6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LO=function(){return!!t})()}var L6=function(t){x6(e,t);function e(n){k6(this,e);var o;return o=A6(this,e,[n]),jO(o,"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return D6(e,null,[{key:"controlType",get:function(){return"date-picker"}}]),e}(F);jO(L6,"controlFieldType",g.TIMESTAMP);function M6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MO(t,e,n){return e=Ii(e),N6(t,zO()?Reflect.construct(e,n||[],Ii(t).constructor):e.apply(t,n))}function NO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(t)}function VO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hy(t,e)}function N6(t,e){return e&&(V6(e)==="object"||typeof e=="function")?e:M6(t)}function Hy(t,e){return Hy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hy(t,e)}function V6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zO=function(){return!!t})()}var z6=function(t){VO(e,t);function e(n){NO(this,e);var o;return o=MO(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(z),qy=function(t){VO(e,t);function e(n){NO(this,e);var o,r;o=MO(this,e,[n]),Re(o,"dataBind",void 0),Re(o,"rangeMin",void 0),Re(o,"rangeMax",void 0),Re(o,"placeholderStart",void 0),Re(o,"placeholderEnd",void 0),Re(o,"dateFormat",void 0),Re(o,"commonTimeSetting",void 0),Re(o,"dateType",void 0),Re(o,"setValueType",void 0),Re(o,"defaultValue",void 0),Re(o,"limitDateList",void 0),o.dataBind=new gk(n==null?void 0:n.dataBind),o.defaultValue=new mk(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:rt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Wy.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(m){return new o_(m)}))!==null&&O!==void 0?O:[],o}return e}(D);Re(qy,"RuntimeRules",z6);function H6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q6(t,e,n){return e=Jt(e),K6(t,qO()?Reflect.construct(e,n||[],Jt(t).constructor):e.apply(t,n))}function U6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function C6(t,e,n){return e&&HO(t.prototype,e),n&&HO(t,n),t}function Uy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ai(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ai=Reflect.get:Ai=function(r,i,u){var c=G6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ai(t,e,n||t)}function Jt(t){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jt(t)}function W6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cy(t,e)}function K6(t,e){return e&&(X6(e)==="object"||typeof e=="function")?e:H6(t)}function Cy(t,e){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(t,e)}function G6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Jt(t),t!==null););return t}function X6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qO=function(){return!!t})()}var Wy=function(t){W6(e,t);function e(n){U6(this,e);var o;return o=q6(this,e,[n]),Uy(o,"props",void 0),o.props=new qy(n==null?void 0:n.props),o}return C6(e,[{key:"toDataBindModel",value:function(o){var r=Ai(Jt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),e}(x);Uy(Wy,"controlFieldType",g.TIMESCOPE),Uy(Wy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Q6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J6(t,e,n){return e=ki(e),t4(t,WO()?Reflect.construct(e,n||[],ki(t).constructor):e.apply(t,n))}function Z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function UO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Y6(t,e,n){return e&&UO(t.prototype,e),n&&UO(t,n),t}function CO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ki(t){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(t)}function e4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ky(t,e)}function t4(t,e){return e&&(n4(e)==="object"||typeof e=="function")?e:Q6(t)}function Ky(t,e){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(t,e)}function n4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WO=function(){return!!t})()}var o4=function(t){e4(e,t);function e(n){Z6(this,e);var o;return o=J6(this,e,[n]),CO(o,"props",void 0),o.props=new qy(n==null?void 0:n.props),o}return Y6(e,null,[{key:"controlType",get:function(){return"date-range"}}]),e}(F);CO(o4,"controlFieldType",g.TIMESCOPE);function r4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gy(t,e,n){return e=Di(e),i4(t,KO()?Reflect.construct(e,n||[],Di(t).constructor):e.apply(t,n))}function Xy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Di(t){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(t)}function Qy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jy(t,e)}function i4(t,e){return e&&(u4(e)==="object"||typeof e=="function")?e:r4(t)}function Jy(t,e){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(t,e)}function u4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KO=function(){return!!t})()}var c4=function(t){Qy(e,t);function e(n){Xy(this,e);var o;return o=Gy(this,e,[n]),Pe(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Pe(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Pe(o,"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),l4=function(t){Qy(e,t);function e(n){Xy(this,e);var o;return o=Gy(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),xi=function(t){Qy(e,t);function e(n){Xy(this,e);var o;o=Gy(this,e,[n]),Pe(o,"maxLength",void 0),Pe(o,"minLength",void 0),Pe(o,"defaultValue",void 0),Pe(o,"lineEllipsis",void 0),Pe(o,"autoSize",void 0),Pe(o,"maxRows",void 0),Pe(o,"borderColor",void 0),Pe(o,"backgroundColor",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Li.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4;var f;o.autoSize=(f=n==null?void 0:n.autoSize)!==null&&f!==void 0?f:!1,o.maxRows=n==null?void 0:n.maxRows;var y;o.borderColor=(y=n==null?void 0:n.borderColor)!==null&&y!==void 0?y:"";var p;return o.backgroundColor=(p=n==null?void 0:n.backgroundColor)!==null&&p!==void 0?p:"",o}return e}(D);Pe(xi,"Rules",c4),Pe(xi,"RuntimeRules",l4);function a4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f4(t,e,n){return e=ji(e),p4(t,XO()?Reflect.construct(e,n||[],ji(t).constructor):e.apply(t,n))}function _4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function GO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y4(t,e,n){return e&&GO(t.prototype,e),n&&GO(t,n),t}function Fi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ji(t){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(t)}function s4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zy(t,e)}function p4(t,e){return e&&(d4(e)==="object"||typeof e=="function")?e:a4(t)}function Zy(t,e){return Zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zy(t,e)}function d4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XO=function(){return!!t})()}var Li=function(t){s4(e,t);function e(n){_4(this,e);var o;return o=f4(this,e,[n]),Fi(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return y4(e,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),e}(x);Fi(Li,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Fi(Li,"controlFieldType",g.TEXT),Fi(Li,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function v4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h4(t,e,n){return e=Mi(e),O4(t,ZO()?Reflect.construct(e,n||[],Mi(t).constructor):e.apply(t,n))}function b4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g4(t,e,n){return e&&QO(t.prototype,e),n&&QO(t,n),t}function JO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mi(t){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(t)}function m4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yy(t,e)}function O4(t,e){return e&&(w4(e)==="object"||typeof e=="function")?e:v4(t)}function Yy(t,e){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(t,e)}function w4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZO=function(){return!!t})()}var $4=function(t){m4(e,t);function e(n){b4(this,e);var o;return o=h4(this,e,[n]),JO(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return g4(e,null,[{key:"controlType",get:function(){return"textarea"}}]),e}(F);JO($4,"controlFieldType",g.TEXT);function P4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function es(t,e,n){return e=Ni(e),E4(t,YO()?Reflect.construct(e,n||[],Ni(t).constructor):e.apply(t,n))}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ni(t){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(t)}function ns(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&os(t,e)}function E4(t,e){return e&&(S4(e)==="object"||typeof e=="function")?e:P4(t)}function os(t,e){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(t,e)}function S4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YO=function(){return!!t})()}var T4=function(t){ns(e,t);function e(n){ts(this,e);var o;return o=es(this,e,[n]),gt(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),gt(o,"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),gt(o,"defaultValue",{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),R4=function(t){ns(e,t);function e(n){ts(this,e);var o;return o=es(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),Vi=function(t){ns(e,t);function e(n){ts(this,e);var o;o=es(this,e,[n]),gt(o,"maxLength",void 0),gt(o,"minLength",void 0),gt(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:qi.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return e}(D);gt(Vi,"Rules",T4),gt(Vi,"RuntimeRules",R4);function B4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I4(t,e,n){return e=Hi(e),x4(t,tw()?Reflect.construct(e,n||[],Hi(t).constructor):e.apply(t,n))}function A4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ew(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function k4(t,e,n){return e&&ew(t.prototype,e),n&&ew(t,n),t}function zi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hi(t){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(t)}function D4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rs(t,e)}function x4(t,e){return e&&(F4(e)==="object"||typeof e=="function")?e:B4(t)}function rs(t,e){return rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rs(t,e)}function F4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tw=function(){return!!t})()}var qi=function(t){D4(e,t);function e(n){A4(this,e);var o;return o=I4(this,e,[n]),zi(o,"props",void 0),o.props=new Vi(n==null?void 0:n.props),o}return k4(e,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),e}(x);zi(qi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),zi(qi,"controlFieldType",g.TEXT),zi(qi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function j4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L4(t,e,n){return e=Ui(e),z4(t,rw()?Reflect.construct(e,n||[],Ui(t).constructor):e.apply(t,n))}function M4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function N4(t,e,n){return e&&nw(t.prototype,e),n&&nw(t,n),t}function ow(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function V4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&is(t,e)}function z4(t,e){return e&&(H4(e)==="object"||typeof e=="function")?e:j4(t)}function is(t,e){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(t,e)}function H4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rw=function(){return!!t})()}var q4=function(t){V4(e,t);function e(n){M4(this,e);var o;return o=L4(this,e,[n]),ow(o,"props",void 0),o.props=new Vi(n==null?void 0:n.props),o}return N4(e,null,[{key:"controlType",get:function(){return"rich-text"}}]),e}(F);ow(q4,"controlFieldType",g.TEXT);function U4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iw(t,e,n){return e=Ci(e),C4(t,lw()?Reflect.construct(e,n||[],Ci(t).constructor):e.apply(t,n))}function uw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function cw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&us(t,e)}function C4(t,e){return e&&(W4(e)==="object"||typeof e=="function")?e:U4(t)}function us(t,e){return us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},us(t,e)}function W4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lw=function(){return!!t})()}var K4=function(t){cw(e,t);function e(n){uw(this,e);var o;return o=iw(this,e,[n]),Ee(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(zt),cs=function(t){cw(e,t);function e(n){uw(this,e);var o;o=iw(this,e,[n]),Ee(o,"options",void 0),Ee(o,"defaultShowOptions",void 0),Ee(o,"optionConfig",void 0),Ee(o,"defaultValue",void 0),Ee(o,"datasourceBind",void 0),Ee(o,"multistageFilling",void 0),Ee(o,"allowCopyOptions",void 0),Ee(o,"openMultistageFilling",void 0),Ee(o,"viewFormModelType",void 0),Ee(o,"canViewForm",void 0),Ee(o,"formBind",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:fs.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.allowCopyOptions=(f=n==null?void 0:n.allowCopyOptions)!==null&&f!==void 0?f:!1;var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new se(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(D);Ee(cs,"Rules",K4);function G4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X4(t,e,n){return e=Wi(e),Y4(t,fw()?Reflect.construct(e,n||[],Wi(t).constructor):e.apply(t,n))}function Q4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function J4(t,e,n){return e&&aw(t.prototype,e),n&&aw(t,n),t}function ls(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wi(t){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(t)}function Z4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&as(t,e)}function Y4(t,e){return e&&(e7(e)==="object"||typeof e=="function")?e:G4(t)}function as(t,e){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(t,e)}function e7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fw=function(){return!!t})()}var fs=function(t){Z4(e,t);function e(n){Q4(this,e);var o;return o=X4(this,e,[n]),ls(o,"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return J4(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),e}(x);ls(fs,"controlFieldType",g.VARCHAR),ls(fs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP,_.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function t7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n7(t,e,n){return e=Ki(e),u7(t,sw()?Reflect.construct(e,n||[],Ki(t).constructor):e.apply(t,n))}function o7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _w(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function r7(t,e,n){return e&&_w(t.prototype,e),n&&_w(t,n),t}function yw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ki(t){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(t)}function i7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_s(t,e)}function u7(t,e){return e&&(c7(e)==="object"||typeof e=="function")?e:t7(t)}function _s(t,e){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(t,e)}function c7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sw=function(){return!!t})()}var l7=function(t){i7(e,t);function e(n){o7(this,e);var o;return o=n7(this,e,[n]),yw(o,"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return r7(e,null,[{key:"controlType",get:function(){return"select"}}]),e}(F);yw(l7,"controlFieldType",g.VARCHAR);function a7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ys(t,e,n){return e=Gi(e),f7(t,pw()?Reflect.construct(e,n||[],Gi(t).constructor):e.apply(t,n))}function ss(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gi(t){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(t)}function ps(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ds(t,e)}function f7(t,e){return e&&(_7(e)==="object"||typeof e=="function")?e:a7(t)}function ds(t,e){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(t,e)}function _7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pw=function(){return!!t})()}var y7=function(t){ps(e,t);function e(n){ss(this,e);var o;return o=ys(this,e,[n]),Se(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(zt),s7=function(t){ps(e,t);function e(n){ss(this,e);var o;return o=ys(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Xi=function(t){ps(e,t);function e(n){ss(this,e);var o;o=ys(this,e,[n]),Se(o,"options",void 0),Se(o,"defaultShowOptions",void 0),Se(o,"optionConfig",void 0),Se(o,"defaultValue",void 0),Se(o,"datasourceBind",void 0),Se(o,"multistageFilling",void 0),Se(o,"openMultistageFilling",void 0),Se(o,"viewFormModelType",void 0),Se(o,"canViewForm",void 0),Se(o,"formBind",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:bs.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!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 se(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(D);Se(Xi,"Rules",y7),Se(Xi,"RuntimeRules",s7);function p7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d7(t,e,n){return e=Qi(e),g7(t,vw()?Reflect.construct(e,n||[],Qi(t).constructor):e.apply(t,n))}function v7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h7(t,e,n){return e&&dw(t.prototype,e),n&&dw(t,n),t}function vs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qi(t){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(t)}function b7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hs(t,e)}function g7(t,e){return e&&(m7(e)==="object"||typeof e=="function")?e:p7(t)}function hs(t,e){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(t,e)}function m7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vw=function(){return!!t})()}var bs=function(t){b7(e,t);function e(n){v7(this,e);var o;return o=d7(this,e,[n]),vs(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return h7(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),e}(x);vs(bs,"controlFieldType",g.ARRAY),vs(bs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.DEFAULT_SHOW_OPTIONS,_.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function O7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w7(t,e,n){return e=Ji(e),S7(t,gw()?Reflect.construct(e,n||[],Ji(t).constructor):e.apply(t,n))}function $7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P7(t,e,n){return e&&hw(t.prototype,e),n&&hw(t,n),t}function bw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(t)}function E7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gs(t,e)}function S7(t,e){return e&&(T7(e)==="object"||typeof e=="function")?e:O7(t)}function gs(t,e){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(t,e)}function T7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gw=function(){return!!t})()}var R7=function(t){E7(e,t);function e(n){$7(this,e);var o;return o=w7(this,e,[n]),bw(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return P7(e,null,[{key:"controlType",get:function(){return"select-multiple"}}]),e}(F);bw(R7,"controlFieldType",g.ARRAY);function B7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mw(t,e,n){return e=Zi(e),I7(t,$w()?Reflect.construct(e,n||[],Zi(t).constructor):e.apply(t,n))}function Ow(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zi(t){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(t)}function ww(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ms(t,e)}function I7(t,e){return e&&(A7(e)==="object"||typeof e=="function")?e:B7(t)}function ms(t,e){return ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ms(t,e)}function A7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($w=function(){return!!t})()}var k7=function(t){ww(e,t);function e(n){Ow(this,e);var o;return o=mw(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Os=function(t){ww(e,t);function e(n){Ow(this,e);var o;o=mw(this,e,[n]),tt(o,"showType",void 0),tt(o,"range",void 0),tt(o,"rangeOptions",void 0),tt(o,"multiple",void 0),tt(o,"defaultValueType",void 0),tt(o,"defaultValue",void 0),tt(o,"multistageFilling",void 0),tt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Ps.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))})),o}return e}(D);tt(Os,"RuntimeRules",k7);function D7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x7(t,e,n){return e=Yi(e),M7(t,Ew()?Reflect.construct(e,n||[],Yi(t).constructor):e.apply(t,n))}function F7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function j7(t,e,n){return e&&Pw(t.prototype,e),n&&Pw(t,n),t}function ws(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yi(t){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(t)}function L7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$s(t,e)}function M7(t,e){return e&&(N7(e)==="object"||typeof e=="function")?e:D7(t)}function $s(t,e){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(t,e)}function N7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ew(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ew=function(){return!!t})()}var Ps=function(t){L7(e,t);function e(n){F7(this,e);var o;return o=x7(this,e,[n]),ws(o,"props",void 0),o.props=new Os(n==null?void 0:n.props),o}return j7(e,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),e}(x);ws(Ps,"controlFieldType",g.EMPLOYEES),ws(Ps,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function V7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z7(t,e,n){return e=eu(e),C7(t,Rw()?Reflect.construct(e,n||[],eu(t).constructor):e.apply(t,n))}function H7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function q7(t,e,n){return e&&Sw(t.prototype,e),n&&Sw(t,n),t}function Tw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function eu(t){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(t)}function U7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Es(t,e)}function C7(t,e){return e&&(W7(e)==="object"||typeof e=="function")?e:V7(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(t,e)}function W7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rw=function(){return!!t})()}var K7=function(t){U7(e,t);function e(n){H7(this,e);var o;return o=z7(this,e,[n]),Tw(o,"props",void 0),o.props=new Os(n==null?void 0:n.props),o}return q7(e,null,[{key:"controlType",get:function(){return"employee"}}]),e}(F);Tw(K7,"controlFieldType",g.EMPLOYEES);function G7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ss(t,e,n){return e=tu(e),X7(t,Bw()?Reflect.construct(e,n||[],tu(t).constructor):e.apply(t,n))}function Ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tu(t){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(t)}function Rs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bs(t,e)}function X7(t,e){return e&&(Q7(e)==="object"||typeof e=="function")?e:G7(t)}function Bs(t,e){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(t,e)}function Q7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bw=function(){return!!t})()}var J7=10485760,Z7=104857600,Y7=1048576e3,eV=function(t){Rs(e,t);function e(n){Ts(this,e);var o;return o=Ss(this,e,[n]),he(o,"maxSize",{type:"number",min:0,max:Y7,message:d.getMessage("attachmentMaxSize")}),o}return e}(J),tV=function(t){Rs(e,t);function e(n){Ts(this,e);var o;return o=Ss(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return e}(z),nu=function(t){Rs(e,t);function e(n){Ts(this,e);var o;o=Ss(this,e,[n]),he(o,"defaultValue",void 0),he(o,"showType",void 0),he(o,"resultShowType",void 0),he(o,"attachmentAccept",void 0),he(o,"maxLimit",void 0),he(o,"minLimit",void 0),he(o,"isShowWatermark",void 0),he(o,"watermarkFx",void 0),he(o,"maxSize",void 0),he(o,"forbidDownload",void 0),he(o,"accessControl",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var f;o.maxSize=(f=n==null?void 0:n.maxSize)!==null&&f!==void 0?f:Z7;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:ao.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\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;o.forbidDownload=(m=n==null?void 0:n.forbidDownload)!==null&&m!==void 0?m:!1;var w;return o.accessControl=(w=n==null?void 0:n.accessControl)!==null&&w!==void 0?w:!1,o}return e}(D);he(nu,"Rules",eV),he(nu,"RuntimeRules",tV);function nV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oV(t,e,n){return e=ru(e),cV(t,Aw()?Reflect.construct(e,n||[],ru(t).constructor):e.apply(t,n))}function rV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Iw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iV(t,e,n){return e&&Iw(t.prototype,e),n&&Iw(t,n),t}function ou(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ru(t){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(t)}function uV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Is(t,e)}function cV(t,e){return e&&(lV(e)==="object"||typeof e=="function")?e:nV(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(t,e)}function lV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Aw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Aw=function(){return!!t})()}var ao=function(t){uV(e,t);function e(n){rV(this,e);var o;return o=oV(this,e,[n]),ou(o,"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return iV(e,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),e}(x);ou(ao,"controlEventKeys",["on_change"]),ou(ao,"controlFieldType",g.FILE),ou(ao,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function aV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fV(t,e,n){return e=iu(e),pV(t,xw()?Reflect.construct(e,n||[],iu(t).constructor):e.apply(t,n))}function _V(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yV(t,e,n){return e&&kw(t.prototype,e),n&&kw(t,n),t}function Dw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iu(t){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(t)}function sV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&As(t,e)}function pV(t,e){return e&&(dV(e)==="object"||typeof e=="function")?e:aV(t)}function As(t,e){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(t,e)}function dV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xw=function(){return!!t})()}var vV=function(t){sV(e,t);function e(n){_V(this,e);var o;return o=fV(this,e,[n]),Dw(o,"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return yV(e,null,[{key:"controlType",get:function(){return"attachment"}}]),e}(F);Dw(vV,"controlFieldType",g.FILE);function hV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bV(t,e,n){return e=uu(e),wV(t,Lw()?Reflect.construct(e,n||[],uu(t).constructor):e.apply(t,n))}function gV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mV(t,e,n){return e&&Fw(t.prototype,e),n&&Fw(t,n),t}function jw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function OV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ks(t,e)}function wV(t,e){return e&&($V(e)==="object"||typeof e=="function")?e:hV(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ks(t,e)}function $V(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lw=function(){return!!t})()}var Mw=function(t){OV(e,t);function e(n){gV(this,e);var o,r,i;o=bV(this,e,[n]),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:e.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return mV(e,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),e}(ao);jw(Mw,"controlFieldType",g.IMAGE),jw(Mw,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function PV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ds(t,e,n){return e=cu(e),RV(t,Nw()?Reflect.construct(e,n||[],cu(t).constructor):e.apply(t,n))}function xs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cu(t){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(t)}function Fs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&js(t,e)}function EV(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){le(t,r,n[r])})}return t}function SV(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function TV(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):SV(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function RV(t,e){return e&&(BV(e)==="object"||typeof e=="function")?e:PV(t)}function js(t,e){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(t,e)}function BV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nw=function(){return!!t})()}var IV=function(t){Fs(e,t);function e(n){xs(this,e);var o;o=Ds(this,e,[n]),le(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),le(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=d.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),o}return e}(zt),AV=function(t){Fs(e,t);function e(n){xs(this,e);var o;o=Ds(this,e,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[TV(EV({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:d.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return e}(z),lu=function(t){Fs(e,t);function e(n){xs(this,e);var o;o=Ds(this,e,[n]),le(o,"rangeMin",void 0),le(o,"rangeMax",void 0),le(o,"showUpperCase",void 0),le(o,"submitSelectCurrency",void 0),le(o,"micrometer",void 0),le(o,"precision",void 0),le(o,"optionConfig",void 0),le(o,"dataBind",void 0),le(o,"datasourceBind",void 0),le(o,"defaultValue",void 0),le(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new hk(n==null?void 0:n.dataBind);var l;o.datasourceBind=new X((l=n==null?void 0:n.datasourceBind)!==null&&l!==void 0?l:{displayBoList:[new of({value:"name"})]});var f;o.defaultValue=new bk((f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:{amount:"",currency:lf.CNY}),o.options=Qe(n==null?void 0:n.options);var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:_u.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var O;return o.showUpperCase=(O=n==null?void 0:n.showUpperCase)!==null&&O!==void 0?O:!1,o}return e}(D);le(lu,"Rules",IV),le(lu,"RuntimeRules",AV);function kV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DV(t,e,n){return e=Zt(e),LV(t,zw()?Reflect.construct(e,n||[],Zt(t).constructor):e.apply(t,n))}function xV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FV(t,e,n){return e&&Vw(t.prototype,e),n&&Vw(t,n),t}function au(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?fu=Reflect.get:fu=function(r,i,u){var c=MV(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},fu(t,e,n||t)}function Zt(t){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zt(t)}function jV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ls(t,e)}function LV(t,e){return e&&(NV(e)==="object"||typeof e=="function")?e:kV(t)}function Ls(t,e){return Ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ls(t,e)}function MV(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Zt(t),t!==null););return t}function NV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zw=function(){return!!t})()}var _u=function(t){jV(e,t);function e(n){xV(this,e);var o;return o=DV(this,e,[n]),au(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return FV(e,[{key:"toDataBindModel",value:function(o){var r=fu(Zt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),e}(x);au(_u,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),au(_u,"controlFieldType",g.MONEY),au(_u,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.SUBMIT_SELECT_CURRENCY,_.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function VV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zV(t,e,n){return e=yu(e),CV(t,Uw()?Reflect.construct(e,n||[],yu(t).constructor):e.apply(t,n))}function HV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qV(t,e,n){return e&&Hw(t.prototype,e),n&&Hw(t,n),t}function qw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yu(t){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(t)}function UV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ms(t,e)}function CV(t,e){return e&&(WV(e)==="object"||typeof e=="function")?e:VV(t)}function Ms(t,e){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(t,e)}function WV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Uw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uw=function(){return!!t})()}var KV=function(t){UV(e,t);function e(n){HV(this,e);var o;return o=zV(this,e,[n]),qw(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return qV(e,null,[{key:"controlType",get:function(){return"amount"}}]),e}(F);qw(KV,"controlFieldType",g.MONEY);function GV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ns(t,e,n){return e=su(e),XV(t,Cw()?Reflect.construct(e,n||[],su(t).constructor):e.apply(t,n))}function Vs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(t)}function zs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hs(t,e)}function XV(t,e){return e&&(QV(e)==="object"||typeof e=="function")?e:GV(t)}function Hs(t,e){return Hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hs(t,e)}function QV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cw=function(){return!!t})()}var JV=function(t){zs(e,t);function e(n){Vs(this,e);var o;return o=Ns(this,e,[n]),nt(o,"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),nt(o,"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return e}(J),ZV=function(t){zs(e,t);function e(n){Vs(this,e);var o;o=Ns(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return e}(z),pu=function(t){zs(e,t);function e(n){Vs(this,e);var o,r;o=Ns(this,e,[n]),nt(o,"totalScore",void 0),nt(o,"scoreType",void 0),nt(o,"isShowExplain",void 0),nt(o,"explain",void 0),nt(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:r_.STAR;var c;o.isShowExplain=(c=n==null?void 0:n.isShowExplain)!==null&&c!==void 0?c:!0;var a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(y){return new i_(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new i_});var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:0;var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:hu.controlName,o}return e}(D);nt(pu,"Rules",JV),nt(pu,"RuntimeRules",ZV);function qs(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function YV(t){if(Array.isArray(t))return qs(t)}function e9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t9(t,e,n){return e=Yt(e),c9(t,Kw()?Reflect.construct(e,n||[],Yt(t).constructor):e.apply(t,n))}function n9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ww(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o9(t,e,n){return e&&Ww(t.prototype,e),n&&Ww(t,n),t}function du(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vu=Reflect.get:vu=function(r,i,u){var c=l9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},vu(t,e,n||t)}function Yt(t){return Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yt(t)}function r9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Us(t,e)}function i9(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function u9(){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 c9(t,e){return e&&(f9(e)==="object"||typeof e=="function")?e:e9(t)}function Us(t,e){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(t,e)}function l9(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Yt(t),t!==null););return t}function a9(t){return YV(t)||i9(t)||_9(t)||u9()}function f9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _9(t,e){if(!!t){if(typeof t=="string")return qs(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qs(t,e)}}function Kw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kw=function(){return!!t})()}var hu=function(t){r9(e,t);function e(n){n9(this,e);var o;return o=t9(this,e,[n]),du(o,"props",void 0),o.props=new pu(n==null?void 0:n.props),o}return o9(e,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new i_});(i=this.props.explain).push.apply(i,a9(c))}}vu(Yt(e.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),e}(x);du(hu,"controlEventKeys",["on_change","on_click"]),du(hu,"controlFieldType",g.DECIMAL),du(hu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function y9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s9(t,e,n){return e=bu(e),h9(t,Qw()?Reflect.construct(e,n||[],bu(t).constructor):e.apply(t,n))}function p9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d9(t,e,n){return e&&Gw(t.prototype,e),n&&Gw(t,n),t}function Xw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bu(t){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(t)}function v9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cs(t,e)}function h9(t,e){return e&&(b9(e)==="object"||typeof e=="function")?e:y9(t)}function Cs(t,e){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(t,e)}function b9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qw=function(){return!!t})()}var g9=function(t){v9(e,t);function e(n){p9(this,e);var o;return o=s9(this,e,[n]),Xw(o,"props",void 0),o.props=new pu(n==null?void 0:n.props),o}return d9(e,null,[{key:"controlType",get:function(){return"score"}}]),e}(F);Xw(g9,"controlFieldType",g.DECIMAL);function m9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jw(t,e,n){return e=mu(e),O9(t,e$()?Reflect.construct(e,n||[],mu(t).constructor):e.apply(t,n))}function Zw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function Yw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ws(t,e)}function O9(t,e){return e&&(w9(e)==="object"||typeof e=="function")?e:m9(t)}function Ws(t,e){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(t,e)}function w9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function e$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e$=function(){return!!t})()}var $9=function(t){Yw(e,t);function e(n){Zw(this,e);var o;if(o=Jw(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return e}(z),Ks=function(t){Yw(e,t);function e(n){Zw(this,e);var o;o=Jw(this,e,[n]),gu(o,"defaultValueType",void 0),gu(o,"defaultValue",void 0),gu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Qs.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var c;o.defaultValue=new Ok((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return e}(D);gu(Ks,"RuntimeRules",$9);function P9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E9(t,e,n){return e=Ou(e),B9(t,n$()?Reflect.construct(e,n||[],Ou(t).constructor):e.apply(t,n))}function S9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function t$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T9(t,e,n){return e&&t$(t.prototype,e),n&&t$(t,n),t}function Gs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function R9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xs(t,e)}function B9(t,e){return e&&(I9(e)==="object"||typeof e=="function")?e:P9(t)}function Xs(t,e){return Xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xs(t,e)}function I9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function n$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(n$=function(){return!!t})()}var Qs=function(t){R9(e,t);function e(n){S9(this,e);var o;return o=E9(this,e,[n]),Gs(o,"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return T9(e,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),e}(x);Gs(Qs,"controlFieldType",g.ADDRESS),Gs(Qs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function A9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k9(t,e,n){return e=wu(e),j9(t,i$()?Reflect.construct(e,n||[],wu(t).constructor):e.apply(t,n))}function D9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function x9(t,e,n){return e&&o$(t.prototype,e),n&&o$(t,n),t}function r$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function F9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Js(t,e)}function j9(t,e){return e&&(L9(e)==="object"||typeof e=="function")?e:A9(t)}function Js(t,e){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(t,e)}function L9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function i$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i$=function(){return!!t})()}var M9=function(t){F9(e,t);function e(n){D9(this,e);var o;return o=k9(this,e,[n]),r$(o,"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return x9(e,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),e}(F);r$(M9,"controlFieldType",g.ADDRESS);function N9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u$(t,e,n){return e=$u(e),V9(t,a$()?Reflect.construct(e,n||[],$u(t).constructor):e.apply(t,n))}function c$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $u(t){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$u(t)}function l$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zs(t,e)}function V9(t,e){return e&&(z9(e)==="object"||typeof e=="function")?e:N9(t)}function Zs(t,e){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(t,e)}function z9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function a$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a$=function(){return!!t})()}var H9=function(t){l$(e,t);function e(n){c$(this,e);var o;return o=u$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ys=function(t){l$(e,t);function e(n){c$(this,e);var o;o=u$(this,e,[n]),Fe(o,"showType",void 0),Fe(o,"range",void 0),Fe(o,"defaultValueType",void 0),Fe(o,"multiple",void 0),Fe(o,"rangeOptions",void 0),Fe(o,"defaultValue",void 0),Fe(o,"displayLevel",void 0),Fe(o,"showSubDept",void 0),Fe(o,"multistageFilling",void 0),Fe(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Su.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\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 se(m))})),o}return e}(D);Fe(Ys,"RuntimeRules",H9);function q9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U9(t,e,n){return e=en(e),G9(t,_$()?Reflect.construct(e,n||[],en(t).constructor):e.apply(t,n))}function C9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function W9(t,e,n){return e&&f$(t.prototype,e),n&&f$(t,n),t}function Pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Eu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Eu=Reflect.get:Eu=function(r,i,u){var c=X9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Eu(t,e,n||t)}function en(t){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(t)}function K9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ep(t,e)}function G9(t,e){return e&&(Q9(e)==="object"||typeof e=="function")?e:q9(t)}function ep(t,e){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(t,e)}function X9(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=en(t),t!==null););return t}function Q9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_$=function(){return!!t})()}var Su=function(t){K9(e,t);function e(n){C9(this,e);var o;return o=U9(this,e,[n]),Pu(o,"props",void 0),o.props=new Ys(n==null?void 0:n.props),o}return W9(e,[{key:"toDataBindModel",value:function(o){var r=Eu(en(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),e}(x);Pu(Su,"controlName","\u90E8\u95E8"),Pu(Su,"controlFieldType",g.DEPARTMENTS),Pu(Su,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function J9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z9(t,e,n){return e=Tu(e),n8(t,p$()?Reflect.construct(e,n||[],Tu(t).constructor):e.apply(t,n))}function Y9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function e8(t,e,n){return e&&y$(t.prototype,e),n&&y$(t,n),t}function s$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function t8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tp(t,e)}function n8(t,e){return e&&(o8(e)==="object"||typeof e=="function")?e:J9(t)}function tp(t,e){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(t,e)}function o8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function p$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p$=function(){return!!t})()}var r8=function(t){t8(e,t);function e(n){Y9(this,e);var o;return o=Z9(this,e,[n]),s$(o,"props",void 0),o.props=new Ys(n==null?void 0:n.props),o}return e8(e,null,[{key:"controlType",get:function(){return"department"}}]),e}(F);s$(r8,"controlFieldType",g.DEPARTMENTS);function i8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u8(t,e,n){return e=Ru(e),f8(t,d$()?Reflect.construct(e,n||[],Ru(t).constructor):e.apply(t,n))}function c8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l8(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ru(t){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(t)}function a8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&np(t,e)}function f8(t,e){return e&&(_8(e)==="object"||typeof e=="function")?e:i8(t)}function np(t,e){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(t,e)}function _8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function d$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d$=function(){return!!t})()}var v$=function(t){a8(e,t);function e(n){c8(this,e);var o;o=u8(this,e,[n]),l8(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:Au.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return e}(D);function y8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s8(t,e,n){return e=Iu(e),h8(t,b$()?Reflect.construct(e,n||[],Iu(t).constructor):e.apply(t,n))}function p8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d8(t,e,n){return e&&h$(t.prototype,e),n&&h$(t,n),t}function Bu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function v8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&op(t,e)}function h8(t,e){return e&&(b8(e)==="object"||typeof e=="function")?e:y8(t)}function op(t,e){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(t,e)}function b8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b$=function(){return!!t})()}var Au=function(t){v8(e,t);function e(n){p8(this,e);var o;return o=s8(this,e,[n]),Bu(o,"props",void 0),o.props=new v$(n==null?void 0:n.props),o}return d8(e,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),e}(x);Bu(Au,"controlEventKeys",["on_change"]),Bu(Au,"controlFieldType",g.AUTO_NUMBER),Bu(Au,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function g8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m8(t,e,n){return e=ku(e),P8(t,O$()?Reflect.construct(e,n||[],ku(t).constructor):e.apply(t,n))}function O8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w8(t,e,n){return e&&g$(t.prototype,e),n&&g$(t,n),t}function m$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ku(t){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(t)}function $8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rp(t,e)}function P8(t,e){return e&&(E8(e)==="object"||typeof e=="function")?e:g8(t)}function rp(t,e){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(t,e)}function E8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function O$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O$=function(){return!!t})()}var S8=function(t){$8(e,t);function e(n){O8(this,e);var o;return o=m8(this,e,[n]),m$(o,"props",void 0),o.props=new v$(n==null?void 0:n.props),o}return w8(e,null,[{key:"controlType",get:function(){return"auto-number"}}]),e}(F);m$(S8,"controlFieldType",g.AUTO_NUMBER);function T8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ip(t,e,n){return e=Du(e),R8(t,w$()?Reflect.construct(e,n||[],Du(t).constructor):e.apply(t,n))}function up(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Du(t){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Du(t)}function cp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lp(t,e)}function R8(t,e){return e&&(B8(e)==="object"||typeof e=="function")?e:T8(t)}function lp(t,e){return lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lp(t,e)}function B8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w$=function(){return!!t})()}var I8=function(t){cp(e,t);function e(n){up(this,e);var o;return o=ip(this,e,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return e}(J),A8=function(t){cp(e,t);function e(n){up(this,e);var o;return o=ip(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return e}(z),xu=function(t){cp(e,t);function e(n){up(this,e);var o;o=ip(this,e,[n]),He(o,"precision",void 0),He(o,"micrometer",void 0),He(o,"showUpperCase",void 0),He(o,"scriptSrc",void 0),He(o,"scriptEcho",void 0),He(o,"dataBind",void 0),He(o,"defaultValue",void 0),He(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 wk(n==null?void 0:n.dataBind),o.defaultValue=new $k(n==null?void 0:n.defaultValue);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Lu.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.scriptEcho=(l=n==null?void 0:n.scriptEcho)!==null&&l!==void 0?l:[];var f;o.scriptSrc=(f=n==null?void 0:n.scriptSrc)!==null&&f!==void 0?f:"";var y;return o.calcOnMounted=(y=n==null?void 0:n.calcOnMounted)!==null&&y!==void 0?y:!1,o}return e}(D);He(xu,"Rules",I8),He(xu,"RuntimeRules",A8);function k8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D8(t,e,n){return e=tn(e),L8(t,P$()?Reflect.construct(e,n||[],tn(t).constructor):e.apply(t,n))}function x8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function F8(t,e,n){return e&&$$(t.prototype,e),n&&$$(t,n),t}function Fu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ju(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ju=Reflect.get:ju=function(r,i,u){var c=M8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},ju(t,e,n||t)}function tn(t){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(t)}function j8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ap(t,e)}function L8(t,e){return e&&(N8(e)==="object"||typeof e=="function")?e:k8(t)}function ap(t,e){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(t,e)}function M8(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tn(t),t!==null););return t}function N8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function P$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P$=function(){return!!t})()}var Lu=function(t){j8(e,t);function e(n){x8(this,e);var o;return o=D8(this,e,[n]),Fu(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return F8(e,[{key:"toDataBindModel",value:function(o){var r=ju(tn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),e}(x);Fu(Lu,"controlEventKeys",["on_change"]),Fu(Lu,"controlFieldType",g.CALC),Fu(Lu,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[_.SHOW_UPPER_CASE,_.MICROMETER,_.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function V8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z8(t,e,n){return e=Mu(e),C8(t,T$()?Reflect.construct(e,n||[],Mu(t).constructor):e.apply(t,n))}function H8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function q8(t,e,n){return e&&E$(t.prototype,e),n&&E$(t,n),t}function S$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function U8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fp(t,e)}function C8(t,e){return e&&(W8(e)==="object"||typeof e=="function")?e:V8(t)}function fp(t,e){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(t,e)}function W8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function T$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(T$=function(){return!!t})()}var K8=function(t){U8(e,t);function e(n){H8(this,e);var o;return o=z8(this,e,[n]),S$(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return q8(e,null,[{key:"controlType",get:function(){return"calc"}}]),e}(F);S$(K8,"controlFieldType",g.CALC);function G8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R$(t,e,n){return e=Nu(e),X8(t,A$()?Reflect.construct(e,n||[],Nu(t).constructor):e.apply(t,n))}function B$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(t)}function I$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_p(t,e)}function X8(t,e){return e&&(Q8(e)==="object"||typeof e=="function")?e:G8(t)}function _p(t,e){return _p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_p(t,e)}function Q8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A$=function(){return!!t})()}var J8=function(t){I$(e,t);function e(n){B$(this,e);var o;return o=R$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(a){return!a});return c?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return e}(z),yp=function(t){I$(e,t);function e(n){B$(this,e);var o;o=R$(this,e,[n]),nn(o,"rangeMin",void 0),nn(o,"rangeMax",void 0),nn(o,"placeholderStart",void 0),nn(o,"placeholderEnd",void 0),nn(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:dp.controlName,o}return e}(D);nn(yp,"RuntimeRules",J8);function Z8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y8(t,e,n){return e=Vu(e),oz(t,D$()?Reflect.construct(e,n||[],Vu(t).constructor):e.apply(t,n))}function ez(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tz(t,e,n){return e&&k$(t.prototype,e),n&&k$(t,n),t}function sp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vu(t){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(t)}function nz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pp(t,e)}function oz(t,e){return e&&(rz(e)==="object"||typeof e=="function")?e:Z8(t)}function pp(t,e){return pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pp(t,e)}function rz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D$=function(){return!!t})()}var dp=function(t){nz(e,t);function e(n){ez(this,e);var o;return o=Y8(this,e,[n]),sp(o,"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return tz(e,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),e}(x);sp(dp,"controlFieldType",g.DECIMAL_RANGE),sp(dp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function iz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uz(t,e,n){return e=zu(e),fz(t,j$()?Reflect.construct(e,n||[],zu(t).constructor):e.apply(t,n))}function cz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lz(t,e,n){return e&&x$(t.prototype,e),n&&x$(t,n),t}function F$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function az(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vp(t,e)}function fz(t,e){return e&&(_z(e)==="object"||typeof e=="function")?e:iz(t)}function vp(t,e){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(t,e)}function _z(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j$=function(){return!!t})()}var yz=function(t){az(e,t);function e(n){cz(this,e);var o;return o=uz(this,e,[n]),F$(o,"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return lz(e,null,[{key:"controlType",get:function(){return"search-number-range"}}]),e}(F);F$(yz,"controlFieldType",g.DECIMAL_RANGE);function sz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L$(t,e,n){return e=Hu(e),pz(t,V$()?Reflect.construct(e,n||[],Hu(t).constructor):e.apply(t,n))}function M$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function N$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hp(t,e)}function pz(t,e){return e&&(dz(e)==="object"||typeof e=="function")?e:sz(t)}function hp(t,e){return hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hp(t,e)}function dz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V$=function(){return!!t})()}var vz=function(t){N$(e,t);function e(n){M$(this,e);var o;return o=L$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(z),bp=function(t){N$(e,t);function e(n){M$(this,e);var o,r;o=L$(this,e,[n]),je(o,"rangeMin",void 0),je(o,"rangeMax",void 0),je(o,"placeholderStart",void 0),je(o,"placeholderEnd",void 0),je(o,"dateType",void 0),je(o,"dateFormat",void 0),je(o,"commonTimeSetting",void 0),je(o,"setValueType",void 0),je(o,"defaultValue",void 0),je(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:rt.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Op.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new o_(w)}))!==null&&m!==void 0?m:[],o}return e}(D);je(bp,"RuntimeRules",vz);function hz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bz(t,e,n){return e=qu(e),wz(t,H$()?Reflect.construct(e,n||[],qu(t).constructor):e.apply(t,n))}function gz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mz(t,e,n){return e&&z$(t.prototype,e),n&&z$(t,n),t}function gp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qu(t){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(t)}function Oz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mp(t,e)}function wz(t,e){return e&&($z(e)==="object"||typeof e=="function")?e:hz(t)}function mp(t,e){return mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mp(t,e)}function $z(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function H$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(H$=function(){return!!t})()}var Op=function(t){Oz(e,t);function e(n){gz(this,e);var o;return o=bz(this,e,[n]),gp(o,"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return mz(e,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),e}(x);gp(Op,"controlFieldType",g.ARRAY),gp(Op,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Pz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ez(t,e,n){return e=Uu(e),Bz(t,C$()?Reflect.construct(e,n||[],Uu(t).constructor):e.apply(t,n))}function Sz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Tz(t,e,n){return e&&q$(t.prototype,e),n&&q$(t,n),t}function U$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function Rz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wp(t,e)}function Bz(t,e){return e&&(Iz(e)==="object"||typeof e=="function")?e:Pz(t)}function wp(t,e){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(t,e)}function Iz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C$=function(){return!!t})()}var Az=function(t){Rz(e,t);function e(n){Sz(this,e);var o;return o=Ez(this,e,[n]),U$(o,"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return Tz(e,null,[{key:"controlType",get:function(){return"search-date-range"}}]),e}(F);U$(Az,"controlFieldType",g.ARRAY);function kz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $p(t,e,n){return e=Cu(e),Dz(t,W$()?Reflect.construct(e,n||[],Cu(t).constructor):e.apply(t,n))}function Pp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function on(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function Ep(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sp(t,e)}function Dz(t,e){return e&&(xz(e)==="object"||typeof e=="function")?e:kz(t)}function Sp(t,e){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(t,e)}function xz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function W$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(W$=function(){return!!t})()}var Fz=function(t){Ep(e,t);function e(n){Pp(this,e);var o;return o=$p(this,e,[n]),o.dataBind={type:"any"},o}return e}(J),jz=function(t){Ep(e,t);function e(n){Pp(this,e);var o;return o=$p(this,e,[n]),o[0]!==void 0&&(o[0].type="any"),o}return e}(z),Wu=function(t){Ep(e,t);function e(n){Pp(this,e);var o;o=$p(this,e,[n]),on(o,"controlExportName",void 0),on(o,"permissions",void 0),on(o,"defaultValue",void 0),on(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Xu.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return e}(D);on(Wu,"Rules",Fz),on(Wu,"RuntimeRules",jz);function Lz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mz(t,e,n){return e=Gu(e),Hz(t,G$()?Reflect.construct(e,n||[],Gu(t).constructor):e.apply(t,n))}function Nz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vz(t,e,n){return e&&K$(t.prototype,e),n&&K$(t,n),t}function Ku(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gu(t){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(t)}function zz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tp(t,e)}function Hz(t,e){return e&&(qz(e)==="object"||typeof e=="function")?e:Lz(t)}function Tp(t,e){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(t,e)}function qz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function G$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(G$=function(){return!!t})()}var Xu=function(t){zz(e,t);function e(n){Nz(this,e);var o;return o=Mz(this,e,[n]),Ku(o,"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return Vz(e,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),e}(x);Ku(Xu,"controlFieldType",g.ANY),Ku(Xu,"controlEventKeys",[]),Ku(Xu,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_HIDE_CAPTION,_.REQUIRED,_.IS_SHOW_CAPTION_TIP,_.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function Uz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cz(t,e,n){return e=Qu(e),Xz(t,J$()?Reflect.construct(e,n||[],Qu(t).constructor):e.apply(t,n))}function Wz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Kz(t,e,n){return e&&X$(t.prototype,e),n&&X$(t,n),t}function Q$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function Gz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rp(t,e)}function Xz(t,e){return e&&(Qz(e)==="object"||typeof e=="function")?e:Uz(t)}function Rp(t,e){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(t,e)}function Qz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function J$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(J$=function(){return!!t})()}var Jz=function(t){Gz(e,t);function e(n){Wz(this,e);var o;return o=Cz(this,e,[n]),Q$(o,"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return Kz(e,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),e}(F);Q$(Jz,"controlFieldType",g.ANY);function Zz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z$(t,e,n){return e=Ju(e),Yz(t,tP()?Reflect.construct(e,n||[],Ju(t).constructor):e.apply(t,n))}function Y$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ju(t){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(t)}function eP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bp(t,e)}function Yz(t,e){return e&&(eH(e)==="object"||typeof e=="function")?e:Zz(t)}function Bp(t,e){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(t,e)}function eH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tP=function(){return!!t})()}var tH=function(t){eP(e,t);function e(n){Y$(this,e);var o;return o=Z$(this,e,[n]),ye(o,"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),ye(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(zt),Ip=function(t){eP(e,t);function e(n){Y$(this,e);var o;o=Z$(this,e,[n]),ye(o,"options",void 0),ye(o,"optionConfig",void 0),ye(o,"defaultValue",void 0),ye(o,"listPageBind",void 0),ye(o,"datasourceBind",void 0),ye(o,"multistageFilling",void 0),ye(o,"viewFormModelType",void 0),ye(o,"canViewForm",void 0),ye(o,"formBind",void 0),ye(o,"openMultistageFilling",void 0),ye(o,"showSelectedDetail",void 0),ye(o,"selectedContentConfig",void 0);var r;o.options=Qe((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 tf(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:ec.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.openMultistageFilling=(l=n==null?void 0:n.openMultistageFilling)!==null&&l!==void 0?l:!1;var f;o.showSelectedDetail=(f=n==null?void 0:n.showSelectedDetail)!==null&&f!==void 0?f:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig),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 se(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(D);ye(Ip,"Rules",tH);function nH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oH(t,e,n){return e=Yu(e),cH(t,oP()?Reflect.construct(e,n||[],Yu(t).constructor):e.apply(t,n))}function rH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iH(t,e,n){return e&&nP(t.prototype,e),n&&nP(t,n),t}function Zu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yu(t){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(t)}function uH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ap(t,e)}function cH(t,e){return e&&(lH(e)==="object"||typeof e=="function")?e:nH(t)}function Ap(t,e){return Ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ap(t,e)}function lH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oP=function(){return!!t})()}var ec=function(t){uH(e,t);function e(n){rH(this,e);var o;return o=oH(this,e,[n]),Zu(o,"props",void 0),o.props=new Ip(n==null?void 0:n.props),o}return iH(e,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),e}(x);Zu(ec,"controlFieldType",g.VARCHAR),Zu(ec,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[_.CAN_VIEW_FORM,_.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Zu(ec,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function aH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fH(t,e,n){return e=tc(e),pH(t,uP()?Reflect.construct(e,n||[],tc(t).constructor):e.apply(t,n))}function _H(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yH(t,e,n){return e&&rP(t.prototype,e),n&&rP(t,n),t}function iP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tc(t){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(t)}function sH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kp(t,e)}function pH(t,e){return e&&(dH(e)==="object"||typeof e=="function")?e:aH(t)}function kp(t,e){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(t,e)}function dH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uP=function(){return!!t})()}var vH=function(t){sH(e,t);function e(n){_H(this,e);var o;return o=fH(this,e,[n]),iP(o,"props",void 0),o.props=new Ip(n==null?void 0:n.props),o}return yH(e,null,[{key:"controlType",get:function(){return"select-relation"}}]),e}(F);iP(vH,"controlFieldType",g.VARCHAR);function hH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bH(t,e,n){return e=nc(e),OH(t,cP()?Reflect.construct(e,n||[],nc(t).constructor):e.apply(t,n))}function gH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nc(t){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(t)}function mH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dp(t,e)}function OH(t,e){return e&&(wH(e)==="object"||typeof e=="function")?e:hH(t)}function Dp(t,e){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(t,e)}function wH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cP=function(){return!!t})()}var lP=function(t){mH(e,t);function e(n){return gH(this,e),bH(this,e,[n])}return e}(co);function $H(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PH(t,e,n){return e=oc(e),RH(t,_P()?Reflect.construct(e,n||[],oc(t).constructor):e.apply(t,n))}function EH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SH(t,e,n){return e&&aP(t.prototype,e),n&&aP(t,n),t}function fP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oc(t){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(t)}function TH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xp(t,e)}function RH(t,e){return e&&(BH(e)==="object"||typeof e=="function")?e:$H(t)}function xp(t,e){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(t,e)}function BH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_P=function(){return!!t})()}var IH=function(t){TH(e,t);function e(n){EH(this,e);var o;return o=PH(this,e,[n]),fP(o,"props",void 0),o.props=new lP(n==null?void 0:n.props),o}return SH(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),e}(lo);fP(IH,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED]},{key:"super-setting",visible:!0}]);function AH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kH(t,e,n){return e=rc(e),jH(t,pP()?Reflect.construct(e,n||[],rc(t).constructor):e.apply(t,n))}function DH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xH(t,e,n){return e&&yP(t.prototype,e),n&&yP(t,n),t}function sP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rc(t){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(t)}function FH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fp(t,e)}function jH(t,e){return e&&(LH(e)==="object"||typeof e=="function")?e:AH(t)}function Fp(t,e){return Fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fp(t,e)}function LH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pP=function(){return!!t})()}var MH=function(t){FH(e,t);function e(n){DH(this,e);var o;return o=kH(this,e,[n]),sP(o,"props",void 0),o.props=new lP(n==null?void 0:n.props),o}return xH(e,null,[{key:"controlType",get:function(){return"search-input"}}]),e}(F);sP(MH,"controlFieldType",g.VARCHAR);function NH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jp(t,e,n){return e=ic(e),VH(t,dP()?Reflect.construct(e,n||[],ic(t).constructor):e.apply(t,n))}function Lp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ic(t){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(t)}function Mp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Np(t,e)}function VH(t,e){return e&&(zH(e)==="object"||typeof e=="function")?e:NH(t)}function Np(t,e){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(t,e)}function zH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dP=function(){return!!t})()}var HH=function(t){Mp(e,t);function e(n){Lp(this,e);var o;return o=jp(this,e,[n]),q(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Do.call(o,n,Et.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return e}(J),qH=function(t){Mp(e,t);function e(n){Lp(this,e);var o;return o=jp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),uc=function(t){Mp(e,t);function e(n){Lp(this,e);var o,r;o=jp(this,e,[n]),q(o,"placeholder",void 0),q(o,"multiple",void 0),q(o,"canSearch",void 0),q(o,"levelType",void 0),q(o,"optionalLevel",void 0),q(o,"containsSubNode",void 0),q(o,"defaultDisplay",void 0),q(o,"isShowIncludeSub",void 0),q(o,"isDefaultCheckSub",void 0),q(o,"isShowFilterItem",void 0),q(o,"defaultCollapse",void 0),q(o,"defaultCollapseLevel",void 0),q(o,"optionConfig","datasource"),q(o,"datasourceBind",void 0),q(o,"filterItemDatasourceBind",void 0),q(o,"multistageFilling",void 0),q(o,"defaultValue",void 0),q(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Et.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var f;o.optionalLevel=(f=n==null?void 0:n.optionalLevel)!==null&&f!==void 0?f:1;var y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!1;var p;o.isShowFilterItem=(p=n==null?void 0:n.isShowFilterItem)!==null&&p!==void 0?p:!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 U0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Et.controlCustomAttributes});var $;o.filterItemDatasourceBind=new U0(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:Et.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var T;o.multistageFilling=(T=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new se(A)}))!==null&&T!==void 0?T:[];var j;return o.defaultValue=(j=n==null?void 0:n.defaultValue)!==null&&j!==void 0?j:[],o}return e}(D);q(uc,"Rules",HH),q(uc,"RuntimeRules",qH);function UH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CH(t,e,n){return e=lc(e),XH(t,hP()?Reflect.construct(e,n||[],lc(t).constructor):e.apply(t,n))}function WH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KH(t,e,n){return e&&vP(t.prototype,e),n&&vP(t,n),t}function cc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lc(t){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(t)}function GH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vp(t,e)}function XH(t,e){return e&&(QH(e)==="object"||typeof e=="function")?e:UH(t)}function Vp(t,e){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(t,e)}function QH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hP=function(){return!!t})()}var Et=function(t){GH(e,t);function e(n){WH(this,e);var o;return o=CH(this,e,[n]),cc(o,"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return KH(e,null,[{key:"controlName",get:function(){return"\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}]}}]),e}(x);cc(Et,"controlEventKeys",["on_change","on_click"]),cc(Et,"controlFieldType",g.ARRAY),cc(Et,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.CAN_SEARCH,_.DEFAULT_DISPLAY,_.CONTAINS_SUB_NODE,_.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function JH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZH(t,e,n){return e=ac(e),nq(t,mP()?Reflect.construct(e,n||[],ac(t).constructor):e.apply(t,n))}function YH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eq(t,e,n){return e&&bP(t.prototype,e),n&&bP(t,n),t}function gP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ac(t){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(t)}function tq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zp(t,e)}function nq(t,e){return e&&(oq(e)==="object"||typeof e=="function")?e:JH(t)}function zp(t,e){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(t,e)}function oq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mP=function(){return!!t})()}var rq=function(t){tq(e,t);function e(n){YH(this,e);var o;return o=ZH(this,e,[n]),gP(o,"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return eq(e,null,[{key:"controlType",get:function(){return"tree"}}]),e}(F);gP(rq,"controlFieldType",g.ARRAY);function iq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hp(t,e,n){return e=fc(e),uq(t,OP()?Reflect.construct(e,n||[],fc(t).constructor):e.apply(t,n))}function qp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fc(t){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(t)}function Up(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cp(t,e)}function uq(t,e){return e&&(cq(e)==="object"||typeof e=="function")?e:iq(t)}function Cp(t,e){return Cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cp(t,e)}function cq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OP=function(){return!!t})()}var lq=function(t){Up(e,t);function e(n){qp(this,e);var o;return o=Hp(this,e,[n]),re(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),re(o,"externalScope",{type:"any"}),Do.call(o,n,fo.controlCustomAttributes),n.externalType===dt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return e}(J),aq=function(t){Up(e,t);function e(n){qp(this,e);var o;return o=Hp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),_c=function(t){Up(e,t);function e(n){qp(this,e);var o;o=Hp(this,e,[n]),re(o,"showType",void 0),re(o,"range",void 0),re(o,"rangeOptions",void 0),re(o,"multiple",void 0),re(o,"defaultValueType",void 0),re(o,"defaultValue",void 0),re(o,"multistageFilling",void 0),re(o,"datasourceBind",void 0),re(o,"datasourceType",void 0),re(o,"insideType",void 0),re(o,"externalType",void 0),re(o,"externalScope",void 0),re(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:fo.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;o.datasourceBind=new Ro((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:fo.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:l_.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:dt.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new se($))})),o}return e}(D);re(_c,"Rules",lq),re(_c,"RuntimeRules",aq);function fq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _q(t,e,n){return e=yc(e),dq(t,$P()?Reflect.construct(e,n||[],yc(t).constructor):e.apply(t,n))}function yq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sq(t,e,n){return e&&wP(t.prototype,e),n&&wP(t,n),t}function Wp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yc(t){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(t)}function pq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kp(t,e)}function dq(t,e){return e&&(vq(e)==="object"||typeof e=="function")?e:fq(t)}function Kp(t,e){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(t,e)}function vq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($P=function(){return!!t})()}var fo=function(t){pq(e,t);function e(n){yq(this,e);var o;return o=_q(this,e,[n]),Wp(o,"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return sq(e,null,[{key:"controlName",get:function(){return"\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}]}}]),e}(x);Wp(fo,"controlFieldType",g.EMPLOYEES),Wp(fo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function hq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bq(t,e,n){return e=sc(e),wq(t,SP()?Reflect.construct(e,n||[],sc(t).constructor):e.apply(t,n))}function gq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mq(t,e,n){return e&&PP(t.prototype,e),n&&PP(t,n),t}function EP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sc(t){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(t)}function Oq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gp(t,e)}function wq(t,e){return e&&($q(e)==="object"||typeof e=="function")?e:hq(t)}function Gp(t,e){return Gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gp(t,e)}function $q(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SP=function(){return!!t})()}var Pq=function(t){Oq(e,t);function e(n){gq(this,e);var o;return o=bq(this,e,[n]),EP(o,"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return mq(e,null,[{key:"controlType",get:function(){return"employee2"}}]),e}(F);EP(Pq,"controlFieldType",g.EMPLOYEES);function Eq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TP(t,e,n){return e=pc(e),Sq(t,IP()?Reflect.construct(e,n||[],pc(t).constructor):e.apply(t,n))}function RP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pc(t){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(t)}function BP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xp(t,e)}function Sq(t,e){return e&&(Tq(e)==="object"||typeof e=="function")?e:Eq(t)}function Xp(t,e){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(t,e)}function Tq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IP=function(){return!!t})()}var Rq=function(t){BP(e,t);function e(n){RP(this,e);var o;return o=TP(this,e,[n]),qe(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\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:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,l,f){if(i.type==="public"&&Ka(l.value)&&l.value.length===0){f("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}f()}},company:{type:"object",required:!0,validator:function(a,l,f){if(i.type==="public"&&i.signatureType.includes("company")&&Ka(l.value)&&l.value.length===0){f("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}f()}}}},r},{})}}},o}return e}(J),Qp=function(t){BP(e,t);function e(n){RP(this,e);var o;o=TP(this,e,[n]),qe(o,"buttonType",void 0),qe(o,"content",void 0),qe(o,"showType",void 0),qe(o,"color",void 0),qe(o,"icon",void 0),qe(o,"command",""),qe(o,"isLoading",!1),qe(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:hc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u53D1\u8D77\u7B7E\u7F72";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;return o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2",o.signatureConfig=new yF(n==null?void 0:n.signatureConfig),o}return e}(D);qe(Qp,"Rules",Rq);function Bq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Iq(t,e,n){return e=vc(e),xq(t,kP()?Reflect.construct(e,n||[],vc(t).constructor):e.apply(t,n))}function Aq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function kq(t,e,n){return e&&AP(t.prototype,e),n&&AP(t,n),t}function dc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vc(t){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(t)}function Dq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jp(t,e)}function xq(t,e){return e&&(Fq(e)==="object"||typeof e=="function")?e:Bq(t)}function Jp(t,e){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(t,e)}function Fq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kP=function(){return!!t})()}var hc=function(t){Dq(e,t);function e(n){Aq(this,e);var o;return o=Iq(this,e,[n]),dc(o,"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return kq(e,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),e}(x);dc(hc,"controlEventKeys",["on_click","on_click_finish"]),dc(hc,"controlFieldType",g.VARCHAR),dc(hc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function jq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lq(t,e,n){return e=bc(e),zq(t,FP()?Reflect.construct(e,n||[],bc(t).constructor):e.apply(t,n))}function Mq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Nq(t,e,n){return e&&DP(t.prototype,e),n&&DP(t,n),t}function xP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bc(t){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(t)}function Vq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zp(t,e)}function zq(t,e){return e&&(Hq(e)==="object"||typeof e=="function")?e:jq(t)}function Zp(t,e){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(t,e)}function Hq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FP=function(){return!!t})()}var qq=function(t){Vq(e,t);function e(n){Mq(this,e);var o;return o=Lq(this,e,[n]),xP(o,"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return Nq(e,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),e}(F);xP(qq,"controlFieldType",g.VARCHAR);function Uq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yp(t,e,n){return e=gc(e),Cq(t,jP()?Reflect.construct(e,n||[],gc(t).constructor):e.apply(t,n))}function ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gc(t){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gc(t)}function td(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nd(t,e)}function Cq(t,e){return e&&(Wq(e)==="object"||typeof e=="function")?e:Uq(t)}function nd(t,e){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(t,e)}function Wq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jP=function(){return!!t})()}var Kq=function(t){td(e,t);function e(n){ed(this,e);var o;return o=Yp(this,e,[n]),ie(o,"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),ie(o,"canAdd",void 0),ie(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(d.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(d.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return e}(J),Gq=function(t){td(e,t);function e(n){ed(this,e);var o;return o=Yp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),mc=function(t){td(e,t);function e(n){ed(this,e);var o;o=Yp(this,e,[n]),ie(o,"content",void 0),ie(o,"canAdd",void 0),ie(o,"addLocal",void 0),ie(o,"addOnline",void 0),ie(o,"canDownload",void 0),ie(o,"canEdit",void 0),ie(o,"canExport",void 0),ie(o,"canDelete",void 0),ie(o,"wpsSetting",void 0),ie(o,"maxSize",void 0),ie(o,"defaultValue",void 0),ie(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:$c.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u65B0\u5EFA\u6587\u6863";var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var l;o.canEdit=(l=n==null?void 0:n.canEdit)!==null&&l!==void 0?l:!0;var f;o.canDownload=(f=n==null?void 0:n.canDownload)!==null&&f!==void 0?f:!0;var y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!0;var p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:J7;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new sF(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 e}(D);ie(mc,"Rules",Kq),ie(mc,"RuntimeRules",Gq);function Xq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qq(t,e,n){return e=wc(e),eU(t,MP()?Reflect.construct(e,n||[],wc(t).constructor):e.apply(t,n))}function Jq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Zq(t,e,n){return e&&LP(t.prototype,e),n&&LP(t,n),t}function Oc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wc(t){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(t)}function Yq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&od(t,e)}function eU(t,e){return e&&(tU(e)==="object"||typeof e=="function")?e:Xq(t)}function od(t,e){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(t,e)}function tU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MP=function(){return!!t})()}var $c=function(t){Yq(e,t);function e(n){Jq(this,e);var o;return o=Qq(this,e,[n]),Oc(o,"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return Zq(e,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),e}(x);Oc($c,"controlEventKeys",["on_change","on_wps_open"]),Oc($c,"controlFieldType",g.FILE),Oc($c,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function nU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oU(t,e,n){return e=Pc(e),cU(t,zP()?Reflect.construct(e,n||[],Pc(t).constructor):e.apply(t,n))}function rU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iU(t,e,n){return e&&NP(t.prototype,e),n&&NP(t,n),t}function VP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pc(t){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(t)}function uU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rd(t,e)}function cU(t,e){return e&&(lU(e)==="object"||typeof e=="function")?e:nU(t)}function rd(t,e){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(t,e)}function lU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zP=function(){return!!t})()}var aU=function(t){uU(e,t);function e(n){rU(this,e);var o;return o=oU(this,e,[n]),VP(o,"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return iU(e,null,[{key:"controlType",get:function(){return"wps"}}]),e}(F);VP(aU,"controlFieldType",g.FILE);function fU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function id(t,e,n){return e=Ec(e),_U(t,HP()?Reflect.construct(e,n||[],Ec(t).constructor):e.apply(t,n))}function ud(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ec(t){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(t)}function cd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ld(t,e)}function _U(t,e){return e&&(yU(e)==="object"||typeof e=="function")?e:fU(t)}function ld(t,e){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(t,e)}function yU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HP=function(){return!!t})()}var sU=function(t){cd(e,t);function e(n){ud(this,e);var o;return o=id(this,e,[n]),Q(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Q(o,"businessScope",{type:"any"}),Do.call(o,n,un.controlCustomAttributes),n.businessType===dt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return e}(J),pU=function(t){cd(e,t);function e(n){ud(this,e);var o;return o=id(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Sc=function(t){cd(e,t);function e(n){ud(this,e);var o;o=id(this,e,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"defaultValueType",void 0),Q(o,"multiple",void 0),Q(o,"rangeOptions",void 0),Q(o,"defaultValue",void 0),Q(o,"displayLevel",void 0),Q(o,"showSubDept",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"businessType",void 0),Q(o,"businessScope",void 0),Q(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:un.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;o.datasourceBind=new Ro((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:rr.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:dt.ALL;var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new se(P))})),o}return e}(D);Q(Sc,"Rules",sU),Q(Sc,"RuntimeRules",pU);function dU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vU(t,e,n){return e=rn(e),mU(t,UP()?Reflect.construct(e,n||[],rn(t).constructor):e.apply(t,n))}function hU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bU(t,e,n){return e&&qP(t.prototype,e),n&&qP(t,n),t}function Tc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Rc=Reflect.get:Rc=function(r,i,u){var c=OU(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Rc(t,e,n||t)}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function gU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ad(t,e)}function mU(t,e){return e&&(wU(e)==="object"||typeof e=="function")?e:dU(t)}function ad(t,e){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(t,e)}function OU(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=rn(t),t!==null););return t}function wU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UP=function(){return!!t})()}var un=function(t){gU(e,t);function e(n){hU(this,e);var o;return o=vU(this,e,[n]),Tc(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return bU(e,[{key:"toDataBindModel",value:function(o){var r=Rc(rn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);Tc(un,"controlName","\u90E8\u95E8"),Tc(un,"controlFieldType",g.DEPARTMENTS),Tc(un,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function $U(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PU(t,e,n){return e=Bc(e),RU(t,KP()?Reflect.construct(e,n||[],Bc(t).constructor):e.apply(t,n))}function EU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SU(t,e,n){return e&&CP(t.prototype,e),n&&CP(t,n),t}function WP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bc(t){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bc(t)}function TU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fd(t,e)}function RU(t,e){return e&&(BU(e)==="object"||typeof e=="function")?e:$U(t)}function fd(t,e){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(t,e)}function BU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KP=function(){return!!t})()}var IU=function(t){TU(e,t);function e(n){EU(this,e);var o;return o=PU(this,e,[n]),WP(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return SU(e,null,[{key:"controlType",get:function(){return"department2"}}]),e}(F);WP(IU,"controlFieldType",g.DEPARTMENTS);function AU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _d(t,e,n){return e=Ic(e),kU(t,GP()?Reflect.construct(e,n||[],Ic(t).constructor):e.apply(t,n))}function yd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ic(t){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(t)}function sd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pd(t,e)}function kU(t,e){return e&&(DU(e)==="object"||typeof e=="function")?e:AU(t)}function pd(t,e){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(t,e)}function DU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GP=function(){return!!t})()}var xU=function(t){sd(e,t);function e(n){yd(this,e);var o;return o=_d(this,e,[n]),H(o,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),H(o,"businessScope",{type:"any"}),Do.call(o,n,ln.controlCustomAttributes),n.businessType===dt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return e}(J),FU=function(t){sd(e,t);function e(n){yd(this,e);var o;return o=_d(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ac=function(t){sd(e,t);function e(n){yd(this,e);var o;o=_d(this,e,[n]),H(o,"showType",void 0),H(o,"range",void 0),H(o,"defaultValueType",void 0),H(o,"multiple",void 0),H(o,"rangeOptions",void 0),H(o,"defaultValue",void 0),H(o,"displayLevel",void 0),H(o,"showSubDept",void 0),H(o,"multistageFilling",void 0),H(o,"datasourceBind",void 0),H(o,"listPageBind",void 0),H(o,"datasourceType",void 0),H(o,"businessType",void 0),H(o,"businessScope",void 0),H(o,"organizingFunction",void 0),H(o,"organizationView",void 0),H(o,"openMultistageFilling",void 0),H(o,"showSelectedDetail",void 0),H(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 tf(n==null?void 0:n.listPageBind);var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var f;o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ln.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var O;o.datasourceBind=new dk((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:rr.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:dt.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(j){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new se(j))})),o}return e}(D);H(Ac,"Rules",xU),H(Ac,"RuntimeRules",FU);function jU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LU(t,e,n){return e=cn(e),zU(t,QP()?Reflect.construct(e,n||[],cn(t).constructor):e.apply(t,n))}function MU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NU(t,e,n){return e&&XP(t.prototype,e),n&&XP(t,n),t}function kc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Dc=Reflect.get:Dc=function(r,i,u){var c=HU(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Dc(t,e,n||t)}function cn(t){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cn(t)}function VU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dd(t,e)}function zU(t,e){return e&&(qU(e)==="object"||typeof e=="function")?e:jU(t)}function dd(t,e){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(t,e)}function HU(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=cn(t),t!==null););return t}function qU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QP=function(){return!!t})()}var ln=function(t){VU(e,t);function e(n){MU(this,e);var o;return o=LU(this,e,[n]),kc(o,"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return NU(e,[{key:"toDataBindModel",value:function(o){var r=Dc(cn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(x);kc(ln,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),kc(ln,"controlFieldType",g.DEPARTMENTS),kc(ln,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.MULTIPLE,_.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function UU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CU(t,e,n){return e=xc(e),XU(t,YP()?Reflect.construct(e,n||[],xc(t).constructor):e.apply(t,n))}function WU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KU(t,e,n){return e&&JP(t.prototype,e),n&&JP(t,n),t}function ZP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xc(t){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(t)}function GU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vd(t,e)}function XU(t,e){return e&&(QU(e)==="object"||typeof e=="function")?e:UU(t)}function vd(t,e){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(t,e)}function QU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YP=function(){return!!t})()}var JU=function(t){GU(e,t);function e(n){WU(this,e);var o;return o=CU(this,e,[n]),ZP(o,"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return KU(e,null,[{key:"controlType",get:function(){return"organization-selection"}}]),e}(F);ZP(JU,"controlFieldType",g.DEPARTMENTS);function ZU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hd(t,e,n){return e=Fc(e),YU(t,eE()?Reflect.construct(e,n||[],Fc(t).constructor):e.apply(t,n))}function bd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fc(t){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fc(t)}function gd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&md(t,e)}function YU(t,e){return e&&(eC(e)==="object"||typeof e=="function")?e:ZU(t)}function md(t,e){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(t,e)}function eC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eE=function(){return!!t})()}var tC=function(t){gd(e,t);function e(n){bd(this,e);var o;return o=hd(this,e,[n]),Le(o,"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Le(o,"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Le(o,"defaultValue",[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Kt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),nC=function(t){gd(e,t);function e(n){bd(this,e);var o;return o=hd(this,e,[n]),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Kt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),jc=function(t){gd(e,t);function e(n){bd(this,e);var o;o=hd(this,e,[n]),Le(o,"maxLength",void 0),Le(o,"minLength",void 0),Le(o,"regularRules",void 0),Le(o,"defaultValue",void 0),Le(o,"encrypted",void 0),Le(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 Bo(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Nc.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var f;return o.encryptedMode=(f=n==null?void 0:n.encryptedMode)!==null&&f!==void 0?f:"",o}return e}(D);Le(jc,"Rules",tC),Le(jc,"RuntimeRules",nC);function oC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rC(t,e,n){return e=Mc(e),lC(t,nE()?Reflect.construct(e,n||[],Mc(t).constructor):e.apply(t,n))}function iC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uC(t,e,n){return e&&tE(t.prototype,e),n&&tE(t,n),t}function Lc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mc(t){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(t)}function cC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Od(t,e)}function lC(t,e){return e&&(aC(e)==="object"||typeof e=="function")?e:oC(t)}function Od(t,e){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(t,e)}function aC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nE=function(){return!!t})()}var Nc=function(t){cC(e,t);function e(n){iC(this,e);var o;return o=rC(this,e,[n]),Lc(o,"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return uC(e,null,[{key:"controlName",get:function(){return"\u654F\u611F\u4FE1\u606F"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(x);Lc(Nc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Lc(Nc,"controlFieldType",g.VARCHAR),Lc(Nc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[_.REQUIRED,_.IS_HIDE,_.IS_HIDE_CAPTION,_.IS_SHOW_CAPTION_TIP,_.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function fC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _C(t,e,n){return e=Vc(e),dC(t,iE()?Reflect.construct(e,n||[],Vc(t).constructor):e.apply(t,n))}function yC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sC(t,e,n){return e&&oE(t.prototype,e),n&&oE(t,n),t}function rE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vc(t){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(t)}function pC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wd(t,e)}function dC(t,e){return e&&(vC(e)==="object"||typeof e=="function")?e:fC(t)}function wd(t,e){return wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wd(t,e)}function vC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iE=function(){return!!t})()}var hC=function(t){pC(e,t);function e(n){yC(this,e);var o;return o=_C(this,e,[n]),rE(o,"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return sC(e,null,[{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(F);rE(hC,"controlFieldType",g.VARCHAR);function bC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gC(t,e,n){return e=zc(e),PC(t,cE()?Reflect.construct(e,n||[],zc(t).constructor):e.apply(t,n))}function mC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OC(t,e,n){return e&&uE(t.prototype,e),n&&uE(t,n),t}function wC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zc(t){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(t)}function $C(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$d(t,e)}function PC(t,e){return e&&(EC(e)==="object"||typeof e=="function")?e:bC(t)}function $d(t,e){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(t,e)}function EC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cE=function(){return!!t})()}var SC=function(t){$C(e,t);function e(n){return mC(this,e),gC(this,e,[n])}return OC(e,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),e}(Y);wC(SC,"excludes",[s.GRID]);function TC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RC(t,e,n){return e=Hc(e),AC(t,aE()?Reflect.construct(e,n||[],Hc(t).constructor):e.apply(t,n))}function BC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hc(t){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(t)}function IC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pd(t,e)}function AC(t,e){return e&&(kC(e)==="object"||typeof e=="function")?e:TC(t)}function Pd(t,e){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(t,e)}function kC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aE=function(){return!!t})()}var DC=24,_o=function(t){IC(e,t);function e(n){BC(this,e);var o;o=RC(this,e,[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:DC;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return e}(Z);function xC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FC(t,e,n){return e=qc(e),NC(t,_E()?Reflect.construct(e,n||[],qc(t).constructor):e.apply(t,n))}function jC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LC(t,e,n){return e&&fE(t.prototype,e),n&&fE(t,n),t}function Ed(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qc(t){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(t)}function MC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sd(t,e)}function NC(t,e){return e&&(VC(e)==="object"||typeof e=="function")?e:xC(t)}function Sd(t,e){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(t,e)}function VC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_E=function(){return!!t})()}var yo=function(t){MC(e,t);function e(n){jC(this,e);var o;return o=FC(this,e,[n]),Ed(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return LC(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),e}(Y);Ed(yo,"excludes",[s.COL,s.CARD_GROUP,s.SUBTABLE,s.SUBTABLE_COLUMN,s.GRID_LAYOUT_CONTAINER,s.DIVIDER]),Ed(yo,"childrenMaxLength",1);function zC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HC(t,e,n){return e=Uc(e),KC(t,sE()?Reflect.construct(e,n||[],Uc(t).constructor):e.apply(t,n))}function qC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UC(t,e,n){return e&&yE(t.prototype,e),n&&yE(t,n),t}function CC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uc(t){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(t)}function WC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Td(t,e)}function KC(t,e){return e&&(GC(e)==="object"||typeof e=="function")?e:zC(t)}function Td(t,e){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(t,e)}function GC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sE=function(){return!!t})()}var XC=function(t){WC(e,t);function e(n){qC(this,e);var o;return o=HC(this,e,[n]),CC(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return UC(e,null,[{key:"controlType",get:function(){return"col"}}]),e}(Pt),pE={Designer:yo,Runtime:XC,Property:_o};function QC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JC(t,e,n){return e=Cc(e),eW(t,vE()?Reflect.construct(e,n||[],Cc(t).constructor):e.apply(t,n))}function ZC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cc(t){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(t)}function YC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rd(t,e)}function eW(t,e){return e&&(tW(e)==="object"||typeof e=="function")?e:QC(t)}function Rd(t,e){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(t,e)}function tW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vE=function(){return!!t})()}var Bd=function(t){YC(e,t);function e(n){ZC(this,e);var o;o=JC(this,e,[n]),dE(o,"layoutMode",void 0),dE(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return e}(Z);function nW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oW(t,e,n){return e=Wc(e),cW(t,bE()?Reflect.construct(e,n||[],Wc(t).constructor):e.apply(t,n))}function rW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iW(t,e,n){return e&&hE(t.prototype,e),n&&hE(t,n),t}function Id(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wc(t){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(t)}function uW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ad(t,e)}function cW(t,e){return e&&(lW(e)==="object"||typeof e=="function")?e:nW(t)}function Ad(t,e){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(t,e)}function lW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bE=function(){return!!t})()}var kd=function(t){uW(e,t);function e(n){rW(this,e);var o;return o=oW(this,e,[n]),Id(o,"props",void 0),o.props=new Bd(n==null?void 0:n.props),o}return iW(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);Id(kd,"excludes",[s.ROW]),Id(kd,"setting",[{key:"col-setting",visible:!0}]);function aW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fW(t,e,n){return e=Kc(e),dW(t,mE()?Reflect.construct(e,n||[],Kc(t).constructor):e.apply(t,n))}function _W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yW(t,e,n){return e&&gE(t.prototype,e),n&&gE(t,n),t}function sW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kc(t){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(t)}function pW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dd(t,e)}function dW(t,e){return e&&(vW(e)==="object"||typeof e=="function")?e:aW(t)}function Dd(t,e){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(t,e)}function vW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mE=function(){return!!t})()}var hW=function(t){pW(e,t);function e(n){_W(this,e);var o;return o=fW(this,e,[n]),sW(o,"props",void 0),o.props=new Bd(n==null?void 0:n.props),o}return yW(e,null,[{key:"controlType",get:function(){return"row"}}]),e}(Pt);function bW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gW(t,e,n){return e=Gc(e),$W(t,wE()?Reflect.construct(e,n||[],Gc(t).constructor):e.apply(t,n))}function mW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OW(t,e,n){return e&&OE(t.prototype,e),n&&OE(t,n),t}function xd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gc(t){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(t)}function wW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fd(t,e)}function $W(t,e){return e&&(PW(e)==="object"||typeof e=="function")?e:bW(t)}function Fd(t,e){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(t,e)}function PW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wE=function(){return!!t})()}var EW=4,Xc=function(t){wW(e,t);function e(n){return mW(this,e),gW(this,e,[n])}return OW(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),e}(kd);xd(Xc,"excludes",[s.GRID_ROW]),xd(Xc,"setting",[]),xd(Xc,"childrenMaxLength",EW);function SW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TW(t,e,n){return e=Qc(e),AW(t,PE()?Reflect.construct(e,n||[],Qc(t).constructor):e.apply(t,n))}function RW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BW(t,e,n){return e&&$E(t.prototype,e),n&&$E(t,n),t}function Qc(t){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(t)}function IW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jd(t,e)}function AW(t,e){return e&&(kW(e)==="object"||typeof e=="function")?e:SW(t)}function jd(t,e){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(t,e)}function kW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PE=function(){return!!t})()}var DW=function(t){IW(e,t);function e(n){return RW(this,e),TW(this,e,[n])}return BW(e,null,[{key:"controlType",get:function(){return"grid-row"}}]),e}(hW);function xW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FW(t,e,n){return e=Jc(e),MW(t,EE()?Reflect.construct(e,n||[],Jc(t).constructor):e.apply(t,n))}function jW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jc(t){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(t)}function LW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ld(t,e)}function MW(t,e){return e&&(NW(e)==="object"||typeof e=="function")?e:xW(t)}function Ld(t,e){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(t,e)}function NW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EE=function(){return!!t})()}var VW=function(t){LW(e,t);function e(n){return jW(this,e),FW(this,e,[n])}return e}(Bd),zW={Designer:Xc,Runtime:DW,Property:VW};function HW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SE(t,e,n){return e=Yc(e),qW(t,BE()?Reflect.construct(e,n||[],Yc(t).constructor):e.apply(t,n))}function TE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yc(t){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(t)}function RE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Md(t,e)}function qW(t,e){return e&&(UW(e)==="object"||typeof e=="function")?e:HW(t)}function Md(t,e){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(t,e)}function UW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BE=function(){return!!t})()}var CW=function(t){RE(e,t);function e(){TE(this,e);var n;return n=SE(this,e,arguments),Zc(n,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return e}(Z.Rules),IE=function(t){RE(e,t);function e(n){TE(this,e);var o;o=SE(this,e,[n]),Zc(o,"caption",void 0),Zc(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"\u5206\u7EC4";var i;return o.collapse=(i=n==null?void 0:n.collapse)!==null&&i!==void 0?i:"none",o}return e}(Z);Zc(IE,"Rules",CW);function WW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KW(t,e,n){return e=el(e),JW(t,kE()?Reflect.construct(e,n||[],el(t).constructor):e.apply(t,n))}function GW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XW(t,e,n){return e&&AE(t.prototype,e),n&&AE(t,n),t}function Nd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function el(t){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(t)}function QW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vd(t,e)}function JW(t,e){return e&&(ZW(e)==="object"||typeof e=="function")?e:WW(t)}function Vd(t,e){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(t,e)}function ZW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kE=function(){return!!t})()}var DE=function(t){QW(e,t);function e(n){GW(this,e);var o;return o=KW(this,e,[n]),Nd(o,"props",void 0),o.props=new IE(n==null?void 0:n.props),o}return XW(e,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),e}(Y);Nd(DE,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Nd(DE,"excludes",[s.CARD_GROUP]);function YW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xE(t,e,n){return e=tl(e),eK(t,LE()?Reflect.construct(e,n||[],tl(t).constructor):e.apply(t,n))}function FE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tl(t){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(t)}function jE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zd(t,e)}function eK(t,e){return e&&(tK(e)==="object"||typeof e=="function")?e:YW(t)}function zd(t,e){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(t,e)}function tK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LE=function(){return!!t})()}var nK=function(t){jE(e,t);function e(n){FE(this,e);var o;return o=xE(this,e,[n]),Ue(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Ue(o,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),Ue(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),nl=function(t){jE(e,t);function e(n){FE(this,e);var o;o=xE(this,e,[n]),Ue(o,"metaAutoWidth",void 0),Ue(o,"caption",void 0),Ue(o,"fixed",void 0),Ue(o,"isShowCaptionTip",void 0),Ue(o,"captionTip",void 0),Ue(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new z0(n==null?void 0:n.metaAutoWidth),o}return e}(Z);Ue(nl,"Rules",nK);function oK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rK(t,e,n){return e=ol(e),cK(t,ME()?Reflect.construct(e,n||[],ol(t).constructor):e.apply(t,n))}function iK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ol(t){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(t)}function uK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hd(t,e)}function cK(t,e){return e&&(lK(e)==="object"||typeof e=="function")?e:oK(t)}function Hd(t,e){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(t,e)}function lK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ME(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ME=function(){return!!t})()}var Me=function(t){uK(e,t);function e(n){iK(this,e);var o;return o=rK(this,e,[n]),St(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return e}(Y);St(Me,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),St(Me,"controlType","subtable-column"),St(Me,"controlIcon","subtable-column"),St(Me,"childrenMaxLength",1),St(Me,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),St(Me,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",showItems:[_.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function aK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fK(t,e,n){return e=rl(e),sK(t,VE()?Reflect.construct(e,n||[],rl(t).constructor):e.apply(t,n))}function _K(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rl(t){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(t)}function yK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qd(t,e)}function sK(t,e){return e&&(pK(e)==="object"||typeof e=="function")?e:aK(t)}function qd(t,e){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(t,e)}function pK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VE=function(){return!!t})()}var zE=function(t){yK(e,t);function e(n){_K(this,e);var o;return o=fK(this,e,[n]),NE(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return e}(Pt);NE(zE,"controlType","subtable-column");var dK={Designer:Me,Runtime:zE,Property:nl};function vK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hK(t,e,n){return e=il(e),mK(t,HE()?Reflect.construct(e,n||[],il(t).constructor):e.apply(t,n))}function bK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(t)}function gK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ud(t,e)}function mK(t,e){return e&&(OK(e)==="object"||typeof e=="function")?e:vK(t)}function Ud(t,e){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(t,e)}function OK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HE=function(){return!!t})()}var wK=function(t){gK(e,t);function e(n){return bK(this,e),hK(this,e,[n])}return e}(Z);function $K(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PK(t,e,n){return e=ul(e),TK(t,qE()?Reflect.construct(e,n||[],ul(t).constructor):e.apply(t,n))}function EK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function SK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cd(t,e)}function TK(t,e){return e&&(RK(e)==="object"||typeof e=="function")?e:$K(t)}function Cd(t,e){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(t,e)}function RK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qE=function(){return!!t})()}var an=function(t){SK(e,t);function e(n){EK(this,e);var o;return o=PK(this,e,[n]),Tt(o,"props",void 0),o.props=new wK(n==null?void 0:n.props),o}return e}(Y);Tt(an,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Tt(an,"controlType","subtable-row"),Tt(an,"controlIcon","subtable-row"),Tt(an,"childrenMaxLength",1),Tt(an,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.SUBTABLE_ROW,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Tt(an,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0}]);function BK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IK(t,e,n){return e=cl(e),DK(t,UE()?Reflect.construct(e,n||[],cl(t).constructor):e.apply(t,n))}function AK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cl(t){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(t)}function kK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wd(t,e)}function DK(t,e){return e&&(xK(e)==="object"||typeof e=="function")?e:BK(t)}function Wd(t,e){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(t,e)}function xK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UE=function(){return!!t})()}var CE=function(t){kK(e,t);function e(n){AK(this,e);var o;o=IK(this,e,[n]),Be(o,"widthType",void 0),Be(o,"width",void 0),Be(o,"caption",void 0),Be(o,"fieldCode",void 0),Be(o,"fieldType",void 0),Be(o,"fieldName",void 0),Be(o,"datasourceBind",void 0),Be(o,"fixed",void 0),Be(o,"textCleanFormart",void 0),Be(o,"decimalKeepPrecision",void 0),Be(o,"timestampDateType",void 0),Be(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var f;o.textCleanFormart=(f=n==null?void 0:n.textCleanFormart)!==null&&f!==void 0?f:!1;var y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:rt.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return e}(Z);function FK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jK(t,e,n){return e=ll(e),NK(t,WE()?Reflect.construct(e,n||[],ll(t).constructor):e.apply(t,n))}function LK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ll(t){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(t)}function MK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kd(t,e)}function NK(t,e){return e&&(VK(e)==="object"||typeof e=="function")?e:FK(t)}function Kd(t,e){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(t,e)}function VK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WE=function(){return!!t})()}var fn=function(t){MK(e,t);function e(n){LK(this,e);var o;return o=jK(this,e,[n]),Rt(o,"props",void 0),o.props=new CE(n==null?void 0:n.props),o}return e}(Y);Rt(fn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Rt(fn,"controlType","gridtable-column"),Rt(fn,"controlIcon","gridtable-column"),Rt(fn,"childrenMaxLength",1),Rt(fn,"excludes",[s.GRID_TABLE,s.GRID_TABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Rt(fn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function zK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HK(t,e,n){return e=al(e),CK(t,GE()?Reflect.construct(e,n||[],al(t).constructor):e.apply(t,n))}function qK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function KE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function al(t){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(t)}function UK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gd(t,e)}function CK(t,e){return e&&(WK(e)==="object"||typeof e=="function")?e:zK(t)}function Gd(t,e){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(t,e)}function WK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GE=function(){return!!t})()}var KK=function(t){UK(e,t);function e(n){qK(this,e);var o;return o=HK(this,e,[n]),KE(o,"props",void 0),o.props=new CE(n==null?void 0:n.props),o}return e}(Pt);KE(KK,"controlType","gridtable-column");function GK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XK(t,e,n){return e=fl(e),ZK(t,QE()?Reflect.construct(e,n||[],fl(t).constructor):e.apply(t,n))}function QK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fl(t){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(t)}function JK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xd(t,e)}function ZK(t,e){return e&&(YK(e)==="object"||typeof e=="function")?e:GK(t)}function Xd(t,e){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(t,e)}function YK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QE=function(){return!!t})()}var eG=function(t){JK(e,t);function e(n){QK(this,e);var o;o=XK(this,e,[n]),XE(o,"childMinWidth",void 0),XE(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return e}(Z);function tG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nG(t,e,n){return e=_l(e),uG(t,ZE()?Reflect.construct(e,n||[],_l(t).constructor):e.apply(t,n))}function oG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rG(t,e,n){return e&&JE(t.prototype,e),n&&JE(t,n),t}function Qd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _l(t){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(t)}function iG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jd(t,e)}function uG(t,e){return e&&(cG(e)==="object"||typeof e=="function")?e:tG(t)}function Jd(t,e){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(t,e)}function cG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZE=function(){return!!t})()}var YE=function(t){iG(e,t);function e(n){oG(this,e);var o;return o=nG(this,e,[n]),Qd(o,"props",void 0),o.props=new eG(n==null?void 0:n.props),o}return rG(e,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),e}(Y);Qd(YE,"excludes",[s.GRID_LAYOUT_CONTAINER,s.CARD_GROUP,s.TAB]),Qd(YE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function lG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aG(t,e,n){return e=yl(e),sG(t,eS()?Reflect.construct(e,n||[],yl(t).constructor):e.apply(t,n))}function fG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _G(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yl(t){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(t)}function yG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zd(t,e)}function sG(t,e){return e&&(pG(e)==="object"||typeof e=="function")?e:lG(t)}function Zd(t,e){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(t,e)}function pG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eS=function(){return!!t})()}var dG=function(t){yG(e,t);function e(n){fG(this,e);var o;o=aG(this,e,[n]),_G(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return e}(Z);function vG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tS(t,e,n){return e=sl(e),hG(t,rS()?Reflect.construct(e,n||[],sl(t).constructor):e.apply(t,n))}function nS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function oS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ev(t,e)}function hG(t,e){return e&&(bG(e)==="object"||typeof e=="function")?e:vG(t)}function ev(t,e){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(t,e)}function bG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rS=function(){return!!t})()}var gG=function(t){oS(e,t);function e(n){nS(this,e);var o;return o=tS(this,e,[n]),Yd(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return e}(W),iS=function(t){oS(e,t);function e(n){nS(this,e);var o;o=tS(this,e,[n]),Yd(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:bl.controlName,o}return e}(Z);Yd(iS,"Rules",gG);function mG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OG(t,e,n){return e=pl(e),EG(t,cS()?Reflect.construct(e,n||[],pl(t).constructor):e.apply(t,n))}function wG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $G(t,e,n){return e&&uS(t.prototype,e),n&&uS(t,n),t}function tv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pl(t){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(t)}function PG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nv(t,e)}function EG(t,e){return e&&(SG(e)==="object"||typeof e=="function")?e:mG(t)}function nv(t,e){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(t,e)}function SG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cS=function(){return!!t})()}var dl=function(t){PG(e,t);function e(n){wG(this,e);var o;return o=OG(this,e,[n]),tv(o,"props",void 0),o.props=new iS(n==null?void 0:n.props),o}return $G(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),e}(Y);tv(dl,"excludes",[s.TAB]),tv(dl,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"super-setting",visible:!0}]);function TG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RG(t,e,n){return e=hl(e),kG(t,aS()?Reflect.construct(e,n||[],hl(t).constructor):e.apply(t,n))}function BG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IG(t,e,n){return e&&lS(t.prototype,e),n&&lS(t,n),t}function vl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hl(t){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(t)}function AG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ov(t,e)}function kG(t,e){return e&&(DG(e)==="object"||typeof e=="function")?e:TG(t)}function ov(t,e){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(t,e)}function DG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aS=function(){return!!t})()}var bl=function(t){AG(e,t);function e(n){BG(this,e);var o;o=RG(this,e,[n]),vl(o,"props",void 0),o.props=new dG(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new dl,new dl],o}return IG(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),e}(Y);vl(bl,"excludes",[s.TAB]),vl(bl,"controlEventKeys",["on_change_tab"]),vl(bl,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function xG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FG(t,e,n){return e=gl(e),MG(t,fS()?Reflect.construct(e,n||[],gl(t).constructor):e.apply(t,n))}function jG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gl(t){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(t)}function LG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rv(t,e)}function MG(t,e){return e&&(NG(e)==="object"||typeof e=="function")?e:xG(t)}function rv(t,e){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(t,e)}function NG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fS=function(){return!!t})()}var VG=function(t){LG(e,t);function e(n){return jG(this,e),FG(this,e,[n])}return e}(Z);function zG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HG(t,e,n){return e=ml(e),WG(t,sS()?Reflect.construct(e,n||[],ml(t).constructor):e.apply(t,n))}function qG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _S(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UG(t,e,n){return e&&_S(t.prototype,e),n&&_S(t,n),t}function yS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ml(t){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(t)}function CG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iv(t,e)}function WG(t,e){return e&&(KG(e)==="object"||typeof e=="function")?e:zG(t)}function iv(t,e){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(t,e)}function KG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sS=function(){return!!t})()}var GG=function(t){CG(e,t);function e(n){qG(this,e);var o;return o=HG(this,e,[n]),yS(o,"props",void 0),o.props=new VG({}),o.children=(n==null?void 0:n.children)||[new yo({props:new _o({span:12})}),new yo({props:new _o({span:12})})],o}return UG(e,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),e}(Y);yS(GG,"excludes",[s.GRID_ROW,s.ROW,s.GRID,s.SUBTABLE,s.TAB,s.TOOLBOX]);function XG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uv(t,e,n){return e=Ol(e),QG(t,pS()?Reflect.construct(e,n||[],Ol(t).constructor):e.apply(t,n))}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ol(t){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(t)}function lv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&av(t,e)}function QG(t,e){return e&&(JG(e)==="object"||typeof e=="function")?e:XG(t)}function av(t,e){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(t,e)}function JG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pS=function(){return!!t})()}var dS;(function(t){t[t.CLICK_ROW=1]="CLICK_ROW",t[t.CLICK_CELL=2]="CLICK_CELL"})(dS||(dS={}));var ZG=function(t){lv(e,t);function e(n){cv(this,e);var o;return o=uv(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),YG=function(t){lv(e,t);function e(n){cv(this,e);var o;if(o=uv(this,e,[n]),V(o,"triggerFieldCode",{type:"any"}),V(o,"datasourceBind",{type:"any"}),V(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),wf.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return e}(W),so=function(t){lv(e,t);function e(n){cv(this,e);var o,r,i;o=uv(this,e,[n]),V(o,"datasourceBind",void 0),V(o,"isLoading",void 0),V(o,"isShowSubList",void 0),V(o,"triggerType",void 0),V(o,"triggerFieldCode",void 0),V(o,"sublistPage",void 0),V(o,"isShowJoinRelation",void 0),V(o,"joinRelation",void 0),V(o,"showType",void 0),V(o,"showFullScreen",void 0),V(o,"isFixedHeader",void 0),V(o,"selectionType",void 0),V(o,"isShowSelection",void 0),V(o,"isAllLoaded",void 0),V(o,"countType",void 0),V(o,"countLimit",void 0),V(o,"rowStyleType",void 0),V(o,"rowStyleBgColor",void 0),V(o,"rowStyleRules",void 0),V(o,"rowStyleRulesScript",void 0),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var u;o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new _k(n==null?void 0:n.sublistPage);var f;o.isShowJoinRelation=(f=n==null?void 0:n.isShowJoinRelation)!==null&&f!==void 0?f:!1,o.joinRelation=new sk(n==null?void 0:n.joinRelation);var y;o.showType=(y=n==null?void 0:n.showType)!==null&&y!==void 0?y:"stretch";var p;o.showFullScreen=(p=n==null?void 0:n.showFullScreen)!==null&&p!==void 0?p:!1;var b;o.selectionType=(b=n==null?void 0:n.selectionType)!==null&&b!==void 0?b:"multiple";var O;o.isFixedHeader=(O=n==null?void 0:n.isFixedHeader)!==null&&O!==void 0?O:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var w;o.isAllLoaded=(w=n==null?void 0:n.isAllLoaded)!==null&&w!==void 0?w:!0,o.countType=n==null?void 0:n.countType;var h;o.countLimit=(h=n==null?void 0:n.countLimit)!==null&&h!==void 0?h:1e5;var $;o.rowStyleType=($=n==null?void 0:n.rowStyleType)!==null&&$!==void 0?$:"none";var P;o.rowStyleBgColor=(P=n==null?void 0:n.rowStyleBgColor)!==null&&P!==void 0?P:"theme";var E;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(E=n==null||(r=n.rowStyleRules)===null||r===void 0?void 0:r.map(function(j){return new Tk(j)}))!==null&&E!==void 0?E:[]:[];var T;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(T=n==null||(i=n.rowStyleRulesScript)===null||i===void 0?void 0:i.map(function(j){return new Rk(j)}))!==null&&T!==void 0?T:[]:[],o}return e}(Z);V(so,"Rules",YG),V(so,"RuntimeRules",ZG);function eX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tX(t,e,n){return e=$l(e),iX(t,hS()?Reflect.construct(e,n||[],$l(t).constructor):e.apply(t,n))}function nX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oX(t,e,n){return e&&vS(t.prototype,e),n&&vS(t,n),t}function wl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $l(t){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(t)}function rX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fv(t,e)}function iX(t,e){return e&&(uX(e)==="object"||typeof e=="function")?e:eX(t)}function fv(t,e){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(t,e)}function uX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hS=function(){return!!t})()}var Pl=function(t){rX(e,t);function e(n){nX(this,e);var o;return o=tX(this,e,[n]),wl(o,"props",void 0),o.props=new so(n==null?void 0:n.props),o}return oX(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);wl(Pl,"excludes",[s.ROW]),wl(Pl,"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"]),wl(Pl,"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 cX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lX(t,e,n){return e=El(e),sX(t,gS()?Reflect.construct(e,n||[],El(t).constructor):e.apply(t,n))}function aX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fX(t,e,n){return e&&bS(t.prototype,e),n&&bS(t,n),t}function _X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(t)}function yX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_v(t,e)}function sX(t,e){return e&&(pX(e)==="object"||typeof e=="function")?e:cX(t)}function _v(t,e){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(t,e)}function pX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gS=function(){return!!t})()}var dX=function(t){yX(e,t);function e(n){aX(this,e);var o;return o=lX(this,e,[n]),_X(o,"props",void 0),o.props=new so(n==null?void 0:n.props),o}return fX(e,null,[{key:"controlType",get:function(){return"list-view"}}]),e}(Pt),vX={Designer:Pl,Runtime:dX,Property:so};function hX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mS(t,e,n){return e=Sl(e),bX(t,$S()?Reflect.construct(e,n||[],Sl(t).constructor):e.apply(t,n))}function OS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sl(t){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(t)}function wS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yv(t,e)}function bX(t,e){return e&&(gX(e)==="object"||typeof e=="function")?e:hX(t)}function yv(t,e){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(t,e)}function gX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $S(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($S=function(){return!!t})()}var mX=function(t){wS(e,t);function e(n){OS(this,e);var o;return o=mS(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),Tl=function(t){wS(e,t);function e(n){OS(this,e);var o;o=mS(this,e,[n]),mt(o,"save",void 0),mt(o,"cancel",void 0),mt(o,"saveAs",void 0),mt(o,"print",void 0),mt(o,"custom",void 0),mt(o,"isLoading",void 0),mt(o,"datasourceBind",void 0);var r;o.save=new ct((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new ct((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new ct((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new ct((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(f){return new ct(f)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return e}(Z);mt(Tl,"RuntimeRules",mX);function OX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wX(t,e,n){return e=Rl(e),SX(t,SS()?Reflect.construct(e,n||[],Rl(t).constructor):e.apply(t,n))}function $X(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function PX(t,e,n){return e&&PS(t.prototype,e),n&&PS(t,n),t}function ES(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rl(t){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(t)}function EX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sv(t,e)}function SX(t,e){return e&&(TX(e)==="object"||typeof e=="function")?e:OX(t)}function sv(t,e){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(t,e)}function TX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SS=function(){return!!t})()}var TS=function(t){EX(e,t);function e(n){$X(this,e);var o;return o=wX(this,e,[n]),ES(o,"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return PX(e,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),e}(Y);ES(TS,"excludes",[]);function RX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BX(t,e,n){return e=Bl(e),xX(t,BS()?Reflect.construct(e,n||[],Bl(t).constructor):e.apply(t,n))}function IX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AX(t,e,n){return e&&RS(t.prototype,e),n&&RS(t,n),t}function kX(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bl(t){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(t)}function DX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pv(t,e)}function xX(t,e){return e&&(FX(e)==="object"||typeof e=="function")?e:RX(t)}function pv(t,e){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(t,e)}function FX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BS=function(){return!!t})()}var jX=function(t){DX(e,t);function e(n){IX(this,e);var o;return o=BX(this,e,[n]),kX(o,"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return AX(e,null,[{key:"controlType",get:function(){return"data-view"}}]),e}(Pt),LX={Designer:TS,Runtime:jX,Property:Tl};function MX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NX(t,e,n){return e=Il(e),HX(t,IS()?Reflect.construct(e,n||[],Il(t).constructor):e.apply(t,n))}function VX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(t)}function zX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vv(t,e)}function HX(t,e){return e&&(qX(e)==="object"||typeof e=="function")?e:MX(t)}function vv(t,e){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(t,e)}function qX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IS=function(){return!!t})()}var UX=function(t){zX(e,t);function e(n){VX(this,e);var o;o=NX(this,e,[n]),dv(o,"position",void 0),dv(o,"opacity",void 0),dv(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return e}(Z);function CX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WX(t,e,n){return e=Al(e),QX(t,kS()?Reflect.construct(e,n||[],Al(t).constructor):e.apply(t,n))}function KX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function GX(t,e,n){return e&&AS(t.prototype,e),n&&AS(t,n),t}function hv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Al(t){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(t)}function XX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bv(t,e)}function QX(t,e){return e&&(JX(e)==="object"||typeof e=="function")?e:CX(t)}function bv(t,e){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(t,e)}function JX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kS=function(){return!!t})()}var DS=function(t){XX(e,t);function e(n){KX(this,e);var o;o=WX(this,e,[n]),hv(o,"props",void 0);var r;return o.props=new UX((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return GX(e,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),e}(Y);hv(DS,"excludes",[]),hv(DS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function ZX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gv(t,e,n){return e=kl(e),YX(t,xS()?Reflect.construct(e,n||[],kl(t).constructor):e.apply(t,n))}function mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(t){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(t)}function Ov(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wv(t,e)}function YX(t,e){return e&&(eQ(e)==="object"||typeof e=="function")?e:ZX(t)}function wv(t,e){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(t,e)}function eQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xS=function(){return!!t})()}var tQ=function(t){Ov(e,t);function e(n){mv(this,e);var o;return o=gv(this,e,[n]),R(o,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return e}(W),nQ=function(t){Ov(e,t);function e(n){mv(this,e);var o;return o=gv(this,e,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return e}($t),$v=function(t){Ov(e,t);function e(n,o){mv(this,e);var r;r=gv(this,e,[n,o,e.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:Sv.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var c;r.defaultState=(c=o==null?void 0:o.defaultState)!==null&&c!==void 0?c:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var l;r.openType=(l=o==null?void 0:o.openType)!==null&&l!==void 0?l:"default";var f;r.formKey=(f=o==null?void 0:o.formKey)!==null&&f!==void 0?f:"";var y;r.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var p;r.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:pF;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var m;r.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new X(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var P;r.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var E;r.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var T;r.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var j;r.canExport=(j=o==null?void 0:o.canExport)!==null&&j!==void 0?j:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ue;r.serverPagination=(ue=o==null?void 0:o.serverPagination)!==null&&ue!==void 0?ue:!1;var B;r.isShowCaptionTip=(B=o==null?void 0:o.isShowCaptionTip)!==null&&B!==void 0?B:!1;var We;r.captionTip=(We=o==null?void 0:o.captionTip)!==null&&We!==void 0?We:"";var wo;r.mobileShowType=(wo=o==null?void 0:o.mobileShowType)!==null&&wo!==void 0?wo:"list";var Kn;r.mobileDefaultNum=(Kn=o==null?void 0:o.mobileDefaultNum)!==null&&Kn!==void 0?Kn:10;var xt;r.dataStorageDoc=(xt=o==null?void 0:o.dataStorageDoc)!==null&&xt!==void 0?xt:new ck;var Ke;r.fixedColumn=(Ke=o==null?void 0:o.fixedColumn)!==null&&Ke!==void 0?Ke:[];var f0;r.mobileRowCaption=(f0=o==null?void 0:o.mobileRowCaption)!==null&&f0!==void 0?f0:"\u660E\u7EC6";var _0;r.mobileIsTile=(_0=o==null?void 0:o.mobileIsTile)!==null&&_0!==void 0?_0:!1;var y0;r.isPaste=(y0=o==null?void 0:o.isPaste)!==null&&y0!==void 0?y0:!1;var s0;r.pageSize=(s0=o==null?void 0:o.pageSize)!==null&&s0!==void 0?s0:10;var p0;return r.pageSizeOptions=(p0=o==null?void 0:o.pageSizeOptions)!==null&&p0!==void 0?p0:[10,20,50,100],r}return e}(Df);R($v,"Rules",tQ),R($v,"RuntimeRules",nQ);function oQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rQ(t,e,n){return e=Dl(e),lQ(t,jS()?Reflect.construct(e,n||[],Dl(t).constructor):e.apply(t,n))}function iQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uQ(t,e,n){return e&&FS(t.prototype,e),n&&FS(t,n),t}function Pv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dl(t){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(t)}function cQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ev(t,e)}function lQ(t,e){return e&&(aQ(e)==="object"||typeof e=="function")?e:oQ(t)}function Ev(t,e){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(t,e)}function aQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jS=function(){return!!t})()}var Sv=function(t){cQ(e,t);function e(n){iQ(this,e);var o,r,i;return o=rQ(this,e,[n]),Pv(o,"props",void 0),o.props=new $v(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 Me,new Me,new Me]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return uQ(e,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Me,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"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),e}(jf);Pv(Sv,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Pv(Sv,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[_.CAPTION,_.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE,_.IS_SHOW_CAPTION_TIP,_.IS_PASTE,_.SERVER_PAGINATION]},{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 fQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _Q(t,e,n){return e=xl(e),pQ(t,LS()?Reflect.construct(e,n||[],xl(t).constructor):e.apply(t,n))}function yQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function po(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xl(t){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(t)}function sQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tv(t,e)}function pQ(t,e){return e&&(dQ(e)==="object"||typeof e=="function")?e:fQ(t)}function Tv(t,e){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(t,e)}function dQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LS=function(){return!!t})()}var vQ=function(t){sQ(e,t);function e(n,o){yQ(this,e);var r;r=_Q(this,e,[n,o]),po(r,"isFixedHeader",void 0),po(r,"selectionType",void 0),po(r,"isShowToolbar",void 0),po(r,"isShowSelection",void 0),po(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var l;return r.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[10,20,50,100,500],r}return e}(Df);function hQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MS(t,e,n){return e=Fl(e),gQ(t,zS()?Reflect.construct(e,n||[],Fl(t).constructor):e.apply(t,n))}function NS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bQ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fl(t){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(t)}function VS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rv(t,e)}function gQ(t,e){return e&&(mQ(e)==="object"||typeof e=="function")?e:hQ(t)}function Rv(t,e){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(t,e)}function mQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zS=function(){return!!t})()}var OQ=function(t){VS(e,t);function e(n){NS(this,e);var o;return o=MS(this,e,[n]),o.caption.required=!1,o}return e}(ze),Bv=function(t){VS(e,t);function e(n){NS(this,e);var o,r,i;o=MS(this,e,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:_n.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var l;o.autoWidth.minWidth=(l=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&l!==void 0?l:60;var f;o.autoWidth.flex=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&f!==void 0?f:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return e}(U);bQ(Bv,"Rules",OQ);function wQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $Q(t,e,n){return e=jl(e),SQ(t,HS()?Reflect.construct(e,n||[],jl(t).constructor):e.apply(t,n))}function PQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jl(t){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(t)}function EQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iv(t,e)}function SQ(t,e){return e&&(TQ(e)==="object"||typeof e=="function")?e:wQ(t)}function Iv(t,e){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(t,e)}function TQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HS=function(){return!!t})()}var _n=function(t){EQ(e,t);function e(n){PQ(this,e);var o;return o=$Q(this,e,[n]),vo(o,"props",void 0),o.props=new Bv(n==null?void 0:n.props),o}return e}(te);vo(_n,"controlType","order-column"),vo(_n,"controlName","\u5E8F\u53F7"),vo(_n,"controlIcon","order-column"),vo(_n,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function RQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BQ(t,e,n){return e=Ll(e),kQ(t,qS()?Reflect.construct(e,n||[],Ll(t).constructor):e.apply(t,n))}function IQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Av(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ll(t){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(t)}function AQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kv(t,e)}function kQ(t,e){return e&&(DQ(e)==="object"||typeof e=="function")?e:RQ(t)}function kv(t,e){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(t,e)}function DQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qS=function(){return!!t})()}var US=function(t){AQ(e,t);function e(n){IQ(this,e);var o;return o=BQ(this,e,[n]),Av(o,"props",void 0),o.props=new Bv(n==null?void 0:n.props),o}return e}(ne);Av(US,"controlType","order-column"),Av(US,"controlFieldType",g.DECIMAL);function xQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FQ(t,e,n){return e=Ml(e),MQ(t,WS()?Reflect.construct(e,n||[],Ml(t).constructor):e.apply(t,n))}function jQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ml(t){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(t)}function LQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dv(t,e)}function MQ(t,e){return e&&(NQ(e)==="object"||typeof e=="function")?e:xQ(t)}function Dv(t,e){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(t,e)}function NQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WS=function(){return!!t})()}var KS=function(t){LQ(e,t);function e(n){jQ(this,e);var o,r;o=FQ(this,e,[n]),CS(o,"showType",void 0),CS(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var u;o.autoWidth.minWidth=(u=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&u!==void 0?u:84;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:yn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var l;return o.limit=(l=n==null?void 0:n.limit)!==null&&l!==void 0?l:3,o}return e}(U);function VQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function zQ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){GS(i,o,r,u,c,"next",a)}function c(a){GS(i,o,r,u,c,"throw",a)}u(void 0)})}}function HQ(t,e,n){return e=Bt(e),WQ(t,QS()?Reflect.construct(e,n||[],Bt(t).constructor):e.apply(t,n))}function qQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UQ(t,e,n){return e&&XS(t.prototype,e),n&&XS(t,n),t}function ho(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bo(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?bo=Reflect.get:bo=function(r,i,u){var c=KQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},bo(t,e,n||t)}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bt(t)}function CQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xv(t,e)}function WQ(t,e){return e&&(GQ(e)==="object"||typeof e=="function")?e:VQ(t)}function xv(t,e){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(t,e)}function KQ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Bt(t),t!==null););return t}function GQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QS=function(){return!!t})()}function XQ(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var yn=function(t){CQ(e,t);function e(n){qQ(this,e);var o;return o=HQ(this,e,[n]),ho(o,"props",void 0),o.props=new KS(n==null?void 0:n.props),o}return UQ(e,[{key:"toDataBindModel",value:function(){var o=bo(Bt(e.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===ti.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return bo(Bt(e.prototype),"validate",i)};return zQ(function(){return XQ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}]),e}(te);ho(yn,"controlType","operation-column"),ho(yn,"controlName","\u64CD\u4F5C"),ho(yn,"controlIcon","operation-column"),ho(yn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function QQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JQ(t,e,n){return e=Nl(e),eJ(t,JS()?Reflect.construct(e,n||[],Nl(t).constructor):e.apply(t,n))}function ZQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nl(t){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(t)}function YQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jv(t,e)}function eJ(t,e){return e&&(tJ(e)==="object"||typeof e=="function")?e:QQ(t)}function jv(t,e){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(t,e)}function tJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JS=function(){return!!t})()}var ZS=function(t){YQ(e,t);function e(n){ZQ(this,e);var o;return o=JQ(this,e,[n]),Fv(o,"props",void 0),o.props=new KS(n==null?void 0:n.props),o}return e}(ne);Fv(ZS,"controlType","operation-column"),Fv(ZS,"controlFieldType",g.FILE);function nJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function oJ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){YS(i,o,r,u,c,"next",a)}function c(a){YS(i,o,r,u,c,"throw",a)}u(void 0)})}}function rJ(t,e,n){return e=It(e),_J(t,tT()?Reflect.construct(e,n||[],It(t).constructor):e.apply(t,n))}function iJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uJ(t,e,n){return e&&eT(t.prototype,e),n&&eT(t,n),t}function Vl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function go(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?go=Reflect.get:go=function(r,i,u){var c=yJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},go(t,e,n||t)}function It(t){return It=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},It(t)}function cJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lv(t,e)}function lJ(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Vl(t,r,n[r])})}return t}function aJ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function fJ(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):aJ(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function _J(t,e){return e&&(sJ(e)==="object"||typeof e=="function")?e:nJ(t)}function Lv(t,e){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(t,e)}function yJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=It(t),t!==null););return t}function sJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tT=function(){return!!t})()}function pJ(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var dJ=function(t){cJ(e,t);function e(n){iJ(this,e);var o,r;return o=rJ(this,e,[n]),Vl(o,"props",void 0),Vl(o,"children",void 0),o.props=new vQ(o,n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new _n,new yn]),(n==null||(r=n.props)===null||r===void 0?void 0:r.footers)===void 0&&(o.props.footers=[]),o}return uJ(e,[{key:"toSchema",value:function(){var o=go(It(e.prototype),"toSchema",this).call(this),r=this.children.map(function(i){return i.toSchema()});return fJ(lJ({},o),{children:r})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return go(It(e.prototype),"validate",i)};return oJ(function(){return pJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),e}(jf);Vl(dJ,"setting",[{key:"list-fixed-header",visible:!0}]);function vJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nT(t,e,n){return e=zl(e),hJ(t,iT()?Reflect.construct(e,n||[],zl(t).constructor):e.apply(t,n))}function oT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zl(t){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(t)}function rT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mv(t,e)}function hJ(t,e){return e&&(bJ(e)==="object"||typeof e=="function")?e:vJ(t)}function Mv(t,e){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(t,e)}function bJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iT=function(){return!!t})()}var gJ=function(t){rT(e,t);function e(n){oT(this,e);var o;return o=nT(this,e,[n]),st.call(o,n),o}return e}(Rb),Nv=function(t){rT(e,t);function e(n){oT(this,e);var o;o=nT(this,e,[n]),Ot(o,"optionConfig",void 0),Ot(o,"datasourceBind",void 0),Ot(o,"showLinkOperation",void 0),Ot(o,"linkOperationOption",void 0),Ot(o,"options",void 0),Ot(o,"lineEllipsis",void 0),Ot(o,"displayPlaintext",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=Qe((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var l;return o.displayPlaintext=(l=n==null?void 0:n.displayPlaintext)!==null&&l!==void 0?l:!1,o}return e}(U);Ot(Nv,"Rules",gJ);function mJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OJ(t,e,n){return e=Hl(e),PJ(t,uT()?Reflect.construct(e,n||[],Hl(t).constructor):e.apply(t,n))}function wJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hl(t){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(t)}function $J(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vv(t,e)}function PJ(t,e){return e&&(EJ(e)==="object"||typeof e=="function")?e:mJ(t)}function Vv(t,e){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(t,e)}function EJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uT=function(){return!!t})()}var pn=function(t){$J(e,t);function e(n){wJ(this,e);var o;return o=OJ(this,e,[n]),sn(o,"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return e}(te);sn(pn,"controlType","varchar-column"),sn(pn,"controlName","\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:[_.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:"column-display-plaintext",visible:!0}]);function SJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TJ(t,e,n){return e=ql(e),IJ(t,cT()?Reflect.construct(e,n||[],ql(t).constructor):e.apply(t,n))}function RJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ql(t){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(t)}function BJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hv(t,e)}function IJ(t,e){return e&&(AJ(e)==="object"||typeof e=="function")?e:SJ(t)}function Hv(t,e){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(t,e)}function AJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cT=function(){return!!t})()}var lT=function(t){BJ(e,t);function e(n){RJ(this,e);var o;return o=TJ(this,e,[n]),zv(o,"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return e}(ne);zv(lT,"controlType","varchar-column"),zv(lT,"controlFieldType",g.VARCHAR);function kJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aT(t,e,n){return e=Ul(e),DJ(t,yT()?Reflect.construct(e,n||[],Ul(t).constructor):e.apply(t,n))}function fT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ul(t){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(t)}function _T(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qv(t,e)}function DJ(t,e){return e&&(xJ(e)==="object"||typeof e=="function")?e:kJ(t)}function qv(t,e){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(t,e)}function xJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yT=function(){return!!t})()}var FJ=function(t){_T(e,t);function e(n){fT(this,e);var o;return o=aT(this,e,[n]),st.call(o,n),o}return e}(ze),Uv=function(t){_T(e,t);function e(n){fT(this,e);var o;o=aT(this,e,[n]),mo(o,"escapeHTML",void 0),mo(o,"showLinkOperation",void 0),mo(o,"linkOperationOption",void 0),mo(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 c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(U);mo(Uv,"Rules",FJ);function jJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LJ(t,e,n){return e=vn(e),zJ(t,pT()?Reflect.construct(e,n||[],vn(t).constructor):e.apply(t,n))}function MJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NJ(t,e,n){return e&&sT(t.prototype,e),n&&sT(t,n),t}function dn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Cl=Reflect.get:Cl=function(r,i,u){var c=HJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Cl(t,e,n||t)}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function VJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cv(t,e)}function zJ(t,e){return e&&(qJ(e)==="object"||typeof e=="function")?e:jJ(t)}function Cv(t,e){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(t,e)}function HJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=vn(t),t!==null););return t}function qJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pT=function(){return!!t})()}var hn=function(t){VJ(e,t);function e(n){MJ(this,e);var o;return o=LJ(this,e,[n]),dn(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return NJ(e,[{key:"toDataBindModel",value:function(o){var r=Cl(vn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),e}(te);dn(hn,"controlType","text-column"),dn(hn,"controlName","\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:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function UJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CJ(t,e,n){return e=Wl(e),GJ(t,dT()?Reflect.construct(e,n||[],Wl(t).constructor):e.apply(t,n))}function WJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wl(t){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(t)}function KJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kv(t,e)}function GJ(t,e){return e&&(XJ(e)==="object"||typeof e=="function")?e:UJ(t)}function Kv(t,e){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(t,e)}function XJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dT=function(){return!!t})()}var vT=function(t){KJ(e,t);function e(n){WJ(this,e);var o;return o=CJ(this,e,[n]),Wv(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return e}(ne);Wv(vT,"controlType","text-column"),Wv(vT,"controlFieldType",g.TEXT);function QJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hT(t,e,n){return e=Kl(e),JJ(t,mT()?Reflect.construct(e,n||[],Kl(t).constructor):e.apply(t,n))}function bT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kl(t){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(t)}function gT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gv(t,e)}function JJ(t,e){return e&&(ZJ(e)==="object"||typeof e=="function")?e:QJ(t)}function Gv(t,e){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(t,e)}function ZJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mT=function(){return!!t})()}var YJ=function(t){gT(e,t);function e(n){bT(this,e);var o;return o=hT(this,e,[n]),st.call(o,n),o}return e}(ze),Xv=function(t){gT(e,t);function e(n){bT(this,e);var o;o=hT(this,e,[n]),ot(o,"optionConfig",void 0),ot(o,"datasourceBind",void 0),ot(o,"showLinkOperation",void 0),ot(o,"linkOperationOption",void 0),ot(o,"options",void 0),ot(o,"precision",void 0),ot(o,"micrometer",void 0),ot(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:mn.controlName;var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var l;o.options=Qe((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(U);ot(Xv,"Rules",YJ);function eZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tZ(t,e,n){return e=gn(e),iZ(t,wT()?Reflect.construct(e,n||[],gn(t).constructor):e.apply(t,n))}function nZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oZ(t,e,n){return e&&OT(t.prototype,e),n&&OT(t,n),t}function bn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Gl=Reflect.get:Gl=function(r,i,u){var c=uZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Gl(t,e,n||t)}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function rZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qv(t,e)}function iZ(t,e){return e&&(cZ(e)==="object"||typeof e=="function")?e:eZ(t)}function Qv(t,e){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(t,e)}function uZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=gn(t),t!==null););return t}function cZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wT=function(){return!!t})()}var mn=function(t){rZ(e,t);function e(n){nZ(this,e);var o;return o=tZ(this,e,[n]),bn(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return oZ(e,[{key:"toDataBindModel",value:function(o){var r=Gl(gn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),e}(te);bn(mn,"controlType","decimal-column"),bn(mn,"controlName","\u6570\u503C"),bn(mn,"controlIcon","decimal-column"),bn(mn,"controlFieldType",g.DECIMAL),bn(mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[_.MICROMETER,_.PRECISION,_.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function lZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aZ(t,e,n){return e=Xl(e),yZ(t,$T()?Reflect.construct(e,n||[],Xl(t).constructor):e.apply(t,n))}function fZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xl(t){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(t)}function _Z(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zv(t,e)}function yZ(t,e){return e&&(sZ(e)==="object"||typeof e=="function")?e:lZ(t)}function Zv(t,e){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(t,e)}function sZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $T(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($T=function(){return!!t})()}var PT=function(t){_Z(e,t);function e(n){fZ(this,e);var o;return o=aZ(this,e,[n]),Jv(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return e}(ne);Jv(PT,"controlType","decimal-column"),Jv(PT,"controlFieldType",g.DECIMAL);function pZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ET(t,e,n){return e=Jl(e),dZ(t,RT()?Reflect.construct(e,n||[],Jl(t).constructor):e.apply(t,n))}function ST(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jl(t){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(t)}function TT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yv(t,e)}function dZ(t,e){return e&&(vZ(e)==="object"||typeof e=="function")?e:pZ(t)}function Yv(t,e){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(t,e)}function vZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RT=function(){return!!t})()}var hZ=function(t){TT(e,t);function e(n){ST(this,e);var o;return o=ET(this,e,[n]),st.call(o,n),o}return e}(ze),eh=function(t){TT(e,t);function e(n){ST(this,e);var o;o=ET(this,e,[n]),Ql(o,"dateType",void 0),Ql(o,"showLinkOperation",void 0),Ql(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:rt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(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 e}(U);Ql(eh,"Rules",hZ);function bZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gZ(t,e,n){return e=wn(e),$Z(t,IT()?Reflect.construct(e,n||[],wn(t).constructor):e.apply(t,n))}function mZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OZ(t,e,n){return e&&BT(t.prototype,e),n&&BT(t,n),t}function On(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Zl=Reflect.get:Zl=function(r,i,u){var c=PZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Zl(t,e,n||t)}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function wZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&th(t,e)}function $Z(t,e){return e&&(EZ(e)==="object"||typeof e=="function")?e:bZ(t)}function th(t,e){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(t,e)}function PZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=wn(t),t!==null););return t}function EZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IT=function(){return!!t})()}var $n=function(t){wZ(e,t);function e(n){mZ(this,e);var o;return o=gZ(this,e,[n]),On(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return OZ(e,[{key:"toDataBindModel",value:function(o){var r=Zl(wn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);On($n,"controlType","timescope-column"),On($n,"controlName","\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:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function SZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TZ(t,e,n){return e=Yl(e),IZ(t,AT()?Reflect.construct(e,n||[],Yl(t).constructor):e.apply(t,n))}function RZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yl(t){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(t)}function BZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oh(t,e)}function IZ(t,e){return e&&(AZ(e)==="object"||typeof e=="function")?e:SZ(t)}function oh(t,e){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(t,e)}function AZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AT=function(){return!!t})()}var kT=function(t){BZ(e,t);function e(n){RZ(this,e);var o;return o=TZ(this,e,[n]),nh(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return e}(ne);nh(kT,"controlType","timescope-column"),nh(kT,"controlFieldType",g.TIMESCOPE);function kZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DT(t,e,n){return e=ta(e),DZ(t,jT()?Reflect.construct(e,n||[],ta(t).constructor):e.apply(t,n))}function xT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ta(t){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(t)}function FT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rh(t,e)}function DZ(t,e){return e&&(xZ(e)==="object"||typeof e=="function")?e:kZ(t)}function rh(t,e){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(t,e)}function xZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jT=function(){return!!t})()}var FZ=function(t){FT(e,t);function e(n){xT(this,e);var o;return o=DT(this,e,[n]),st.call(o,n),o}return e}(ze),ih=function(t){FT(e,t);function e(n){xT(this,e);var o;o=DT(this,e,[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:rt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(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 e}(U);ea(ih,"Rules",FZ);function jZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LZ(t,e,n){return e=En(e),zZ(t,MT()?Reflect.construct(e,n||[],En(t).constructor):e.apply(t,n))}function MZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NZ(t,e,n){return e&&LT(t.prototype,e),n&&LT(t,n),t}function Pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?na=Reflect.get:na=function(r,i,u){var c=HZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},na(t,e,n||t)}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function VZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uh(t,e)}function zZ(t,e){return e&&(qZ(e)==="object"||typeof e=="function")?e:jZ(t)}function uh(t,e){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(t,e)}function HZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=En(t),t!==null););return t}function qZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MT=function(){return!!t})()}var Sn=function(t){VZ(e,t);function e(n){MZ(this,e);var o;return o=LZ(this,e,[n]),Pn(o,"props",void 0),o.props=new ih(n==null?void 0:n.props),o}return NZ(e,[{key:"toDataBindModel",value:function(o){var r=na(En(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);Pn(Sn,"controlType","timestamp-column"),Pn(Sn,"controlName","\u65E5\u671F"),Pn(Sn,"controlIcon","timestamp-column"),Pn(Sn,"controlFieldType",g.TIMESTAMP),Pn(Sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function UZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CZ(t,e,n){return e=oa(e),GZ(t,NT()?Reflect.construct(e,n||[],oa(t).constructor):e.apply(t,n))}function WZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ch(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oa(t){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(t)}function KZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lh(t,e)}function GZ(t,e){return e&&(XZ(e)==="object"||typeof e=="function")?e:UZ(t)}function lh(t,e){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(t,e)}function XZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NT=function(){return!!t})()}var VT=function(t){KZ(e,t);function e(n){WZ(this,e);var o;return o=CZ(this,e,[n]),ch(o,"props",void 0),o.props=new ih(n==null?void 0:n.props),o}return e}(ne);ch(VT,"controlType","timestamp-column"),ch(VT,"controlFieldType",g.TIMESTAMP);function QZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zT(t,e,n){return e=ra(e),JZ(t,UT()?Reflect.construct(e,n||[],ra(t).constructor):e.apply(t,n))}function HT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ra(t){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(t)}function qT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ah(t,e)}function JZ(t,e){return e&&(ZZ(e)==="object"||typeof e=="function")?e:QZ(t)}function ah(t,e){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(t,e)}function ZZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UT=function(){return!!t})()}var YZ=function(t){qT(e,t);function e(n){HT(this,e);var o;return o=zT(this,e,[n]),st.call(o,n),o}return e}(Rb),fh=function(t){qT(e,t);function e(n){HT(this,e);var o;o=zT(this,e,[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 Xe(n==null?void 0:n.linkOperationOption);var c;return o.options=Qe((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return e}(U);Tn(fh,"Rules",YZ);function eY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tY(t,e,n){return e=ia(e),rY(t,CT()?Reflect.construct(e,n||[],ia(t).constructor):e.apply(t,n))}function nY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ia(t){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(t)}function oY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_h(t,e)}function rY(t,e){return e&&(iY(e)==="object"||typeof e=="function")?e:eY(t)}function _h(t,e){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(t,e)}function iY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CT=function(){return!!t})()}var Bn=function(t){oY(e,t);function e(n){nY(this,e);var o;return o=tY(this,e,[n]),Rn(o,"props",void 0),o.props=new fh(n==null?void 0:n.props),o}return e}(te);Rn(Bn,"controlType","array-column"),Rn(Bn,"controlName","\u6570\u7EC4"),Rn(Bn,"controlIcon","array-column"),Rn(Bn,"controlFieldType",g.ARRAY),Rn(Bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function uY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cY(t,e,n){return e=ua(e),fY(t,WT()?Reflect.construct(e,n||[],ua(t).constructor):e.apply(t,n))}function lY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ua(t){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(t)}function aY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sh(t,e)}function fY(t,e){return e&&(_Y(e)==="object"||typeof e=="function")?e:uY(t)}function sh(t,e){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(t,e)}function _Y(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WT=function(){return!!t})()}var KT=function(t){aY(e,t);function e(n){lY(this,e);var o;return o=cY(this,e,[n]),yh(o,"props",void 0),o.props=new fh(n==null?void 0:n.props),o}return e}(ne);yh(KT,"controlType","array-column"),yh(KT,"controlFieldType",g.ARRAY);function yY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sY(t,e,n){return e=ca(e),hY(t,GT()?Reflect.construct(e,n||[],ca(t).constructor):e.apply(t,n))}function pY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dY(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ca(t){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(t)}function vY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ph(t,e)}function hY(t,e){return e&&(bY(e)==="object"||typeof e=="function")?e:yY(t)}function ph(t,e){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(t,e)}function bY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GT=function(){return!!t})()}var XT=function(t){vY(e,t);function e(n){pY(this,e);var o;o=sY(this,e,[n]),dY(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 e}(U);function gY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mY(t,e,n){return e=An(e),PY(t,JT()?Reflect.construct(e,n||[],An(t).constructor):e.apply(t,n))}function OY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wY(t,e,n){return e&&QT(t.prototype,e),n&&QT(t,n),t}function In(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function la(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?la=Reflect.get:la=function(r,i,u){var c=EY(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},la(t,e,n||t)}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function $Y(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dh(t,e)}function PY(t,e){return e&&(SY(e)==="object"||typeof e=="function")?e:gY(t)}function dh(t,e){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(t,e)}function EY(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=An(t),t!==null););return t}function SY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JT=function(){return!!t})()}var kn=function(t){$Y(e,t);function e(n){OY(this,e);var o;return o=mY(this,e,[n]),In(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return wY(e,[{key:"toDataBindModel",value:function(o){var r=la(An(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),e}(te);In(kn,"controlType","department-column"),In(kn,"controlName","\u90E8\u95E8"),In(kn,"controlIcon","department-column"),In(kn,"controlFieldType",g.DEPARTMENTS),In(kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function TY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RY(t,e,n){return e=aa(e),AY(t,ZT()?Reflect.construct(e,n||[],aa(t).constructor):e.apply(t,n))}function BY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function aa(t){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(t)}function IY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hh(t,e)}function AY(t,e){return e&&(kY(e)==="object"||typeof e=="function")?e:TY(t)}function hh(t,e){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(t,e)}function kY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZT=function(){return!!t})()}var YT=function(t){IY(e,t);function e(n){BY(this,e);var o;return o=RY(this,e,[n]),vh(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return e}(ne);vh(YT,"controlType","department-column"),vh(YT,"controlFieldType",g.DEPARTMENTS);function DY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eR(t,e,n){return e=fa(e),xY(t,oR()?Reflect.construct(e,n||[],fa(t).constructor):e.apply(t,n))}function tR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fa(t){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(t)}function nR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gh(t,e)}function xY(t,e){return e&&(FY(e)==="object"||typeof e=="function")?e:DY(t)}function gh(t,e){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(t,e)}function FY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oR=function(){return!!t})()}var jY=function(t){nR(e,t);function e(n){tR(this,e);var o;return o=eR(this,e,[n]),st.call(o,n),o}return e}(ze),mh=function(t){nR(e,t);function e(n){tR(this,e);var o;o=eR(this,e,[n]),bh(o,"showLinkOperation",void 0),bh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:xn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(U);bh(mh,"Rules",jY);function LY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MY(t,e,n){return e=_a(e),zY(t,rR()?Reflect.construct(e,n||[],_a(t).constructor):e.apply(t,n))}function NY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _a(t){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(t)}function VY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oh(t,e)}function zY(t,e){return e&&(HY(e)==="object"||typeof e=="function")?e:LY(t)}function Oh(t,e){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(t,e)}function HY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rR=function(){return!!t})()}var xn=function(t){VY(e,t);function e(n){NY(this,e);var o;return o=MY(this,e,[n]),Dn(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return e}(te);Dn(xn,"controlType","auto-number-column"),Dn(xn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Dn(xn,"controlIcon","auto-number-column"),Dn(xn,"controlFieldType",g.AUTO_NUMBER),Dn(xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function qY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UY(t,e,n){return e=ya(e),KY(t,iR()?Reflect.construct(e,n||[],ya(t).constructor):e.apply(t,n))}function CY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ya(t){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(t)}function WY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$h(t,e)}function KY(t,e){return e&&(GY(e)==="object"||typeof e=="function")?e:qY(t)}function $h(t,e){return $h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$h(t,e)}function GY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iR=function(){return!!t})()}var uR=function(t){WY(e,t);function e(n){CY(this,e);var o;return o=UY(this,e,[n]),wh(o,"props",void 0),o.props=new mh(n==null?void 0:n.props),o}return e}(ne);wh(uR,"controlType","auto-number-column"),wh(uR,"controlFieldType",g.AUTO_NUMBER);function XY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QY(t,e,n){return e=sa(e),YY(t,cR()?Reflect.construct(e,n||[],sa(t).constructor):e.apply(t,n))}function JY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sa(t){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(t)}function ZY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ph(t,e)}function YY(t,e){return e&&(eee(e)==="object"||typeof e=="function")?e:XY(t)}function Ph(t,e){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(t,e)}function eee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cR=function(){return!!t})()}var lR=function(t){ZY(e,t);function e(n){JY(this,e);var o;o=QY(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:jn.controlName,o}return e}(U);function tee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nee(t,e,n){return e=pa(e),iee(t,aR()?Reflect.construct(e,n||[],pa(t).constructor):e.apply(t,n))}function oee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pa(t){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(t)}function ree(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eh(t,e)}function iee(t,e){return e&&(uee(e)==="object"||typeof e=="function")?e:tee(t)}function Eh(t,e){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(t,e)}function uee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aR=function(){return!!t})()}var jn=function(t){ree(e,t);function e(n){oee(this,e);var o;return o=nee(this,e,[n]),Fn(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return e}(te);Fn(jn,"controlType","file-column"),Fn(jn,"controlName","\u9644\u4EF6"),Fn(jn,"controlIcon","file-column"),Fn(jn,"controlFieldType",g.FILE),Fn(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function cee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lee(t,e,n){return e=da(e),_ee(t,fR()?Reflect.construct(e,n||[],da(t).constructor):e.apply(t,n))}function aee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function da(t){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(t)}function fee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Th(t,e)}function _ee(t,e){return e&&(yee(e)==="object"||typeof e=="function")?e:cee(t)}function Th(t,e){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(t,e)}function yee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fR=function(){return!!t})()}var _R=function(t){fee(e,t);function e(n){aee(this,e);var o;return o=lee(this,e,[n]),Sh(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return e}(ne);Sh(_R,"controlType","file-column"),Sh(_R,"controlFieldType",g.FILE);function see(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pee(t,e,n){return e=va(e),hee(t,yR()?Reflect.construct(e,n||[],va(t).constructor):e.apply(t,n))}function dee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function va(t){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(t)}function vee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rh(t,e)}function hee(t,e){return e&&(bee(e)==="object"||typeof e=="function")?e:see(t)}function Rh(t,e){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(t,e)}function bee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yR=function(){return!!t})()}var sR=function(t){vee(e,t);function e(n){dee(this,e);var o;o=pee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mn.controlName,o}return e}(U);function gee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mee(t,e,n){return e=ha(e),$ee(t,pR()?Reflect.construct(e,n||[],ha(t).constructor):e.apply(t,n))}function Oee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ha(t){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(t)}function wee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bh(t,e)}function $ee(t,e){return e&&(Pee(e)==="object"||typeof e=="function")?e:gee(t)}function Bh(t,e){return Bh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bh(t,e)}function Pee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pR=function(){return!!t})()}var Mn=function(t){wee(e,t);function e(n){Oee(this,e);var o;return o=mee(this,e,[n]),Ln(o,"props",void 0),o.props=new sR(n==null?void 0:n.props),o}return e}(te);Ln(Mn,"controlType","image-column"),Ln(Mn,"controlName","\u56FE\u7247"),Ln(Mn,"controlIcon","image-column"),Ln(Mn,"controlFieldType",g.IMAGE),Ln(Mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Eee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function See(t,e,n){return e=ba(e),Bee(t,dR()?Reflect.construct(e,n||[],ba(t).constructor):e.apply(t,n))}function Tee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ih(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ba(t){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(t)}function Ree(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ah(t,e)}function Bee(t,e){return e&&(Iee(e)==="object"||typeof e=="function")?e:Eee(t)}function Ah(t,e){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(t,e)}function Iee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dR=function(){return!!t})()}var vR=function(t){Ree(e,t);function e(n){Tee(this,e);var o;return o=See(this,e,[n]),Ih(o,"props",void 0),o.props=new sR(n==null?void 0:n.props),o}return e}(ne);Ih(vR,"controlType","image-column"),Ih(vR,"controlFieldType",g.IMAGE);function Aee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kee(t,e,n){return e=ga(e),Fee(t,hR()?Reflect.construct(e,n||[],ga(t).constructor):e.apply(t,n))}function Dee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ga(t){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(t)}function xee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kh(t,e)}function Fee(t,e){return e&&(jee(e)==="object"||typeof e=="function")?e:Aee(t)}function kh(t,e){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(t,e)}function jee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hR=function(){return!!t})()}var bR=function(t){xee(e,t);function e(n){Dee(this,e);var o;o=kee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Vn.controlName,o}return e}(U);function Lee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mee(t,e,n){return e=ma(e),zee(t,gR()?Reflect.construct(e,n||[],ma(t).constructor):e.apply(t,n))}function Nee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function Vee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dh(t,e)}function zee(t,e){return e&&(Hee(e)==="object"||typeof e=="function")?e:Lee(t)}function Dh(t,e){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(t,e)}function Hee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gR=function(){return!!t})()}var Vn=function(t){Vee(e,t);function e(n){Nee(this,e);var o;return o=Mee(this,e,[n]),Nn(o,"props",void 0),o.props=new bR(n==null?void 0:n.props),o}return e}(te);Nn(Vn,"controlType","people-column"),Nn(Vn,"controlName","\u4EBA\u5458"),Nn(Vn,"controlIcon","people-column"),Nn(Vn,"controlFieldType",g.EMPLOYEES),Nn(Vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function qee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uee(t,e,n){return e=Oa(e),Kee(t,mR()?Reflect.construct(e,n||[],Oa(t).constructor):e.apply(t,n))}function Cee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oa(t){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(t)}function Wee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fh(t,e)}function Kee(t,e){return e&&(Gee(e)==="object"||typeof e=="function")?e:qee(t)}function Fh(t,e){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(t,e)}function Gee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mR=function(){return!!t})()}var OR=function(t){Wee(e,t);function e(n){Cee(this,e);var o;return o=Uee(this,e,[n]),xh(o,"props",void 0),o.props=new bR(n==null?void 0:n.props),o}return e}(ne);xh(OR,"controlType","people-column"),xh(OR,"controlFieldType",g.EMPLOYEES);function Xee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wR(t,e,n){return e=wa(e),Qee(t,ER()?Reflect.construct(e,n||[],wa(t).constructor):e.apply(t,n))}function $R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wa(t){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(t)}function PR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lh(t,e)}function Qee(t,e){return e&&(Jee(e)==="object"||typeof e=="function")?e:Xee(t)}function Lh(t,e){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(t,e)}function Jee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ER(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ER=function(){return!!t})()}var Zee=function(t){PR(e,t);function e(n){$R(this,e);var o;return o=wR(this,e,[n]),st.call(o,n),o}return e}(ze),Mh=function(t){PR(e,t);function e(n){$R(this,e);var o;o=wR(this,e,[n]),jh(o,"showLinkOperation",void 0),jh(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 Xe(n==null?void 0:n.linkOperationOption),o}return e}(U);jh(Mh,"Rules",Zee);function Yee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ete(t,e,n){return e=$a(e),ote(t,SR()?Reflect.construct(e,n||[],$a(t).constructor):e.apply(t,n))}function tte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $a(t){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(t)}function nte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nh(t,e)}function ote(t,e){return e&&(rte(e)==="object"||typeof e=="function")?e:Yee(t)}function Nh(t,e){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(t,e)}function rte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SR=function(){return!!t})()}var Hn=function(t){nte(e,t);function e(n){tte(this,e);var o;return o=ete(this,e,[n]),zn(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return e}(te);zn(Hn,"controlType","location-column"),zn(Hn,"controlName","\u5730\u5740"),zn(Hn,"controlIcon","location-column"),zn(Hn,"controlFieldType",g.ADDRESS),zn(Hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function ite(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ute(t,e,n){return e=Pa(e),ate(t,TR()?Reflect.construct(e,n||[],Pa(t).constructor):e.apply(t,n))}function cte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pa(t){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(t)}function lte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zh(t,e)}function ate(t,e){return e&&(fte(e)==="object"||typeof e=="function")?e:ite(t)}function zh(t,e){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(t,e)}function fte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TR=function(){return!!t})()}var RR=function(t){lte(e,t);function e(n){cte(this,e);var o;return o=ute(this,e,[n]),Vh(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return e}(ne);Vh(RR,"controlType","location-column"),Vh(RR,"controlFieldType",g.ADDRESS);function _te(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BR(t,e,n){return e=Sa(e),yte(t,kR()?Reflect.construct(e,n||[],Sa(t).constructor):e.apply(t,n))}function IR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sa(t){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(t)}function AR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hh(t,e)}function yte(t,e){return e&&(ste(e)==="object"||typeof e=="function")?e:_te(t)}function Hh(t,e){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(t,e)}function ste(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kR=function(){return!!t})()}var pte=function(t){AR(e,t);function e(n){IR(this,e);var o;return o=BR(this,e,[n]),Ea(o,"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return e}(ze),qh=function(t){AR(e,t);function e(n){IR(this,e);var o;o=BR(this,e,[n]),Ea(o,"fieldCodeList",void 0),Ea(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:At.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return e}(U);Ea(qh,"Rules",pte);function dte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vte(t,e,n){return e=qn(e),Ote(t,xR()?Reflect.construct(e,n||[],qn(t).constructor):e.apply(t,n))}function hte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bte(t,e,n){return e&&DR(t.prototype,e),n&&DR(t,n),t}function Ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ta(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ta=Reflect.get:Ta=function(r,i,u){var c=wte(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ta(t,e,n||t)}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function gte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uh(t,e)}function mte(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ote(t,e){return e&&($te(e)==="object"||typeof e=="function")?e:dte(t)}function Uh(t,e){return Uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uh(t,e)}function wte(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=qn(t),t!==null););return t}function $te(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xR=function(){return!!t})()}var Pte=1,At=function(e){gte(n,e);function n(o){hte(this,n);var r;r=vte(this,n,[o]),Ce(r,"excludes",void 0),Ce(r,"childrenMaxLength",void 0),Ce(r,"props",void 0),Ce(r,"children",void 0);var i=mte(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new qh(o==null?void 0:o.props),Ge(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=it(u),r.childrenMaxLength=c,r}return bte(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=Ta(qn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(te);Ce(At,"controlType","custom-column"),Ce(At,"controlName","\u81EA\u5B9A\u4E49"),Ce(At,"controlIcon","custom-column"),Ce(At,"excludes",[]),Ce(At,"childrenMaxLength",Pte),Ce(At,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function Ete(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ste(t,e,n){return e=Ra(e),Bte(t,FR()?Reflect.construct(e,n||[],Ra(t).constructor):e.apply(t,n))}function Tte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ch(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ra(t){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(t)}function Rte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wh(t,e)}function Bte(t,e){return e&&(Ite(e)==="object"||typeof e=="function")?e:Ete(t)}function Wh(t,e){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(t,e)}function Ite(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FR=function(){return!!t})()}var Ate=function(t){Rte(e,t);function e(n){Tte(this,e);var o;return o=Ste(this,e,[n]),Ch(o,"props",void 0),Ch(o,"children",void 0),o.props=new qh(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(ne);Ch(Ate,"controlType","custom-column");function kte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dte(t,e,n){return e=Ba(e),Lte(t,jR()?Reflect.construct(e,n||[],Ba(t).constructor):e.apply(t,n))}function xte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fte(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ba(t){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(t)}function jte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kh(t,e)}function Lte(t,e){return e&&(Mte(e)==="object"||typeof e=="function")?e:kte(t)}function Kh(t,e){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(t,e)}function Mte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jR=function(){return!!t})()}var LR=function(t){jte(e,t);function e(n){xte(this,e);var o;o=Dte(this,e,[n]),Fte(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:kt.controlName;var i;return o.datasourceBind=new Ro((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:kt.controlCustomAttributes}),o}return e}(U);function Nte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vte(t,e,n){return e=Ia(e),Ute(t,NR()?Reflect.construct(e,n||[],Ia(t).constructor):e.apply(t,n))}function zte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Hte(t,e,n){return e&&MR(t.prototype,e),n&&MR(t,n),t}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ia(t){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(t)}function qte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gh(t,e)}function Ute(t,e){return e&&(Cte(e)==="object"||typeof e=="function")?e:Nte(t)}function Gh(t,e){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(t,e)}function Cte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NR=function(){return!!t})()}var kt=function(t){qte(e,t);function e(n){zte(this,e);var o;return o=Vte(this,e,[n]),Un(o,"props",void 0),o.props=new LR(n==null?void 0:n.props),o}return Hte(e,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(te);Un(kt,"controlType","employee-column"),Un(kt,"controlName","\u4EBA\u5458"),Un(kt,"controlIcon","employee-column"),Un(kt,"controlFieldType",g.EMPLOYEES),Un(kt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Wte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kte(t,e,n){return e=Aa(e),Qte(t,VR()?Reflect.construct(e,n||[],Aa(t).constructor):e.apply(t,n))}function Gte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Aa(t){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(t)}function Xte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qh(t,e)}function Qte(t,e){return e&&(Jte(e)==="object"||typeof e=="function")?e:Wte(t)}function Qh(t,e){return Qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qh(t,e)}function Jte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VR=function(){return!!t})()}var zR=function(t){Xte(e,t);function e(n){Gte(this,e);var o;return o=Kte(this,e,[n]),Xh(o,"props",void 0),o.props=new LR(n==null?void 0:n.props),o}return e}(ne);Xh(zR,"controlType","employee-column"),Xh(zR,"controlFieldType",g.EMPLOYEES);function Zte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yte(t,e,n){return e=ka(e),nne(t,HR()?Reflect.construct(e,n||[],ka(t).constructor):e.apply(t,n))}function ene(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ka(t){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(t)}function tne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zh(t,e)}function nne(t,e){return e&&(one(e)==="object"||typeof e=="function")?e:Zte(t)}function Zh(t,e){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(t,e)}function one(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HR=function(){return!!t})()}var qR=function(t){tne(e,t);function e(n){ene(this,e);var o;o=Yte(this,e,[n]),Jh(o,"lineEllipsis",void 0),Jh(o,"showLinkOperation",void 0),Jh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Cn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return e}(U);function rne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ine(t,e,n){return e=Da(e),lne(t,UR()?Reflect.construct(e,n||[],Da(t).constructor):e.apply(t,n))}function une(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Da(t){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(t)}function cne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yh(t,e)}function lne(t,e){return e&&(ane(e)==="object"||typeof e=="function")?e:rne(t)}function Yh(t,e){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(t,e)}function ane(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UR=function(){return!!t})()}var Cn=function(t){cne(e,t);function e(n){une(this,e);var o;return o=ine(this,e,[n]),Dt(o,"props",void 0),Dt(o,"children",void 0),o.props=new qR(n==null?void 0:n.props),o}return e}(te);Dt(Cn,"controlType","approval-status-column"),Dt(Cn,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Dt(Cn,"controlIcon","approval-status-column"),Dt(Cn,"excludes",[]),Dt(Cn,"setting",[{key:"caption",showItems:[_.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function fne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _ne(t,e,n){return e=xa(e),pne(t,CR()?Reflect.construct(e,n||[],xa(t).constructor):e.apply(t,n))}function yne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xa(t){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(t)}function sne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t0(t,e)}function pne(t,e){return e&&(dne(e)==="object"||typeof e=="function")?e:fne(t)}function t0(t,e){return t0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t0(t,e)}function dne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CR=function(){return!!t})()}var vne=function(t){sne(e,t);function e(n){yne(this,e);var o;return o=_ne(this,e,[n]),e0(o,"props",void 0),e0(o,"children",void 0),o.props=new qR(n==null?void 0:n.props),o}return e}(ne);e0(vne,"controlType","approval-status-column");function hne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WR(t,e,n){return e=Fa(e),bne(t,XR()?Reflect.construct(e,n||[],Fa(t).constructor):e.apply(t,n))}function KR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fa(t){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(t)}function GR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n0(t,e)}function bne(t,e){return e&&(gne(e)==="object"||typeof e=="function")?e:hne(t)}function n0(t,e){return n0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n0(t,e)}function gne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XR=function(){return!!t})()}var mne=function(t){GR(e,t);function e(n){KR(this,e);var o;return o=WR(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),o0=function(t){GR(e,t);function e(n){KR(this,e);var o;o=WR(this,e,[n]),Ne(o,"search",void 0),Ne(o,"cancel",void 0),Ne(o,"searchType",void 0),Ne(o,"labelPosition",void 0),Ne(o,"viewType",void 0),Ne(o,"isLoading",void 0),Ne(o,"custom",void 0),Ne(o,"queryTypeMap",void 0),Ne(o,"childMinWidth",void 0),Ne(o,"colGap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new ct((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new ct((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var f;o.custom=((f=n==null?void 0:n.custom)!==null&&f!==void 0?f:[]).map(function(O){return new ct(O)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];var p;o.childMinWidth=(p=n==null?void 0:n.childMinWidth)!==null&&p!==void 0?p:230;var b;return o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24,o}return e}(Cf);Ne(o0,"RuntimeRules",mne);function One(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wne(t,e,n){return e=ja(e),Ene(t,QR()?Reflect.construct(e,n||[],ja(t).constructor):e.apply(t,n))}function $ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ja(t){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(t)}function Pne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i0(t,e)}function Ene(t,e){return e&&(Sne(e)==="object"||typeof e=="function")?e:One(t)}function i0(t,e){return i0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i0(t,e)}function Sne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QR=function(){return!!t})()}var JR=function(t){Pne(e,t);function e(n){$ne(this,e);var o;return o=wne(this,e,[n]),r0(o,"props",void 0),o.props=new o0(n==null?void 0:n.props),o}return e}(vx);r0(JR,"controlType","simple-search"),r0(JR,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[_.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Tne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rne(t,e,n){return e=La(e),Ane(t,ZR()?Reflect.construct(e,n||[],La(t).constructor):e.apply(t,n))}function Bne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function La(t){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(t)}function Ine(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c0(t,e)}function Ane(t,e){return e&&(kne(e)==="object"||typeof e=="function")?e:Tne(t)}function c0(t,e){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(t,e)}function kne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZR=function(){return!!t})()}var Dne=function(t){Ine(e,t);function e(n){Bne(this,e);var o;o=Rne(this,e,[n]),u0(o,"props",void 0),u0(o,"children",void 0),o.props=new o0(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return e}($x);u0(Dne,"controlType","simple-search");const xne=(t,e)=>{const n=Array.isArray(t),o=n?t:[t];Wne(e==null?void 0:e.events),Vne(o),zne(o);const r=Nne(o),i=Hne(r,e);let u=Mt(C(i,c=>Mne(c,e)));return n?u:u[0]},Fne=[s.DIVIDER,s.TEXT,s.TITLE,s.LINK,s.BUTTON,"list-btn-export-list","list-btn-export-record"],jne=["subtable","grid-table"],Lne=["simple-search"];function Mne(t,e){var r,i,u,c,a,l;let n=t;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Fne.includes(n.type)?n.controlType="base":n.controlType="form",jne.includes(n.type)&&(n.controlType="list"),Lne.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,t.props.lable_position&&(t.props.labelPosition=t.props.lable_position),t.props.select_mode&&(t.props.optionsFormat=t.props.select_mode),t.props.value&&(t.props.defaultValue=t.props.value),fe((r=t==null?void 0:t.props)==null?void 0:r.caption)&&(n.props.caption=t.props.caption.zh),fe((i=t==null?void 0:t.props)==null?void 0:i.placeholder)&&(n.props.placeholder=t.props.placeholder.zh),fe((u=t==null?void 0:t.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=t.props.placeholder_end.zh),t.type==="department-search"&&(n.type="department",t.props.value.length&&(n.props.default_value=t.props.value),n.props.showType=t.props.show_tree?"tree":"default",n.props.rangeOptions=t.props.department_list),t.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=t.props.value),t.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=t.attachment_format)==null?void 0:c.split(","),n.props.showType=t.props.show_type==="title"?"default":"table"),t.type==="image"&&(n.props.attachmentAccept=(a=t.attachment_format)==null?void 0:a.split(",")),t.type==="date-pick"&&(n.type="date-picker"),t.type==="rich-text"&&(fe(t.props.value)?n.props.defaultValue=t.props.value.zh:n.props.defaultValue=t.props.value),["link","text","button"].includes(t.type)&&(fe(t.props.value)?n.props.content=t.props.value.zh:n.props.content=t.props.value),t.type==="text"&&t.props.showState==="iconText"&&(n.props.showState="image"),t.type==="user-search"&&(n.type="employee",n.props.defaultValue=t.props.value),t.type==="address"&&(n.props.addressType=t.props.address_type_value),n.type==="subtable"){const f=n.props.entry_type||n.props.entryType;n.props.openType=f==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((y,p)=>{const b=new dK.Designer;b.props.caption=fe(y.field_name)?y.field_name.zh:y.field_name;const O=b.toSchema();O.id=y.header_id;const m=n.children[0].children[p].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(t.type)&&(t.props.options.map(f=>{f.label=fe(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),n=t),t.type==="grid-row"){const f=24/n.children.length;n.children=n.children.map(y=>{const p=new pE.Designer;p.props.span=f;const b=p.toSchema();return b.children.push(y),b})}if(t.type==="grid-layout-row"&&(n.type="row"),t.type==="grid-layout-col"&&(n.type="col"),t.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),t.type==="tabs-pane"&&(n.type="tab-pane"),t.type==="calc"){const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],p={};f&&(YR(n,e),p.result=f.props.data_bind,n.id=f.id,n.props=f.props,n.props.script_src=f.props.script_src,n.props.script_echo=f.props.script_echo,n.props.precision=f.props.precision,n.props.micrometer=f.props.is_show_money,n.props.showUpperCase=f.props.is_show_chn),y&&(p.unit=y.props.data_bind,n.props.default_value={unit:y.props.value}),n.props.dataBind=p,delete n.children}if(t.type==="amount-currency"){n.type="amount",n.controlType="form";const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],p={},b={};f&&(YR(n,e),n.id=f.id,p.amount=f.props.data_bind,n.props.range_min=Lt(f.props.range_min),n.props.range_max=Lt(f.props.range_max),b.amount=Lt(f.props.value),n.props.required=f.props.required,n.props.is_hide=f.props.is_hide,n.props.default_state=f.props.default_state,n.props.caption=fe(f.props.caption)?f.props.caption.zh:f.props.caption,n.props.is_hide_caption=f.props.is_hide_caption,n.props.showUpperCase=f.props.is_show_chn),y&&(p.currency=y.props.data_bind,b.currency=y.props.value,n.props.datasourceBind=y.props.datasource_bind,n.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=p,n.props.defaultValue=b,delete n.children}if(t.type==="date-range"){n.controlType="form";const f=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1];n.props.placeholderStart=fe(t.props.placeholder)?t.props.placeholder.zh:t.props.placeholder,n.props.caption=fe(t.props.caption)?t.props.caption.zh:t.props.caption;const p={};f&&(p.min=f.props.data_bind),y&&(p.max=y.props.data_bind),n.props.dataBind=p,delete n.children}return t.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(t.type)&&(n.props.defaultValue=fe(t.props.value)?t.props.value.zh:t.props.value),t.type==="number"&&(n.props.range_min=Lt(t.props.range_min),n.props.range_max=Lt(t.props.range_max),n.props.defaultValue=Lt(t.props.value)),t.type==="list-page-btn-custom-button"&&(t.type="button"),t.type==="button"&&t.props.button_type==="dashed"&&(n.props.buttonType="default"),Kne(n,e==null?void 0:e.control_events),n}function YR(t,e){if(!e)return;const{displayBoList:n=[],behaviors:o=[]}=e,r=t.id,i=t.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),a=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Nne(t){if(!Array.isArray(t)||!t.find(r=>r.type==="grid"))return t;const o=new LX.Designer().toSchema();return o.children=t,[o]}function Vne(t){t.forEach(e=>{e.children&&Cne(e.children)})}function zne(t){t.forEach(e=>{var o,r;if(!(e&&e.children))return;const n=e.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function Hne(t,e){var b,O,m,w,h,$,P,E;if(!(Array.isArray(t)&&t.length===1))return t;const n=t[0];if(n.type!=="list-page")return t;const{props:o,children:r}=n,[i,u,c]=r;qne(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,Une(c,u);const a=(m=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?m:e==null?void 0:e.dataCode,l=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,f=(P=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?P:[],y=new vX.Designer;y.props.datasourceBind=new X({dataCode:a,svcCode:l,orders:jA(f)}),y.props.isShowSubList=o.is_show_sublist,y.props.triggerType=o.timing_type,y.props.triggerFieldCode=o.ctrl_field_code,(E=o==null?void 0:o.sublist_page)==null||E.sublists.forEach(T=>{T.title=fe(T.title)?T.title.zh:T.title}),y.props.sublistPage=o.sublist_page;const p=y.toSchema();return p.children.push(i,c),[p]}function qne(t){t.type="simple-search",t.control_type="search-view",t.children.forEach(e=>{var o,r;const n=fe(e.placeholder)?e.placeholder.zh:e.placeholder;e.type==="number-range"&&(e.type="search-number-range",e.placeholderStart=n,e.placeholderEnd=n),e.type==="date-pick"&&(e.type="search-date-range",e.placeholderStart=n,e.placeholderEnd=n,e.dateType=(r=(o=e.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(e.type==="automatic-number"||e.type==="auto-number")&&(e.type="search-input",e.props.defaultValue="")})}function Une(t,e){t.children=e.children.filter(n=>n.type!=="list-page-btn-custom-head"),t.type="grid-table",t.props.sublist_page&&(t.props.sublist_page.form_bind={data_code:t.props.sublist_page.data_code,form_key:t.props.sublist_page.form_key}),Array.isArray(t.props.headers)&&(t.props.headers=t.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:fe(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=fe(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new X({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function Cne(t){var n;let e=null;for(let o=0;o<t.length;o++){const r=t[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){e=r.children[0];continue}e&&(e.children.push(r),t.splice(o,1),o--)}}}function Wne(t){!t||(t.did_mount=t.did_mount.map(e=>e.name),t.will_submit=t.will_submit.map(e=>e.name),t.did_submit=t.did_submit.map(e=>e.name))}function Kne(t,e){var o;if(!e||!t.props.events)return;const n=Object.keys(t.props.events);!n.length||(n.forEach(r=>{!t.props.events[r].length||(e[t.id]||(e[t.id]={}),e[t.id][r]||(e[t.id][r]=[]),e[t.id][r].push(...t.props.events[r].map(i=>i.name)))}),(o=e[t.id])!=null&&o.on_blur&&(e[t.id].on_change||(e[t.id].on_change=[]),e[t.id].on_change.push(...e[t.id].on_blur)))}const Gne=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>Xne(i)));return n?r:r[0]};function Xne(t,e){return t.type===s.LIST_VIEW&&t.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 De({dataCode:t.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),t}const Qne=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>Jne(i)));return n?r:r[0]};function Jne(t,e){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(t.type)&&(t.props.button_type==="default"&&(t.props.button_type="secondary"),t.props.button_type==="danger"&&(t.props.button_type="secondary",t.props.color="danger"),t.props.icon||(t.props.icon="iconfenlei2")),t.type===s.IMPORT_RECORD_LIST_BUTTON&&(t.props.icon="iconshangchuan3"),t.type===s.EXPORT_LIST_BUTTON&&(t.props.icon="iconxiazai1"),t}const Zne=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>Yne(i)));return n?r:r[0]};function Yne(t,e){if(t.props.icon){let n=t.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}t.props.icon=n}return t}const eoe=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>noe(i)));return n?r:r[0]},toe=[s.ROW,s.TAB,s.SUBTABLE,s.GRID_ROW,s.CARD_GROUP];function noe(t,e){return t.type===s.TAB_PANE&&(t.children=t.children.map(n=>{if(toe.includes(n.type))return n;const o=new zW.Designer,r=new pE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),t}const ooe=(t,e)=>{const n=Array.isArray(t);let r=Mt(C(n?t:[t],i=>roe(i)));return n?r:r[0]};function roe(t,e){return t.type===s.GRID_TABLE&&t.props.headers.forEach(n=>{n.type===s.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),t}const ioe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>uoe(i));return n?r:r[0]};function uoe(t,e){return t.type===s.SUBTABLE&&(t.props.default_rows=t.props.limit_rows),t}const coe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>loe(i));return n?r:r[0]};function wt(t,e){t.field_code&&(t.field_type=e)}function loe(t,e){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(t.type)&&wt(t.props.data_bind,n[t.type]),t.type===s.AMOUNT&&(wt(t.props.data_bind.amount,g.DECIMAL),wt(t.props.data_bind.currency,g.VARCHAR)),t.type===s.CALC&&(wt(t.props.data_bind.result,g.DECIMAL),wt(t.props.data_bind.unit,g.VARCHAR)),t.type===s.DATE_RANGE&&(wt(t.props.data_bind.min,g.TIMESTAMP),wt(t.props.data_bind.max,g.TIMESTAMP)),t.type===s.VUE_FORM_ITEM&&wt(t.props.data_bind,(o=t.field_type)!=null?o:g.ANY),t}const aoe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>foe(i));return n?r:r[0]};function foe(t,e){return t.type===s.GRID_TABLE&&t.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")}),t}const _oe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>yoe(i));return n?r:r[0]};function yoe(t,e){return t.type===s.SIMPLE_SEARCH&&t.children.length&&(t.props.query_type_map||(t.props.query_type_map=[]),t.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)&&t.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),t}const soe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>poe(i));return n?r:r[0]};function poe(t,e){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===s.SUBTABLE&&t.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)}),t}const doe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>voe(i));return n?r:r[0]};function voe(t,e){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===s.SUBTABLE&&t.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)}),t}const hoe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>boe(i));return n?r:r[0]};function boe(t,e){return t.type===s.TITLE&&t.props.config.push(Ye.ShowTitle),t.type===s.GRID_TABLE&&t.props.headers.map(n=>{var o,r,i,u,c,a,l,f,y,p,b,O,m,w,h,$,P,E,T,j,A,ue;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 B=new _y.Designer;Object.defineProperty(B,"id",{value:"listPageCheckBtnId"}),B.props.code="view",B.props.icon="iconliulan1",B.props.command="view",B.props.content=(i=n.props)==null?void 0:i.check.content,B.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,B.props.openType=(c=n.props)==null?void 0:c.check.open_type,B.props.formKey=(a=n.props)==null?void 0:a.check.form_key,(l=n.props)!=null&&l.check.is_show&&n.children.push(B.toSchema()),(f=n.props)==null||delete f.check}if(((y=n.props)==null?void 0:y.edit)!==void 0){const B=new _y.Designer;Object.defineProperty(B,"id",{value:"listPageEditBtnId"}),B.props.code="edit",B.props.icon="iconbianji1",B.props.command="edit",B.props.content=(p=n.props)==null?void 0:p.edit.content,B.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,B.props.openType=(O=n.props)==null?void 0:O.edit.open_type,B.props.formKey=(m=n.props)==null?void 0:m.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(B.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const B=new _y.Designer;Object.defineProperty(B,"id",{value:"listPageDeleteBtnId"}),B.props.code="delete",B.props.icon="iconlajitong",B.props.command="delete",B.props.content=(P=n.props)==null?void 0:P.delete.content,B.props.priorityProcess=(E=n.props)==null?void 0:E.delete.priority_process,B.props.openType=(T=n.props)==null?void 0:T.delete.open_type,B.props.formKey=(j=n.props)==null?void 0:j.delete.form_key,B.props.needConfirm=!0,B.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(B.toSchema()),(ue=n.props)==null||delete ue.delete}}}),[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===s.SUBTABLE&&t.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)}),t}const goe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>moe(i,e));return n?r:r[0]};function moe(t,e){t.type===s.SUBTABLE&&t.props.headers.map(o=>{var i;o.props.meta_auto_width=new z0,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 t.type in n&&n[t.type].forEach(o=>{t.props[o.key]===void 0&&(t.props[o.key]=o.value)}),t.type===s.GRID_TABLE&&t.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 Ya)}),t.type===s.CALC&&t.props.calc_on_mounted===void 0&&(t.props.calc_on_mounted=!0),Ooe(e),t}function Ooe(t){if(!(!t||!t.listeners)){if(Object.keys(t.listeners).forEach(e=>{let n,o,r;t.listeners[e].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(l0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),t.listeners[e].splice(r,1)):o.event_key="on_click")}),!t.listeners.form_submit)t.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[woe()]}];else if(t.listeners.form_submit&&t.listeners.form_submit&&t.listeners.form_submit[0]&&t.listeners.form_submit[0].cases&&t.listeners.form_submit[0].cases[0]&&t.listeners.form_submit[0].cases[0].handlers){let e=!1;t.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(e=!0)}),e||t.listeners.form_submit[0].cases[0].handlers.push(l0())}}}function woe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[l0()]}}function l0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const $oe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>Poe(i,e));return n?r:r[0]};function Poe(t,e){if(t.type===s.LIST_VIEW){if(t.props.is_show_selection===!1){const n=[s.BATCH_SUBMISSION_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT,s.BATCH_DELETE_LIST_BUTTON];t.children.forEach(o=>{o.type===s.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(t.props.is_show_selection=!0,o.props.is_show_selection=!0)})}t.props.caption===""&&(t.props.caption=e==null?void 0:e.formName),t.props.is_all_loaded===void 0&&(t.props.is_all_loaded=!0)}return t.type===s.TEXTAREA&&t.props.auto_size===void 0&&(t.props.auto_size=!1),t.type===s.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t.type===s.TREE&&t.props.default_display===void 0&&(t.props.default_display=!1),t.type===s.GRID_TABLE&&t.props.is_show_toolbar===void 0&&(t.props.is_show_toolbar=!0),t.type===s.NUMBER&&t.props.regular_rules===void 0&&(t.props.regular_rules=new Bo),t}const Eoe=(t,e)=>{const n=Array.isArray(t);let r=C(n?t:[t],i=>Soe(i));return n?r:r[0]};function Soe(t,e){return[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(t.type)&&(t.control_type="base"),t.type===s.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t}const Toe=(t,e)=>{const n=Array.isArray(t),o=n?t:[t],r={};let i=C(o,u=>{const c=Roe(u);return r[u.id]=u,c});return Boe(r,e),n?i:i[0]};function Roe(t,e){if(t.type===s.ORGANIZATION_SELECTION){const n=t.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label="\u4E1A\u52A1\u7C7B\u578B"),r.value==="org_pattern_code"&&(r.label="\u7EC4\u7EC7\u5F62\u6001")})}return t.type===s.LIST_SELECT_BUTTON&&t.props.disable_filling===void 0&&(t.props.disable_filling=!1),t}function Boe(t,e){var n,o;if((e==null?void 0:e.formType)===1&&(e==null?void 0:e.events)!==void 0){const r=(o=(n=e==null?void 0:e.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(e.events.did_init=r,e.events.did_mount=[]),e.events.did_init===void 0&&(e.events.did_init=[])}}var e3={"v1.0":xne,"v2.0":Gne,"v2.1":Qne,"v2.2":Zne,"v2.3":eoe,"v2.4":ooe,"v2.5":ioe,"v2.6":coe,"v2.7":aoe,"v2.8":_oe,"v2.9":soe,"v2.10":doe,"v3.0":hoe,"v3.1":goe,"v3.2":$oe,"v3.3":Eoe,"v3.4":Toe,"v3.5":()=>{}};const t3=(t,e)=>{const n=n3(t),o=n3(e),r=n.pop(),i=o.pop(),u=i3(n,o);return u!==0?u:r&&i?i3(r.split("."),i.split(".")):r||i?r?-1:1:0},Ma=(t,e,n)=>{Doe(n);const o=t3(t,e);return u3[n].includes(o)},Ioe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,n3=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(Ioe);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},o3=t=>t==="*"||t==="x"||t==="X",r3=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},Aoe=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],koe=(t,e)=>{if(o3(t)||o3(e))return 0;const[n,o]=Aoe(r3(t),r3(e));return n>o?1:n<o?-1:0},i3=(t,e)=>{for(let n=0;n<Math.max(t.length,e.length);n++){const o=koe(t[n]||"0",e[n]||"0");if(o!==0)return o}return 0},u3={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},c3=Object.keys(u3),Doe=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(c3.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${c3.join("|")}`)};function a0(t){return t.replace(/^v/,"")}const Wn=Object.keys(e3).map(t=>a0(t)).sort(t3),Oo=Wn[Wn.length-1];class xoe{constructor(e,n=Oo){this.schemaVersion=e,this.toVersion=n,Ma(n,Oo,">")?Jn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${Oo}`):(!Wn.includes(a0(n))||!Wn.includes(a0(e)))&&Jn(`Version Builder: Please give me a valid version number, The valid version is: ${Wn.join(",")}, But give me a ${e}`)}dataCleaner(e,n){if(Ma(this.toVersion,this.schemaVersion,"="))return e;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var y;const a=(y=c[u+1])!=null?y:this.toVersion;Po(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=e3[i];let f=r;if(typeof l=="function"){const p=l(r,n);p&&(f=p)}return f},e);return Po(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Wn.filter(e=>Ma(e,this.schemaVersion,">=")&&Ma(e,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(e=>"v"+e)}get version(){return Oo}static get version(){return Oo}}Ft.VersionBuilder=xoe,Object.defineProperty(Ft,"__esModule",{value:!0})});