@byteluck-fe/model-driven-core-all 2.8.5-beta.2 → 2.9.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Mi=(c,mn,Wt)=>new Promise((by,Ai)=>{var L=Mt=>{try{lo(Wt.next(Mt))}catch(fo){Ai(fo)}},gy=Mt=>{try{lo(Wt.throw(Mt))}catch(fo){Ai(fo)}},lo=Mt=>Mt.done?by(Mt.value):Promise.resolve(Mt.value).then(L,gy);lo((Wt=Wt.apply(c,mn)).next())});(function(c,mn){typeof exports=="object"&&typeof module!="undefined"?mn(exports):typeof define=="function"&&define.amd?define(["exports"],mn):(c=typeof globalThis!="undefined"?globalThis:c||self,mn(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var by=function e(){mn(this,e),Wt(this,"department_en_name",void 0),Wt(this,"department_id",void 0),Wt(this,"department_name",void 0)};function Ai(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gy=function e(){Ai(this,e),L(this,"avatar_big",void 0),L(this,"avatar_small",void 0),L(this,"avatar_url",void 0),L(this,"belong_dept_en_name",void 0),L(this,"belong_dept_id_list",void 0),L(this,"belong_dept_ids",void 0),L(this,"belong_dept_name",void 0),L(this,"cookie_language_enum",void 0),L(this,"department_id",void 0),L(this,"department_name",void 0),L(this,"email",void 0),L(this,"employee_card",void 0),L(this,"employee_en_name",void 0),L(this,"employee_id",void 0),L(this,"employee_name",void 0),L(this,"external_user",void 0),L(this,"gender",void 0),L(this,"is_show_chat_group",void 0),L(this,"manage_dept_en_name",void 0),L(this,"manage_dept_ids",void 0),L(this,"manage_dept_name",void 0),L(this,"msg_relation_type",void 0),L(this,"sequence",void 0),L(this,"telephone",void 0),L(this,"tenant_id",void 0)},lo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Mt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",fo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",HA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",qA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",UA="{caption}\u5FC5\u586B",WA="\u8BF7\u8F93\u5165\u6807\u9898",KA="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",XA="\u8BF7\u8F93\u5165\u884C\u6807\u9898",JA="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",QA="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ZA="\u8BF7\u7ED1\u5B9A\u8868\u5355",ek="\u8BF7\u7ED1\u5B9A\u5217\u8868",tk="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",nk="\u8BF7\u8F93\u5165\u663E\u793A\u503C",rk="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ok="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ik="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",uk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ck="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",lk="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fk="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ak="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",sk="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",_k="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",yk="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",pk="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",dk="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",vk="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",hk="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",bk="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",gk="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",mk="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ok="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",wk="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Pk="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$k="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Rk="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Tk="\u8BF7\u9009\u62E9\u7701",Sk="\u8BF7\u9009\u62E9\u5E02",Ek="\u8BF7\u9009\u62E9\u533A",Ik="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Bk="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Nk="\u8BF7\u8F93\u5165\u5217\u5BBD",Mk="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ak="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",kk="\u8BF7\u9009\u62E9\u63A7\u4EF6",Dk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Lk="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",jk="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Fk="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ck="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xk="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",zk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Vk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Gk="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Yk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Hk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",qk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Uk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Wk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Kk="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Xk="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Jk="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Qk="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zk="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",e2="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",t2="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",n2="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",r2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",o2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",i2="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",u2="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",c2="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",l2={isNotNumber:lo,isNotString:Mt,isNotObject:fo,isNotArray:HA,isNotBoolean:qA,runtimeRequired:UA,pleaseEnterCaption:WA,pleaseEnterCaptionTip:KA,pleaseEnterRowCaption:XA,pleaseEnterPlaceholder:JA,pleaseEnterFieldCode:QA,pleaseEnterForm:ZA,pleaseEnterList:ek,pleaseEnterProcess:tk,pleaseEnterLabel:nk,pleaseEnterValue:rk,bizKeyNotBindFiled:ok,pleaseSelectOneField:ik,pleaseEnterNumberRange:uk,pleaseEnterAValueGreaterThanMin:ck,pleaseEnterAValueLessThanMax:lk,numberRangeSetError:fk,stringRangeError:ak,attachmentMaxSize:sk,pleaseEnterTotalScoreSetting:_k,theTotalScoreMustNotBeLessThan1:yk,scoreDefaultValueRange:pk,attachmentLimitError:dk,PleaseReselectTheOptionalQuantity:vk,TheMaximumLengthIsGreaterThanTheMinimumLength:hk,TheMinimumLengthIsGreaterThanTheMaximumLength:bk,PleaseSelectTheCorrectOptionSettings:gk,optionIdIsRepeat:mk,optionIsRequired:Ok,pleaseEnterDataCode:wk,pleaseEnterValueFieldCode:Pk,pleaseEnterSvcCode:$k,pleaseBindAtLeastOneDisplayValue:Rk,pleaseSelectProvince:Tk,pleaseSelectCity:Sk,pleaseSelectDistrict:Ek,limitRowsCannotBeLessThan0:Ik,TheNumberOfRowsCannotBeLessThanMinRows:Bk,pleaseEnterColumnWidth:Nk,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Mk,pleaseCompleteAllRulesAndConditions:Ak,pleaseSelectControl:kk,pleaseSelectAtLeastOneColumn:Dk,pleaseSelectFillBackMode:Lk,pleaseSelectDashboard:jk,rootNodeIsRequired:Fk,theViewNameCannotBeEmpty:Ck,pleaseSelectOcrType:xk,pleaseSelectAtLeastOneFieldToFillIn:zk,pleaseChooseAtLeastOne:Vk,pleaseEnterButtonContent:Gk,pleaseEnterDataCodeInDataSetting:Yk,pleaseEnterValueFieldCodeInDataSetting:Hk,pleaseEnterSvcCodeInDataSetting:qk,pleaseBindAtLeastOneDisplayValueInDataSetting:Uk,rootNodeIsRequiredInDataSetting:Wk,pleaseEnterMaxHeight:Kk,pleaseEnter:Xk,pleaseEnterWatermark:Jk,pleaseEnterFileName:Qk,pleaseUploadAtLeastOnePrintTemplate:Zk,pleaseAssignBusiness:e2,pleaseAssignExternal:t2,pleaseEnterAliasCode:n2,pleaseSelectDataCode:r2,pleaseSelectSvcCode:o2,pleaseSelectJoinFieldCode:i2,pleaseSelectMainFieldCode:u2,pleaseSelectSortFieldCode:c2},f2="Please enter a number",a2="Please enter a string",s2="Please enter an object",_2="Please enter an array",y2="Please enter a boolean",p2="{caption} Required",d2="Please enter the title",v2="Please enter the bubble prompt",h2="Please enter the row title",b2="Please enter the prompt text",g2="Please bind data items",m2="Please bind the form",O2="Please bind the list",w2="Please bind the process",P2="Please enter the displayed value",$2="Please enter the stored value",R2="The document number is not bound to the data item",T2="Please select at least one display field",S2="Please enter a value greater than or equal to {min} and less than or equal to {max}",E2="Please enter a value greater than or equal to {min}",I2="Please enter a value less than or equal to {max}",B2="The value range is set incorrectly",N2="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",M2="The attachment size must be between 0MB and 1000MB",A2="Please fill in the total score setting",k2="The total score cannot be less than 1",D2="The default value must be between {min} and {max}",L2="The number of attachments uploaded must be between {min} and {max}",j2="Please re-select the optional quantity",F2="The maximum length of the control must be greater than the minimum length",C2="The minimum length of the control must be less than the maximum length",x2="Please select the correct option setting",z2="Option ID cannot be repeated",V2="Please enter at least one option",G2="Please bind the data source",Y2="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",X2="The minimum number of lines to fill in cannot be less than 0",J2="The number of rows cannot be less than {min} rows",Q2="Please enter the column width",Z2="Please set the logical relationship of all rule conditions",eD="Please complete all rules and conditions",tD="please select control",nD="Please select the dashboard",rD="View name cannot be empty",oD="Please select recognition type",iD="Please select at least one field to fill in",uD="Please select at least one",cD="Please enter the button title",lD="Please bind the business model in the data settings",fD="Please bind storage values in data settings",aD="Please bind the service in the data settings",sD="Please bind at least one display value in the data settings",_D="Please select the root node in the data settings",yD="Please enter the maximum height",pD="The input content cannot be empty",dD="Watermark cannot be empty",vD="File name cannot be empty",hD="Please upload at least one printing template!\uFF01",bD="Please select a specific business department",gD="Please select a specified external organization",mD="Please enter a sub table alias",OD="Please select the associated table to set the business model",wD="Please select the association table to set the binding service",PD="Select associated sub table fields",$D="Please select the associated main table field",RD="Please select the sort field",TD={isNotNumber:f2,isNotString:a2,isNotObject:s2,isNotArray:_2,isNotBoolean:y2,runtimeRequired:p2,pleaseEnterCaption:d2,pleaseEnterCaptionTip:v2,pleaseEnterRowCaption:h2,pleaseEnterPlaceholder:b2,pleaseEnterFieldCode:g2,pleaseEnterForm:m2,pleaseEnterList:O2,pleaseEnterProcess:w2,pleaseEnterLabel:P2,pleaseEnterValue:$2,bizKeyNotBindFiled:R2,pleaseSelectOneField:T2,pleaseEnterNumberRange:S2,pleaseEnterAValueGreaterThanMin:E2,pleaseEnterAValueLessThanMax:I2,numberRangeSetError:B2,stringRangeError:N2,attachmentMaxSize:M2,pleaseEnterTotalScoreSetting:A2,theTotalScoreMustNotBeLessThan1:k2,scoreDefaultValueRange:D2,attachmentLimitError:L2,PleaseReselectTheOptionalQuantity:j2,TheMaximumLengthIsGreaterThanTheMinimumLength:F2,TheMinimumLengthIsGreaterThanTheMaximumLength:C2,PleaseSelectTheCorrectOptionSettings:x2,optionIdIsRepeat:z2,optionIsRequired:V2,pleaseEnterDataCode:G2,pleaseEnterValueFieldCode:Y2,pleaseEnterSvcCode:H2,pleaseBindAtLeastOneDisplayValue:q2,pleaseSelectProvince:U2,pleaseSelectCity:W2,pleaseSelectDistrict:K2,limitRowsCannotBeLessThan0:X2,TheNumberOfRowsCannotBeLessThanMinRows:J2,pleaseEnterColumnWidth:Q2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Z2,pleaseCompleteAllRulesAndConditions:eD,pleaseSelectControl:tD,pleaseSelectDashboard:nD,theViewNameCannotBeEmpty:rD,pleaseSelectOcrType:oD,pleaseSelectAtLeastOneFieldToFillIn:iD,pleaseChooseAtLeastOne:uD,pleaseEnterButtonContent:cD,pleaseEnterDataCodeInDataSetting:lD,pleaseEnterValueFieldCodeInDataSetting:fD,pleaseEnterSvcCodeInDataSetting:aD,pleaseBindAtLeastOneDisplayValueInDataSetting:sD,rootNodeIsRequiredInDataSetting:_D,pleaseEnterMaxHeight:yD,pleaseEnter:pD,pleaseEnterWatermark:dD,pleaseEnterFileName:vD,pleaseUploadAtLeastOnePrintTemplate:hD,pleaseAssignBusiness:bD,pleaseAssignExternal:gD,pleaseEnterAliasCode:mD,pleaseSelectDataCode:OD,pleaseSelectSvcCode:wD,pleaseSelectJoinFieldCode:PD,pleaseSelectMainFieldCode:$D,pleaseSelectSortFieldCode:RD},SD="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ED="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ID="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",BD="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ND="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MD="{caption}\u5FC5\u9808",AD="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kD="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",DD="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",LD="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jD="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",FD="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CD="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xD="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zD="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VD="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GD="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",YD="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HD="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qD="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",UD="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WD="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",KD="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XD="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",JD="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",QD="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ZD="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eL="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",tL="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nL="\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",rL="\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",oL="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iL="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uL="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",cL="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lL="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fL="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aL="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",sL="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_L="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yL="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pL="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dL="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",vL="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hL="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bL="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",gL="please select control",mL="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",OL="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",wL="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PL="\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",$L="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RL="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",TL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",SL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",EL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",IL="\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",BL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",NL="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ML="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",AL="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",kL="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",DL="\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",LL="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jL="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",FL="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CL="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",xL="\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",zL="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",VL="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",GL="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",YL={isNotNumber:SD,isNotString:ED,isNotObject:ID,isNotArray:BD,isNotBoolean:ND,runtimeRequired:MD,pleaseEnterCaption:AD,pleaseEnterCaptionTip:kD,pleaseEnterRowCaption:DD,pleaseEnterPlaceholder:LD,pleaseEnterFieldCode:jD,pleaseEnterForm:FD,pleaseEnterList:CD,pleaseEnterProcess:xD,pleaseEnterLabel:zD,pleaseEnterValue:VD,bizKeyNotBindFiled:GD,pleaseSelectOneField:YD,pleaseEnterNumberRange:HD,pleaseEnterAValueGreaterThanMin:qD,pleaseEnterAValueLessThanMax:UD,numberRangeSetError:WD,stringRangeError:KD,attachmentMaxSize:XD,pleaseEnterTotalScoreSetting:JD,theTotalScoreMustNotBeLessThan1:QD,scoreDefaultValueRange:ZD,attachmentLimitError:eL,PleaseReselectTheOptionalQuantity:tL,TheMaximumLengthIsGreaterThanTheMinimumLength:nL,TheMinimumLengthIsGreaterThanTheMaximumLength:rL,PleaseSelectTheCorrectOptionSettings:oL,optionIdIsRepeat:iL,optionIsRequired:uL,pleaseEnterDataCode:cL,pleaseEnterValueFieldCode:lL,pleaseEnterSvcCode:fL,pleaseBindAtLeastOneDisplayValue:aL,pleaseSelectProvince:sL,pleaseSelectCity:_L,pleaseSelectDistrict:yL,limitRowsCannotBeLessThan0:pL,TheNumberOfRowsCannotBeLessThanMinRows:dL,pleaseEnterColumnWidth:vL,pleaseSetTheLogicalRelationshipOfAllRuleConditions:hL,pleaseCompleteAllRulesAndConditions:bL,pleaseSelectControl:gL,pleaseSelectDashboard:mL,theViewNameCannotBeEmpty:OL,pleaseSelectOcrType:wL,pleaseSelectAtLeastOneFieldToFillIn:PL,pleaseChooseAtLeastOne:$L,pleaseEnterButtonContent:RL,pleaseEnterDataCodeInDataSetting:TL,pleaseEnterValueFieldCodeInDataSetting:SL,pleaseEnterSvcCodeInDataSetting:EL,pleaseBindAtLeastOneDisplayValueInDataSetting:IL,rootNodeIsRequiredInDataSetting:BL,pleaseEnterMaxHeight:NL,pleaseEnter:ML,pleaseEnterWatermark:AL,pleaseEnterFileName:kL,pleaseUploadAtLeastOnePrintTemplate:DL,pleaseAssignBusiness:LL,pleaseAssignExternal:jL,pleaseEnterAliasCode:FL,pleaseSelectDataCode:CL,pleaseSelectSvcCode:xL,pleaseSelectJoinFieldCode:zL,pleaseSelectMainFieldCode:VL,pleaseSelectSortFieldCode:GL},HL={zhCN:l2,enUS:TD,jaJP:YL};function qL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(c.CALC_TOKEN_TYPE||(c.CALC_TOKEN_TYPE={})),c.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(c.CALC_AGGREGATE_TYPE||(c.CALC_AGGREGATE_TYPE={}));var UL=function e(t){qL(this,e),ur(this,"name",void 0),ur(this,"id",void 0),ur(this,"type",void 0),ur(this,"subTableId",void 0),ur(this,"subTableName",void 0),ur(this,"aggregateType",void 0);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:"Number";var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var u;this.subTableName=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var l;this.aggregateType=(l=t==null?void 0:t.aggregateType)!==null&&l!==void 0?l:void 0},$w="zh-CN",WL=function(){};function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,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.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"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,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.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(c.FieldTypes||(c.FieldTypes={}));var $e,KL=($e={},Ce($e,"array","array-column"),Ce($e,"auto_number","auto-number-column"),Ce($e,"decimal","decimal-column"),Ce($e,"department","department-column"),Ce($e,"file","file-column"),Ce($e,"image","image-column"),Ce($e,"location","location-column"),Ce($e,"people","employee-column"),Ce($e,"text","text-column"),Ce($e,"timescope","timescope-column"),Ce($e,"timestamp","timestamp-column"),Ce($e,"varchar","varchar-column"),Ce($e,"relation","varchar-column"),$e);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var Rw="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",XL=Rw+"0123456789";function xe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Rw:XL,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function my(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function JL(e){if(Array.isArray(e))return my(e)}function QL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(e,t,r){return Iw()?ki=Reflect.construct:ki=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&so(a,u.prototype),a},ki.apply(null,arguments)}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(e)}function Sw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&so(e,t)}function ZL(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ej(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tj(){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 nj(e,t){return t&&(rj(t)==="object"||typeof t=="function")?t:QL(e)}function so(e,t){return so=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},so(e,t)}function Ew(e){return JL(e)||ej(e)||oj(e)||tj()}function rj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oj(e,t){if(!!e){if(typeof e=="string")return my(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return my(e,t)}}function Oy(e){var t=typeof Map=="function"?new Map:void 0;return Oy=function(n){if(n===null||!ZL(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return ki(n,arguments,ao(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),so(o,n)},Oy(e)}function Iw(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bw(e){var t=Iw();return function(){var n=ao(e),o;if(t){var i=ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nj(this,o)}}var wy=console;function On(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=wy).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Ew(o)))}function _o(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=wy).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Ew(o)))}function ij(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Py=function(e){Sw(r,e);var t=Bw(r);function r(n){Tw(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?ij(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Oy(Error)),uj=function(e){Sw(r,e);var t=Bw(r);function r(n){Tw(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Py);function Kt(e){throw new Py(e)}function $y(e){throw new uj(e)}function Nw(e){wy.error(new Py(e))}function Di(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":Di(r==null?void 0:r.children,t);break;case"wrap":Di(r==null?void 0:r.children,t);break;case"search":Di(r==null?void 0:r.children,t);break;case"form":t(r)}})}var cj=Object.prototype.toString;function Mw(e,t){return cj.call(e)==="[object "+t+"]"}function lj(e){return Mw(e,"String")}function fj(e){return Mw(e,"Promise")}var aj=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();fj(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,l){if(o!==void 0){var f=o[i];if(!(u===l.length-1&&!lj(f)))return f}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _j(e,t,r){return t&&Aw(e.prototype,t),r&&Aw(e,r),e}function yj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(){function e(){sj(this,e)}return _j(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$w;return new aj({locale:r,messages:HL})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();yj(d,"$i18n",d.resetI18n());function kw(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,l,f){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){On("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===f.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var pj=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ry={exports:{}};(function(e){(function(t){var r=function(v,O,P){if(!a(O)||_(O)||p(O)||b(O)||f(O))return O;var w,T=0,$=0;if(s(O))for(w=[],$=O.length;T<$;T++)w.push(r(v,O[T],P));else{w={};for(var S in O)Object.prototype.hasOwnProperty.call(O,S)&&(w[v(S,P)]=r(v,O[S],P))}return w},n=function(v,O){O=O||{};var P=O.separator||"_",w=O.split||/(?=[A-Z])/;return v.split(w).join(P)},o=function(v){return g(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(O,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var O=o(v);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(v,O){return n(v,O).toLowerCase()},l=Object.prototype.toString,f=function(v){return typeof v=="function"},a=function(v){return v===Object(v)},s=function(v){return l.call(v)=="[object Array]"},_=function(v){return l.call(v)=="[object Date]"},p=function(v){return l.call(v)=="[object RegExp]"},b=function(v){return l.call(v)=="[object Boolean]"},g=function(v){return v=v-0,v===v},h=function(v,O){var P=O&&"process"in O?O.process:O;return typeof P!="function"?v:function(w,T){return P(w,v,T)}},m={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,O){return r(h(o,O),v)},decamelizeKeys:function(v,O){return r(h(u,O),v,O)},pascalizeKeys:function(v,O){return r(h(i,O),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=m:t.humps=m})(pj)})(Ry);var Dw={};Object.defineProperty(Dw,"__esModule",{value:!0});function Ty(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ty(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Ty(n)}return t}}var dj=Dw.default=Ty;function At(e){if(e!==void 0)return typeof e=="object"?dj(e):e}function be(e){return Sy(e)&&"zh"in e}function Sy(e){return Object.prototype.toString.call(e)==="[object Object]"}function vj(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function wn(e){return Array.isArray(e)}function Lw(e){return typeof e=="string"}function Ey(e){return typeof e=="number"}function hj(e){return typeof e=="function"}function bj(e){return wn(e)&&e.every(function(t){return Lw(t)})}function gj(e){return wn(e)&&e.every(function(t){return Ey(t)})}function mj(e){return wn(e)&&e.every(function(t){return Ey(t)||t===""})}function Oj(e){return/^\[.*?]$/.test(e)}function wj(e){return/^{.*?}$/.test(e)}function Pn(e){return isNaN(parseFloat(e))?"":Number(e)}function jw(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function Pj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u=this;r||(r=setTimeout(function(){e.apply(u,o),clearTimeout(r),r=null},t))}}function $j(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function ie(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=ie(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=ie(n.footers,t)),t(o)})),r}function Fw(e){return Ry.exports.camelizeKeys(e)}function $n(e){return Ry.exports.decamelizeKeys(e)}function Rj(e){return Object.values(c.CONTROL_TYPE).includes(e)}function Iy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Tj(e){if(Array.isArray(e))return Iy(e)}function Cw(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function Sj(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){Cw(i,n,o,u,l,"next",f)}function l(f){Cw(i,n,o,u,l,"throw",f)}u(void 0)})}}function Ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ij(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function zw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Nj(){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 By(e){return Tj(e)||Bj(e)||Mj(e)||Nj()}function Mj(e,t){if(!!e){if(typeof e=="string")return Iy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Iy(e,t)}}function Aj(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Vw=function(){function e(){Ej(this,e),zw(this,"_events",new Map),zw(this,"debug",!1)}return Ij(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return Sj(function(){var l,f,a,s,_,p,b,g,h,m,v,O;return Aj(this,function(P){switch(P.label){case 0:if(l=u._events.get(r),f=[],!l)return[3,10];a=l.slice(),s=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=a[Symbol.iterator](),P.label=2;case 2:if(s=(g=b.next()).done)return[3,7];if(h=g.value,!l.includes(h))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(By(o))),[4,h.apply(null,By(o))];case 4:return m=P.sent(),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(By(o),[m])),f.push(m),m===!1?[3,7]:[3,6];case 5:return v=P.sent(),Nw(String(v)+":"+String(v.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return O=P.sent(),_=!0,p=O,[3,10];case 9:try{!s&&b.return!=null&&b.return()}finally{if(_)throw p}return[7];case 10:return[2,f]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dj(e,t,r){return t&&Gw(e.prototype,t),r&&Gw(e,r),e}function Lj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var jj=[{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"}],Yw=function(){function e(){kj(this,e)}return Dj(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();Lj(Yw,"events",jj);function Ny(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Fj(e){if(Array.isArray(e))return Ny(e)}function Cj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xj(){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 Hw(e){return Fj(e)||Cj(e)||zj(e)||xj()}function zj(e,t){if(!!e){if(typeof e=="string")return Ny(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ny(e,t)}}function Li(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function My(e,t,r){r==="Designer"&&(e.parent=t,Li(e,"parent"))}function qw(e,t,r){e.forEach(function(n){My(n,t,r)})}var Uw=Symbol("targetKey");function Ww(e){var t;return(t=e[Uw])!==null&&t!==void 0?t:e}function Kw(e,t,r){return qw(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,l=new Array(u>2?u-2:0),f=2;f<u;f++)l[f-2]=arguments[f];var a;return i===Uw?o:(a=Reflect).get.apply(a,[o,i].concat(Hw(l)))},set:function(o,i,u){for(var l=arguments.length,f=new Array(l>3?l-3:0),a=3;a<l;a++)f[a-3]=arguments[a];var s;if(wn(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(Hw(f)));return Sy(u)&&My(u,t,r),_}})}function ut(e,t,r,n,o){var i=n!=null?n:e,u=Kw(Ww(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(f){u=Kw(Ww(f),i,o)},enumerable:!0})}function Vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gj(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(e,r),e}function Xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Jw=[],yo=function(){function e(t){Vj(this,e),Xt(this,"registeredControlTypes",new Set),Xt(this,"controlConfigMap",new Map),Xt(this,"_controls",[]),Xt(this,"_type",void 0),this._type=t,this._initControls(t)}return Gj(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Kt("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(On("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(s){return o.createControl(s,n)});if(r.children&&(r.children=r.children.map(function(s){return o.createControl(s,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(s){return o.createControl(s,n)})),i.footers&&(i.footers=i.footers.map(function(s){var _;return s&&(_=o.createControl(s,n)),_}))}var u=this.getControlFormType(r.type);if(u){var l=r;if(typeof n=="function"){var f=n(l);f&&(l=f)}var a;return u.mode==="Runtime"?(a=l,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(l),a}else Kt("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),Li(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,l=n.instanceMap;if(!(!u||!l)){var f=u[i],a=l[i];if(!(!f&&!a)){var s=a.findIndex(function(b){return b==r}),_=l[f]||[],p;return _.length!==a.length?p=_[0]:p=_[s],p}}}}),Li(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Kt("".concat(r," is can't register as a Control"));var l=this.staticControls.findIndex(function(f){return f.Designer.controlType===o.controlType});return l>-1&&(On("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Xt(yo,"staticControlsRuntimeRules",new Map),Xt(yo,"staticControls",Jw),Xt(yo,"staticRegisteredTypes",new Set(Jw.map(function(e){return e.Designer.controlType}))),Xt(yo,"staticRegisteredConfigs",new Map);function j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function Xe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yj(e,t){return t&&(Hj(t)==="object"||typeof t=="function")?t:j(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}function Hj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Je(e){var t=qj();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yj(this,o)}}var Qe=function e(t){R(this,e),y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},ky=function e(t){R(this,e),y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Fi=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),y(j(o),"width",void 0),y(j(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(ky),Dy=function e(t){R(this,e),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Fi(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Fi(t==null?void 0:t.mobile):new Fi({width:130,minWidth:180})},Qw=function e(t){R(this,e),y(this,"type",void 0),y(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Rn=function e(t){R(this,e),y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},Zw=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),y(j(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Rn),eP=function e(t){R(this,e),y(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Ci=function e(t){R(this,e);var r;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new eP(u)}))!==null&&i!==void 0?i:[]},tP=function e(t){R(this,e),y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},nP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),y(j(o),"title",void 0),y(j(o),"svcCode",void 0),y(j(o),"isOpenFilter",void 0),y(j(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var l;o.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var f;return o.filters=(f=n==null?void 0:n.filters)!==null&&f!==void 0?f:[],o}return r}(Rn),rP=function e(t){R(this,e);var r,n;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new Rn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new tP(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new nP(u)}))!==null&&i!==void 0?i:[]},oP=function e(t){R(this,e),y(this,"type",void 0),y(this,"value",void 0),y(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},cr=function e(t){R(this,e),y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},xi=function e(t){var r=this;R(this,e),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:xe();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(l){if(l.children!==void 0){var f,a=new e(l);(f=r.children)===null||f===void 0||f.push(a)}else{var s,_=new po(l);(s=r.children)===null||s===void 0||s.push(_)}}))},po=function e(t){R(this,e),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:xe();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new oP(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new cr(t==null?void 0:t.rightVariableBo)},iP=function e(t){R(this,e),y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new re(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Re=function e(t){R(this,e),y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},zi=function e(t){R(this,e),y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Ly=function e(t){R(this,e),y(this,"columnName",void 0),y(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},uP=function e(t){R(this,e),y(this,"code",void 0),y(this,"value",void 0),y(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},Uj=function e(t){R(this,e);var r,n;y(this,"id",void 0),y(this,"limit",void 0),y(this,"orders",void 0),y(this,"formKey",void 0),y(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var l;this.orders=(l=(r=t.orders)===null||r===void 0?void 0:r.map(function(a){return new Ly(a)}))!==null&&l!==void 0?l:[];var f;this.dataSet=(f=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(a){return new uP(a)}))!==null&&f!==void 0?f:[]};function jy(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(l){return l.children!==void 0?new xi(l):new po(l)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new xi(l):new po(l)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(l){return new Ly(l)}))!==null&&u!==void 0?u:[]}var re=function e(t){var r=this;R(this,e),y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var _;(_=r.displayBoList)===null||_===void 0||_.push(new zi(s))}));var l;this.keywordMapping=(l=t==null?void 0:t.keywordMapping)!==null&&l!==void 0?l:"";var f;this.showOrder=(f=t==null?void 0:t.showOrder)!==null&&f!==void 0?f:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",jy.call(this,t)},Vi=function e(t){R(this,e),y(this,"dataCode",void 0),y(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},bt=function e(t){R(this,e),y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var 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 f;this.icon=(f=t==null?void 0:t.icon)!==null&&f!==void 0?f:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},Fy=function e(t){R(this,e);var r;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new zi(u)}))!==null&&i!==void 0?i:[]},vo=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o,i;o=t.call(this,n),y(j(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new Fy(l)}))!==null&&u!==void 0?u:[],o}return r}(re),cP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o,i;o=t.call(this,n),y(j(o),"attributes",void 0),y(j(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new Fy(f)}))!==null&&u!==void 0?u:[];var l;return o.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",o}return r}(re),Cy=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),y(j(o),"rootNode",void 0),y(j(o),"filterCode",void 0),o.rootNode=new cr(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(vo),lP=function e(t){R(this,e);var r;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Re(u)}))!==null&&i!==void 0?i:[]},xy=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this,n),y(j(o),"filters",void 0),y(j(o),"viewFilters",void 0),y(j(o),"orders",void 0),jy.call(j(o),n),o}return r}(lP),zy=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),y(j(o),"mode",void 0),y(j(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(lP),Wj=function e(t){R(this,e),y(this,"zh",void 0),y(this,"en",void 0),y(this,"ja",void 0);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},Vy=function e(t){R(this,e),y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Gy=function e(t){R(this,e),y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:xe(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},fP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),y(j(o),"image",void 0),y(j(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(Gy);function gt(e){var t;return(t=e==null?void 0:e.map(function(r){return new Gy(r)}))!==null&&t!==void 0?t:[]}function Kj(e){var t;return(t=e==null?void 0:e.map(function(r){return new fP(r)}))!==null&&t!==void 0?t:[]}var Gi=function e(){R(this,e)},aP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this),y(j(o),"amount",void 0),y(j(o),"currency",void 0),o.amount=new Qe(n==null?void 0:n.amount),o.currency=new Qe(n==null?void 0:n.currency),o}return r}(Gi),sP=function e(t){R(this,e),y(this,"amount",void 0),y(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},_P=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this),y(j(o),"min",void 0),y(j(o),"max",void 0),o.min=new Qe(n==null?void 0:n.min),o.max=new Qe(n==null?void 0:n.max),o}return r}(Gi),yP=function e(t){R(this,e),y(this,"min",void 0),y(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},pP=function e(t){R(this,e),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=t==null?void 0:t.provinceDisplay)!==null&&l!==void 0?l:""},dP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this),y(j(o),"result",void 0),y(j(o),"unit",void 0),o.result=new Qe(n==null?void 0:n.result),o.unit=new Qe(n==null?void 0:n.unit),o}return r}(Gi),vP=function e(t){R(this,e),y(this,"result",void 0),y(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,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"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,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.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var kt=function e(t){R(this,e),y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=t==null?void 0:t.priorityProcess)!==null&&l!==void 0?l:!1},hP=function e(t){R(this,e);var r;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:xe(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new eP(u)}))!==null&&i!==void 0?i:[],jy.call(this,t)},Xj=function e(t){R(this,e),y(this,"key",void 0),y(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:xe(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},bP=function e(t){R(this,e),y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},gP=function e(t){R(this,e),y(this,"optCode",void 0),y(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},mP=function e(t){R(this,e);var r;y(this,"id",void 0),y(this,"name",void 0),y(this,"color",void 0),y(this,"filters",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:xe();var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new xi(l):new po(l)}))!==null&&u!==void 0?u:[]},OP=function e(t){R(this,e),y(this,"id",void 0),y(this,"script",void 0),y(this,"color",void 0);var r;this.id=(r=t.id)!==null&&r!==void 0?r:xe();var n;this.script=(n=t.script)!==null&&n!==void 0?n:"";var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme"};function Jj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yi(e,t,r){return wP()?Yi=Reflect.construct:Yi=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&bo(a,u.prototype),a},Yi.apply(null,arguments)}function Jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function Qj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bo(e,t)}function Zj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function eF(e,t){return t&&(tF(t)==="object"||typeof t=="function")?t:Jj(e)}function bo(e,t){return bo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bo(e,t)}function tF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hy(e){var t=typeof Map=="function"?new Map:void 0;return Hy=function(n){if(n===null||!Zj(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Yi(n,arguments,ho(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),bo(o,n)},Hy(e)}function wP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nF(e){var t=wP();return function(){var n=ho(e),o;if(t){var i=ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eF(this,o)}}var ne=function e(t){Yy(this,e),Jt(this,"isHide",{type:"boolean"})},Qt=function(e){Qj(r,e);var t=nF(r);function r(n){return Yy(this,r),t.call(this)}return r}(Hy(Array)),X=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Yy(this,e),Jt(this,"isHide",void 0),Jt(this,"className",void 0),Jt(this,"style",void 0),Jt(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new bP(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Jt(X,"mode",void 0),Jt(X,"Rules",ne),Jt(X,"RuntimeRules",Qt);function mt(){return mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mt.apply(this,arguments)}function rF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function qy(e){return qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qy(e)}function Hi(e,t){return Hi=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hi(e,t)}function oF(){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 qi(e,t,r){return oF()?qi=Reflect.construct:qi=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&Hi(a,u.prototype),a},qi.apply(null,arguments)}function iF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Uy(e){var t=typeof Map=="function"?new Map:void 0;return Uy=function(n){if(n===null||!iF(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return qi(n,arguments,qy(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Hi(o,n)},Uy(e)}var uF=/%[sdj%]/g,PP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(PP=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Wy(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function ze(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(uF,function(l){if(l==="%%")return"%";if(n>=i)return l;switch(l){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(f){return"[Circular]"}break;default:return l}});return u}return o}function cF(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function oe(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||cF(t)&&typeof e=="string"&&!e)}function lF(e,t,r){var n=[],o=0,i=e.length;function u(l){n.push.apply(n,l),o++,o===i&&r(n)}e.forEach(function(l){t(l,u)})}function $P(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var l=n;n=n+1,l<o?t(e[l],i):r([])}i([])}function fF(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var RP=function(e){rF(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(Uy(Error));function aF(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var b=function(m){return n(m),m.length?p(new RP(m,Wy(m))):_()},g=fF(e);$P(g,r,b)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),l=u.length,f=0,a=[],s=new Promise(function(_,p){var b=function(h){if(a.push.apply(a,h),f++,f===l)return n(a),a.length?p(new RP(a,Wy(a))):_()};u.length||(n(a),_()),u.forEach(function(g){var h=e[g];i.indexOf(g)!==-1?$P(h,r,b):lF(h,r,b)})});return s.catch(function(_){return _}),s}function TP(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 SP(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=mt(mt({},e[r]),n):e[r]=n}}return e}function EP(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||oe(t,i||e.type))&&n.push(ze(o.messages.required,e.fullField))}function sF(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ze(o.messages.whitespace,e.fullField))}var Ky={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},go={integer:function(t){return go.number(t)&&parseInt(t,10)===t},float:function(t){return go.number(t)&&!go.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!go.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ky.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ky.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ky.hex)}};function _F(e,t,r,n,o){if(e.required&&t===void 0){EP(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?go[u](t)||n.push(ze(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(ze(o.messages.types[u],e.fullField,e.type))}function yF(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",l=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,s=null,_=typeof t=="number",p=typeof t=="string",b=Array.isArray(t);if(_?s="number":p?s="string":b&&(s="array"),!s)return!1;b&&(a=t.length),p&&(a=t.replace(f,"_").length),i?a!==e.len&&n.push(ze(o.messages[s].len,e.fullField,e.len)):u&&!l&&a<e.min?n.push(ze(o.messages[s].min,e.fullField,e.min)):l&&!u&&a>e.max?n.push(ze(o.messages[s].max,e.fullField,e.max)):u&&l&&(a<e.min||a>e.max)&&n.push(ze(o.messages[s].range,e.fullField,e.min,e.max))}var lr="enum";function pF(e,t,r,n,o){e[lr]=Array.isArray(e[lr])?e[lr]:[],e[lr].indexOf(t)===-1&&n.push(ze(o.messages[lr],e.fullField,e[lr].join(", ")))}function dF(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(ze(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(ze(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var N={required:EP,whitespace:sF,type:_F,range:yF,enum:pF,pattern:dF};function vF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t,"string")&&!e.required)return r();N.required(e,t,n,i,o,"string"),oe(t,"string")||(N.type(e,t,n,i,o),N.range(e,t,n,i,o),N.pattern(e,t,n,i,o),e.whitespace===!0&&N.whitespace(e,t,n,i,o))}r(i)}function hF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}function bF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function gF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}function mF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),oe(t)||N.type(e,t,n,i,o)}r(i)}function OF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function wF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function PF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();N.required(e,t,n,i,o,"array"),t!=null&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function $F(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}var RF="enum";function TF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N[RF](e,t,n,i,o)}r(i)}function SF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t,"string")&&!e.required)return r();N.required(e,t,n,i,o),oe(t,"string")||N.pattern(e,t,n,i,o)}r(i)}function EF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t,"date")&&!e.required)return r();if(N.required(e,t,n,i,o),!oe(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),N.type(e,l,n,i,o),l&&N.range(e,l.getTime(),n,i,o)}}r(i)}function IF(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;N.required(e,t,n,i,o,u),r(i)}function Xy(e,t,r,n,o){var i=e.type,u=[],l=e.required||!e.required&&n.hasOwnProperty(e.field);if(l){if(oe(t,i)&&!e.required)return r();N.required(e,t,n,u,o,i),oe(t,i)||N.type(e,t,n,u,o)}r(u)}function BF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o)}r(i)}var mo={string:vF,method:hF,number:bF,boolean:gF,regexp:mF,integer:OF,float:wF,array:PF,object:$F,enum:TF,pattern:SF,date:EF,url:Xy,hex:Xy,email:Xy,required:IF,any:BF};function Jy(){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 Qy=Jy();function Zt(e){this.rules=null,this._messages=Qy,this.define(e)}Zt.prototype={messages:function(t){return t&&(this._messages=SP(Jy(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,l=n;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function f(h){var m,v=[],O={};function P(w){if(Array.isArray(w)){var T;v=(T=v).concat.apply(T,w)}else v.push(w)}for(m=0;m<h.length;m++)P(h[m]);v.length?O=Wy(v):(v=null,O=null),l(v,O)}if(u.messages){var a=this.messages();a===Qy&&(a=Jy()),SP(a,u.messages),u.messages=a}else u.messages=this.messages();var s,_,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(h){s=o.rules[h],_=i[h],s.forEach(function(m){var v=m;typeof v.transform=="function"&&(i===t&&(i=mt({},i)),_=i[h]=v.transform(_)),typeof v=="function"?v={validator:v}:v=mt({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(p[h]=p[h]||[],p[h].push({rule:v,value:_,source:i,field:h}))})});var g={};return aF(p,u,function(h,m){var v=h.rule,O=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");O=O&&(v.required||!v.required&&h.value),v.field=h.field;function P($,S){return mt(mt({},S),{},{fullField:v.fullField+"."+$})}function w($){$===void 0&&($=[]);var S=$;if(Array.isArray(S)||(S=[S]),!u.suppressWarning&&S.length&&Zt.warning("async-validator:",S),S.length&&v.message!==void 0&&(S=[].concat(v.message)),S=S.map(TP(v)),u.first&&S.length)return g[v.field]=1,m(S);if(!O)m(S);else{if(v.required&&!h.value)return v.message!==void 0?S=[].concat(v.message).map(TP(v)):u.error&&(S=[u.error(v,ze(u.messages.required,v.field))]),m(S);var D={};if(v.defaultField)for(var Fe in h.value)h.value.hasOwnProperty(Fe)&&(D[Fe]=v.defaultField);D=mt(mt({},D),h.rule.fields);for(var ve in D)if(D.hasOwnProperty(ve)){var he=Array.isArray(D[ve])?D[ve]:[D[ve]];D[ve]=he.map(P.bind(null,ve))}var co=new Zt(D);co.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),co.validate(h.value,h.rule.options||u,function(ir){var Nt=[];S&&S.length&&Nt.push.apply(Nt,S),ir&&ir.length&&Nt.push.apply(Nt,ir),m(Nt.length?Nt:null)})}}var T;v.asyncValidator?T=v.asyncValidator(v,h.value,w,h.source,u):v.validator&&(T=v.validator(v,h.value,w,h.source,u),T===!0?w():T===!1?w(v.message||v.field+" fails"):T instanceof Array?w(T):T instanceof Error&&w(T.message)),T&&T.then&&T.then(function(){return w()},function($){return w($)})},function(h){f(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!mo.hasOwnProperty(t.type))throw new Error(ze("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?mo.required:mo[this.getType(t)]||!1}},Zt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");mo[t]=r},Zt.warning=PP,Zt.messages=Qy,Zt.validators=mo;var NF={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 IP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Zt(e);return r.messages(Object.assign(NF,t)),r}var BP=new Vw;function Zy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function MF(e){if(Array.isArray(e))return e}function AF(e){if(Array.isArray(e))return Zy(e)}function NP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function MP(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){NP(i,n,o,u,l,"next",f)}function l(f){NP(i,n,o,u,l,"throw",f)}u(void 0)})}}function kF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DF(e,t,r){return t&&AP(e.prototype,t),r&&AP(e,r),e}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kP(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function DP(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LF(){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 jF(){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 LP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){C(e,o,r[o])})}return e}function FF(e){return MF(e)||DP(e)||jP(e)||LF()}function ep(e){return AF(e)||DP(e)||jP(e)||jF()}function jP(e,t){if(!!e){if(typeof e=="string")return Zy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zy(e,t)}}function FP(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var F=function(){function t(r){var n=this;kF(this,t),C(this,"id",void 0),C(this,"name",void 0),C(this,"icon",void 0),C(this,"type",void 0),C(this,"controlType",void 0),C(this,"props",void 0),C(this,"setting",[]),C(this,"fieldType",void 0),C(this,"eventKeys",[]),C(this,"customEvents",[]),C(this,"parent",null),C(this,"updateSetting",xP),C(this,"removeSetting",CP),this._callControlHooks("preInstance",r);var o=kP(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,l=o.controlType,f=o.controlFieldType,a=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,p=o.setting;i&&u&&l||$y("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:xe(10),this.name=i,this.icon=u;var g;this.type=(g=r==null?void 0:r.type)!==null&&g!==void 0?g:l,this.props=new X(r==null?void 0:r.props,(kP(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=r==null?void 0:r.controlType)!==null&&h!==void 0?h:"base",this.setting=At(p);var m;this.fieldType=(m=r==null?void 0:r.fieldType)!==null&&m!==void 0?m:f,this.eventKeys=At(a),this.customEvents=At(s),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return DF(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,l=FF(o),f=l[0],a=l.slice(1);return(u=BP).emit.apply(u,[f,this].concat(ep(a)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),kw(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return MP(function(){var o,i,u;return FP(this,function(l){switch(l.label){case 0:return o=LP({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=l.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return MP(function(){var u,l,f,a;return FP(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),l=u!==void 0?u:LP({},i.rules),Array.isArray(o)&&o.forEach(function(_){l.hasOwnProperty(_)&&delete l[_]}),f=IP(l,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,f.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw a=s.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,l=this.props,f=l.dataBind,a=l.datasourceBind,s=l.optionConfig,_=l.caption,p=l.required,b=l.maxLength,g=l.options,h=l.encrypted,m=l.encryptedMode;if(!(!o&&!f&&!a)){var v={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(f&&(v.dataBind=f),s){case"datasource":case void 0:a&&(v.datasourceBind=a);break;case"custom":v.props.options=g;break}return p!==void 0&&(v.required=p),b!==void 0&&(v.maxLength=b),h!==void 0&&(v.encrypted=h),m!==void 0&&(v.encryptedMode=m),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:At(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,ep(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();C(F,"mode","Designer"),C(F,"controlName","\u63A7\u4EF6"),C(F,"controlIcon","icon"),C(F,"controlType","control"),C(F,"controlFieldType",void 0),C(F,"controlEventKeys",[]),C(F,"controlCustomEvents",[]),C(F,"setting",[]),C(F,"__is_control__",!0),C(F,"removeSettingItem",CP),C(F,"updateSettingItem",xP);function CP(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var l,f;i?t.setting[u].showItems=(l=t.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((f=t.setting[u].showItems)===null||f===void 0)&&f.length)&&t.setting.splice(u,1)}})}function xP(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var f;(f=i.showItems).push.apply(f,ep(t.showItems))}}}})}function CF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xF(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zF(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var J=function(){function t(r){CF(this,t),Ve(this,"id",void 0),Ve(this,"type",void 0),Ve(this,"controlType",void 0),Ve(this,"props",void 0),Ve(this,"fieldType",void 0),Ve(this,"customEvents",[]),Ve(this,"pageStatus",void 0),Ve(this,"parent",null);var n=zF(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,l=n.controlCustomEvents;o||$y("The ".concat(u," controlType is not define"));var f;this.id=(f=r==null?void 0:r.id)!==null&&f!==void 0?f:xe(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new X(r==null?void 0:r.props),this.customEvents=l;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:c.PAGE_STATUS.UNKNOWN}return xF(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Ve(J,"mode","Runtime"),Ve(J,"controlType","control"),Ve(J,"controlFieldType",void 0),Ve(J,"__is_control__",!0),Ve(J,"controlCustomEvents",[]);function Ui(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: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(r,n,o){n.length===0&&o(d.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(l){return l.value}),u=jw(i);i.length!==u.length?o(d.getMessage("optionIdIsRepeat")):o()},message:d.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.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(r,n,o){n.length===0&&o(d.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},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 Oo(e,t){var r=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(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(r?"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(o,i,u){i.length===0&&u(d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(r?"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 VP(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function Xi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VF(e,t){return t&&(GF(t)==="object"||typeof t=="function")?t:H(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function GF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ji(e){var t=YF();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VF(this,o)}}var ae=function(e){Xi(r,e);var t=Ji(r);function r(n){Wi(this,r);var o;o=t.call(this,n),q(H(o),"dataBind",{}),q(H(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),q(H(o),"isHideCaption",{type:"boolean"}),q(H(o),"labelPosition",{type:"enum",enum:["top","left"]}),q(H(o),"defaultState",{type:"enum",enum:["default","readonly"]}),q(H(o),"required",{type:"boolean"}),q(H(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(VP(n.dataBind))o.dataBind={type:"object",required:!0,fields:At(i),message:d.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(l){u.fields[l]={type:"object",required:!0,fields:At(i),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),V=function(e){Xi(r,e);var t=Ji(r);function r(n){Wi(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Qt),M=function(e){Xi(r,e);var t=Ji(r);function r(n){Wi(this,r);var o;o=t.call(this,n),q(H(o),"caption",void 0),q(H(o),"isHideCaption",void 0),q(H(o),"isShowCaptionTip",void 0),q(H(o),"captionTip",void 0),q(H(o),"labelPosition",void 0),q(H(o),"dataBind",void 0),q(H(o),"defaultValue",void 0),q(H(o),"placeholder",void 0),q(H(o),"defaultState",void 0),q(H(o),"required",void 0),q(H(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var 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 a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new Qe(n==null?void 0:n.dataBind);var g;return o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"",o}return r}(X);q(M,"Rules",ae),q(M,"RuntimeRules",V);var Tn=function(e){Xi(r,e);var t=Ji(r);function r(n){Wi(this,r);var o;return o=t.call(this,n),q(H(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),q(H(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),q(H(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Ui.call(H(o),n),o}return r}(ae);function np(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UF(e,t){return t&&(WF(t)==="object"||typeof t=="function")?t:np(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function WF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XF(e){var t=KF();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UF(this,o)}}var A=function(e){qF(r,e);var t=XF(r);function r(n){HF(this,r);var o;return o=t.call(this,n),Qi(np(o),"controlType","form"),Qi(np(o),"props",void 0),o.props=new M(n==null?void 0:n.props),o}return r}(F);Qi(A,"controlEventKeys",["on_change","on_focus","on_blur"]),Qi(A,"controlCustomAttributes",void 0);function eu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function op(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function QF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZF(e,t){return t&&(e4(t)==="object"||typeof t=="function")?t:eu(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function e4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n4(e){var t=t4();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZF(this,o)}}var k=function(e){QF(r,e);var t=n4(r);function r(n){JF(this,r);var o;return o=t.call(this,n),op(eu(o),"controlType","form"),op(eu(o),"props",void 0),op(eu(o),"value",void 0),o.props=new M(n==null?void 0:n.props),o}return r}(J);function r4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function i4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function u4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:r4(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function c4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f4(e){var t=l4();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u4(this,o)}}var G=function(e){i4(r,e);var t=f4(r);function r(n){return o4(this,r),t.call(this,n)}return r}(X);function cp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a4(e){if(Array.isArray(e))return cp(e)}function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function s4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){GP(i,n,o,u,l,"next",f)}function l(f){GP(i,n,o,u,l,"throw",f)}u(void 0)})}}function _4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y4(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function en(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fr=Reflect.get:fr=function(o,i,u){var l=w4(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},fr(e,t,r||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tn(e)}function p4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function d4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function v4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function h4(){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 b4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){en(e,o,r[o])})}return e}function g4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function m4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function O4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:Sn(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function w4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function HP(e){return a4(e)||v4(e)||$4(e)||h4()}function P4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $4(e,t){if(!!e){if(typeof e=="string")return cp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cp(e,t)}}function R4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T4(e){var t=R4();return function(){var n=tn(e),o;if(t){var i=tn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O4(this,o)}}function S4(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var E4=1e4,U=function(t){p4(n,t);var r=T4(n);function n(o){_4(this,n);var i;i=r.call(this,o),en(Sn(i),"controlType","layout"),en(Sn(i),"children",void 0),en(Sn(i),"excludes",void 0),en(Sn(i),"childrenMaxLength",void 0),en(Sn(i),"props",void 0);var u=d4(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new G(o==null?void 0:o.props),ut(Sn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=At(l),i.childrenMaxLength=f,i}return y4(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var l=this,f=this,a=function(){return fr(tn(n.prototype),"validate",l)};return s4(function(){return S4(this,function(s){switch(s.label){case 0:return[4,a().call(f,i,u)];case 1:return s.sent(),[4,Promise.all(f.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=fr(tn(n.prototype),"toDataBindModel",this).call(this),l=u?[u]:[];return this.children.reduce(function(f,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(p){return!!p});return HP(f).concat(HP(_))}return s&&f.push(s),f},l)}},{key:"toSchema",value:function(){var i=fr(tn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(l){var f=l.toSchema();return f});return m4(b4({},i),{children:u})}}]),n}(F);en(U,"excludes",!1),en(U,"childrenMaxLength",E4);function wo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function B4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function N4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:wo(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function M4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k4(e){var t=A4();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N4(this,o)}}var Q=function(e){B4(r,e);var t=k4(r);function r(n){I4(this,r);var o;return o=t.call(this,n),fp(wo(o),"controlType","layout"),fp(wo(o),"children",void 0),fp(wo(o),"props",void 0),o.props=new G(n==null?void 0:n.props),ut(wo(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(J);function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function L4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function j4(e,t){return t&&(F4(t)==="object"||typeof t=="function")?t:Dt(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function F4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x4(e){var t=C4();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j4(this,o)}}var Po=function(e){L4(r,e);var t=x4(r);function r(n,o,i){D4(this,r);var u;u=t.call(this,o),ar(Dt(u),"headers",void 0),ar(Dt(u),"footers",void 0),ar(Dt(u),"pageIndex",void 0),ar(Dt(u),"pageSize",void 0),ar(Dt(u),"pageSizeOptions",void 0),ar(Dt(u),"totalCount",void 0),ut(Dt(u),"headers",o==null?void 0:o.headers,n,i),ut(Dt(u),"footers",o==null?void 0:o.footers,n);var l;u.pageIndex=(l=o==null?void 0:o.pageIndex)!==null&&l!==void 0?l:1;var f;u.pageSize=(f=o==null?void 0:o.pageSize)!==null&&f!==void 0?f:20;var a;u.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var s;return u.totalCount=(s=o==null?void 0:o.totalCount)!==null&&s!==void 0?s:0,u}return r}(X);function _p(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function z4(e){if(Array.isArray(e))return _p(e)}function iu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function V4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){qP(i,n,o,u,l,"next",f)}function l(f){qP(i,n,o,u,l,"throw",f)}u(void 0)})}}function G4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y4(e,t,r){return t&&UP(e.prototype,t),r&&UP(e,r),e}function uu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sr=Reflect.get:sr=function(o,i,u){var l=X4(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},sr(e,t,r||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nn(e)}function H4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function q4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function U4(){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 WP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){uu(e,o,r[o])})}return e}function W4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function KP(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):W4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function K4(e,t){return t&&(J4(t)==="object"||typeof t=="function")?t:iu(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function X4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function XP(e){return z4(e)||q4(e)||Q4(e)||U4()}function J4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q4(e,t){if(!!e){if(typeof e=="string")return _p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _p(e,t)}}function Z4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eC(e){var t=Z4();return function(){var n=nn(e),o;if(t){var i=nn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K4(this,o)}}function tC(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var cu=function(e){H4(r,e);var t=eC(r);function r(n){G4(this,r);var o;return o=t.call(this,n),uu(iu(o),"controlType","list"),uu(iu(o),"props",void 0),o.props=new Po(iu(o),n==null?void 0:n.props,"Designer"),o}return Y4(r,[{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return sr(nn(r.prototype),"validate",u)};return V4(function(){return tC(this,function(a){switch(a.label){case 0:return[4,f().call(l,o)];case 1:return a.sent(),[4,Promise.all(l.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=sr(nn(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(l,f){var a=f.toDataBindModel(u);if(Array.isArray(a)){var s=a.filter(function(_){return!!_});return XP(l).concat(XP(s))}return a&&l.push(a),l},i)}},{key:"toSchema",value:function(){var o,i,u=sr(nn(r.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(a){return a.toSchema()}),f=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return KP(WP({},u),{props:KP(WP({},this.props),{headers:l,footers:f})})}}]),r}(F);uu(cu,"controlFieldType",c.FieldTypes.LIST);function _r(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rC(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function pp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function oC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function iC(e,t){return t&&(uC(t)==="object"||typeof t=="function")?t:_r(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}function uC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lC(e){var t=cC();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iC(this,o)}}var vp=function(e){oC(r,e);var t=lC(r);function r(n){nC(this,r);var o;return o=t.call(this,n),pp(_r(o),"controlType","list"),pp(_r(o),"children",void 0),pp(_r(o),"props",void 0),o.props=new Po(_r(o),n==null?void 0:n.props,"Runtime"),ut(_r(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return rC(r,[{key:"length",get:function(){return this.children.length}}]),r}(J);function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function bp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function fC(e,t){return t&&(aC(t)==="object"||typeof t=="function")?t:se(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}function aC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mp(e){var t=sC();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fC(this,o)}}var ct=function(e){bp(r,e);var t=mp(r);function r(n){hp(this,r);var o;return o=t.call(this,n),ge(se(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ge(se(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(ne),Z=function(e){bp(r,e);var t=mp(r);function r(n){hp(this,r);var o;o=t.call(this,n),ge(se(o),"widthType",void 0),ge(se(o),"width",void 0),ge(se(o),"caption",void 0),ge(se(o),"dataBind",void 0),ge(se(o),"autoWidth",void 0),ge(se(o),"fixed",void 0),ge(se(o),"sort",void 0),ge(se(o),"align",void 0),ge(se(o),"colSpan",void 0),ge(se(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",o.autoWidth=new ky(n==null?void 0:n.autoWidth),o.dataBind=new Qe(n==null?void 0:n.dataBind);var f;o.sort=(f=n==null?void 0:n.sort)!==null&&f!==void 0?f:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return r}(X);ge(Z,"Rules",ct);var Op=function(e){bp(r,e);var t=mp(r);function r(n){hp(this,r);var o;return o=t.call(this,n),ge(se(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),ge(se(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),ge(se(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Ui.call(se(o),n),o}return r}(ct);function wp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function yC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function pC(e,t){return t&&(dC(t)==="object"||typeof t=="function")?t:wp(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}function dC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hC(e){var t=vC();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pC(this,o)}}var ue=function(e){yC(r,e);var t=hC(r);function r(n){_C(this,r);var o;return o=t.call(this,n),QP(wp(o),"controlType","column"),QP(wp(o),"props",void 0),o.props=new Z(n==null?void 0:n.props),o}return r}(F);function $p(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function gC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mC(e,t){return t&&(OC(t)==="object"||typeof t=="function")?t:$p(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function OC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PC(e){var t=wC();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mC(this,o)}}var ce=function(e){gC(r,e);var t=PC(r);function r(n){bC(this,r);var o;return o=t.call(this,n),ZP($p(o),"controlType","column"),ZP($p(o),"props",void 0),o.props=new Z(n==null?void 0:n.props),o}return r}(J);function e$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function 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&&Tp(e,t)}function SC(e,t){return t&&(EC(t)==="object"||typeof t=="function")?t:e$(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function EC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BC(e){var t=IC();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SC(this,o)}}var yu=function(e){TC(r,e);var t=BC(r);function r(n){$C(this,r);var o;return o=t.call(this,n),RC(e$(o),"dataBind",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind),o}return r}(G);function Sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function MC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function AC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:Sp(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function kC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LC(e){var t=DC();return function(){var n=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AC(this,o)}}var n$=function(e){MC(r,e);var t=LC(r);function r(n){NC(this,r);var o;return o=t.call(this,n),t$(Sp(o),"controlType","search"),t$(Sp(o),"props",void 0),o.props=new yu(n==null?void 0:n.props),o}return r}(U);function Ip(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function FC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function CC(e,t){return t&&(xC(t)==="object"||typeof t=="function")?t:Ip(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}function xC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VC(e){var t=zC();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CC(this,o)}}var o$=function(e){FC(r,e);var t=VC(r);function r(n){jC(this,r);var o;return o=t.call(this,n),r$(Ip(o),"controlType","search"),r$(Ip(o),"props",void 0),o.props=new yu(n==null?void 0:n.props),o}return r}(Q);function GC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function HC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qC(e,t){return t&&(UC(t)==="object"||typeof t=="function")?t:GC(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function UC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KC(e){var t=WC();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qC(this,o)}}var hu=function(e){HC(r,e);var t=KC(r);function r(n){return YC(this,r),t.call(this,n)}return r}(G);function Mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function JC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function QC(e,t){return t&&(ZC(t)==="object"||typeof t=="function")?t:Mp(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function ZC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t5(e){var t=e5();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QC(this,o)}}var u$=function(e){JC(r,e);var t=t5(r);function r(n){XC(this,r);var o;return o=t.call(this,n),i$(Mp(o),"controlType","wrap"),i$(Mp(o),"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return r}(U);function kp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:kp(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function i5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c5(e){var t=u5();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o5(this,o)}}var l$=function(e){r5(r,e);var t=c5(r);function r(n){n5(this,r);var o;return o=t.call(this,n),c$(kp(o),"controlType","wrap"),c$(kp(o),"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return r}(Q);function Lt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}function En(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function f5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function a5(e,t){return t&&(s5(t)==="object"||typeof t=="function")?t:En(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function s5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y5(e){var t=_5();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a5(this,o)}}var jp=function(e){f5(r,e);var t=y5(r);function r(n){l5(this,r);var o;o=t.call(this,n),yr(En(o),"content",void 0),yr(En(o),"fontSize",void 0),yr(En(o),"color",void 0),yr(En(o),"icon",void 0),yr(En(o),"align",void 0),yr(En(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"page-hint";var f;o.showState=(f=n==null?void 0:n.showState)!==null&&f!==void 0?f:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var s;return o.align=(s=n==null?void 0:n.align)!==null&&s!==void 0?s:"",o}return r}(X);function f$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d5(e,t,r){return t&&a$(e.prototype,t),r&&a$(e,r),e}function s$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function v5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h5(e,t){return t&&(b5(t)==="object"||typeof t=="function")?t:f$(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function b5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m5(e){var t=g5();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h5(this,o)}}var _$=function(e){v5(r,e);var t=m5(r);function r(n){p5(this,r);var o;return o=t.call(this,n),s$(f$(o),"props",void 0),o.props=new jp(n==null?void 0:n.props),o}return d5(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(F);s$(_$,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w5(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}function P5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function $5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:y$(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function T5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E5(e){var t=S5();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R5(this,o)}}var I5=function(e){$5(r,e);var t=E5(r);function r(n){O5(this,r);var o;return o=t.call(this,n),P5(y$(o),"props",void 0),o.props=new jp(n==null?void 0:n.props),o}return w5(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(J),d$={Designer:_$,Runtime:I5,Property:jp};function Pu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function N5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M5(e,t){return t&&(A5(t)==="object"||typeof t=="function")?t:Pu(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}function A5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D5(e){var t=k5();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M5(this,o)}}var Vp=function(e){N5(r,e);var t=D5(r);function r(n){B5(this,r);var o;o=t.call(this,n),xp(Pu(o),"content",void 0),xp(Pu(o),"url",void 0),xp(Pu(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var l;return o.openMode=(l=n==null?void 0:n.openMode)!==null&&l!==void 0?l:"new",o}return r}(X);function v$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j5(e,t,r){return t&&h$(e.prototype,t),r&&h$(e,r),e}function Gp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function F5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C5(e,t){return t&&(x5(t)==="object"||typeof t=="function")?t:v$(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function x5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V5(e){var t=z5();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C5(this,o)}}var Hp=function(e){F5(r,e);var t=V5(r);function r(n){L5(this,r);var o;return o=t.call(this,n),Gp(v$(o),"props",void 0),o.props=new Vp(n==null?void 0:n.props),o}return j5(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(F);Gp(Hp,"controlEventKeys",["on_click"]),Gp(Hp,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function b$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y5(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function H5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function q5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U5(e,t){return t&&(W5(t)==="object"||typeof t=="function")?t:b$(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function W5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X5(e){var t=K5();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U5(this,o)}}var J5=function(e){q5(r,e);var t=X5(r);function r(n){G5(this,r);var o;return o=t.call(this,n),H5(b$(o),"props",void 0),o.props=new Vp(n==null?void 0:n.props),o}return Y5(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(J),m$={Designer:Hp,Runtime:J5,Property:Vp};function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function Z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:Ot(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function t6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r6(e){var t=n6();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e6(this,o)}}var Te=function(e){Z5(r,e);var t=r6(r);function r(n){Q5(this,r);var o;o=t.call(this,n),jt(Ot(o),"content",void 0),jt(Ot(o),"buttonType",void 0),jt(Ot(o),"showType",void 0),jt(Ot(o),"color",void 0),jt(Ot(o),"icon",void 0),jt(Ot(o),"defaultState",void 0),jt(Ot(o),"command",void 0),jt(Ot(o),"isLoading",void 0),jt(Ot(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";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 f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var b;return o.optObj=new gP((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(X);function O$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i6(e,t,r){return t&&w$(e.prototype,t),r&&w$(e,r),e}function Wp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function u6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c6(e,t){return t&&(l6(t)==="object"||typeof t=="function")?t:O$(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function l6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a6(e){var t=f6();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c6(this,o)}}var Se=function(e){u6(r,e);var t=a6(r);function r(n){o6(this,r);var o;return o=t.call(this,n),Wp(O$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return i6(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(F);Wp(Se,"controlEventKeys",["on_click"]),Wp(Se,"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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _6(e,t,r){return t&&$$(e.prototype,t),r&&$$(e,r),e}function y6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function p6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 d6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:P$(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function v6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b6(e){var t=h6();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d6(this,o)}}var Ge=function(e){p6(r,e);var t=b6(r);function r(n){s6(this,r);var o;return o=t.call(this,n),y6(P$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return _6(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(J),R$={Designer:Se,Runtime:Ge,Property:Te};function Ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.TitleConfigEnum=void 0,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"}(c.TitleConfigEnum||(c.TitleConfigEnum={})),c.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(c.DATE_CONFIG_TYPE||(c.DATE_CONFIG_TYPE={})),c.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(c.DATE_LIMIT_TYPE||(c.DATE_LIMIT_TYPE={}));var Bu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:xe(8),value:["",""]};Ze(this,e),E(this,"dateConfigType",void 0),E(this,"dateLimitType",void 0),E(this,"id",void 0),E(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var Nu=function e(t){Ze(this,e),E(this,"id",void 0),E(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:xe();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};c.LINE_STYLE=void 0,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"}(c.LINE_STYLE||(c.LINE_STYLE={}));var Jp=function e(t){Ze(this,e),E(this,"type",void 0),E(this,"person",void 0),E(this,"signatureType",void 0),E(this,"telephone",void 0),E(this,"company",void 0),E(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new cr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new cr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var l,f;this.company=(f=t==null?void 0:t.company)!==null&&f!==void 0?f:new cr((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},T$=function e(t){Ze(this,e);var r;E(this,"fileControl",void 0),E(this,"undersignedList",void 0),E(this,"statusControl",void 0),E(this,"completeControl",void 0),E(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(f){return new Jp(f)}))!==null&&o!==void 0?o:[new Jp];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:""},$o=function e(t){Ze(this,e),E(this,"id",void 0),E(this,"appId",void 0),E(this,"dataCode",void 0),E(this,"svcCode",void 0),E(this,"name",void 0),E(this,"fieldList",void 0),E(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:xe(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var l;this.fieldList=(l=t==null?void 0:t.fieldList)!==null&&l!==void 0?l:[];var f;this.active=(f=t==null?void 0:t.active)!==null&&f!==void 0?f:!1},Qp=function e(t){Ze(this,e),E(this,"active",void 0),E(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},S$=function e(t){Ze(this,e),E(this,"types",void 0),E(this,"history",void 0),E(this,"collaborativeRecord",void 0),E(this,"logicToDelete",void 0),E(this,"watermark",void 0),E(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Qp(t==null?void 0:t.watermark),this.autoRename=new Qp(t==null?void 0:t.autoRename)},E$=function e(t){Ze(this,e),E(this,"dataCode",void 0),this.dataCode=t.dataCode},I$=function e(t){Ze(this,e);var r;E(this,"templateType",void 0),E(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new E$(i)}))!==null&&o!==void 0?o:[]},B$=function e(t){Ze(this,e);var r;E(this,"templateType",void 0),E(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new $o(i)}))!==null&&o!==void 0?o:[new $o({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},N$=480;function Ro(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var M$=function e(t){Ze(this,e),E(this,"fileId",void 0),E(this,"fileName",void 0),E(this,"ruleName",void 0),E(this,"isDefault",void 0),E(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},A$=function e(t){Ze(this,e),E(this,"direction",void 0),E(this,"justifyContent",void 0),E(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function Zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function m6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O6(e,t){return t&&(w6(t)==="object"||typeof t=="function")?t:Zp(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function w6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $6(e){var t=P6();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O6(this,o)}}var td=function(e){m6(r,e);var t=$6(r);function r(n){g6(this,r);var o;o=t.call(this,n),k$(Zp(o),"color",void 0),k$(Zp(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:c.LINE_STYLE.SOLID,o}return r}(X);function D$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T6(e,t,r){return t&&L$(e.prototype,t),r&&L$(e,r),e}function j$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function S6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E6(e,t){return t&&(I6(t)==="object"||typeof t=="function")?t:D$(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function I6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N6(e){var t=B6();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E6(this,o)}}var F$=function(e){S6(r,e);var t=N6(r);function r(n){R6(this,r);var o;return o=t.call(this,n),j$(D$(o),"props",void 0),o.props=new td(n==null?void 0:n.props),o}return T6(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(F);j$(F$,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}]);function C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A6(e,t,r){return t&&x$(e.prototype,t),r&&x$(e,r),e}function k6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function D6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:C$(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}function j6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C6(e){var t=F6();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L6(this,o)}}var x6=function(e){D6(r,e);var t=C6(r);function r(n){M6(this,r);var o;return o=t.call(this,n),k6(C$(o),"props",void 0),o.props=new td(n==null?void 0:n.props),o}return A6(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(J),z$={Designer:F$,Runtime:x6,Property:td};function rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&od(e,t)}function z6(e,t){return t&&(V6(t)==="object"||typeof t=="function")?t:rn(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}function V6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y$(e){var t=G6();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z6(this,o)}}var Y6=function(e){G$(r,e);var t=Y$(r);function r(n){V$(this,r);var o;return o=t.call(this,n),on(rn(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),on(rn(o),"dataBind",{type:"any"}),on(rn(o),"config",{type:"array"}),n.config.includes(c.TitleConfigEnum.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 r}(ne),Lu=function(e){G$(r,e);var t=Y$(r);function r(n){V$(this,r);var o;o=t.call(this,n),on(rn(o),"dataBind",void 0),on(rn(o),"caption",void 0),on(rn(o),"config",void 0),on(rn(o),"position",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var u,l;o.caption=(l=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:pr==null?void 0:pr.controlName)!==null&&l!==void 0?l:"";var f;return o.position=(f=n==null?void 0:n.position)!==null&&f!==void 0?f:"top",o}return r}(X);on(Lu,"Rules",Y6);function H$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q6(e,t,r){return t&&q$(e.prototype,t),r&&q$(e,r),e}function id(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function U6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 W6(e,t){return t&&(K6(t)==="object"||typeof t=="function")?t:H$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function K6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J6(e){var t=X6();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W6(this,o)}}var pr=function(e){U6(r,e);var t=J6(r);function r(n){H6(this,r);var o;return o=t.call(this,n),id(H$(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return q6(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(F);id(pr,"controlFieldType",c.FieldTypes.AUTO_NUMBER),id(pr,"setting",[{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function U$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z6(e,t,r){return t&&W$(e.prototype,t),r&&W$(e,r),e}function ex(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function tx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function nx(e,t){return t&&(rx(t)==="object"||typeof t=="function")?t:U$(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ox(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ix(e){var t=ox();return function(){var n=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nx(this,o)}}var ux=function(e){tx(r,e);var t=ix(r);function r(n){Q6(this,r);var o;return o=t.call(this,n),ex(U$(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return Z6(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(J),K$={Designer:pr,Runtime:ux,Property:Lu};function Cu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function 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&&ld(e,t)}function cx(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:Cu(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}function lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q$(e){var t=fx();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cx(this,o)}}var ax=function(e){J$(r,e);var t=Q$(r);function r(n){X$(this,r);var o;return o=t.call(this,n),xu(Cu(o),"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(ne),Vu=function(e){J$(r,e);var t=Q$(r);function r(n){X$(this,r);var o;o=t.call(this,n),xu(Cu(o),"formKey",void 0),xu(Cu(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:To.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:To.controlName;var l;o.formKey=(l=n==null?void 0:n.formKey)!==null&&l!==void 0?l:"";var f;return o.openType=(f=n==null?void 0:n.openType)!==null&&f!==void 0?f:"modal",o}return r}(Te);xu(Vu,"Rules",ax);function Z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _x(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function fd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(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&&ad(e,t)}function px(e,t){return t&&(dx(t)==="object"||typeof t=="function")?t:Z$(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}function dx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hx(e){var t=vx();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return px(this,o)}}var To=function(e){yx(r,e);var t=hx(r);function r(n){sx(this,r);var o;return o=t.call(this,n),fd(Z$(o),"props",void 0),o.props=new Vu(n==null?void 0:n.props),o}return _x(r,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"}}]),r}(Se);fd(To,"controlEventKeys",["on_click","on_click_finish"]),fd(To,"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 tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gx(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function mx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function 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&&sd(e,t)}function wx(e,t){return t&&(Px(t)==="object"||typeof t=="function")?t:tR(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function Px(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rx(e){var t=$x();return function(){var n=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wx(this,o)}}var Tx=function(e){Ox(r,e);var t=Rx(r);function r(n){bx(this,r);var o;return o=t.call(this,n),mx(tR(o),"props",void 0),o.props=new Vu(n==null?void 0:n.props),o}return gx(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Ge),rR={Designer:To,Runtime:Tx,Property:Vu};function dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function 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&&_d(e,t)}function Sx(e,t){return t&&(Ex(t)==="object"||typeof t=="function")?t:dr(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function Ex(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ix(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uR(e){var t=Ix();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sx(this,o)}}var Bx=function(e){iR(r,e);var t=uR(r);function r(n){oR(this,r);var o;return o=t.call(this,n),vr(dr(o),"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return r}(ne),qu=function(e){iR(r,e);var t=uR(r);function r(n){oR(this,r);var o;o=t.call(this,n),vr(dr(o),"processKey",void 0),vr(dr(o),"initiatorMode",void 0),vr(dr(o),"fieldCode",void 0),vr(dr(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:So.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:So.controlName;var l;o.initiatorMode=(l=n==null?void 0:n.initiatorMode)!==null&&l!==void 0?l:"currentInitiator";var f;o.processKey=(f=n==null?void 0:n.processKey)!==null&&f!==void 0?f:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(Te);vr(qu,"Rules",Bx);function cR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mx(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function yd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function Ax(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kx(e,t){return t&&(Dx(t)==="object"||typeof t=="function")?t:cR(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}function Dx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jx(e){var t=Lx();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kx(this,o)}}var So=function(e){Ax(r,e);var t=jx(r);function r(n){Nx(this,r);var o;return o=t.call(this,n),yd(cR(o),"props",void 0),o.props=new qu(n==null?void 0:n.props),o}return Mx(r,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"}}]),r}(Se);yd(So,"controlEventKeys",["on_click","on_click_finish"]),yd(So,"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 fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cx(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function xx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function zx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function Vx(e,t){return t&&(Gx(t)==="object"||typeof t=="function")?t:fR(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}function Gx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hx(e){var t=Yx();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vx(this,o)}}var qx=function(e){zx(r,e);var t=Hx(r);function r(n){Fx(this,r);var o;return o=t.call(this,n),xx(fR(o),"props",void 0),o.props=new qu(n==null?void 0:n.props),o}return Cx(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Ge),sR={Designer:So,Runtime:qx,Property:qu};function Ux(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function Kx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function Xx(e,t){return t&&(Jx(t)==="object"||typeof t=="function")?t:Ux(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function Jx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zx(e){var t=Qx();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xx(this,o)}}var hd=function(e){Kx(r,e);var t=Zx(r);function r(n){Wx(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Eo.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Eo.controlIcon,o}return r}(Te);function _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tz(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function bd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function 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&&gd(e,t)}function rz(e,t){return t&&(oz(t)==="object"||typeof t=="function")?t:_R(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function oz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uz(e){var t=iz();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rz(this,o)}}var Eo=function(e){nz(r,e);var t=uz(r);function r(n){ez(this,r);var o;return o=t.call(this,n),bd(_R(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return tz(r,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"}}]),r}(Se);bd(Eo,"controlEventKeys",["on_click"]),bd(Eo,"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 pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lz(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function fz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function 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&&md(e,t)}function sz(e,t){return t&&(_z(t)==="object"||typeof t=="function")?t:pR(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function _z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pz(e){var t=yz();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sz(this,o)}}var dz=function(e){az(r,e);var t=pz(r);function r(n){cz(this,r);var o;return o=t.call(this,n),fz(pR(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return lz(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Ge),vR={Designer:Eo,Runtime:dz,Property:hd};function Od(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function hz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function bz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:Od(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}function gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oz(e){var t=mz();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bz(this,o)}}var Pd=function(e){hz(r,e);var t=Oz(r);function r(n){vz(this,r);var o,i;o=t.call(this,n),hR(Od(o),"templateList",void 0),hR(Od(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Io.controlIcon;var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:Io.controlName;var f;o.templateType=(f=n==null?void 0:n.templateType)!==null&&f!==void 0?f:"system";var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(s){return new $o(s)}))!==null&&a!==void 0?a:[new $o({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Te);function bR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pz(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function $d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&Rd(e,t)}function Rz(e,t){return t&&(Tz(t)==="object"||typeof t=="function")?t:bR(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function Tz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ez(e){var t=Sz();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rz(this,o)}}var Io=function(e){$z(r,e);var t=Ez(r);function r(n){wz(this,r);var o;return o=t.call(this,n),$d(bR(o),"props",void 0),o.props=new Pd(n==null?void 0:n.props),o}return Pz(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Se);$d(Io,"controlEventKeys",["on_click","on_click_finish"]),$d(Io,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function mR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bz(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function Nz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function 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&&Td(e,t)}function Az(e,t){return t&&(kz(t)==="object"||typeof t=="function")?t:mR(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function kz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lz(e){var t=Dz();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Az(this,o)}}var jz=function(e){Mz(r,e);var t=Lz(r);function r(n){Iz(this,r);var o;return o=t.call(this,n),Nz(mR(o),"props",void 0),o.props=new Pd(n==null?void 0:n.props),o}return Bz(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Ge),wR={Designer:Io,Runtime:jz,Property:Pd};function Fz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function xz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function zz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:Fz(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function Vz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yz(e){var t=Gz();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zz(this,o)}}var Ed=function(e){xz(r,e);var t=Yz(r);function r(n){Cz(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Bo.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Bo.controlIcon,o}return r}(Te);function PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qz(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Id(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function Uz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function Wz(e,t){return t&&(Kz(t)==="object"||typeof t=="function")?t:PR(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function Kz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jz(e){var t=Xz();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wz(this,o)}}var Bo=function(e){Uz(r,e);var t=Jz(r);function r(n){Hz(this,r);var o;return o=t.call(this,n),Id(PR(o),"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return qz(r,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"}}]),r}(Se);Id(Bo,"controlEventKeys",["on_click"]),Id(Bo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function RR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zz(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function e7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function t7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function n7(e,t){return t&&(r7(t)==="object"||typeof t=="function")?t:RR(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}function r7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i7(e){var t=o7();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n7(this,o)}}var u7=function(e){t7(r,e);var t=i7(r);function r(n){Qz(this,r);var o;return o=t.call(this,n),e7(RR(o),"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return Zz(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Ge),SR={Designer:Bo,Runtime:u7,Property:Ed};function Md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ER(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ad(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function c7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l7(e,t){return t&&(f7(t)==="object"||typeof t=="function")?t:Md(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function f7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s7(e){var t=a7();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l7(this,o)}}var _7=function e(t){ER(this,e),Ad(this,"dataCode",void 0),this.dataCode=t.dataCode},Dd=function(e){c7(r,e);var t=s7(r);function r(n){ER(this,r);var o,i;o=t.call(this,n),Ad(Md(o),"canImportList",void 0),Ad(Md(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:No.controlName;var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:No.controlIcon;var f;o.canImportList=(f=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new _7(s)}))!==null&&f!==void 0?f:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return r}(Te);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p7(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function Ld(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function d7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function v7(e,t){return t&&(h7(t)==="object"||typeof t=="function")?t:IR(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function h7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g7(e){var t=b7();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v7(this,o)}}var No=function(e){d7(r,e);var t=g7(r);function r(n){y7(this,r);var o;return o=t.call(this,n),Ld(IR(o),"props",void 0),o.props=new Dd(n==null?void 0:n.props),o}return p7(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Se);Ld(No,"controlEventKeys",["on_click","on_click_finish"]),Ld(No,"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 NR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O7(e,t,r){return t&&MR(e.prototype,t),r&&MR(e,r),e}function w7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function P7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $7(e,t){return t&&(R7(t)==="object"||typeof t=="function")?t:NR(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function R7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S7(e){var t=T7();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $7(this,o)}}var E7=function(e){P7(r,e);var t=S7(r);function r(n){m7(this,r);var o;return o=t.call(this,n),w7(NR(o),"props",void 0),o.props=new Dd(n==null?void 0:n.props),o}return O7(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Ge),AR={Designer:No,Runtime:E7,Property:Dd};function cc(){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 un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function DR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function LR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ft(e,o,r[o])})}return e}function I7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:un(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function B7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jR(e){var t=N7();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I7(this,o)}}var M7=function(e){DR(r,e);var t=jR(r);function r(n){kR(this,r);var o;return o=t.call(this,n),Ft(un(o),"fillPayload",{type:"object",fields:LR({},cc())}),Ft(un(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),Ft(un(o),"fillBack",{type:"object",fields:LR({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},cc())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return r}(ne),fc=function(e){DR(r,e);var t=jR(r);function r(n){kR(this,r);var o;o=t.call(this,n),Ft(un(o),"fillPayload",void 0),Ft(un(o),"formBind",void 0),Ft(un(o),"fillBack",void 0),Ft(un(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Mo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Mo.controlIcon;var l;return o.command=(l=n==null?void 0:n.command)!==null&&l!==void 0?l:"create",o.fillPayload=new xy(n==null?void 0:n.fillPayload),o.formBind=new Zw(n==null?void 0:n.formBind),o.fillBack=new zy(n==null?void 0:n.fillBack),o}return r}(Te);Ft(fc,"Rules",M7);function FR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k7(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function xd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function D7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function L7(e,t){return t&&(j7(t)==="object"||typeof t=="function")?t:FR(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function j7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C7(e){var t=F7();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L7(this,o)}}var Mo=function(e){D7(r,e);var t=C7(r);function r(n){A7(this,r);var o;return o=t.call(this,n),xd(FR(o),"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return k7(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Se);xd(Mo,"controlEventKeys",["on_click","on_click_finish"]),xd(Mo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function xR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z7(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function V7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function G7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function Y7(e,t){return t&&(H7(t)==="object"||typeof t=="function")?t:xR(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function H7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U7(e){var t=q7();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y7(this,o)}}var W7=function(e){G7(r,e);var t=U7(r);function r(n){x7(this,r);var o;return o=t.call(this,n),V7(xR(o),"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return z7(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Ge),VR={Designer:Mo,Runtime:W7,Property:fc};function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function YR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){wt(e,o,r[o])})}return e}function K7(e,t){return t&&(X7(t)==="object"||typeof t=="function")?t:Ct(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function X7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qR(e){var t=J7();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K7(this,o)}}var Q7=function(e){YR(r,e);var t=qR(r);function r(n){GR(this,r);var o;return o=t.call(this,n),wt(Ct(o),"fillPayload",{type:"object",fields:HR({},cc())}),wt(Ct(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),wt(Ct(o),"fillBack",{type:"object",fields:HR({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},cc())}),o}return r}(ne),yc=function(e){YR(r,e);var t=qR(r);function r(n){GR(this,r);var o;o=t.call(this,n),wt(Ct(o),"fillPayload",void 0),wt(Ct(o),"listPageBind",void 0),wt(Ct(o),"fillBack",void 0),wt(Ct(o),"showSelectedDetail",void 0),wt(Ct(o),"selectedContentConfig",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,o.fillPayload=new xy(n==null?void 0:n.fillPayload),o.listPageBind=new Ci(n==null?void 0:n.listPageBind),o.fillBack=new zy(n==null?void 0:n.fillBack);var l;return o.showSelectedDetail=(l=n==null?void 0:n.showSelectedDetail)!==null&&l!==void 0?l:!1,o.selectedContentConfig=new Vi(n==null?void 0:n.selectedContentConfig),o}return r}(Te);wt(yc,"Rules",Q7);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e8(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function Yd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function 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&&Hd(e,t)}function n8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:UR(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function r8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i8(e){var t=o8();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n8(this,o)}}var Ao=function(e){t8(r,e);var t=i8(r);function r(n){Z7(this,r);var o;return o=t.call(this,n),Yd(UR(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return e8(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Se);Yd(Ao,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Yd(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:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function KR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c8(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function l8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function f8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function a8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:KR(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function s8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y8(e){var t=_8();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a8(this,o)}}var p8=function(e){f8(r,e);var t=y8(r);function r(n){u8(this,r);var o;return o=t.call(this,n),l8(KR(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return c8(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Ge),JR={Designer:Ao,Runtime:p8,Property:yc};function d8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ud(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function Wd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function v8(e,t){return t&&(h8(t)==="object"||typeof t=="function")?t:d8(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function h8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xd(e){var t=b8();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v8(this,o)}}var g8=function(e){Wd(r,e);var t=Xd(r);function r(n){return Ud(this,r),t.call(this,n)}return r}(ne),m8=function(e){Wd(r,e);var t=Xd(r);function r(n){return Ud(this,r),t.call(this,n)}return r}(Qt),ko=function(e){Wd(r,e);var t=Xd(r);function r(n){return Ud(this,r),t.call(this,n)}return r}(X);QR(ko,"Rules",g8),QR(ko,"RuntimeRules",m8);function ZR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w8(e,t,r){return t&&eT(e.prototype,t),r&&eT(e,r),e}function tT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function P8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $8(e,t){return t&&(R8(t)==="object"||typeof t=="function")?t:ZR(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function R8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S8(e){var t=T8();return function(){var n=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $8(this,o)}}var nT=function(e){P8(r,e);var t=S8(r);function r(n){O8(this,r);var o;return o=t.call(this,n),tT(ZR(o),"props",void 0),o.props=new ko(n==null?void 0:n.props),o}return w8(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(F);tT(nT,"setting",[]);function rT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I8(e,t,r){return t&&oT(e.prototype,t),r&&oT(e,r),e}function B8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function 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&&Qd(e,t)}function M8(e,t){return t&&(A8(t)==="object"||typeof t=="function")?t:rT(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function A8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D8(e){var t=k8();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M8(this,o)}}var L8=function(e){N8(r,e);var t=D8(r);function r(n){E8(this,r);var o;return o=t.call(this,n),B8(rT(o),"props",void 0),o.props=new ko(n==null?void 0:n.props),o}return I8(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(J),iT={Designer:nT,Runtime:L8,Property:ko};function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function cT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function j8(e,t){return t&&(F8(t)==="object"||typeof t=="function")?t:et(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function F8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lT(e){var t=C8();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j8(this,o)}}var x8=function(e){cT(r,e);var t=lT(r);function r(n){uT(this,r);var o;return o=t.call(this,n),tt(et(o),"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),tt(et(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),tt(et(o),"isHideCaption",{type:"boolean"}),tt(et(o),"labelPosition",{type:"enum",enum:["top","left"]}),tt(et(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),mc=function(e){cT(r,e);var t=lT(r);function r(n){uT(this,r);var o;o=t.call(this,n),tt(et(o),"dashboardKey",void 0),tt(et(o),"caption",void 0),tt(et(o),"isHideCaption",void 0),tt(et(o),"isShowCaptionTip",void 0),tt(et(o),"captionTip",void 0),tt(et(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(X);tt(mc,"Rules",x8);function fT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V8(e,t,r){return t&&aT(e.prototype,t),r&&aT(e,r),e}function sT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function G8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Y8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:fT(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function H8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U8(e){var t=q8();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y8(this,o)}}var _T=function(e){G8(r,e);var t=U8(r);function r(n){z8(this,r);var o;return o=t.call(this,n),sT(fT(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return V8(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(F);sT(_T,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K8(e,t,r){return t&&pT(e.prototype,t),r&&pT(e,r),e}function X8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function J8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function Q8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:yT(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function Z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tV(e){var t=eV();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q8(this,o)}}var nV=function(e){J8(r,e);var t=tV(r);function r(n){W8(this,r);var o;return o=t.call(this,n),X8(yT(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return K8(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(J),dT={Designer:_T,Runtime:nV,Property:mc};function Do(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function hT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function rV(e,t){return t&&(oV(t)==="object"||typeof t=="function")?t:Do(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function oV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bT(e){var t=iV();return function(){var n=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rV(this,o)}}var uV=function(e){hT(r,e);var t=bT(r);function r(n){vT(this,r);var o;return o=t.call(this,n),Lo(Do(o),"showType",{type:"enum",enum:["select","tabs"]}),Lo(Do(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 r}(ne),$c=function(e){hT(r,e);var t=bT(r);function r(n){vT(this,r);var o,i;o=t.call(this,n),Lo(Do(o),"showType",void 0),Lo(Do(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var l;return o.viewList=(l=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(f){return new hP(f)}))!==null&&l!==void 0?l:[],o}return r}(X);Lo($c,"Rules",uV);function gT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lV(e,t,r){return t&&mT(e.prototype,t),r&&mT(e,r),e}function OT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function fV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function aV(e,t){return t&&(sV(t)==="object"||typeof t=="function")?t:gT(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function sV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yV(e){var t=_V();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aV(this,o)}}var wT=function(e){fV(r,e);var t=yV(r);function r(n){cV(this,r);var o;return o=t.call(this,n),OT(gT(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return lV(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(F);OT(wT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function PT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dV(e,t,r){return t&&$T(e.prototype,t),r&&$T(e,r),e}function vV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function hV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function bV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:PT(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function gV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OV(e){var t=mV();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bV(this,o)}}var wV=function(e){hV(r,e);var t=OV(r);function r(n){pV(this,r);var o;return o=t.call(this,n),vV(PT(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return dV(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(J),RT={Designer:wT,Runtime:wV,Property:$c};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&iv(e,t)}function PV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:Ae(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function $V(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ET(e){var t=RV();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PV(this,o)}}var TV=function(e){ST(r,e);var t=ET(r);function r(n){TT(this,r);var o;return o=t.call(this,n),ke(Ae(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ke(Ae(o),"isHideCaption",{type:"boolean"}),ke(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),ke(Ae(o),"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),ke(Ae(o),"fillList",{type:"array",validator:function(u,l,f){var a=l.every(function(s){return!s.controlId});if(a){f(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}f()}}),ke(Ae(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),Ec=function(e){ST(r,e);var t=ET(r);function r(n){TT(this,r);var o,i;o=t.call(this,n),ke(Ae(o),"caption",void 0),ke(Ae(o),"isHideCaption",void 0),ke(Ae(o),"isShowCaptionTip",void 0),ke(Ae(o),"captionTip",void 0),ke(Ae(o),"labelPosition",void 0),ke(Ae(o),"ocrType",void 0),ke(Ae(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:hr.controlName;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:hr.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:hr.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var g;return o.fillList=(g=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new Re(h)}))!==null&&g!==void 0?g:[],o}return r}(Te);ke(Ec,"Rules",TV);function IT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EV(e,t,r){return t&&BT(e.prototype,t),r&&BT(e,r),e}function uv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function IV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function BV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:IT(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function NV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AV(e){var t=MV();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BV(this,o)}}var hr=function(e){IV(r,e);var t=AV(r);function r(n){SV(this,r);var o;return o=t.call(this,n),uv(IT(o),"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return EV(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Se);uv(hr,"controlEventKeys",["on_click","on_click_finish"]),uv(hr,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function NT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DV(e,t,r){return t&&MT(e.prototype,t),r&&MT(e,r),e}function LV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function 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&&lv(e,t)}function FV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:NT(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function CV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zV(e){var t=xV();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FV(this,o)}}var VV=function(e){jV(r,e);var t=zV(r);function r(n){kV(this,r);var o;return o=t.call(this,n),LV(NT(o),"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return DV(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Ge),AT={Designer:hr,Runtime:VV,Property:Ec};function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function DT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function GV(e,t){return t&&(YV(t)==="object"||typeof t=="function")?t:De(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function YV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LT(e){var t=HV();return function(){var n=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GV(this,o)}}var qV=function(e){DT(r,e);var t=LT(r);function r(n){kT(this,r);var o;return o=t.call(this,n),Le(De(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Le(De(o),"isHideCaption",{type:"boolean"}),Le(De(o),"labelPosition",{type:"enum",enum:["top","left"]}),Le(De(o),"invoiceCheck",{type:"boolean"}),Le(De(o),"fillList",{type:"array",validator:function(u,l,f){var a=l.every(function(s){return!s.controlId});if(a){f(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}f()}}),Le(De(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),Mc=function(e){DT(r,e);var t=LT(r);function r(n){kT(this,r);var o,i;o=t.call(this,n),Le(De(o),"caption",void 0),Le(De(o),"isHideCaption",void 0),Le(De(o),"isShowCaptionTip",void 0),Le(De(o),"captionTip",void 0),Le(De(o),"labelPosition",void 0),Le(De(o),"invoiceCheck",void 0),Le(De(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:br.controlName;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:br.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:br.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var g;return o.fillList=(g=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new Re(h)}))!==null&&g!==void 0?g:[],o}return r}(Te);Le(Mc,"Rules",qV);function jT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WV(e,t,r){return t&&FT(e.prototype,t),r&&FT(e,r),e}function av(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function 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&&sv(e,t)}function XV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:jT(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}function JV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZV(e){var t=QV();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XV(this,o)}}var br=function(e){KV(r,e);var t=ZV(r);function r(n){UV(this,r);var o;return o=t.call(this,n),av(jT(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return WV(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Se);av(br,"controlEventKeys",["on_click","on_click_finish"]),av(br,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function CT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t9(e,t,r){return t&&xT(e.prototype,t),r&&xT(e,r),e}function n9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function o9(e,t){return t&&(i9(t)==="object"||typeof t=="function")?t:CT(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function i9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c9(e){var t=u9();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o9(this,o)}}var l9=function(e){r9(r,e);var t=c9(r);function r(n){e9(this,r);var o;return o=t.call(this,n),n9(CT(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return t9(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Ge),zT={Designer:br,Runtime:l9,Property:Mc};function Dc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function GT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:Dc(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function a9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YT(e){var t=s9();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f9(this,o)}}var _9=function(e){GT(r,e);var t=YT(r);function r(){VT(this,r);var n;return n=t.apply(this,arguments),Lc(Dc(n),"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(ne),Fc=function(e){GT(r,e);var t=YT(r);function r(n){VT(this,r);var o,i;o=t.call(this,n),Lc(Dc(o),"printTemplates",void 0),Lc(Dc(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:jo.controlIcon;var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:jo.controlName;var f;o.printTemplates=(f=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new M$(s)}))!==null&&f!==void 0?f:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}(Te);Lc(Fc,"Rules",_9);function HT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p9(e,t,r){return t&&qT(e.prototype,t),r&&qT(e,r),e}function pv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function d9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function v9(e,t){return t&&(h9(t)==="object"||typeof t=="function")?t:HT(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function h9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g9(e){var t=b9();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v9(this,o)}}var jo=function(e){d9(r,e);var t=g9(r);function r(n){y9(this,r);var o;return o=t.call(this,n),pv(HT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return p9(r,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"}}]),r}(Se);pv(jo,"controlEventKeys",["on_click","on_click_finish"]),pv(jo,"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 UT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O9(e,t,r){return t&&WT(e.prototype,t),r&&WT(e,r),e}function w9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function P9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $9(e,t){return t&&(R9(t)==="object"||typeof t=="function")?t:UT(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function R9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S9(e){var t=T9();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $9(this,o)}}var E9=function(e){P9(r,e);var t=S9(r);function r(n){m9(this,r);var o;return o=t.call(this,n),w9(UT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return O9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Ge),KT={Designer:jo,Runtime:E9,Property:Fc};function I9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function N9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:I9(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}function A9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D9(e){var t=k9();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M9(this,o)}}var bv=function(e){N9(r,e);var t=D9(r);function r(n){B9(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Fo.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Fo.controlIcon,o}return r}(Te);function XT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j9(e,t,r){return t&&JT(e.prototype,t),r&&JT(e,r),e}function gv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function F9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function C9(e,t){return t&&(x9(t)==="object"||typeof t=="function")?t:XT(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function x9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V9(e){var t=z9();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C9(this,o)}}var Fo=function(e){F9(r,e);var t=V9(r);function r(n){L9(this,r);var o;return o=t.call(this,n),gv(XT(o),"props",void 0),o.props=new bv(n==null?void 0:n.props),o}return j9(r,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"}}]),r}(Se);gv(Fo,"controlEventKeys",["on_click"]),gv(Fo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function QT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y9(e,t,r){return t&&ZT(e.prototype,t),r&&ZT(e,r),e}function H9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function q9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U9(e,t){return t&&(W9(t)==="object"||typeof t=="function")?t:QT(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function W9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X9(e){var t=K9();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U9(this,o)}}var J9=function(e){q9(r,e);var t=X9(r);function r(n){G9(this,r);var o;return o=t.call(this,n),H9(QT(o),"props",void 0),o.props=new bv(n==null?void 0:n.props),o}return Y9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Ge),eS={Designer:Fo,Runtime:J9,Property:bv};function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function nS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function Q9(e,t){return t&&(Z9(t)==="object"||typeof t=="function")?t:Ee(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function Z9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rS(e){var t=eG();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q9(this,o)}}var tG=function(e){nS(r,e);var t=rS(r);function r(n){tS(this,r);var o;return o=t.call(this,n),Ie(Ee(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(ne),Hc=function(e){nS(r,e);var t=rS(r);function r(n){tS(this,r);var o;o=t.call(this,n),Ie(Ee(o),"content",void 0),Ie(Ee(o),"code",void 0),Ie(Ee(o),"command",void 0),Ie(Ee(o),"color",void 0),Ie(Ee(o),"icon",void 0),Ie(Ee(o),"formKey",void 0),Ie(Ee(o),"openType",void 0),Ie(Ee(o),"needConfirm",void 0),Ie(Ee(o),"confirmMessage",void 0),Ie(Ee(o),"options",void 0),Ie(Ee(o),"defaultState",void 0),Ie(Ee(o),"priorityProcess",void 0),Ie(Ee(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"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 f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return r}(X);Ie(Hc,"Rules",tG);function oS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rG(e,t,r){return t&&iS(e.prototype,t),r&&iS(e,r),e}function Pv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function oG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function iG(e,t){return t&&(uG(t)==="object"||typeof t=="function")?t:oS(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function uG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lG(e){var t=cG();return function(){var n=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iG(this,o)}}var Uc=function(e){oG(r,e);var t=lG(r);function r(n){nG(this,r);var o;return o=t.call(this,n),Pv(oS(o),"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return rG(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(F);Pv(Uc,"controlEventKeys",["on_click"]),Pv(Uc,"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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function uS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aG(e,t,r){return t&&cS(e.prototype,t),r&&cS(e,r),e}function sG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&Rv(e,t)}function yG(e,t){return t&&(pG(t)==="object"||typeof t=="function")?t:uS(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function pG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vG(e){var t=dG();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yG(this,o)}}var hG=function(e){_G(r,e);var t=vG(r);function r(n){fG(this,r);var o;return o=t.call(this,n),sG(uS(o),"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return aG(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(J),Co={Designer:Uc,Runtime:hG,Property:Hc};function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&Tv(e,t)}function mG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:xt(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function OG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PG(e){var t=wG();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mG(this,o)}}var Sv=function(e){gG(r,e);var t=PG(r);function r(n){bG(this,r);var o;o=t.call(this,n),cn(xt(o),"content",void 0),cn(xt(o),"buttonType",void 0),cn(xt(o),"showType",void 0),cn(xt(o),"color",void 0),cn(xt(o),"icon",void 0),cn(xt(o),"defaultState",void 0),cn(xt(o),"command",void 0),cn(xt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:xo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:xo.controlIcon;var l;o.buttonType=(l=n==null?void 0:n.buttonType)!==null&&l!==void 0?l:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(X);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RG(e,t,r){return t&&fS(e.prototype,t),r&&fS(e,r),e}function Ev(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function TG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function SG(e,t){return t&&(EG(t)==="object"||typeof t=="function")?t:lS(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}function EG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BG(e){var t=IG();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SG(this,o)}}var xo=function(e){TG(r,e);var t=BG(r);function r(n){$G(this,r);var o;return o=t.call(this,n),Ev(lS(o),"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return RG(r,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"}}]),r}(F);Ev(xo,"controlEventKeys",["on_click"]),Ev(xo,"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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function aS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MG(e,t,r){return t&&sS(e.prototype,t),r&&sS(e,r),e}function AG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function kG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function DG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:aS(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function LG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FG(e){var t=jG();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DG(this,o)}}var CG=function(e){kG(r,e);var t=FG(r);function r(n){NG(this,r);var o;return o=t.call(this,n),AG(aS(o),"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return MG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(J),_S={Designer:xo,Runtime:CG,Property:Sv},xG=Object.freeze({__proto__:null,Text:d$,Link:m$,Button:R$,Divider:z$,Title:K$,CreateFormListButton:rR,BatchSubmissionListButton:sR,SubmissionRecordListButton:vR,ExportListButton:wR,ExportRecordListButton:SR,ImportRecordListButton:AR,FormSelectButton:VR,ListSelectButton:JR,Pagination:iT,Dashboard:dT,ListViewSelect:RT,TextOcrButton:AT,InvoiceCheckButton:zT,BatchPrintListButton:KT,BatchPrintRecordListButton:eS,OperationButton:Co,BatchDeleteButton:_S});function Pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function Mv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function zG(e,t){return t&&(VG(t)==="object"||typeof t=="function")?t:Pt(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function VG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kv(e){var t=GG();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zG(this,o)}}var YG=function(e){Mv(r,e);var t=kv(r);function r(n){Nv(this,r);var o;return o=t.call(this,n),lt(Pt(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),lt(Pt(o),"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),lt(Pt(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=Ro(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ae),HG=function(e){Mv(r,e);var t=kv(r);function r(n){Nv(this,r);var o;return o=t.call(this,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:Ro(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(V),gr=function(e){Mv(r,e);var t=kv(r);function r(n){Nv(this,r);var o;o=t.call(this,n),lt(Pt(o),"maxLength",void 0),lt(Pt(o),"minLength",void 0),lt(Pt(o),"regularRules",void 0),lt(Pt(o),"defaultValue",void 0),lt(Pt(o),"encrypted",void 0),lt(Pt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new Vy(n==null?void 0:n.regularRules);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:mr.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(M);lt(gr,"Rules",YG),lt(gr,"RuntimeRules",HG);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UG(e,t,r){return t&&pS(e.prototype,t),r&&pS(e,r),e}function Zc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function WG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function KG(e,t){return t&&(XG(t)==="object"||typeof t=="function")?t:yS(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function XG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QG(e){var t=JG();return function(){var n=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KG(this,o)}}var mr=function(e){WG(r,e);var t=QG(r);function r(n){qG(this,r);var o;return o=t.call(this,n),Zc(yS(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return UG(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(A);Zc(mr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Zc(mr,"controlFieldType",c.FieldTypes.VARCHAR),Zc(mr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.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 dS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eY(e,t,r){return t&&vS(e.prototype,t),r&&vS(e,r),e}function hS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function 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&&Lv(e,t)}function nY(e,t){return t&&(rY(t)==="object"||typeof t=="function")?t:dS(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function rY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iY(e){var t=oY();return function(){var n=tl(e),o;if(t){var i=tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nY(this,o)}}var bS=function(e){tY(r,e);var t=iY(r);function r(n){ZG(this,r);var o;return o=t.call(this,n),hS(dS(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return eY(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(k);hS(bS,"controlFieldType",c.FieldTypes.VARCHAR);var gS={Designer:mr,Runtime:bS,Property:gr};function me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function Fv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function uY(e,t){return t&&(cY(t)==="object"||typeof t=="function")?t:me(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}function cY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xv(e){var t=lY();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uY(this,o)}}var fY=function(e){Fv(r,e);var t=xv(r);function r(n){jv(this,r);var o;o=t.call(this,n),_e(me(o),"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(l){return l==="unlimited"?void 0:l};return o.limitMax.min=u(n.limitMin),o}return r}(Tn),aY=function(e){Fv(r,e);var t=xv(r);function r(n){jv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(V),zo=function(e){Fv(r,e);var t=xv(r);function r(n){jv(this,r);var o;o=t.call(this,n),_e(me(o),"checkboxMode",void 0),_e(me(o),"options",void 0),_e(me(o),"optionsOrder",void 0),_e(me(o),"limitMax",void 0),_e(me(o),"limitMin",void 0),_e(me(o),"otherOption",void 0),_e(me(o),"optionConfig",void 0),_e(me(o),"optionsFormat",void 0),_e(me(o),"defaultShowOptions",void 0),_e(me(o),"datasourceBind",void 0),_e(me(o),"multistageFilling",void 0),_e(me(o),"interreaction",void 0),_e(me(o),"defaultValue",void 0),_e(me(o),"openMultistageFilling",void 0);var i;o.options=gt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom";var f;o.optionsOrder=(f=n==null?void 0:n.optionsOrder)!==null&&f!==void 0?f:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Vo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[];var h;o.optionsFormat=(h=n==null?void 0:n.optionsFormat)!==null&&h!==void 0?h:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Re(O))})),o}return r}(M);_e(zo,"Rules",fY),_e(zo,"RuntimeRules",aY);function mS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _Y(e,t,r){return t&&OS(e.prototype,t),r&&OS(e,r),e}function rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function 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&&zv(e,t)}function pY(e,t){return t&&(dY(t)==="object"||typeof t=="function")?t:mS(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function dY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hY(e){var t=vY();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pY(this,o)}}var Vo=function(e){yY(r,e);var t=hY(r);function r(n){sY(this,r);var o;return o=t.call(this,n),rl(mS(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return _Y(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(A);rl(Vo,"controlEventKeys",["on_change","on_click"]),rl(Vo,"controlFieldType",c.FieldTypes.ARRAY),rl(Vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 wS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gY(e,t,r){return t&&PS(e.prototype,t),r&&PS(e,r),e}function $S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function mY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function OY(e,t){return t&&(wY(t)==="object"||typeof t=="function")?t:wS(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}function wY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $Y(e){var t=PY();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OY(this,o)}}var RS=function(e){mY(r,e);var t=$Y(r);function r(n){bY(this,r);var o;return o=t.call(this,n),$S(wS(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return gY(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(k);$S(RS,"controlFieldType",c.FieldTypes.ARRAY);var TS={Designer:Vo,Runtime:RS,Property:zo};function Ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function ES(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RY(e,t){return t&&(TY(t)==="object"||typeof t=="function")?t:Ye(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function TY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IS(e){var t=SY();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RY(this,o)}}var EY=function(e){ES(r,e);var t=IS(r);function r(n){return SS(this,r),t.call(this,n)}return r}(Tn),cl=function(e){ES(r,e);var t=IS(r);function r(n){SS(this,r);var o;o=t.call(this,n),He(Ye(o),"radioMode",void 0),He(Ye(o),"options",void 0),He(Ye(o),"optionConfig",void 0),He(Ye(o),"optionsFormat",void 0),He(Ye(o),"defaultShowOptions",void 0),He(Ye(o),"otherOption",void 0),He(Ye(o),"optionsOrder",void 0),He(Ye(o),"datasourceBind",void 0),He(Ye(o),"multistageFilling",void 0),He(Ye(o),"interreaction",void 0),He(Ye(o),"defaultValue",void 0),He(Ye(o),"openMultistageFilling",void 0);var i;o.options=gt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom";var f;o.otherOption=(f=n==null?void 0:n.otherOption)!==null&&f!==void 0?f:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Go.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"";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(m){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Re(m))})),o}return r}(M);He(cl,"Rules",EY);function BS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BY(e,t,r){return t&&NS(e.prototype,t),r&&NS(e,r),e}function ll(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function NY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MY(e,t){return t&&(AY(t)==="object"||typeof t=="function")?t:BS(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function AY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DY(e){var t=kY();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MY(this,o)}}var Go=function(e){NY(r,e);var t=DY(r);function r(n){IY(this,r);var o;return o=t.call(this,n),ll(BS(o),"props",void 0),o.props=new cl(n==null?void 0:n.props),o}return BY(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(A);ll(Go,"controlEventKeys",["on_change","on_click"]),ll(Go,"controlFieldType",c.FieldTypes.VARCHAR),ll(Go,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function MS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jY(e,t,r){return t&&AS(e.prototype,t),r&&AS(e,r),e}function kS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function FY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function CY(e,t){return t&&(xY(t)==="object"||typeof t=="function")?t:MS(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function xY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VY(e){var t=zY();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CY(this,o)}}var DS=function(e){FY(r,e);var t=VY(r);function r(n){LY(this,r);var o;return o=t.call(this,n),kS(MS(o),"props",void 0),o.props=new cl(n==null?void 0:n.props),o}return jY(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(k);kS(DS,"controlFieldType",c.FieldTypes.VARCHAR);var LS={Designer:Go,Runtime:DS,Property:cl};function Be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(e)}function 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&&Wv(e,t)}function GY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:Be(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function YY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kv(e){var t=HY();return function(){var n=sl(e),o;if(t){var i=sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GY(this,o)}}var qY=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;o=t.call(this,n),Oe(Be(o),"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Oe(Be(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Ro(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ae),UY=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ro(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(V),Yo=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;o=t.call(this,n),Oe(Be(o),"rangeMin",void 0),Oe(Be(o),"rangeMax",void 0),Oe(Be(o),"numberType",void 0),Oe(Be(o),"percentageFormat",void 0),Oe(Be(o),"micrometer",void 0),Oe(Be(o),"precision",void 0),Oe(Be(o),"showUpperCase",void 0),Oe(Be(o),"isShowUnit",void 0),Oe(Be(o),"unitPosition",void 0),Oe(Be(o),"unit",void 0),Oe(Be(o),"defaultValue",void 0),Oe(Be(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var l;o.numberType=(l=n==null?void 0:n.numberType)!==null&&l!==void 0?l:"number";var f;o.percentageFormat=(f=n==null?void 0:n.percentageFormat)!==null&&f!==void 0?f:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var g;o.unit=(g=n==null?void 0:n.unit)!==null&&g!==void 0?g:"";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Ho.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new Vy(n==null?void 0:n.regularRules),o}return r}(M);Oe(Yo,"Rules",qY),Oe(Yo,"RuntimeRules",UY);function jS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KY(e,t,r){return t&&FS(e.prototype,t),r&&FS(e,r),e}function _l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yl=Reflect.get:yl=function(o,i,u){var l=QY(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},yl(e,t,r||e)}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(e)}function XY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function JY(e,t){return t&&(ZY(t)==="object"||typeof t=="function")?t:jS(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function QY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Or(e),e!==null););return e}function ZY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tH(e){var t=eH();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JY(this,o)}}var Ho=function(e){XY(r,e);var t=tH(r);function r(n){WY(this,r);var o;return o=t.call(this,n),_l(jS(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return KY(r,[{key:"toDataBindModel",value:function(o){var i=yl(Or(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(A);_l(Ho,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),_l(Ho,"controlFieldType",c.FieldTypes.DECIMAL),_l(Ho,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_UNIT,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function CS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rH(e,t,r){return t&&xS(e.prototype,t),r&&xS(e,r),e}function zS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function oH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:CS(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lH(e){var t=cH();return function(){var n=pl(e),o;if(t){var i=pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iH(this,o)}}var VS=function(e){oH(r,e);var t=lH(r);function r(n){nH(this,r);var o;return o=t.call(this,n),zS(CS(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return rH(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(k);zS(VS,"controlFieldType",c.FieldTypes.DECIMAL);var GS={Designer:Ho,Runtime:VS,Property:Yo};function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function aH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function sH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:zt(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function _H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pH(e){var t=yH();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sH(this,o)}}var Zv=function(e){aH(r,e);var t=pH(r);function r(n){fH(this,r);var o,i;o=t.call(this,n),ln(zt(o),"dateType",void 0),ln(zt(o),"dateFormat",void 0),ln(zt(o),"commonTimeSetting",void 0),ln(zt(o),"setValueType",void 0),ln(zt(o),"defaultValue",void 0),ln(zt(o),"limitDateList",void 0),ln(zt(o),"allowDateRange",void 0),ln(zt(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:hl.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Bu(m)}))!==null&&b!==void 0?b:[];var g;o.allowDateRange=(g=n==null?void 0:n.allowDateRange)!==null&&g!==void 0?g:["",""];var h;return o.filterWeekend=(h=n==null?void 0:n.filterWeekend)!==null&&h!==void 0?h:!1,o}return r}(M);function YS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vH(e,t,r){return t&&HS(e.prototype,t),r&&HS(e,r),e}function eh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?vl=Reflect.get:vl=function(o,i,u){var l=gH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},vl(e,t,r||e)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function hH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function bH(e,t){return t&&(mH(t)==="object"||typeof t=="function")?t:YS(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function gH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}function mH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wH(e){var t=OH();return function(){var n=wr(e),o;if(t){var i=wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bH(this,o)}}var hl=function(e){hH(r,e);var t=wH(r);function r(n){dH(this,r);var o;return o=t.call(this,n),eh(YS(o),"props",void 0),o.props=new Zv(n==null?void 0:n.props),o}return vH(r,[{key:"toDataBindModel",value:function(o){var i=vl(wr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(A);eh(hl,"controlFieldType",c.FieldTypes.TIMESTAMP),eh(hl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function qS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function US(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $H(e,t,r){return t&&US(e.prototype,t),r&&US(e,r),e}function WS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function RH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function TH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:qS(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function SH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IH(e){var t=EH();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TH(this,o)}}var KS=function(e){RH(r,e);var t=IH(r);function r(n){PH(this,r);var o;return o=t.call(this,n),WS(qS(o),"props",void 0),o.props=new Zv(n==null?void 0:n.props),o}return $H(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(k);WS(KS,"controlFieldType",c.FieldTypes.TIMESTAMP);var XS={Designer:hl,Runtime:KS,Property:Zv};function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function QS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function BH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:nt(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function NH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZS(e){var t=MH();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BH(this,o)}}var AH=function(e){QS(r,e);var t=ZS(r);function r(n){JS(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(V),ml=function(e){QS(r,e);var t=ZS(r);function r(n){JS(this,r);var o,i;o=t.call(this,n),rt(nt(o),"dataBind",void 0),rt(nt(o),"rangeMin",void 0),rt(nt(o),"rangeMax",void 0),rt(nt(o),"placeholderStart",void 0),rt(nt(o),"placeholderEnd",void 0),rt(nt(o),"dateFormat",void 0),rt(nt(o),"commonTimeSetting",void 0),rt(nt(o),"dateType",void 0),rt(nt(o),"setValueType",void 0),rt(nt(o),"defaultValue",void 0),rt(nt(o),"limitDateList",void 0),o.dataBind=new _P(n==null?void 0:n.dataBind),o.defaultValue=new yP(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.rangeMin=(s=n==null?void 0:n.rangeMin)!==null&&s!==void 0?s:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:wl.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Bu(m)}))!==null&&h!==void 0?h:[],o}return r}(M);rt(ml,"RuntimeRules",AH);function eE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DH(e,t,r){return t&&tE(e.prototype,t),r&&tE(e,r),e}function oh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ol=Reflect.get:Ol=function(o,i,u){var l=FH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Ol(e,t,r||e)}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(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&&ih(e,t)}function jH(e,t){return t&&(CH(t)==="object"||typeof t=="function")?t:eE(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function FH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}function CH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zH(e){var t=xH();return function(){var n=Pr(e),o;if(t){var i=Pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jH(this,o)}}var wl=function(e){LH(r,e);var t=zH(r);function r(n){kH(this,r);var o;return o=t.call(this,n),oh(eE(o),"props",void 0),o.props=new ml(n==null?void 0:n.props),o}return DH(r,[{key:"toDataBindModel",value:function(o){var i=Ol(Pr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(A);oh(wl,"controlFieldType",c.FieldTypes.TIMESCOPE),oh(wl,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function nE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GH(e,t,r){return t&&rE(e.prototype,t),r&&rE(e,r),e}function oE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function YH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:nE(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WH(e){var t=UH();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HH(this,o)}}var iE=function(e){YH(r,e);var t=WH(r);function r(n){VH(this,r);var o;return o=t.call(this,n),oE(nE(o),"props",void 0),o.props=new ml(n==null?void 0:n.props),o}return GH(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(k);oE(iE,"controlFieldType",c.FieldTypes.TIMESCOPE);var uE={Designer:wl,Runtime:iE,Property:ml};function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(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&&fh(e,t)}function KH(e,t){return t&&(XH(t)==="object"||typeof t=="function")?t:$t(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function XH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ah(e){var t=JH();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KH(this,o)}}var QH=function(e){lh(r,e);var t=ah(r);function r(n){ch(this,r);var o;return o=t.call(this,n),ft($t(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ft($t(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ft($t(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 r}(ae),ZH=function(e){lh(r,e);var t=ah(r);function r(n){ch(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(V),qo=function(e){lh(r,e);var t=ah(r);function r(n){ch(this,r);var o;o=t.call(this,n),ft($t(o),"maxLength",void 0),ft($t(o),"minLength",void 0),ft($t(o),"defaultValue",void 0),ft($t(o),"lineEllipsis",void 0),ft($t(o),"autoSize",void 0),ft($t(o),"maxRows",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var 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:Uo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:4;var _;return o.autoSize=(_=n==null?void 0:n.autoSize)!==null&&_!==void 0?_:!1,o.maxRows=n==null?void 0:n.maxRows,o}return r}(M);ft(qo,"Rules",QH),ft(qo,"RuntimeRules",ZH);function cE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tq(e,t,r){return t&&lE(e.prototype,t),r&&lE(e,r),e}function Rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function 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&&sh(e,t)}function rq(e,t){return t&&(oq(t)==="object"||typeof t=="function")?t:cE(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function oq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uq(e){var t=iq();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rq(this,o)}}var Uo=function(e){nq(r,e);var t=uq(r);function r(n){eq(this,r);var o;return o=t.call(this,n),Rl(cE(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return tq(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(A);Rl(Uo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Rl(Uo,"controlFieldType",c.FieldTypes.TEXT),Rl(Uo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lq(e,t,r){return t&&aE(e.prototype,t),r&&aE(e,r),e}function sE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function fq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function aq(e,t){return t&&(sq(t)==="object"||typeof t=="function")?t:fE(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yq(e){var t=_q();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aq(this,o)}}var _E=function(e){fq(r,e);var t=yq(r);function r(n){cq(this,r);var o;return o=t.call(this,n),sE(fE(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return lq(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(k);sE(_E,"controlFieldType",c.FieldTypes.TEXT);var yE={Designer:Uo,Runtime:_E,Property:qo};function In(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function ph(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function pq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:In(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function dq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vh(e){var t=vq();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pq(this,o)}}var hq=function(e){ph(r,e);var t=vh(r);function r(n){yh(this,r);var o;return o=t.call(this,n),fn(In(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),fn(In(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),fn(In(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 r}(ae),bq=function(e){ph(r,e);var t=vh(r);function r(n){yh(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(V),Wo=function(e){ph(r,e);var t=vh(r);function r(n){yh(this,r);var o;o=t.call(this,n),fn(In(o),"maxLength",void 0),fn(In(o),"minLength",void 0),fn(In(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var 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:Ko.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return r}(M);fn(Wo,"Rules",hq),fn(Wo,"RuntimeRules",bq);function pE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mq(e,t,r){return t&&dE(e.prototype,t),r&&dE(e,r),e}function Il(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function Oq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function wq(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:pE(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function Pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rq(e){var t=$q();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wq(this,o)}}var Ko=function(e){Oq(r,e);var t=Rq(r);function r(n){gq(this,r);var o;return o=t.call(this,n),Il(pE(o),"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return mq(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(A);Il(Ko,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Il(Ko,"controlFieldType",c.FieldTypes.TEXT),Il(Ko,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 vE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sq(e,t,r){return t&&hE(e.prototype,t),r&&hE(e,r),e}function bE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(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&&bh(e,t)}function Iq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:vE(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function Bq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mq(e){var t=Nq();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iq(this,o)}}var gE=function(e){Eq(r,e);var t=Mq(r);function r(n){Tq(this,r);var o;return o=t.call(this,n),bE(vE(o),"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return Sq(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(k);bE(gE,"controlFieldType",c.FieldTypes.TEXT);var mE={Designer:Ko,Runtime:gE,Property:Wo};function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function wE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Aq(e,t){return t&&(kq(t)==="object"||typeof t=="function")?t:qe(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function kq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PE(e){var t=Dq();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aq(this,o)}}var Lq=function(e){wE(r,e);var t=PE(r);function r(n){OE(this,r);var o;return o=t.call(this,n),Ue(qe(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),Al=function(e){wE(r,e);var t=PE(r);function r(n){OE(this,r);var o;o=t.call(this,n),Ue(qe(o),"options",void 0),Ue(qe(o),"defaultShowOptions",void 0),Ue(qe(o),"optionConfig",void 0),Ue(qe(o),"defaultValue",void 0),Ue(qe(o),"datasourceBind",void 0),Ue(qe(o),"multistageFilling",void 0),Ue(qe(o),"allowCopyOptions",void 0),Ue(qe(o),"openMultistageFilling",void 0),Ue(qe(o),"viewFormModelType",void 0),Ue(qe(o),"canViewForm",void 0),Ue(qe(o),"formBind",void 0);var i;o.options=gt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Dl.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Re(h))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var g;return o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new Rn(n==null?void 0:n.formBind),o}return r}(M);Ue(Al,"Rules",Lq);function $E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fq(e,t,r){return t&&RE(e.prototype,t),r&&RE(e,r),e}function mh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function Cq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function xq(e,t){return t&&(zq(t)==="object"||typeof t=="function")?t:$E(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function zq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gq(e){var t=Vq();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xq(this,o)}}var Dl=function(e){Cq(r,e);var t=Gq(r);function r(n){jq(this,r);var o;return o=t.call(this,n),mh($E(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return Fq(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(A);mh(Dl,"controlFieldType",c.FieldTypes.VARCHAR),mh(Dl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function TE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hq(e,t,r){return t&&SE(e.prototype,t),r&&SE(e,r),e}function EE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(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&&wh(e,t)}function Uq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:TE(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function Wq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xq(e){var t=Kq();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uq(this,o)}}var IE=function(e){qq(r,e);var t=Xq(r);function r(n){Yq(this,r);var o;return o=t.call(this,n),EE(TE(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return Hq(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(k);EE(IE,"controlFieldType",c.FieldTypes.VARCHAR);var BE={Designer:Dl,Runtime:IE,Property:Al};function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ph(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function $h(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function Jq(e,t){return t&&(Qq(t)==="object"||typeof t=="function")?t:ot(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function Qq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Th(e){var t=Zq();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jq(this,o)}}var eU=function(e){$h(r,e);var t=Th(r);function r(n){Ph(this,r);var o;return o=t.call(this,n),We(ot(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),tU=function(e){$h(r,e);var t=Th(r);function r(n){Ph(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Xo=function(e){$h(r,e);var t=Th(r);function r(n){Ph(this,r);var o;o=t.call(this,n),We(ot(o),"options",void 0),We(ot(o),"defaultShowOptions",void 0),We(ot(o),"optionConfig",void 0),We(ot(o),"defaultValue",void 0),We(ot(o),"datasourceBind",void 0),We(ot(o),"multistageFilling",void 0),We(ot(o),"openMultistageFilling",void 0),We(ot(o),"viewFormModelType",void 0),We(ot(o),"canViewForm",void 0),We(ot(o),"formBind",void 0);var i;o.options=gt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Cl.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];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(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(g))}));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 Rn(n==null?void 0:n.formBind),o}return r}(M);We(Xo,"Rules",eU),We(Xo,"RuntimeRules",tU);function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ME(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rU(e,t,r){return t&&ME(e.prototype,t),r&&ME(e,r),e}function Sh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(e)}function oU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function iU(e,t){return t&&(uU(t)==="object"||typeof t=="function")?t:NE(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function uU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lU(e){var t=cU();return function(){var n=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iU(this,o)}}var Cl=function(e){oU(r,e);var t=lU(r);function r(n){nU(this,r);var o;return o=t.call(this,n),Sh(NE(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return rU(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(A);Sh(Cl,"controlFieldType",c.FieldTypes.ARRAY),Sh(Cl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function AE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aU(e,t,r){return t&&kE(e.prototype,t),r&&kE(e,r),e}function DE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function sU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function _U(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:AE(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function yU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dU(e){var t=pU();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _U(this,o)}}var LE=function(e){sU(r,e);var t=dU(r);function r(n){fU(this,r);var o;return o=t.call(this,n),DE(AE(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return aU(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);DE(LE,"controlFieldType",c.FieldTypes.ARRAY);var jE={Designer:Cl,Runtime:LE,Property:Xo};function Vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function CE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function vU(e,t){return t&&(hU(t)==="object"||typeof t=="function")?t:Vt(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function hU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xE(e){var t=bU();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vU(this,o)}}var gU=function(e){CE(r,e);var t=xE(r);function r(n){FE(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),Vl=function(e){CE(r,e);var t=xE(r);function r(n){FE(this,r);var o;o=t.call(this,n),Gt(Vt(o),"showType",void 0),Gt(Vt(o),"range",void 0),Gt(Vt(o),"rangeOptions",void 0),Gt(Vt(o),"multiple",void 0),Gt(Vt(o),"defaultValueType",void 0),Gt(Vt(o),"defaultValue",void 0),Gt(Vt(o),"multistageFilling",void 0),Gt(Vt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Yl.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(g))})),o}return r}(M);Gt(Vl,"RuntimeRules",gU);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OU(e,t,r){return t&&VE(e.prototype,t),r&&VE(e,r),e}function Nh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function wU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function PU(e,t){return t&&($U(t)==="object"||typeof t=="function")?t:zE(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function $U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TU(e){var t=RU();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PU(this,o)}}var Yl=function(e){wU(r,e);var t=TU(r);function r(n){mU(this,r);var o;return o=t.call(this,n),Nh(zE(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return OU(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(A);Nh(Yl,"controlFieldType",c.FieldTypes.EMPLOYEES),Nh(Yl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 GE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EU(e,t,r){return t&&YE(e.prototype,t),r&&YE(e,r),e}function HE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function IU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function BU(e,t){return t&&(NU(t)==="object"||typeof t=="function")?t:GE(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function NU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AU(e){var t=MU();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BU(this,o)}}var qE=function(e){IU(r,e);var t=AU(r);function r(n){SU(this,r);var o;return o=t.call(this,n),HE(GE(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return EU(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(k);HE(qE,"controlFieldType",c.FieldTypes.EMPLOYEES);var UE={Designer:Yl,Runtime:qE,Property:Vl};function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function Dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function kU(e,t){return t&&(DU(t)==="object"||typeof t=="function")?t:Yt(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function DU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jh(e){var t=LU();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kU(this,o)}}var jU=10485760,FU=104857600,CU=1048576e3,xU=function(e){Dh(r,e);var t=jh(r);function r(n){kh(this,r);var o;return o=t.call(this,n),Rt(Yt(o),"maxSize",{type:"number",min:0,max:CU,message:d.getMessage("attachmentMaxSize")}),o}return r}(ae),zU=function(e){Dh(r,e);var t=jh(r);function r(n){kh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(V),$r=function(e){Dh(r,e);var t=jh(r);function r(n){kh(this,r);var o;o=t.call(this,n),Rt(Yt(o),"defaultValue",void 0),Rt(Yt(o),"showType",void 0),Rt(Yt(o),"resultShowType",void 0),Rt(Yt(o),"attachmentAccept",void 0),Rt(Yt(o),"maxLimit",void 0),Rt(Yt(o),"minLimit",void 0),Rt(Yt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var l;o.resultShowType=(l=n==null?void 0:n.resultShowType)!==null&&l!==void 0?l:"simple";var f;o.attachmentAccept=(f=n==null?void 0:n.attachmentAccept)!==null&&f!==void 0?f:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var s;o.minLimit=(s=n==null?void 0:n.minLimit)!==null&&s!==void 0?s:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:FU;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Rr.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(M);Rt($r,"Rules",xU),Rt($r,"RuntimeRules",zU);function WE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GU(e,t,r){return t&&KE(e.prototype,t),r&&KE(e,r),e}function Ul(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function 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&&Fh(e,t)}function HU(e,t){return t&&(qU(t)==="object"||typeof t=="function")?t:WE(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function qU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WU(e){var t=UU();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HU(this,o)}}var Rr=function(e){YU(r,e);var t=WU(r);function r(n){VU(this,r);var o;return o=t.call(this,n),Ul(WE(o),"props",void 0),o.props=new $r(n==null?void 0:n.props),o}return GU(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(A);Ul(Rr,"controlEventKeys",["on_change"]),Ul(Rr,"controlFieldType",c.FieldTypes.FILE),Ul(Rr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 XE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XU(e,t,r){return t&&JE(e.prototype,t),r&&JE(e,r),e}function QE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(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&&Ch(e,t)}function QU(e,t){return t&&(ZU(t)==="object"||typeof t=="function")?t:XE(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}function ZU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tW(e){var t=eW();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QU(this,o)}}var xh=function(e){JU(r,e);var t=tW(r);function r(n){KU(this,r);var o;return o=t.call(this,n),QE(XE(o),"props",void 0),o.props=new $r(n==null?void 0:n.props),o}return XU(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(k);QE(xh,"controlFieldType",c.FieldTypes.FILE);var ZE={Designer:Rr,Runtime:xh,Property:$r};function nW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oW(e,t,r){return t&&eI(e.prototype,t),r&&eI(e,r),e}function tI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function iW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:nW(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function cW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fW(e){var t=lW();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uW(this,o)}}var Vh=function(e){iW(r,e);var t=fW(r);function r(n){rW(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var l;o.props.caption=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:r.controlName;var f;return o.props.placeholder=(f=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&f!==void 0?f:"\u4E0A\u4F20\u56FE\u7247",o}return oW(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Rr);tI(Vh,"controlFieldType",c.FieldTypes.IMAGE),tI(Vh,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function aW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _W(e,t,r){return t&&nI(e.prototype,t),r&&nI(e,r),e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(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&&Gh(e,t)}function pW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:aW(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function dW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hW(e){var t=vW();return function(){var n=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pW(this,o)}}var bW=function(e){yW(r,e);var t=hW(r);function r(n){sW(this,r);var o,i,u,l;o=t.call(this,n),o.props.showType="image";var f;o.props.maxLimit=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&f!==void 0?f:9;var a;o.props.caption=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(l=n.props)===null||l===void 0?void 0:l.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return _W(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(xh);function gW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function OW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function wW(e,t){return t&&(PW(t)==="object"||typeof t=="function")?t:gW(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function PW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $W(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RW(e){var t=$W();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wW(this,o)}}var TW=function(e){OW(r,e);var t=RW(r);function r(n){return mW(this,r),t.call(this,n)}return r}($r),rI={Designer:Vh,Runtime:bW,Property:TW};function je(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function qh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function SW(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){we(e,o,r[o])})}return e}function EW(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function IW(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):EW(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function BW(e,t){return t&&(NW(t)==="object"||typeof t=="function")?t:je(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function NW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wh(e){var t=MW();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BW(this,o)}}var AW=function(e){qh(r,e);var t=Wh(r);function r(n){Hh(this,r);var o;o=t.call(this,n),we(je(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),we(je(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o}return r}(Tn),kW=function(e){qh(r,e);var t=Wh(r);function r(n){Hh(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[IW(SW({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(V),Jo=function(e){qh(r,e);var t=Wh(r);function r(n){Hh(this,r);var o;o=t.call(this,n),we(je(o),"rangeMin",void 0),we(je(o),"rangeMax",void 0),we(je(o),"showUpperCase",void 0),we(je(o),"submitSelectCurrency",void 0),we(je(o),"micrometer",void 0),we(je(o),"precision",void 0),we(je(o),"optionConfig",void 0),we(je(o),"dataBind",void 0),we(je(o),"datasourceBind",void 0),we(je(o),"defaultValue",void 0),we(je(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"datasource";var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new aP(n==null?void 0:n.dataBind);var s;o.datasourceBind=new re((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new zi({value:"name"})]});var _;o.defaultValue=new sP((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=gt(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Qo.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u8F93\u5165";var g;o.submitSelectCurrency=(g=n==null?void 0:n.submitSelectCurrency)!==null&&g!==void 0?g:!1;var h;return o.showUpperCase=(h=n==null?void 0:n.showUpperCase)!==null&&h!==void 0?h:!1,o}return r}(M);we(Jo,"Rules",AW),we(Jo,"RuntimeRules",kW);function oI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LW(e,t,r){return t&&iI(e.prototype,t),r&&iI(e,r),e}function ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tf=Reflect.get:tf=function(o,i,u){var l=CW(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},tf(e,t,r||e)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(e)}function jW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function FW(e,t){return t&&(xW(t)==="object"||typeof t=="function")?t:oI(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function CW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tr(e),e!==null););return e}function xW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VW(e){var t=zW();return function(){var n=Tr(e),o;if(t){var i=Tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FW(this,o)}}var Qo=function(e){jW(r,e);var t=VW(r);function r(n){DW(this,r);var o;return o=t.call(this,n),ef(oI(o),"props",void 0),o.props=new Jo(n==null?void 0:n.props),o}return LW(r,[{key:"toDataBindModel",value:function(o){var i=tf(Tr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(A);ef(Qo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ef(Qo,"controlFieldType",c.FieldTypes.MONEY),ef(Qo,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function uI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YW(e,t,r){return t&&cI(e.prototype,t),r&&cI(e,r),e}function lI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function 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&&Xh(e,t)}function qW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:uI(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function UW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KW(e){var t=WW();return function(){var n=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qW(this,o)}}var fI=function(e){HW(r,e);var t=KW(r);function r(n){GW(this,r);var o;return o=t.call(this,n),lI(uI(o),"props",void 0),o.props=new Jo(n==null?void 0:n.props),o}return YW(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(k);lI(fI,"controlFieldType",c.FieldTypes.MONEY);var aI={Designer:Qo,Runtime:fI,Property:Jo};function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function Qh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function XW(e,t){return t&&(JW(t)==="object"||typeof t=="function")?t:an(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}function JW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eb(e){var t=QW();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XW(this,o)}}var ZW=function(e){Qh(r,e);var t=eb(r);function r(n){Jh(this,r);var o;return o=t.call(this,n),Ht(an(o),"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),Ht(an(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 r}(ae),eK=function(e){Qh(r,e);var t=eb(r);function r(n){Jh(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(V),Zo=function(e){Qh(r,e);var t=eb(r);function r(n){Jh(this,r);var o,i;o=t.call(this,n),Ht(an(o),"totalScore",void 0),Ht(an(o),"scoreType",void 0),Ht(an(o),"isShowExplain",void 0),Ht(an(o),"explain",void 0),Ht(an(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var l;o.scoreType=(l=n==null?void 0:n.scoreType)!==null&&l!==void 0?l:c.SCORE_TYPE.STAR;var f;o.isShowExplain=(f=n==null?void 0:n.isShowExplain)!==null&&f!==void 0?f:!0;var a;o.explain=(a=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(p){return new Nu(p)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Nu});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:ei.controlName,o}return r}(M);Ht(Zo,"Rules",ZW),Ht(Zo,"RuntimeRules",eK);function tb(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function tK(e){if(Array.isArray(e))return tb(e)}function sI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _I(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rK(e,t,r){return t&&_I(e.prototype,t),r&&_I(e,r),e}function of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?uf=Reflect.get:uf=function(o,i,u){var l=lK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},uf(e,t,r||e)}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(e)}function oK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function iK(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uK(){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 cK(e,t){return t&&(aK(t)==="object"||typeof t=="function")?t:sI(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function lK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sr(e),e!==null););return e}function fK(e){return tK(e)||iK(e)||sK(e)||uK()}function aK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sK(e,t){if(!!e){if(typeof e=="string")return tb(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tb(e,t)}}function _K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yK(e){var t=_K();return function(){var n=Sr(e),o;if(t){var i=Sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cK(this,o)}}var ei=function(e){oK(r,e);var t=yK(r);function r(n){nK(this,r);var o;return o=t.call(this,n),of(sI(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return rK(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,l=i-this.props.explain.length,f=Array(l).fill(void 0).map(function(){return new Nu});(u=this.props.explain).push.apply(u,fK(f))}}uf(Sr(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(A);of(ei,"controlEventKeys",["on_change","on_click"]),of(ei,"controlFieldType",c.FieldTypes.DECIMAL),of(ei,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 yI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dK(e,t,r){return t&&pI(e.prototype,t),r&&pI(e,r),e}function dI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(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&&rb(e,t)}function hK(e,t){return t&&(bK(t)==="object"||typeof t=="function")?t:yI(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function bK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mK(e){var t=gK();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hK(this,o)}}var vI=function(e){vK(r,e);var t=mK(r);function r(n){pK(this,r);var o;return o=t.call(this,n),dI(yI(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return dK(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(k);dI(vI,"controlFieldType",c.FieldTypes.DECIMAL);var hI={Designer:ei,Runtime:vI,Property:Zo};function lf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function gI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function OK(e,t){return t&&(wK(t)==="object"||typeof t=="function")?t:lf(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function wK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mI(e){var t=PK();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OK(this,o)}}var $K=function(e){gI(r,e);var t=mI(r);function r(n){bI(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(V),sf=function(e){gI(r,e);var t=mI(r);function r(n){bI(this,r);var o;o=t.call(this,n),ff(lf(o),"defaultValueType",void 0),ff(lf(o),"defaultValue",void 0),ff(lf(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:yf.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var l;o.addressType=(l=n==null?void 0:n.addressType)!==null&&l!==void 0?l:["province","city","district"];var f;o.defaultValue=new pP((f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(M);ff(sf,"RuntimeRules",$K);function OI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TK(e,t,r){return t&&wI(e.prototype,t),r&&wI(e,r),e}function ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function SK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function EK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:OI(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function IK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NK(e){var t=BK();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EK(this,o)}}var yf=function(e){SK(r,e);var t=NK(r);function r(n){RK(this,r);var o;return o=t.call(this,n),ib(OI(o),"props",void 0),o.props=new sf(n==null?void 0:n.props),o}return TK(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(A);ib(yf,"controlFieldType",c.FieldTypes.ADDRESS),ib(yf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function PI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $I(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AK(e,t,r){return t&&$I(e.prototype,t),r&&$I(e,r),e}function RI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function kK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function DK(e,t){return t&&(LK(t)==="object"||typeof t=="function")?t:PI(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function LK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FK(e){var t=jK();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DK(this,o)}}var TI=function(e){kK(r,e);var t=FK(r);function r(n){MK(this,r);var o;return o=t.call(this,n),RI(PI(o),"props",void 0),o.props=new sf(n==null?void 0:n.props),o}return AK(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(k);RI(TI,"controlFieldType",c.FieldTypes.ADDRESS);var SI={Designer:yf,Runtime:TI,Property:sf};function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function II(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function CK(e,t){return t&&(xK(t)==="object"||typeof t=="function")?t:at(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function xK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BI(e){var t=zK();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CK(this,o)}}var VK=function(e){II(r,e);var t=BI(r);function r(n){EI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),vf=function(e){II(r,e);var t=BI(r);function r(n){EI(this,r);var o;o=t.call(this,n),st(at(o),"showType",void 0),st(at(o),"range",void 0),st(at(o),"defaultValueType",void 0),st(at(o),"multiple",void 0),st(at(o),"rangeOptions",void 0),st(at(o),"defaultValue",void 0),st(at(o),"displayLevel",void 0),st(at(o),"showSubDept",void 0),st(at(o),"multistageFilling",void 0),st(at(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ti.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";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(m){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Re(m))})),o}return r}(M);st(vf,"RuntimeRules",VK);function NI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YK(e,t,r){return t&&MI(e.prototype,t),r&&MI(e,r),e}function hf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bf=Reflect.get:bf=function(o,i,u){var l=UK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},bf(e,t,r||e)}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(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&&fb(e,t)}function qK(e,t){return t&&(WK(t)==="object"||typeof t=="function")?t:NI(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function UK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Er(e),e!==null););return e}function WK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XK(e){var t=KK();return function(){var n=Er(e),o;if(t){var i=Er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qK(this,o)}}var ti=function(e){HK(r,e);var t=XK(r);function r(n){GK(this,r);var o;return o=t.call(this,n),hf(NI(o),"props",void 0),o.props=new vf(n==null?void 0:n.props),o}return YK(r,[{key:"toDataBindModel",value:function(o){var i=bf(Er(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.displayLevel,f=u.showSubDept;i.props.displayLevel=l,i.props.showSubDept=f}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(A);hf(ti,"controlName","\u90E8\u95E8"),hf(ti,"controlFieldType",c.FieldTypes.DEPARTMENTS),hf(ti,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 AI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QK(e,t,r){return t&&kI(e.prototype,t),r&&kI(e,r),e}function DI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function ZK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function eX(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:AI(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function tX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rX(e){var t=nX();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eX(this,o)}}var LI=function(e){ZK(r,e);var t=rX(r);function r(n){JK(this,r);var o;return o=t.call(this,n),DI(AI(o),"props",void 0),o.props=new vf(n==null?void 0:n.props),o}return QK(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(k);DI(LI,"controlFieldType",c.FieldTypes.DEPARTMENTS);var jI={Designer:ti,Runtime:LI,Property:vf};function FI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function uX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function cX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:FI(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function lX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aX(e){var t=fX();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cX(this,o)}}var _b=function(e){uX(r,e);var t=aX(r);function r(n){oX(this,r);var o;o=t.call(this,n),iX(FI(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ni.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(M);function CI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _X(e,t,r){return t&&xI(e.prototype,t),r&&xI(e,r),e}function Of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(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&&yb(e,t)}function pX(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:CI(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function dX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hX(e){var t=vX();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pX(this,o)}}var ni=function(e){yX(r,e);var t=hX(r);function r(n){sX(this,r);var o;return o=t.call(this,n),Of(CI(o),"props",void 0),o.props=new _b(n==null?void 0:n.props),o}return _X(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(A);Of(ni,"controlEventKeys",["on_change"]),Of(ni,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Of(ni,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function zI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gX(e,t,r){return t&&VI(e.prototype,t),r&&VI(e,r),e}function GI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function mX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function OX(e,t){return t&&(wX(t)==="object"||typeof t=="function")?t:zI(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function wX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $X(e){var t=PX();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OX(this,o)}}var YI=function(e){mX(r,e);var t=$X(r);function r(n){bX(this,r);var o;return o=t.call(this,n),GI(zI(o),"props",void 0),o.props=new _b(n==null?void 0:n.props),o}return gX(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(k);GI(YI,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var HI={Designer:ni,Runtime:YI,Property:_b};function sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function db(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function vb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function RX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:sn(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function TX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bb(e){var t=SX();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RX(this,o)}}var EX=function(e){vb(r,e);var t=bb(r);function r(n){db(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(ae),IX=function(e){vb(r,e);var t=bb(r);function r(n){db(this,r);var o;return o=t.call(this,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 r}(V),ri=function(e){vb(r,e);var t=bb(r);function r(n){db(this,r);var o;o=t.call(this,n),qt(sn(o),"precision",void 0),qt(sn(o),"micrometer",void 0),qt(sn(o),"showUpperCase",void 0),qt(sn(o),"scriptSrc",void 0),qt(sn(o),"scriptEcho",void 0),qt(sn(o),"dataBind",void 0),qt(sn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var l;o.showUpperCase=(l=n==null?void 0:n.showUpperCase)!==null&&l!==void 0?l:!1,o.dataBind=new dP(n==null?void 0:n.dataBind),o.defaultValue=new vP(n==null?void 0:n.defaultValue);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:oi.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.scriptEcho=(s=n==null?void 0:n.scriptEcho)!==null&&s!==void 0?s:[];var _;return o.scriptSrc=(_=n==null?void 0:n.scriptSrc)!==null&&_!==void 0?_:"",o}return r}(M);qt(ri,"Rules",EX),qt(ri,"RuntimeRules",IX);function qI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NX(e,t,r){return t&&UI(e.prototype,t),r&&UI(e,r),e}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tf=Reflect.get:Tf=function(o,i,u){var l=kX(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Tf(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function MX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gb(e,t)}function AX(e,t){return t&&(DX(t)==="object"||typeof t=="function")?t:qI(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function kX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}function DX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jX(e){var t=LX();return function(){var n=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AX(this,o)}}var oi=function(e){MX(r,e);var t=jX(r);function r(n){BX(this,r);var o;return o=t.call(this,n),Rf(qI(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return NX(r,[{key:"toDataBindModel",value:function(o){var i=Tf(Ir(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(A);Rf(oi,"controlEventKeys",["on_change"]),Rf(oi,"controlFieldType",c.FieldTypes.CALC),Rf(oi,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function WI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CX(e,t,r){return t&&KI(e.prototype,t),r&&KI(e,r),e}function XI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function 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&&mb(e,t)}function zX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:WI(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function VX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YX(e){var t=GX();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zX(this,o)}}var JI=function(e){xX(r,e);var t=YX(r);function r(n){FX(this,r);var o;return o=t.call(this,n),XI(WI(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return CX(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(k);XI(JI,"controlFieldType",c.FieldTypes.CALC);var QI={Designer:oi,Runtime:JI,Property:ri};function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function eB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function HX(e,t){return t&&(qX(t)==="object"||typeof t=="function")?t:Br(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function qX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tB(e){var t=UX();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HX(this,o)}}var WX=function(e){eB(r,e);var t=tB(r);function r(n){ZI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,l){if(n.required){var f=l.every(function(a){return!a});return f?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(V),If=function(e){eB(r,e);var t=tB(r);function r(n){ZI(this,r);var o;o=t.call(this,n),Nr(Br(o),"rangeMin",void 0),Nr(Br(o),"rangeMax",void 0),Nr(Br(o),"placeholderStart",void 0),Nr(Br(o),"placeholderEnd",void 0),Nr(Br(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var l;o.rangeMax=(l=n==null?void 0:n.rangeMax)!==null&&l!==void 0?l:"";var f;o.placeholderStart=(f=n==null?void 0:n.placeholderStart)!==null&&f!==void 0?f:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Nf.controlName,o}return r}(M);Nr(If,"RuntimeRules",WX);function nB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XX(e,t,r){return t&&rB(e.prototype,t),r&&rB(e,r),e}function wb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function JX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function QX(e,t){return t&&(ZX(t)==="object"||typeof t=="function")?t:nB(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function ZX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tJ(e){var t=eJ();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QX(this,o)}}var Nf=function(e){JX(r,e);var t=tJ(r);function r(n){KX(this,r);var o;return o=t.call(this,n),wb(nB(o),"props",void 0),o.props=new If(n==null?void 0:n.props),o}return XX(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(A);wb(Nf,"controlFieldType",c.FieldTypes.DECIMAL_RANGE),wb(Nf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function oB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rJ(e,t,r){return t&&iB(e.prototype,t),r&&iB(e,r),e}function uB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function oJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function iJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:oB(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function uJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lJ(e){var t=cJ();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iJ(this,o)}}var cB=function(e){oJ(r,e);var t=lJ(r);function r(n){nJ(this,r);var o;return o=t.call(this,n),uB(oB(o),"props",void 0),o.props=new If(n==null?void 0:n.props),o}return rJ(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);uB(cB,"controlFieldType",c.FieldTypes.DECIMAL_RANGE);var lB={Designer:Nf,Runtime:cB,Property:If};function _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function aB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function fJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:_t(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function aJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sB(e){var t=sJ();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fJ(this,o)}}var _J=function(e){aB(r,e);var t=sB(r);function r(n){fB(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(V),kf=function(e){aB(r,e);var t=sB(r);function r(n){fB(this,r);var o,i;o=t.call(this,n),yt(_t(o),"rangeMin",void 0),yt(_t(o),"rangeMax",void 0),yt(_t(o),"placeholderStart",void 0),yt(_t(o),"placeholderEnd",void 0),yt(_t(o),"dateType",void 0),yt(_t(o),"dateFormat",void 0),yt(_t(o),"commonTimeSetting",void 0),yt(_t(o),"setValueType",void 0),yt(_t(o),"defaultValue",void 0),yt(_t(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var l;o.dateType=(l=n==null?void 0:n.dateType)!==null&&l!==void 0?l:c.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\u5F00\u59CB\u65E5\u671F";var g;o.placeholderEnd=(g=n==null?void 0:n.placeholderEnd)!==null&&g!==void 0?g:"\u7ED3\u675F\u65E5\u671F";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Lf.controlName;var m;return o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new Bu(v)}))!==null&&m!==void 0?m:[],o}return r}(M);yt(kf,"RuntimeRules",_J);function _B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pJ(e,t,r){return t&&yB(e.prototype,t),r&&yB(e,r),e}function Tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function dJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function vJ(e,t){return t&&(hJ(t)==="object"||typeof t=="function")?t:_B(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function hJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gJ(e){var t=bJ();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vJ(this,o)}}var Lf=function(e){dJ(r,e);var t=gJ(r);function r(n){yJ(this,r);var o;return o=t.call(this,n),Tb(_B(o),"props",void 0),o.props=new kf(n==null?void 0:n.props),o}return pJ(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(A);Tb(Lf,"controlFieldType",c.FieldTypes.ARRAY),Tb(Lf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function pB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OJ(e,t,r){return t&&dB(e.prototype,t),r&&dB(e,r),e}function vB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function wJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function PJ(e,t){return t&&($J(t)==="object"||typeof t=="function")?t:pB(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function $J(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TJ(e){var t=RJ();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PJ(this,o)}}var hB=function(e){wJ(r,e);var t=TJ(r);function r(n){mJ(this,r);var o;return o=t.call(this,n),vB(pB(o),"props",void 0),o.props=new kf(n==null?void 0:n.props),o}return OJ(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);vB(hB,"controlFieldType",c.FieldTypes.ARRAY);var bB={Designer:Lf,Runtime:hB,Property:kf};function ii(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ib(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function Bb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nb(e,t)}function SJ(e,t){return t&&(EJ(t)==="object"||typeof t=="function")?t:ii(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(e,t)}function EJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mb(e){var t=IJ();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SJ(this,o)}}var BJ=function(e){Bb(r,e);var t=Mb(r);function r(n){Ib(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ae),NJ=function(e){Bb(r,e);var t=Mb(r);function r(n){Ib(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(V),ui=function(e){Bb(r,e);var t=Mb(r);function r(n){Ib(this,r);var o;o=t.call(this,n),Mr(ii(o),"controlExportName",void 0),Mr(ii(o),"permissions",void 0),Mr(ii(o),"defaultValue",void 0),Mr(ii(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ci.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var l;o.controlExportName=(l=n==null?void 0:n.controlExportName)!==null&&l!==void 0?l:"";var f;o.permissions=(f=n==null?void 0:n.permissions)!==null&&f!==void 0?f:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(M);Mr(ui,"Rules",BJ),Mr(ui,"RuntimeRules",NJ);function gB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AJ(e,t,r){return t&&mB(e.prototype,t),r&&mB(e,r),e}function Cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&Ab(e,t)}function DJ(e,t){return t&&(LJ(t)==="object"||typeof t=="function")?t:gB(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function LJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FJ(e){var t=jJ();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DJ(this,o)}}var ci=function(e){kJ(r,e);var t=FJ(r);function r(n){MJ(this,r);var o;return o=t.call(this,n),Cf(gB(o),"props",void 0),o.props=new ui(n==null?void 0:n.props),o}return AJ(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(A);Cf(ci,"controlFieldType",c.FieldTypes.ANY),Cf(ci,"controlEventKeys",[]),Cf(ci,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function OB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xJ(e,t,r){return t&&wB(e.prototype,t),r&&wB(e,r),e}function PB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function zJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function VJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:OB(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function GJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HJ(e){var t=YJ();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VJ(this,o)}}var $B=function(e){zJ(r,e);var t=HJ(r);function r(n){CJ(this,r);var o;return o=t.call(this,n),PB(OB(o),"props",void 0),o.props=new ui(n==null?void 0:n.props),o}return xJ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);PB($B,"controlFieldType",c.FieldTypes.ANY);var RB={Designer:ci,Runtime:$B,Property:ui};function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function SB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function qJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:Ne(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function UJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EB(e){var t=WJ();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qJ(this,o)}}var KJ=function(e){SB(r,e);var t=EB(r);function r(n){TB(this,r);var o;return o=t.call(this,n),Me(Ne(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")}]}}]),Me(Ne(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),Gf=function(e){SB(r,e);var t=EB(r);function r(n){TB(this,r);var o;o=t.call(this,n),Me(Ne(o),"options",void 0),Me(Ne(o),"optionConfig",void 0),Me(Ne(o),"defaultValue",void 0),Me(Ne(o),"listPageBind",void 0),Me(Ne(o),"datasourceBind",void 0),Me(Ne(o),"multistageFilling",void 0),Me(Ne(o),"viewFormModelType",void 0),Me(Ne(o),"canViewForm",void 0),Me(Ne(o),"formBind",void 0),Me(Ne(o),"openMultistageFilling",void 0),Me(Ne(o),"showSelectedDetail",void 0),Me(Ne(o),"selectedContentConfig",void 0);var i;o.options=gt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new Ci(n==null?void 0:n.listPageBind),o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:li.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Vi(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(g))}));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 Rn(n==null?void 0:n.formBind),o}return r}(M);Me(Gf,"Rules",KJ);function IB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JJ(e,t,r){return t&&BB(e.prototype,t),r&&BB(e,r),e}function Yf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function ZJ(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:IB(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function eQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nQ(e){var t=tQ();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZJ(this,o)}}var li=function(e){QJ(r,e);var t=nQ(r);function r(n){XJ(this,r);var o;return o=t.call(this,n),Yf(IB(o),"props",void 0),o.props=new Gf(n==null?void 0:n.props),o}return JJ(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(A);Yf(li,"controlFieldType",c.FieldTypes.VARCHAR),Yf(li,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Yf(li,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function NB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oQ(e,t,r){return t&&MB(e.prototype,t),r&&MB(e,r),e}function AB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(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&&jb(e,t)}function uQ(e,t){return t&&(cQ(t)==="object"||typeof t=="function")?t:NB(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function cQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fQ(e){var t=lQ();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uQ(this,o)}}var kB=function(e){iQ(r,e);var t=fQ(r);function r(n){rQ(this,r);var o;return o=t.call(this,n),AB(NB(o),"props",void 0),o.props=new Gf(n==null?void 0:n.props),o}return oQ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(k);AB(kB,"controlFieldType",c.FieldTypes.VARCHAR);var DB={Designer:li,Runtime:kB,Property:Gf};function aQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function _Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function yQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:aQ(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function pQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vQ(e){var t=dQ();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yQ(this,o)}}var Cb=function(e){_Q(r,e);var t=vQ(r);function r(n){return sQ(this,r),t.call(this,n)}return r}(gr);function LB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bQ(e,t,r){return t&&jB(e.prototype,t),r&&jB(e,r),e}function FB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(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&&xb(e,t)}function mQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:LB(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function OQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PQ(e){var t=wQ();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mQ(this,o)}}var CB=function(e){gQ(r,e);var t=PQ(r);function r(n){hQ(this,r);var o;return o=t.call(this,n),FB(LB(o),"props",void 0),o.props=new Cb(n==null?void 0:n.props),o}return bQ(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(mr);FB(CB,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function xB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RQ(e,t,r){return t&&zB(e.prototype,t),r&&zB(e,r),e}function VB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function TQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zb(e,t)}function SQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:xB(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function EQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BQ(e){var t=IQ();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SQ(this,o)}}var GB=function(e){TQ(r,e);var t=BQ(r);function r(n){$Q(this,r);var o;return o=t.call(this,n),VB(xB(o),"props",void 0),o.props=new Cb(n==null?void 0:n.props),o}return RQ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(k);VB(GB,"controlFieldType",c.FieldTypes.VARCHAR);var YB={Designer:CB,Runtime:GB,Property:Cb};function ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Gb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function NQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:ee(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}function MQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hb(e){var t=AQ();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NQ(this,o)}}var kQ=function(e){Gb(r,e);var t=Hb(r);function r(n){Vb(this,r);var o;return o=t.call(this,n),te(ee(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Oo.call(ee(o),n,_n.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 r}(ae),DQ=function(e){Gb(r,e);var t=Hb(r);function r(n){Vb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),fi=function(e){Gb(r,e);var t=Hb(r);function r(n){Vb(this,r);var o,i;o=t.call(this,n),te(ee(o),"placeholder",void 0),te(ee(o),"multiple",void 0),te(ee(o),"canSearch",void 0),te(ee(o),"levelType",void 0),te(ee(o),"optionalLevel",void 0),te(ee(o),"containsSubNode",void 0),te(ee(o),"defaultDisplay",void 0),te(ee(o),"isShowIncludeSub",void 0),te(ee(o),"isDefaultCheckSub",void 0),te(ee(o),"isShowFilterItem",void 0),te(ee(o),"defaultCollapse",void 0),te(ee(o),"defaultCollapseLevel",void 0),te(ee(o),"optionConfig","datasource"),te(ee(o),"datasourceBind",void 0),te(ee(o),"filterItemDatasourceBind",void 0),te(ee(o),"multistageFilling",void 0),te(ee(o),"defaultValue",void 0),te(ee(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:_n.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var g;o.isShowIncludeSub=(g=n==null?void 0:n.isShowIncludeSub)!==null&&g!==void 0?g:!1;var h;o.isDefaultCheckSub=(h=n==null?void 0:n.isDefaultCheckSub)!==null&&h!==void 0?h:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var O;o.datasourceBind=new Cy((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:_n.controlCustomAttributes});var P;o.filterItemDatasourceBind=new Cy((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:_n.controlCustomAttributes});var w;o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1;var T;o.defaultDisplay=(T=n==null?void 0:n.defaultDisplay)!==null&&T!==void 0?T:!1;var $;o.multistageFilling=($=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(D){return new Re(D)}))!==null&&$!==void 0?$:[];var S;return o.defaultValue=(S=n==null?void 0:n.defaultValue)!==null&&S!==void 0?S:[],o}return r}(M);te(fi,"Rules",kQ),te(fi,"RuntimeRules",DQ);function HB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jQ(e,t,r){return t&&qB(e.prototype,t),r&&qB(e,r),e}function Jf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function FQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function CQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:HB(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function xQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VQ(e){var t=zQ();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CQ(this,o)}}var _n=function(e){FQ(r,e);var t=VQ(r);function r(n){LQ(this,r);var o;return o=t.call(this,n),Jf(HB(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return jQ(r,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}]}}]),r}(A);Jf(_n,"controlEventKeys",["on_change","on_click"]),Jf(_n,"controlFieldType",c.FieldTypes.ARRAY),Jf(_n,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.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 UB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YQ(e,t,r){return t&&WB(e.prototype,t),r&&WB(e,r),e}function KB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function HQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function qQ(e,t){return t&&(UQ(t)==="object"||typeof t=="function")?t:UB(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function UQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KQ(e){var t=WQ();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qQ(this,o)}}var XB=function(e){HQ(r,e);var t=KQ(r);function r(n){GQ(this,r);var o;return o=t.call(this,n),KB(UB(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return YQ(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(k);KB(XB,"controlFieldType",c.FieldTypes.ARRAY);var JB={Designer:_n,Runtime:XB,Property:fi};function ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function Kb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function XQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:ye(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function JQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jb(e){var t=QQ();return function(){var n=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XQ(this,o)}}var ZQ=function(e){Kb(r,e);var t=Jb(r);function r(n){Wb(this,r);var o;return o=t.call(this,n),pe(ye(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),pe(ye(o),"externalScope",{type:"any"}),Oo.call(ye(o),n,Ar.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return r}(ae),eZ=function(e){Kb(r,e);var t=Jb(r);function r(n){Wb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),ai=function(e){Kb(r,e);var t=Jb(r);function r(n){Wb(this,r);var o;o=t.call(this,n),pe(ye(o),"showType",void 0),pe(ye(o),"range",void 0),pe(ye(o),"rangeOptions",void 0),pe(ye(o),"multiple",void 0),pe(ye(o),"defaultValueType",void 0),pe(ye(o),"defaultValue",void 0),pe(ye(o),"multistageFilling",void 0),pe(ye(o),"datasourceBind",void 0),pe(ye(o),"datasourceType",void 0),pe(ye(o),"insideType",void 0),pe(ye(o),"externalType",void 0),pe(ye(o),"externalScope",void 0),pe(ye(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Ar.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new vo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Ar.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.OrganizeType.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:c.InternalType.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:c.AssignType.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];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(P){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Re(P))})),o}return r}(M);pe(ai,"Rules",ZQ),pe(ai,"RuntimeRules",eZ);function QB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nZ(e,t,r){return t&&ZB(e.prototype,t),r&&ZB(e,r),e}function Qb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(e)}function rZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zb(e,t)}function oZ(e,t){return t&&(iZ(t)==="object"||typeof t=="function")?t:QB(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function iZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cZ(e){var t=uZ();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oZ(this,o)}}var Ar=function(e){rZ(r,e);var t=cZ(r);function r(n){tZ(this,r);var o;return o=t.call(this,n),Qb(QB(o),"props",void 0),o.props=new ai(n==null?void 0:n.props),o}return nZ(r,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}]}}]),r}(A);Qb(Ar,"controlFieldType",c.FieldTypes.EMPLOYEES),Qb(Ar,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 e3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fZ(e,t,r){return t&&t3(e.prototype,t),r&&t3(e,r),e}function n3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function 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&&eg(e,t)}function sZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:e3(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(e,t)}function _Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pZ(e){var t=yZ();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sZ(this,o)}}var r3=function(e){aZ(r,e);var t=pZ(r);function r(n){lZ(this,r);var o;return o=t.call(this,n),n3(e3(o),"props",void 0),o.props=new ai(n==null?void 0:n.props),o}return fZ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(k);n3(r3,"controlFieldType",c.FieldTypes.EMPLOYEES);var o3={Designer:Ar,Runtime:r3,Property:ai};function Tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function u3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tg(e,t)}function dZ(e,t){return t&&(vZ(t)==="object"||typeof t=="function")?t:Tt(e)}function tg(e,t){return tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tg(e,t)}function vZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c3(e){var t=hZ();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dZ(this,o)}}var bZ=function(e){u3(r,e);var t=c3(r);function r(n){i3(this,r);var o;return o=t.call(this,n),St(Tt(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(i,u,l){return i[l]={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,s,_){if(u.type==="public"&&wn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,s,_){if(u.type==="public"&&u.signatureType.includes("company")&&wn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(ae),oa=function(e){u3(r,e);var t=c3(r);function r(n){i3(this,r);var o;o=t.call(this,n),St(Tt(o),"buttonType",void 0),St(Tt(o),"content",void 0),St(Tt(o),"showType",void 0),St(Tt(o),"color",void 0),St(Tt(o),"icon",void 0),St(Tt(o),"command",""),St(Tt(o),"isLoading",!1),St(Tt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:si.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var l;o.buttonType=(l=n==null?void 0:n.buttonType)!==null&&l!==void 0?l:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new T$(n==null?void 0:n.signatureConfig),o}return r}(M);St(oa,"Rules",bZ);function l3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mZ(e,t,r){return t&&f3(e.prototype,t),r&&f3(e,r),e}function ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function OZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ng(e,t)}function wZ(e,t){return t&&(PZ(t)==="object"||typeof t=="function")?t:l3(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function PZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $Z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RZ(e){var t=$Z();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wZ(this,o)}}var si=function(e){OZ(r,e);var t=RZ(r);function r(n){gZ(this,r);var o;return o=t.call(this,n),ia(l3(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return mZ(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(A);ia(si,"controlEventKeys",["on_click","on_click_finish"]),ia(si,"controlFieldType",c.FieldTypes.VARCHAR),ia(si,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 a3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SZ(e,t,r){return t&&s3(e.prototype,t),r&&s3(e,r),e}function _3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function EZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rg(e,t)}function IZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:a3(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rg(e,t)}function BZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MZ(e){var t=NZ();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IZ(this,o)}}var y3=function(e){EZ(r,e);var t=MZ(r);function r(n){TZ(this,r);var o;return o=t.call(this,n),_3(a3(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return SZ(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);_3(y3,"controlFieldType",c.FieldTypes.VARCHAR);var p3={Designer:si,Runtime:y3,Property:oa};function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(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&&ug(e,t)}function AZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:Pe(e)}function ug(e,t){return ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ug(e,t)}function kZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cg(e){var t=DZ();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AZ(this,o)}}var LZ=function(e){ig(r,e);var t=cg(r);function r(n){og(this,r);var o;return o=t.call(this,n),de(Pe(o),"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),de(Pe(o),"canAdd",void 0),de(Pe(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,l,f){if(l.active&&!l.text){f(d.getMessage("pleaseEnterWatermark"));return}f()}},autoRename:{type:"object",validator:function(u,l,f){if(l.active&&!l.text){f(d.getMessage("pleaseEnterFileName"));return}f()}}}}),o.canAdd={type:"boolean",validator:function(u,l,f){if(n.canAdd&&!n.addLocal&&!n.addOnline){f(d.getMessage("pleaseChooseAtLeastOne"));return}f()}},o}return r}(ae),jZ=function(e){ig(r,e);var t=cg(r);function r(n){og(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),_i=function(e){ig(r,e);var t=cg(r);function r(n){og(this,r);var o;o=t.call(this,n),de(Pe(o),"content",void 0),de(Pe(o),"canAdd",void 0),de(Pe(o),"addLocal",void 0),de(Pe(o),"addOnline",void 0),de(Pe(o),"canDownload",void 0),de(Pe(o),"canEdit",void 0),de(Pe(o),"canExport",void 0),de(Pe(o),"canDelete",void 0),de(Pe(o),"wpsSetting",void 0),de(Pe(o),"maxSize",void 0),de(Pe(o),"defaultValue",void 0),de(Pe(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:yi.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var l;o.canAdd=(l=n==null?void 0:n.canAdd)!==null&&l!==void 0?l:!0;var f;o.addLocal=(f=n==null?void 0:n.addLocal)!==null&&f!==void 0?f:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var g;o.maxSize=(g=n==null?void 0:n.maxSize)!==null&&g!==void 0?g:jU;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new S$(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 r}(M);de(_i,"Rules",LZ),de(_i,"RuntimeRules",jZ);function d3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CZ(e,t,r){return t&&v3(e.prototype,t),r&&v3(e,r),e}function fa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function xZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lg(e,t)}function zZ(e,t){return t&&(VZ(t)==="object"||typeof t=="function")?t:d3(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lg(e,t)}function VZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YZ(e){var t=GZ();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zZ(this,o)}}var yi=function(e){xZ(r,e);var t=YZ(r);function r(n){FZ(this,r);var o;return o=t.call(this,n),fa(d3(o),"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return CZ(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(A);fa(yi,"controlEventKeys",["on_change","on_wps_open"]),fa(yi,"controlFieldType",c.FieldTypes.FILE),fa(yi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.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 h3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qZ(e,t,r){return t&&b3(e.prototype,t),r&&b3(e,r),e}function g3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function UZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fg(e,t)}function WZ(e,t){return t&&(KZ(t)==="object"||typeof t=="function")?t:h3(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}function KZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JZ(e){var t=XZ();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WZ(this,o)}}var m3=function(e){UZ(r,e);var t=JZ(r);function r(n){HZ(this,r);var o;return o=t.call(this,n),g3(h3(o),"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return qZ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(k);g3(m3,"controlFieldType",c.FieldTypes.FILE);var O3={Designer:yi,Runtime:m3,Property:_i};function le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function sg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_g(e,t)}function QZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:le(e)}function _g(e,t){return _g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_g(e,t)}function ZZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yg(e){var t=eee();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QZ(this,o)}}var tee=function(e){sg(r,e);var t=yg(r);function r(n){ag(this,r);var o;return o=t.call(this,n),fe(le(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),fe(le(o),"businessScope",{type:"any"}),Oo.call(le(o),n,Bn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(ae),nee=function(e){sg(r,e);var t=yg(r);function r(n){ag(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),pi=function(e){sg(r,e);var t=yg(r);function r(n){ag(this,r);var o;o=t.call(this,n),fe(le(o),"showType",void 0),fe(le(o),"range",void 0),fe(le(o),"defaultValueType",void 0),fe(le(o),"multiple",void 0),fe(le(o),"rangeOptions",void 0),fe(le(o),"defaultValue",void 0),fe(le(o),"displayLevel",void 0),fe(le(o),"showSubDept",void 0),fe(le(o),"multistageFilling",void 0),fe(le(o),"datasourceBind",void 0),fe(le(o),"datasourceType",void 0),fe(le(o),"businessType",void 0),fe(le(o),"businessScope",void 0),fe(le(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Bn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;o.datasourceBind=new vo((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Bn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:c.AssignType.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new Re(w))})),o}return r}(M);fe(pi,"Rules",tee),fe(pi,"RuntimeRules",nee);function w3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ree(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oee(e,t,r){return t&&P3(e.prototype,t),r&&P3(e,r),e}function ya(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pa=Reflect.get:pa=function(o,i,u){var l=cee(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},pa(e,t,r||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pg(e,t)}function uee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:w3(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(e,t)}function cee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(e),e!==null););return e}function lee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aee(e){var t=fee();return function(){var n=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uee(this,o)}}var Bn=function(e){iee(r,e);var t=aee(r);function r(n){ree(this,r);var o;return o=t.call(this,n),ya(w3(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return oee(r,[{key:"toDataBindModel",value:function(o){var i=pa(kr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.displayLevel,f=u.showSubDept;i.props.displayLevel=l,i.props.showSubDept=f}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);ya(Bn,"controlName","\u90E8\u95E8"),ya(Bn,"controlFieldType",c.FieldTypes.DEPARTMENTS),ya(Bn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 $3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function see(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _ee(e,t,r){return t&&R3(e.prototype,t),r&&R3(e,r),e}function T3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function yee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dg(e,t)}function pee(e,t){return t&&(dee(t)==="object"||typeof t=="function")?t:$3(e)}function dg(e,t){return dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dg(e,t)}function dee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hee(e){var t=vee();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pee(this,o)}}var S3=function(e){yee(r,e);var t=hee(r);function r(n){see(this,r);var o;return o=t.call(this,n),T3($3(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return _ee(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(k);T3(S3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var E3={Designer:Bn,Runtime:S3,Property:pi};function W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function hg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bg(e,t)}function bee(e,t){return t&&(gee(t)==="object"||typeof t=="function")?t:W(e)}function bg(e,t){return bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bg(e,t)}function gee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gg(e){var t=mee();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bee(this,o)}}var Oee=function(e){hg(r,e);var t=gg(r);function r(n){vg(this,r);var o;return o=t.call(this,n),K(W(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),K(W(o),"businessScope",{type:"any"}),Oo.call(W(o),n,Nn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(ae),wee=function(e){hg(r,e);var t=gg(r);function r(n){vg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(V),di=function(e){hg(r,e);var t=gg(r);function r(n){vg(this,r);var o;o=t.call(this,n),K(W(o),"showType",void 0),K(W(o),"range",void 0),K(W(o),"defaultValueType",void 0),K(W(o),"multiple",void 0),K(W(o),"rangeOptions",void 0),K(W(o),"defaultValue",void 0),K(W(o),"displayLevel",void 0),K(W(o),"showSubDept",void 0),K(W(o),"multistageFilling",void 0),K(W(o),"datasourceBind",void 0),K(W(o),"listPageBind",void 0),K(W(o),"datasourceType",void 0),K(W(o),"businessType",void 0),K(W(o),"businessScope",void 0),K(W(o),"organizingFunction",void 0),K(W(o),"organizationView",void 0),K(W(o),"openMultistageFilling",void 0),K(W(o),"showSelectedDetail",void 0),K(W(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all",o.listPageBind=new Ci(n==null?void 0:n.listPageBind);var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Nn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var h;o.datasourceBind=new cP((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Nn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:c.AssignType.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var w;o.organizationView=(w=n==null?void 0:n.organizationView)!==null&&w!==void 0?w:void 0;var T;o.showSelectedDetail=(T=n==null?void 0:n.showSelectedDetail)!==null&&T!==void 0?T:!1,o.selectedContentConfig=new Vi(n==null?void 0:n.selectedContentConfig);var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(S){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new Re(S))})),o}return r}(M);K(di,"Rules",Oee),K(di,"RuntimeRules",wee);function I3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $ee(e,t,r){return t&&B3(e.prototype,t),r&&B3(e,r),e}function ha(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ba=Reflect.get:ba=function(o,i,u){var l=See(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},ba(e,t,r||e)}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function Ree(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mg(e,t)}function Tee(e,t){return t&&(Eee(t)==="object"||typeof t=="function")?t:I3(e)}function mg(e,t){return mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mg(e,t)}function See(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dr(e),e!==null););return e}function Eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bee(e){var t=Iee();return function(){var n=Dr(e),o;if(t){var i=Dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tee(this,o)}}var Nn=function(e){Ree(r,e);var t=Bee(r);function r(n){Pee(this,r);var o;return o=t.call(this,n),ha(I3(o),"props",void 0),o.props=new di(n==null?void 0:n.props),o}return $ee(r,[{key:"toDataBindModel",value:function(o){var i=ba(Dr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.displayLevel,f=u.showSubDept;i.props.displayLevel=l,i.props.showSubDept=f}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);ha(Nn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),ha(Nn,"controlFieldType",c.FieldTypes.DEPARTMENTS),ha(Nn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 N3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mee(e,t,r){return t&&M3(e.prototype,t),r&&M3(e,r),e}function A3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function Aee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Og(e,t)}function kee(e,t){return t&&(Dee(t)==="object"||typeof t=="function")?t:N3(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}function Dee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jee(e){var t=Lee();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kee(this,o)}}var k3=function(e){Aee(r,e);var t=jee(r);function r(n){Nee(this,r);var o;return o=t.call(this,n),A3(N3(o),"props",void 0),o.props=new di(n==null?void 0:n.props),o}return Mee(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(k);A3(k3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var D3={Designer:Nn,Runtime:k3,Property:di},Fee=Object.freeze({__proto__:null,Input:gS,Checkbox:TS,Radio:LS,Number:GS,DatePicker:XS,DateRange:uE,Textarea:yE,RichText:mE,Select:BE,SelectMultiple:jE,Employee:UE,Image:rI,Attachment:ZE,Amount:aI,Score:hI,Address:SI,Department:jI,AutoNumber:HI,Calc:QI,SearchNumberRange:lB,SearchDateRange:bB,VueFormItem:RB,SelectRelation:DB,SearchInput:YB,Tree:JB,Employee2:o3,ElectronicSignature:p3,WPS:O3,Department2:E3,OrganizationSelection:D3});function Cee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zee(e,t,r){return t&&L3(e.prototype,t),r&&L3(e,r),e}function Vee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function Gee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wg(e,t)}function Yee(e,t){return t&&(Hee(t)==="object"||typeof t=="function")?t:Cee(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}function Hee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uee(e){var t=qee();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yee(this,o)}}var j3=function(e){Gee(r,e);var t=Uee(r);function r(n){return xee(this,r),t.call(this,n)}return zee(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(U);Vee(j3,"excludes",[c.CONTROL_TYPE.GRID]);function Wee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xee(e,t,r){return t&&F3(e.prototype,t),r&&F3(e,r),e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function Jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pg(e,t)}function Qee(e,t){return t&&(Zee(t)==="object"||typeof t=="function")?t:Wee(e)}function Pg(e,t){return Pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pg(e,t)}function Zee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tte(e){var t=ete();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qee(this,o)}}var nte=function(e){Jee(r,e);var t=tte(r);function r(n){return Kee(this,r),t.call(this,n)}return Xee(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Q),C3={Designer:j3,Runtime:nte,Property:G};function $g(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function ote(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rg(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:$g(e)}function Rg(e,t){return Rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rg(e,t)}function ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lte(e){var t=cte();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ite(this,o)}}var fte=24,Mn=function(e){ote(r,e);var t=lte(r);function r(n){rte(this,r);var o;o=t.call(this,n),x3($g(o),"span",void 0),x3($g(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:fte;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(G);function z3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ste(e,t,r){return t&&V3(e.prototype,t),r&&V3(e,r),e}function Tg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function _te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function yte(e,t){return t&&(pte(t)==="object"||typeof t=="function")?t:z3(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}function pte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vte(e){var t=dte();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yte(this,o)}}var vi=function(e){_te(r,e);var t=vte(r);function r(n){ate(this,r);var o;return o=t.call(this,n),Tg(z3(o),"props",void 0),o.props=new Mn(n==null?void 0:n.props),o}return ste(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(U);Tg(vi,"excludes",[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.DIVIDER]),Tg(vi,"childrenMaxLength",1);function G3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bte(e,t,r){return t&&Y3(e.prototype,t),r&&Y3(e,r),e}function gte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function mte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eg(e,t)}function Ote(e,t){return t&&(wte(t)==="object"||typeof t=="function")?t:G3(e)}function Eg(e,t){return Eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eg(e,t)}function wte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $te(e){var t=Pte();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ote(this,o)}}var Ig=function(e){mte(r,e);var t=$te(r);function r(n){hte(this,r);var o;return o=t.call(this,n),gte(G3(o),"props",void 0),o.props=new Mn(n==null?void 0:n.props),o}return bte(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Q),Ra={Designer:vi,Runtime:Ig,Property:Mn};function Bg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function Tte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ng(e,t)}function Ste(e,t){return t&&(Ete(t)==="object"||typeof t=="function")?t:Bg(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ng(e,t)}function Ete(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ite(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bte(e){var t=Ite();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ste(this,o)}}var Sa=function(e){Tte(r,e);var t=Bte(r);function r(n){Rte(this,r);var o;o=t.call(this,n),H3(Bg(o),"layoutMode",void 0),H3(Bg(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(G);function q3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mte(e,t,r){return t&&U3(e.prototype,t),r&&U3(e,r),e}function Mg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function Ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ag(e,t)}function kte(e,t){return t&&(Dte(t)==="object"||typeof t=="function")?t:q3(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(e,t)}function Dte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jte(e){var t=Lte();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kte(this,o)}}var Ia=function(e){Ate(r,e);var t=jte(r);function r(n){Nte(this,r);var o;return o=t.call(this,n),Mg(q3(o),"props",void 0),o.props=new Sa(n==null?void 0:n.props),o}return Mte(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(U);Mg(Ia,"excludes",[c.CONTROL_TYPE.ROW]),Mg(Ia,"setting",[{key:"col-setting",visible:!0}]);function W3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cte(e,t,r){return t&&K3(e.prototype,t),r&&K3(e,r),e}function xte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function zte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kg(e,t)}function Vte(e,t){return t&&(Gte(t)==="object"||typeof t=="function")?t:W3(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kg(e,t)}function Gte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hte(e){var t=Yte();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vte(this,o)}}var X3=function(e){zte(r,e);var t=Hte(r);function r(n){Fte(this,r);var o;return o=t.call(this,n),xte(W3(o),"props",void 0),o.props=new Sa(n==null?void 0:n.props),o}return Cte(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Q),J3={Designer:Ia,Runtime:X3,Property:Sa};function qte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ute(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wte(e,t,r){return t&&Q3(e.prototype,t),r&&Q3(e,r),e}function Dg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function Kte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lg(e,t)}function Xte(e,t){return t&&(Jte(t)==="object"||typeof t=="function")?t:qte(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}function Jte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zte(e){var t=Qte();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xte(this,o)}}var ene=4,Ma=function(e){Kte(r,e);var t=Zte(r);function r(n){return Ute(this,r),t.call(this,n)}return Wte(r,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"}}]),r}(Ia);Dg(Ma,"excludes",[c.CONTROL_TYPE.GRID_ROW]),Dg(Ma,"setting",[]),Dg(Ma,"childrenMaxLength",ene);function tne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rne(e,t,r){return t&&Z3(e.prototype,t),r&&Z3(e,r),e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function one(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jg(e,t)}function ine(e,t){return t&&(une(t)==="object"||typeof t=="function")?t:tne(e)}function jg(e,t){return jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jg(e,t)}function une(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lne(e){var t=cne();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ine(this,o)}}var fne=function(e){one(r,e);var t=lne(r);function r(n){return nne(this,r),t.call(this,n)}return rne(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(X3);function ane(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function _ne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fg(e,t)}function yne(e,t){return t&&(pne(t)==="object"||typeof t=="function")?t:ane(e)}function Fg(e,t){return Fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fg(e,t)}function pne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vne(e){var t=dne();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yne(this,o)}}var hne=function(e){_ne(r,e);var t=vne(r);function r(n){return sne(this,r),t.call(this,n)}return r}(Sa),Cg={Designer:Ma,Runtime:fne,Property:hne};function Da(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function La(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(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&&xg(e,t)}function bne(e,t){return t&&(gne(t)==="object"||typeof t=="function")?t:Da(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xg(e,t)}function gne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nN(e){var t=mne();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bne(this,o)}}var One=function(e){tN(r,e);var t=nN(r);function r(){eN(this,r);var n;return n=t.apply(this,arguments),La(Da(n),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return r}(G.Rules),Fa=function(e){tN(r,e);var t=nN(r);function r(n){eN(this,r);var o;o=t.call(this,n),La(Da(o),"caption",void 0),La(Da(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(G);La(Fa,"Rules",One);function rN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pne(e,t,r){return t&&oN(e.prototype,t),r&&oN(e,r),e}function zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function $ne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vg(e,t)}function Rne(e,t){return t&&(Tne(t)==="object"||typeof t=="function")?t:rN(e)}function Vg(e,t){return Vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vg(e,t)}function Tne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ene(e){var t=Sne();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rne(this,o)}}var Gg=function(e){$ne(r,e);var t=Ene(r);function r(n){wne(this,r);var o;return o=t.call(this,n),zg(rN(o),"props",void 0),o.props=new Fa(n==null?void 0:n.props),o}return Pne(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(U);zg(Gg,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),zg(Gg,"excludes",[c.CONTROL_TYPE.CARD_GROUP]);function iN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ine(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bne(e,t,r){return t&&uN(e.prototype,t),r&&uN(e,r),e}function Nne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function Mne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yg(e,t)}function Ane(e,t){return t&&(kne(t)==="object"||typeof t=="function")?t:iN(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function kne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lne(e){var t=Dne();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ane(this,o)}}var jne=function(e){Mne(r,e);var t=Lne(r);function r(n){Ine(this,r);var o;return o=t.call(this,n),Nne(iN(o),"props",void 0),o.props=new Fa(n==null?void 0:n.props),o}return Bne(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Q),cN={Designer:Gg,Runtime:jne,Property:Fa};function Et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hg(e,t)}function Fne(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:Et(e)}function Hg(e,t){return Hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hg(e,t)}function Cne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aN(e){var t=xne();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fne(this,o)}}var zne=function(e){fN(r,e);var t=aN(r);function r(n){lN(this,r);var o;return o=t.call(this,n),It(Et(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),It(Et(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),It(Et(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),Va=function(e){fN(r,e);var t=aN(r);function r(n){lN(this,r);var o;o=t.call(this,n),It(Et(o),"metaAutoWidth",void 0),It(Et(o),"caption",void 0),It(Et(o),"fixed",void 0),It(Et(o),"isShowCaptionTip",void 0),It(Et(o),"captionTip",void 0),It(Et(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var 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 a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new Dy(n==null?void 0:n.metaAutoWidth),o}return r}(G);It(Va,"Rules",zne);function sN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function An(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function Gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qg(e,t)}function Yne(e,t){return t&&(Hne(t)==="object"||typeof t=="function")?t:sN(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qg(e,t)}function Hne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Une(e){var t=qne();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yne(this,o)}}var pt=function(e){Gne(r,e);var t=Une(r);function r(n){Vne(this,r);var o;return o=t.call(this,n),An(sN(o),"props",void 0),o.props=new Va(n==null?void 0:n.props),o}return r}(U);An(pt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),An(pt,"controlType","subtable-column"),An(pt,"controlIcon","subtable-column"),An(pt,"childrenMaxLength",1),An(pt,"excludes",[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),An(pt,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function _N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function Kne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ug(e,t)}function Xne(e,t){return t&&(Jne(t)==="object"||typeof t=="function")?t:_N(e)}function Ug(e,t){return Ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ug(e,t)}function Jne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zne(e){var t=Qne();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xne(this,o)}}var pN=function(e){Kne(r,e);var t=Zne(r);function r(n){Wne(this,r);var o;return o=t.call(this,n),yN(_N(o),"props",void 0),o.props=new Va(n==null?void 0:n.props),o}return r}(Q);yN(pN,"controlType","subtable-column");var Wg={Designer:pt,Runtime:pN,Property:Va};function ere(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kg(e,t)}function rre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:ere(e)}function Kg(e,t){return Kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kg(e,t)}function ore(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ure(e){var t=ire();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rre(this,o)}}var Xg=function(e){nre(r,e);var t=ure(r);function r(n){return tre(this,r),t.call(this,n)}return r}(G);function dN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function lre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jg(e,t)}function fre(e,t){return t&&(are(t)==="object"||typeof t=="function")?t:dN(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jg(e,t)}function are(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _re(e){var t=sre();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fre(this,o)}}var Dn=function(e){lre(r,e);var t=_re(r);function r(n){cre(this,r);var o;return o=t.call(this,n),kn(dN(o),"props",void 0),o.props=new Xg(n==null?void 0:n.props),o}return r}(U);kn(Dn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),kn(Dn,"controlType","subtable-row"),kn(Dn,"controlIcon","subtable-row"),kn(Dn,"childrenMaxLength",1),kn(Dn,"excludes",[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.SUBTABLE_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),kn(Dn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],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 yre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pre(e,t,r){return t&&hN(e.prototype,t),r&&hN(e,r),e}function dre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function vre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qg(e,t)}function hre(e,t){return t&&(bre(t)==="object"||typeof t=="function")?t:vN(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qg(e,t)}function bre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mre(e){var t=gre();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hre(this,o)}}var Ore=function(e){vre(r,e);var t=mre(r);function r(n){yre(this,r);var o;return o=t.call(this,n),dre(vN(o),"props",void 0),o.props=new Xg(n==null?void 0:n.props),o}return pre(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Q),bN={Designer:Dn,Runtime:Ore,Property:Xg};function Ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function Pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zg(e,t)}function $re(e,t){return t&&(Rre(t)==="object"||typeof t=="function")?t:Ke(e)}function Zg(e,t){return Zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zg(e,t)}function Rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sre(e){var t=Tre();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $re(this,o)}}var em=function(e){Pre(r,e);var t=Sre(r);function r(n){wre(this,r);var o;o=t.call(this,n),it(Ke(o),"widthType",void 0),it(Ke(o),"width",void 0),it(Ke(o),"caption",void 0),it(Ke(o),"fieldCode",void 0),it(Ke(o),"fieldType",void 0),it(Ke(o),"fieldName",void 0),it(Ke(o),"datasourceBind",void 0),it(Ke(o),"fixed",void 0),it(Ke(o),"textCleanFormart",void 0),it(Ke(o),"decimalKeepPrecision",void 0),it(Ke(o),"timestampDateType",void 0),it(Ke(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:!1;var f;o.fieldCode=(f=n==null?void 0:n.fieldCode)!==null&&f!==void 0?f:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:c.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:c.DateType.DATE;var g;return o.departmentDisplayLevel=(g=n==null?void 0:n.departmentDisplayLevel)!==null&&g!==void 0?g:1,o}return r}(G);function gN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ere(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function Ire(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function Bre(e,t){return t&&(Nre(t)==="object"||typeof t=="function")?t:gN(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}function Nre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Are(e){var t=Mre();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bre(this,o)}}var jn=function(e){Ire(r,e);var t=Are(r);function r(n){Ere(this,r);var o;return o=t.call(this,n),Ln(gN(o),"props",void 0),o.props=new em(n==null?void 0:n.props),o}return r}(U);Ln(jn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Ln(jn,"controlType","gridtable-column"),Ln(jn,"controlIcon","gridtable-column"),Ln(jn,"childrenMaxLength",1),Ln(jn,"excludes",[c.CONTROL_TYPE.GRID_TABLE,c.CONTROL_TYPE.GRID_TABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),Ln(jn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function mN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ON(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function Dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nm(e,t)}function Lre(e,t){return t&&(jre(t)==="object"||typeof t=="function")?t:mN(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}function jre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cre(e){var t=Fre();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lre(this,o)}}var wN=function(e){Dre(r,e);var t=Cre(r);function r(n){kre(this,r);var o;return o=t.call(this,n),ON(mN(o),"props",void 0),o.props=new em(n==null?void 0:n.props),o}return r}(Q);ON(wN,"controlType","gridtable-column");var PN={Designer:jn,Runtime:wN,Property:em};function rm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function zre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&om(e,t)}function Vre(e,t){return t&&(Gre(t)==="object"||typeof t=="function")?t:rm(e)}function om(e,t){return om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},om(e,t)}function Gre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hre(e){var t=Yre();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vre(this,o)}}var im=function(e){zre(r,e);var t=Hre(r);function r(n){xre(this,r);var o;o=t.call(this,n),$N(rm(o),"childMinWidth",void 0),$N(rm(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(G);function RN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ure(e,t,r){return t&&TN(e.prototype,t),r&&TN(e,r),e}function um(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function Wre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cm(e,t)}function Kre(e,t){return t&&(Xre(t)==="object"||typeof t=="function")?t:RN(e)}function cm(e,t){return cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cm(e,t)}function Xre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qre(e){var t=Jre();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kre(this,o)}}var lm=function(e){Wre(r,e);var t=Qre(r);function r(n){qre(this,r);var o;return o=t.call(this,n),um(RN(o),"props",void 0),o.props=new im(n==null?void 0:n.props),o}return Ure(r,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"}}]),r}(U);um(lm,"excludes",[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB]),um(lm,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function SN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eoe(e,t,r){return t&&EN(e.prototype,t),r&&EN(e,r),e}function toe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fm(e,t)}function roe(e,t){return t&&(ooe(t)==="object"||typeof t=="function")?t:SN(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function ooe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ioe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uoe(e){var t=ioe();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return roe(this,o)}}var coe=function(e){noe(r,e);var t=uoe(r);function r(n){Zre(this,r);var o;return o=t.call(this,n),toe(SN(o),"props",void 0),o.props=new im(n==null?void 0:n.props),o}return eoe(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Q),IN={Designer:lm,Runtime:coe,Property:im};function BN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function loe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function foe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function aoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&am(e,t)}function soe(e,t){return t&&(_oe(t)==="object"||typeof t=="function")?t:BN(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function _oe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function poe(e){var t=yoe();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return soe(this,o)}}var sm=function(e){aoe(r,e);var t=poe(r);function r(n){loe(this,r);var o;o=t.call(this,n),foe(BN(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(G);function _m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ym(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function 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&&pm(e,t)}function doe(e,t){return t&&(voe(t)==="object"||typeof t=="function")?t:_m(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}function voe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AN(e){var t=hoe();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return doe(this,o)}}var boe=function(e){MN(r,e);var t=AN(r);function r(n){NN(this,r);var o;return o=t.call(this,n),ym(_m(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return r}(ne),ns=function(e){MN(r,e);var t=AN(r);function r(n){NN(this,r);var o;o=t.call(this,n),ym(_m(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:bi.controlName,o}return r}(G);ym(ns,"Rules",boe);function kN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function goe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function moe(e,t,r){return t&&DN(e.prototype,t),r&&DN(e,r),e}function dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function Ooe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vm(e,t)}function woe(e,t){return t&&(Poe(t)==="object"||typeof t=="function")?t:kN(e)}function vm(e,t){return vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vm(e,t)}function Poe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $oe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Roe(e){var t=$oe();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return woe(this,o)}}var hi=function(e){Ooe(r,e);var t=Roe(r);function r(n){goe(this,r);var o;return o=t.call(this,n),dm(kN(o),"props",void 0),o.props=new ns(n==null?void 0:n.props),o}return moe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(U);dm(hi,"excludes",[c.CONTROL_TYPE.TAB]),dm(hi,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 Toe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Soe(e,t,r){return t&&jN(e.prototype,t),r&&jN(e,r),e}function Eoe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function Ioe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hm(e,t)}function Boe(e,t){return t&&(Noe(t)==="object"||typeof t=="function")?t:LN(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}function Noe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Moe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aoe(e){var t=Moe();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Boe(this,o)}}var koe=function(e){Ioe(r,e);var t=Aoe(r);function r(n){Toe(this,r);var o;return o=t.call(this,n),Eoe(LN(o),"props",void 0),o.props=new ns(n==null?void 0:n.props),o}return Soe(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Q),FN={Designer:hi,Runtime:koe,Property:ns};function CN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Doe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Loe(e,t,r){return t&&xN(e.prototype,t),r&&xN(e,r),e}function is(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function joe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bm(e,t)}function Foe(e,t){return t&&(Coe(t)==="object"||typeof t=="function")?t:CN(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}function Coe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zoe(e){var t=xoe();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Foe(this,o)}}var bi=function(e){joe(r,e);var t=zoe(r);function r(n){Doe(this,r);var o;o=t.call(this,n),is(CN(o),"props",void 0),o.props=new sm(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new hi,new hi],o}return Loe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(U);is(bi,"excludes",[c.CONTROL_TYPE.TAB]),is(bi,"controlEventKeys",["on_change_tab"]),is(bi,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function zN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Voe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Goe(e,t,r){return t&&VN(e.prototype,t),r&&VN(e,r),e}function Yoe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function Hoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gm(e,t)}function qoe(e,t){return t&&(Uoe(t)==="object"||typeof t=="function")?t:zN(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}function Uoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Woe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Koe(e){var t=Woe();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qoe(this,o)}}var Xoe=function(e){Hoe(r,e);var t=Koe(r);function r(n){Voe(this,r);var o;return o=t.call(this,n),Yoe(zN(o),"props",void 0),o.props=new sm(n==null?void 0:n.props),o}return Goe(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Q),GN={Designer:bi,Runtime:Xoe,Property:sm};function Joe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function Zoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mm(e,t)}function eie(e,t){return t&&(tie(t)==="object"||typeof t=="function")?t:Joe(e)}function mm(e,t){return mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mm(e,t)}function tie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rie(e){var t=nie();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eie(this,o)}}var YN=function(e){Zoe(r,e);var t=rie(r);function r(n){return Qoe(this,r),t.call(this,n)}return r}(G);function HN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iie(e,t,r){return t&&qN(e.prototype,t),r&&qN(e,r),e}function UN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function uie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Om(e,t)}function cie(e,t){return t&&(lie(t)==="object"||typeof t=="function")?t:HN(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}function lie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aie(e){var t=fie();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cie(this,o)}}var WN=function(e){uie(r,e);var t=aie(r);function r(n){oie(this,r);var o;return o=t.call(this,n),UN(HN(o),"props",void 0),o.props=new YN({}),o.children=(n==null?void 0:n.children)||[new vi({props:new Mn({span:12})}),new vi({props:new Mn({span:12})})],o}return iie(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(U);UN(WN,"excludes",[c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.GRID,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.TOOLBOX]);function sie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yie(e,t,r){return t&&KN(e.prototype,t),r&&KN(e,r),e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function pie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wm(e,t)}function die(e,t){return t&&(vie(t)==="object"||typeof t=="function")?t:sie(e)}function wm(e,t){return wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wm(e,t)}function vie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bie(e){var t=hie();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return die(this,o)}}var gie=function(e){pie(r,e);var t=bie(r);function r(n){_ie(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Ig({props:new Mn({span:12})}),new Ig({props:new Mn({span:12})})],o}return yie(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Q),XN={Designer:WN,Runtime:gie,Property:YN};function x(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ss(e)}function $m(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rm(e,t)}function mie(e,t){return t&&(Oie(t)==="object"||typeof t=="function")?t:x(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}function Oie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tm(e){var t=wie();return function(){var n=ss(e),o;if(t){var i=ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mie(this,o)}}var JN;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(JN||(JN={}));var Pie=function(e){$m(r,e);var t=Tm(r);function r(n){Pm(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Qt),$ie=function(e){$m(r,e);var t=Tm(r);function r(n){Pm(this,r);var o;if(o=t.call(this,n),z(x(o),"triggerFieldCode",{type:"any"}),z(x(o),"datasourceBind",{type:"any"}),z(x(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")}}}}]}}]),Ui.call(x(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(ne),gi=function(e){$m(r,e);var t=Tm(r);function r(n){Pm(this,r);var o,i,u;o=t.call(this,n),z(x(o),"datasourceBind",void 0),z(x(o),"isLoading",void 0),z(x(o),"isShowSubList",void 0),z(x(o),"triggerType",void 0),z(x(o),"triggerFieldCode",void 0),z(x(o),"sublistPage",void 0),z(x(o),"isShowJoinRelation",void 0),z(x(o),"joinRelation",void 0),z(x(o),"showType",void 0),z(x(o),"showFullScreen",void 0),z(x(o),"isFixedHeader",void 0),z(x(o),"selectionType",void 0),z(x(o),"isShowSelection",void 0),z(x(o),"isAllLoaded",void 0),z(x(o),"countType",void 0),z(x(o),"countLimit",void 0),z(x(o),"rowStyleType",void 0),z(x(o),"rowStyleBgColor",void 0),z(x(o),"rowStyleRules",void 0),z(x(o),"rowStyleRulesScript",void 0),o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var f;o.isShowSubList=(f=n==null?void 0:n.isShowSubList)!==null&&f!==void 0?f:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var s;o.triggerFieldCode=(s=n==null?void 0:n.triggerFieldCode)!==null&&s!==void 0?s:"",o.sublistPage=new rP(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new iP(n==null?void 0:n.joinRelation);var p;o.showType=(p=n==null?void 0:n.showType)!==null&&p!==void 0?p:"stretch";var b;o.showFullScreen=(b=n==null?void 0:n.showFullScreen)!==null&&b!==void 0?b:!1;var g;o.selectionType=(g=n==null?void 0:n.selectionType)!==null&&g!==void 0?g:"multiple";var h;o.isFixedHeader=(h=n==null?void 0:n.isFixedHeader)!==null&&h!==void 0?h:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var v;o.isAllLoaded=(v=n==null?void 0:n.isAllLoaded)!==null&&v!==void 0?v:!0,o.countType=n==null?void 0:n.countType;var O;o.countLimit=(O=n==null?void 0:n.countLimit)!==null&&O!==void 0?O:1e5;var P;o.rowStyleType=(P=n==null?void 0:n.rowStyleType)!==null&&P!==void 0?P:"none";var w;o.rowStyleBgColor=(w=n==null?void 0:n.rowStyleBgColor)!==null&&w!==void 0?w:"theme";var T;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(T=n==null||(i=n.rowStyleRules)===null||i===void 0?void 0:i.map(function(S){return new mP(S)}))!==null&&T!==void 0?T:[]:[];var $;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?($=n==null||(u=n.rowStyleRulesScript)===null||u===void 0?void 0:u.map(function(S){return new OP(S)}))!==null&&$!==void 0?$:[]:[],o}return r}(G);z(gi,"Rules",$ie),z(gi,"RuntimeRules",Pie);function QN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tie(e,t,r){return t&&ZN(e.prototype,t),r&&ZN(e,r),e}function _s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ys(e)}function Sie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sm(e,t)}function Eie(e,t){return t&&(Iie(t)==="object"||typeof t=="function")?t:QN(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}function Iie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nie(e){var t=Bie();return function(){var n=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eie(this,o)}}var ps=function(e){Sie(r,e);var t=Nie(r);function r(n){Rie(this,r);var o;return o=t.call(this,n),_s(QN(o),"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return Tie(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(U);_s(ps,"excludes",[c.CONTROL_TYPE.ROW]),_s(ps,"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"]),_s(ps,"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 e1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Aie(e,t,r){return t&&t1(e.prototype,t),r&&t1(e,r),e}function kie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function Die(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Em(e,t)}function Lie(e,t){return t&&(jie(t)==="object"||typeof t=="function")?t:e1(e)}function Em(e,t){return Em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Em(e,t)}function jie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cie(e){var t=Fie();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lie(this,o)}}var xie=function(e){Die(r,e);var t=Cie(r);function r(n){Mie(this,r);var o;return o=t.call(this,n),kie(e1(o),"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return Aie(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Q),Im={Designer:ps,Runtime:xie,Property:gi};function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(e)}function r1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bm(e,t)}function zie(e,t){return t&&(Vie(t)==="object"||typeof t=="function")?t:yn(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}function Vie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o1(e){var t=Gie();return function(){var n=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zie(this,o)}}var Yie=function(e){r1(r,e);var t=o1(r);function r(n){n1(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Qt),hs=function(e){r1(r,e);var t=o1(r);function r(n){n1(this,r);var o;o=t.call(this,n),pn(yn(o),"save",void 0),pn(yn(o),"cancel",void 0),pn(yn(o),"saveAs",void 0),pn(yn(o),"print",void 0),pn(yn(o),"custom",void 0),pn(yn(o),"isLoading",void 0),pn(yn(o),"datasourceBind",void 0);var i;o.save=new kt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new kt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var l;o.saveAs=new kt((l=n==null?void 0:n.saveAs)!==null&&l!==void 0?l:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var f;o.print=new kt((f=n==null?void 0:n.print)!==null&&f!==void 0?f:{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(_){return new kt(_)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new re(n==null?void 0:n.datasourceBind),o}return r}(G);pn(hs,"RuntimeRules",Yie);function i1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qie(e,t,r){return t&&u1(e.prototype,t),r&&u1(e,r),e}function c1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(e)}function Uie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nm(e,t)}function Wie(e,t){return t&&(Kie(t)==="object"||typeof t=="function")?t:i1(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(e,t)}function Kie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jie(e){var t=Xie();return function(){var n=bs(e),o;if(t){var i=bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wie(this,o)}}var l1=function(e){Uie(r,e);var t=Jie(r);function r(n){Hie(this,r);var o;return o=t.call(this,n),c1(i1(o),"props",void 0),o.props=new hs(n==null?void 0:n.props),o}return qie(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(U);c1(l1,"excludes",[]);function f1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zie(e,t,r){return t&&a1(e.prototype,t),r&&a1(e,r),e}function eue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function tue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mm(e,t)}function nue(e,t){return t&&(rue(t)==="object"||typeof t=="function")?t:f1(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mm(e,t)}function rue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iue(e){var t=oue();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nue(this,o)}}var uue=function(e){tue(r,e);var t=iue(r);function r(n){Qie(this,r);var o;return o=t.call(this,n),eue(f1(o),"props",void 0),o.props=new hs(n==null?void 0:n.props),o}return Zie(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Q),Am={Designer:l1,Runtime:uue,Property:hs};function cue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fue(e,t,r){return t&&s1(e.prototype,t),r&&s1(e,r),e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function aue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&km(e,t)}function sue(e,t){return t&&(_ue(t)==="object"||typeof t=="function")?t:cue(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function _ue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pue(e){var t=yue();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sue(this,o)}}var due=function(e){aue(r,e);var t=pue(r);function r(n){return lue(this,r),t.call(this,n)}return fue(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(U);function vue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bue(e,t,r){return t&&_1(e.prototype,t),r&&_1(e,r),e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function gue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dm(e,t)}function mue(e,t){return t&&(Oue(t)==="object"||typeof t=="function")?t:vue(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(e,t)}function Oue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pue(e){var t=wue();return function(){var n=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mue(this,o)}}var $ue=function(e){gue(r,e);var t=Pue(r);function r(n){return hue(this,r),t.call(this,n)}return bue(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Q);function Lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function Tue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lm(e,t)}function Sue(e,t){return t&&(Eue(t)==="object"||typeof t=="function")?t:Lr(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(e,t)}function Eue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bue(e){var t=Iue();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sue(this,o)}}var Nue=function(e){Tue(r,e);var t=Bue(r);function r(n){Rue(this,r);var o;o=t.call(this,n),mi(Lr(o),"hideHeader",void 0),mi(Lr(o),"background","#fff"),mi(Lr(o),"minWidth",""),mi(Lr(o),"maxWidth",""),mi(Lr(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(G),y1={Designer:due,Runtime:$ue,Property:Nue};function Mue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kue(e,t,r){return t&&p1(e.prototype,t),r&&p1(e,r),e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}function Due(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jm(e,t)}function Lue(e,t){return t&&(jue(t)==="object"||typeof t=="function")?t:Mue(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(e,t)}function jue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cue(e){var t=Fue();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lue(this,o)}}var xue=function(e){Due(r,e);var t=Cue(r);function r(n){return Aue(this,r),t.call(this,n)}return kue(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(U);function zue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gue(e,t,r){return t&&d1(e.prototype,t),r&&d1(e,r),e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(e)}function Yue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function Hue(e,t){return t&&(que(t)==="object"||typeof t=="function")?t:zue(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function que(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wue(e){var t=Uue();return function(){var n=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hue(this,o)}}var Kue=function(e){Yue(r,e);var t=Wue(r);function r(n){return Vue(this,r),t.call(this,n)}return Gue(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Q);function Cm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function Jue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xm(e,t)}function Que(e,t){return t&&(Zue(t)==="object"||typeof t=="function")?t:Cm(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}function Zue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ece(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tce(e){var t=ece();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Que(this,o)}}var nce=function(e){Jue(r,e);var t=tce(r);function r(n){Xue(this,r);var o;return o=t.call(this,n),v1(Cm(o),"display",void 0),v1(Cm(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new A$(n==null?void 0:n.flexConfig),o}return r}(G),h1={Designer:xue,Runtime:Kue,Property:nce};function rce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ice(e,t,r){return t&&b1(e.prototype,t),r&&b1(e,r),e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ts(e)}function uce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zm(e,t)}function cce(e,t){return t&&(lce(t)==="object"||typeof t=="function")?t:rce(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function lce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ace(e){var t=fce();return function(){var n=Ts(e),o;if(t){var i=Ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cce(this,o)}}var sce=function(e){uce(r,e);var t=ace(r);function r(n){return oce(this,r),t.call(this,n)}return ice(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(U);function _ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pce(e,t,r){return t&&g1(e.prototype,t),r&&g1(e,r),e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(e)}function dce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vm(e,t)}function vce(e,t){return t&&(hce(t)==="object"||typeof t=="function")?t:_ce(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vm(e,t)}function hce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gce(e){var t=bce();return function(){var n=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vce(this,o)}}var mce=function(e){dce(r,e);var t=gce(r);function r(n){return yce(this,r),t.call(this,n)}return pce(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Q);function Oce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Es(e){return Es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Es(e)}function Pce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gm(e,t)}function $ce(e,t){return t&&(Rce(t)==="object"||typeof t=="function")?t:Oce(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(e,t)}function Rce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sce(e){var t=Tce();return function(){var n=Es(e),o;if(t){var i=Es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ce(this,o)}}var Ece=function(e){Pce(r,e);var t=Sce(r);function r(n){return wce(this,r),t.call(this,n)}return r}(G),m1={Designer:sce,Runtime:mce,Property:Ece};function Ice(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nce(e,t,r){return t&&O1(e.prototype,t),r&&O1(e,r),e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(e)}function Mce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ym(e,t)}function Ace(e,t){return t&&(kce(t)==="object"||typeof t=="function")?t:Ice(e)}function Ym(e,t){return Ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ym(e,t)}function kce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lce(e){var t=Dce();return function(){var n=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ace(this,o)}}var jce=function(e){Mce(r,e);var t=Lce(r);function r(n){return Bce(this,r),t.call(this,n)}return Nce(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(U);function Fce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xce(e,t,r){return t&&w1(e.prototype,t),r&&w1(e,r),e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(e)}function zce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hm(e,t)}function Vce(e,t){return t&&(Gce(t)==="object"||typeof t=="function")?t:Fce(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function Gce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hce(e){var t=Yce();return function(){var n=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vce(this,o)}}var qce=function(e){zce(r,e);var t=Hce(r);function r(n){return Cce(this,r),t.call(this,n)}return xce(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Q);function Oi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ns(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ms(e)}function Wce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qm(e,t)}function Kce(e,t){return t&&(Xce(t)==="object"||typeof t=="function")?t:Oi(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qm(e,t)}function Xce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qce(e){var t=Jce();return function(){var n=Ms(e),o;if(t){var i=Ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kce(this,o)}}var Zce=function(e){Wce(r,e);var t=Qce(r);function r(n){Uce(this,r);var o;o=t.call(this,n),Ns(Oi(o),"widthSpan",void 0),Ns(Oi(o),"heightSpan",void 0),Ns(Oi(o),"left",void 0),Ns(Oi(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var l;o.left=(l=n==null?void 0:n.left)!==null&&l!==void 0?l:0;var f;return o.top=(f=n==null?void 0:n.top)!==null&&f!==void 0?f:0,o}return r}(G),P1={Designer:jce,Runtime:qce,Property:Zce};function As(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ele(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(e)}function tle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wm(e,t)}function nle(e,t){return t&&(rle(t)==="object"||typeof t=="function")?t:As(e)}function Wm(e,t){return Wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wm(e,t)}function rle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ole(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ile(e){var t=ole();return function(){var n=ks(e),o;if(t){var i=ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nle(this,o)}}var Km=function(e){tle(r,e);var t=ile(r);function r(n){ele(this,r);var o;o=t.call(this,n),Um(As(o),"position",void 0),Um(As(o),"opacity",void 0),Um(As(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"right",o}return r}(G);function $1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ule(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cle(e,t,r){return t&&R1(e.prototype,t),r&&R1(e,r),e}function Xm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function lle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jm(e,t)}function fle(e,t){return t&&(ale(t)==="object"||typeof t=="function")?t:$1(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}function ale(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _le(e){var t=sle();return function(){var n=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fle(this,o)}}var Qm=function(e){lle(r,e);var t=_le(r);function r(n){ule(this,r);var o;o=t.call(this,n),Xm($1(o),"props",void 0);var i;return o.props=new Km((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return cle(r,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"}}]),r}(U);Xm(Qm,"excludes",[]),Xm(Qm,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function T1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ple(e,t,r){return t&&S1(e.prototype,t),r&&S1(e,r),e}function dle(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function vle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zm(e,t)}function hle(e,t){return t&&(ble(t)==="object"||typeof t=="function")?t:T1(e)}function Zm(e,t){return Zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zm(e,t)}function ble(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mle(e){var t=gle();return function(){var n=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hle(this,o)}}var Ole=function(e){vle(r,e);var t=mle(r);function r(n){yle(this,r);var o;o=t.call(this,n),dle(T1(o),"props",void 0);var i;return o.props=new Km((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return ple(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Q),E1={Designer:Qm,Runtime:Ole,Property:Km},wle=Object.freeze({__proto__:null,Grid:C3,Col:Ra,Row:J3,GridRow:Cg,CardGroup:cN,SubTableColumn:Wg,SubTableRow:bN,GridTableColumn:PN,GridLayoutContainer:IN,Tab:GN,TabPane:FN,Toolbox:XN,ListView:Im,DataView:Am,Page:y1,AdvancedContainer:h1,PositioningContainer:m1,Position:P1,ActionBar:E1});function B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function t0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function Ple(e,t){return t&&($le(t)==="object"||typeof t=="function")?t:B(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function $le(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r0(e){var t=Rle();return function(){var n=js(e),o;if(t){var i=js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ple(this,o)}}var Tle=function(e){t0(r,e);var t=r0(r);function r(n){e0(this,r);var o;return o=t.call(this,n),I(B(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),I(B(o),"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),I(B(o),"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),I(B(o),"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),I(B(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),I(B(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 r}(ne),Sle=function(e){t0(r,e);var t=r0(r);function r(n){e0(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,l,f){l.length<n.limitRows&&f(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),f()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Qt),wi=function(e){t0(r,e);var t=r0(r);function r(n,o){e0(this,r);var i;i=t.call(this,n,o,r.mode),I(B(i),"caption",void 0),I(B(i),"labelPosition",void 0),I(B(i),"isHideCaption",void 0),I(B(i),"isShowCaptionTip",void 0),I(B(i),"captionTip",void 0),I(B(i),"defaultState",void 0),I(B(i),"limitRows",void 0),I(B(i),"maxRows",void 0),I(B(i),"defaultRows",void 0),I(B(i),"datasourceBind",void 0),I(B(i),"printMode",void 0),I(B(i),"openType",void 0),I(B(i),"formKey",void 0),I(B(i),"useCustomHeight",void 0),I(B(i),"maxHeight",void 0),I(B(i),"canAdd",void 0),I(B(i),"canDelete",void 0),I(B(i),"canCheck",void 0),I(B(i),"canEdit",void 0),I(B(i),"canImport",void 0),I(B(i),"importConfig",void 0),I(B(i),"canExport",void 0),I(B(i),"exportConfig",void 0),I(B(i),"canClear",void 0),I(B(i),"isPaste",void 0),I(B(i),"mobileShowType",void 0),I(B(i),"mobileDefaultNum",void 0),I(B(i),"dataStorageDoc",void 0),I(B(i),"serverPagination",void 0),I(B(i),"fixedColumn",void 0),I(B(i),"mobileRowCaption",void 0),I(B(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Cs.controlName;var l;i.isHideCaption=(l=o==null?void 0:o.isHideCaption)!==null&&l!==void 0?l:!1;var f;i.defaultState=(f=o==null?void 0:o.defaultState)!==null&&f!==void 0?f:"default";var a;i.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:N$;var g;i.printMode=(g=o==null?void 0:o.printMode)!==null&&g!==void 0?g:"row";var h;i.limitRows=(h=o==null?void 0:o.limitRows)!==null&&h!==void 0?h:1;var m;i.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var v;i.defaultRows=(v=o==null?void 0:o.defaultRows)!==null&&v!==void 0?v:1,i.datasourceBind=new re(o==null?void 0:o.datasourceBind);var O;i.canAdd=(O=o==null?void 0:o.canAdd)!==null&&O!==void 0?O:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var w;i.canCheck=(w=o==null?void 0:o.canCheck)!==null&&w!==void 0?w:!1;var T;i.canEdit=(T=o==null?void 0:o.canEdit)!==null&&T!==void 0?T:!1;var $;i.canImport=($=o==null?void 0:o.canImport)!==null&&$!==void 0?$:!1;var S;i.canExport=(S=o==null?void 0:o.canExport)!==null&&S!==void 0?S:!1;var D;i.canClear=(D=o==null?void 0:o.canClear)!==null&&D!==void 0?D:!0;var Fe;i.serverPagination=(Fe=o==null?void 0:o.serverPagination)!==null&&Fe!==void 0?Fe:!1;var ve;i.isShowCaptionTip=(ve=o==null?void 0:o.isShowCaptionTip)!==null&&ve!==void 0?ve:!1;var he;i.captionTip=(he=o==null?void 0:o.captionTip)!==null&&he!==void 0?he:"";var co;i.mobileShowType=(co=o==null?void 0:o.mobileShowType)!==null&&co!==void 0?co:"list";var ir;i.mobileDefaultNum=(ir=o==null?void 0:o.mobileDefaultNum)!==null&&ir!==void 0?ir:10;var Nt;i.dataStorageDoc=(Nt=o==null?void 0:o.dataStorageDoc)!==null&&Nt!==void 0?Nt:new Qw;var bw;i.fixedColumn=(bw=o==null?void 0:o.fixedColumn)!==null&&bw!==void 0?bw:[];var gw;i.mobileRowCaption=(gw=o==null?void 0:o.mobileRowCaption)!==null&&gw!==void 0?gw:"\u660E\u7EC6";var mw;i.mobileIsTile=(mw=o==null?void 0:o.mobileIsTile)!==null&&mw!==void 0?mw:!1;var Ow;i.isPaste=(Ow=o==null?void 0:o.isPaste)!==null&&Ow!==void 0?Ow:!1;var ww;i.pageSize=(ww=o==null?void 0:o.pageSize)!==null&&ww!==void 0?ww:10;var Pw;return i.pageSizeOptions=(Pw=o==null?void 0:o.pageSizeOptions)!==null&&Pw!==void 0?Pw:[10,20,50,100],i.importConfig=new I$(o==null?void 0:o.importConfig),i.exportConfig=new B$(o==null?void 0:o.exportConfig),i}return r}(Po);I(wi,"Rules",Tle),I(wi,"RuntimeRules",Sle);function o0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ele(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ile(e,t,r){return t&&I1(e.prototype,t),r&&I1(e,r),e}function i0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function Ble(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nle(e,t){return t&&(Mle(t)==="object"||typeof t=="function")?t:o0(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function Mle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ale(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kle(e){var t=Ale();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nle(this,o)}}var Cs=function(e){Ble(r,e);var t=kle(r);function r(n){Ele(this,r);var o,i,u;return o=t.call(this,n),i0(o0(o),"props",void 0),o.props=new wi(o0(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new pt,new pt,new pt]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return Ile(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new pt,l=typeof o=="number"?o:i;return l===void 0?this.props.headers.push(u):this.props.headers.splice(l,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(cu);i0(Cs,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),i0(Cs,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_PASTE,c.COMMON_SETTING_TYPE.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 c0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lle(e,t,r){return t&&B1(e.prototype,t),r&&B1(e,r),e}function jle(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xs(e)}function Fle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function Cle(e,t){return t&&(xle(t)==="object"||typeof t=="function")?t:c0(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function xle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vle(e){var t=zle();return function(){var n=xs(e),o;if(t){var i=xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cle(this,o)}}var Gle=function(e){Fle(r,e);var t=Vle(r);function r(n){Dle(this,r);var o;return o=t.call(this,n),jle(c0(o),"props",void 0),o.props=new wi(c0(o),n==null?void 0:n.props),o}return Lle(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Kt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(vp),N1={Designer:Cs,Runtime:Gle,Property:wi};function jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zs(e){return zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zs(e)}function Hle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qle(e,t){return t&&(Ule(t)==="object"||typeof t=="function")?t:jr(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function Ule(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kle(e){var t=Wle();return function(){var n=zs(e),o;if(t){var i=zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qle(this,o)}}var a0=function(e){Hle(r,e);var t=Kle(r);function r(n,o){Yle(this,r);var i;i=t.call(this,n,o),Pi(jr(i),"isFixedHeader",void 0),Pi(jr(i),"selectionType",void 0),Pi(jr(i),"isShowToolbar",void 0),Pi(jr(i),"isShowSelection",void 0),Pi(jr(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var l;i.isShowToolbar=(l=o==null?void 0:o.isShowToolbar)!==null&&l!==void 0?l:!0;var f;i.isShowSelection=(f=o==null?void 0:o.isShowSelection)!==null&&f!==void 0?f:!1;var a;i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var s;return i.pageSizeOptions=(s=o==null?void 0:o.pageSizeOptions)!==null&&s!==void 0?s:[10,20,50,100,500],i}return r}(Po);function Xle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jle(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function A1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qle(e,t){return t&&(Zle(t)==="object"||typeof t=="function")?t:Xle(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function Zle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function efe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k1(e){var t=efe();return function(){var n=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qle(this,o)}}var tfe=function(e){A1(r,e);var t=k1(r);function r(n){M1(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(ct),Gs=function(e){A1(r,e);var t=k1(r);function r(n){M1(this,r);var o,i,u;o=t.call(this,n);var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"left";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Fn.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(Z);Jle(Gs,"Rules",tfe);function D1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(e)}function rfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ofe(e,t){return t&&(ife(t)==="object"||typeof t=="function")?t:D1(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function ife(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ufe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cfe(e){var t=ufe();return function(){var n=Ys(e),o;if(t){var i=Ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ofe(this,o)}}var Fn=function(e){rfe(r,e);var t=cfe(r);function r(n){nfe(this,r);var o;return o=t.call(this,n),$i(D1(o),"props",void 0),o.props=new Gs(n==null?void 0:n.props),o}return r}(ue);$i(Fn,"controlType","order-column"),$i(Fn,"controlName","\u5E8F\u53F7"),$i(Fn,"controlIcon","order-column"),$i(Fn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function L1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function ffe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 afe(e,t){return t&&(sfe(t)==="object"||typeof t=="function")?t:L1(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}function sfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _fe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yfe(e){var t=_fe();return function(){var n=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return afe(this,o)}}var d0=function(e){ffe(r,e);var t=yfe(r);function r(n){lfe(this,r);var o;return o=t.call(this,n),y0(L1(o),"props",void 0),o.props=new Gs(n==null?void 0:n.props),o}return r}(ce);y0(d0,"controlType","order-column"),y0(d0,"controlFieldType",c.FieldTypes.DECIMAL);var j1={Designer:Fn,Runtime:d0,Property:Gs};function v0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(e)}function dfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vfe(e,t){return t&&(hfe(t)==="object"||typeof t=="function")?t:v0(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function hfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gfe(e){var t=bfe();return function(){var n=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vfe(this,o)}}var b0=function(e){dfe(r,e);var t=gfe(r);function r(n){pfe(this,r);var o,i;o=t.call(this,n),F1(v0(o),"showType",void 0),F1(v0(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var l;o.autoWidth.minWidth=(l=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&l!==void 0?l:84;var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:xn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(Z);function Us(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C1(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function mfe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){C1(i,n,o,u,l,"next",f)}function l(f){C1(i,n,o,u,l,"throw",f)}u(void 0)})}}function Ofe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wfe(e,t,r){return t&&x1(e.prototype,t),r&&x1(e,r),e}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fr=Reflect.get:Fr=function(o,i,u){var l=Efe(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Fr(e,t,r||e)}function dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dn(e)}function Pfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $fe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Cn(e,o,r[o])})}return e}function Rfe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Tfe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Rfe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Sfe(e,t){return t&&(Ife(t)==="object"||typeof t=="function")?t:Us(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function Efe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dn(e),e!==null););return e}function Ife(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nfe(e){var t=Bfe();return function(){var n=dn(e),o;if(t){var i=dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sfe(this,o)}}function Mfe(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var xn=function(e){Pfe(r,e);var t=Nfe(r);function r(n){Ofe(this,r);var o;return o=t.call(this,n),Cn(Us(o),"props",void 0),Cn(Us(o),"children",void 0),o.props=new b0(n==null?void 0:n.props),ut(Us(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return wfe(r,[{key:"toDataBindModel",value:function(){var o=Fr(dn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Uc.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=Fr(dn(r.prototype),"toSchema",this).call(this);return Tfe($fe({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return Fr(dn(r.prototype),"validate",u)};return mfe(function(){return Mfe(this,function(a){switch(a.label){case 0:return[4,f().call(l,o,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(ue);Cn(xn,"controlType","operation-column"),Cn(xn,"controlName","\u64CD\u4F5C"),Cn(xn,"controlIcon","operation-column"),Cn(xn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 Ws(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Afe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ks(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function kfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function Dfe(e,t){return t&&(Lfe(t)==="object"||typeof t=="function")?t:Ws(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function Lfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ffe(e){var t=jfe();return function(){var n=Xs(e),o;if(t){var i=Xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dfe(this,o)}}var O0=function(e){kfe(r,e);var t=Ffe(r);function r(n){Afe(this,r);var o;return o=t.call(this,n),Ks(Ws(o),"props",void 0),Ks(Ws(o),"children",void 0),o.props=new b0(n==null?void 0:n.props),ut(Ws(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ce);Ks(O0,"controlType","operation-column"),Ks(O0,"controlFieldType",c.FieldTypes.FILE);var z1={Designer:xn,Runtime:O0,Property:b0};function Ri(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V1(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function Cfe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){V1(i,n,o,u,l,"next",f)}function l(f){V1(i,n,o,u,l,"throw",f)}u(void 0)})}}function xfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zfe(e,t,r){return t&&G1(e.prototype,t),r&&G1(e,r),e}function Js(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ti(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ti=Reflect.get:Ti=function(o,i,u){var l=Ufe(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Ti(e,t,r||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(e)}function Vfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function Gfe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Js(e,o,r[o])})}return e}function Yfe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Hfe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yfe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function qfe(e,t){return t&&(Wfe(t)==="object"||typeof t=="function")?t:Ri(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function Ufe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}function Wfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xfe(e){var t=Kfe();return function(){var n=zn(e),o;if(t){var i=zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qfe(this,o)}}function Jfe(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Y1=function(e){Vfe(r,e);var t=Xfe(r);function r(n){xfe(this,r);var o,i;return o=t.call(this,n),Js(Ri(o),"props",void 0),Js(Ri(o),"children",void 0),o.props=new a0(Ri(o),n==null?void 0:n.props),ut(Ri(o),"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Fn,new xn]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return zfe(r,[{key:"toSchema",value:function(){var o=Ti(zn(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return Hfe(Gfe({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return Ti(zn(r.prototype),"validate",u)};return Cfe(function(){return Jfe(this,function(a){switch(a.label){case 0:return[4,f().call(l,o,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(s){return s.validate(o,i)}))];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"}}]),r}(cu);Js(Y1,"setting",[{key:"list-fixed-header",visible:!0}]);function P0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zfe(e,t,r){return t&&H1(e.prototype,t),r&&H1(e,r),e}function eae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function tae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nae(e,t){return t&&(rae(t)==="object"||typeof t=="function")?t:P0(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function rae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iae(e){var t=oae();return function(){var n=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nae(this,o)}}var uae=function(e){tae(r,e);var t=iae(r);function r(n){Qfe(this,r);var o;return o=t.call(this,n),eae(P0(o),"props",void 0),o.props=new a0(P0(o),n==null?void 0:n.props),o}return Zfe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Kt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),r}(vp),q1={Designer:Y1,Runtime:uae,Property:a0},cae=Object.freeze({__proto__:null,SubTable:N1,GridTable:q1});function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function W1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lae(e,t){return t&&(fae(t)==="object"||typeof t=="function")?t:vn(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function fae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K1(e){var t=aae();return function(){var n=Zs(e),o;if(t){var i=Zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lae(this,o)}}var sae=function(e){W1(r,e);var t=K1(r);function r(n){U1(this,r);var o;return o=t.call(this,n),Lt.call(vn(o),n),o}return r}(Op),e_=function(e){W1(r,e);var t=K1(r);function r(n){U1(this,r);var o;o=t.call(this,n),Vn(vn(o),"optionConfig",void 0),Vn(vn(o),"datasourceBind",void 0),Vn(vn(o),"showLinkOperation",void 0),Vn(vn(o),"linkOperationOption",void 0),Vn(vn(o),"options",void 0),Vn(vn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Gn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var l;o.options=gt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new bt(n==null?void 0:n.linkOperationOption);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(Z);Vn(e_,"Rules",sae);function X1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t_(e){return t_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},t_(e)}function yae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T0(e,t)}function pae(e,t){return t&&(dae(t)==="object"||typeof t=="function")?t:X1(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(e,t)}function dae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hae(e){var t=vae();return function(){var n=t_(e),o;if(t){var i=t_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pae(this,o)}}var Gn=function(e){yae(r,e);var t=hae(r);function r(n){_ae(this,r);var o;return o=t.call(this,n),Cr(X1(o),"props",void 0),o.props=new e_(n==null?void 0:n.props),o}return r}(ue);Cr(Gn,"controlType","varchar-column"),Cr(Gn,"controlName","\u77ED\u6587\u672C"),Cr(Gn,"controlIcon","varchar-column"),Cr(Gn,"controlFieldType",c.FieldTypes.VARCHAR),Cr(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function J1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(e)}function gae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mae(e,t){return t&&(Oae(t)==="object"||typeof t=="function")?t:J1(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function Oae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pae(e){var t=wae();return function(){var n=n_(e),o;if(t){var i=n_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mae(this,o)}}var I0=function(e){gae(r,e);var t=Pae(r);function r(n){bae(this,r);var o;return o=t.call(this,n),S0(J1(o),"props",void 0),o.props=new e_(n==null?void 0:n.props),o}return r}(ce);S0(I0,"controlType","varchar-column"),S0(I0,"controlFieldType",c.FieldTypes.VARCHAR);var Q1={Designer:Gn,Runtime:I0,Property:e_};function xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r_(e){return r_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},r_(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $ae(e,t){return t&&(Rae(t)==="object"||typeof t=="function")?t:xr(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(e,t)}function Rae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tM(e){var t=Tae();return function(){var n=r_(e),o;if(t){var i=r_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ae(this,o)}}var Sae=function(e){eM(r,e);var t=tM(r);function r(n){Z1(this,r);var o;return o=t.call(this,n),Lt.call(xr(o),n),o}return r}(ct),o_=function(e){eM(r,e);var t=tM(r);function r(n){Z1(this,r);var o;o=t.call(this,n),Si(xr(o),"escapeHTML",void 0),Si(xr(o),"showLinkOperation",void 0),Si(xr(o),"linkOperationOption",void 0),Si(xr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Yn.controlName;var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1;var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new bt(n==null?void 0:n.linkOperationOption),o}return r}(Z);Si(o_,"Rules",Sae);function nM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iae(e,t,r){return t&&rM(e.prototype,t),r&&rM(e,r),e}function zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?i_=Reflect.get:i_=function(o,i,u){var l=Mae(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},i_(e,t,r||e)}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(e)}function Bae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N0(e,t)}function Nae(e,t){return t&&(Aae(t)==="object"||typeof t=="function")?t:nM(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}function Mae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vr(e),e!==null););return e}function Aae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dae(e){var t=kae();return function(){var n=Vr(e),o;if(t){var i=Vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nae(this,o)}}var Yn=function(e){Bae(r,e);var t=Dae(r);function r(n){Eae(this,r);var o;return o=t.call(this,n),zr(nM(o),"props",void 0),o.props=new o_(n==null?void 0:n.props),o}return Iae(r,[{key:"toDataBindModel",value:function(o){var i=i_(Vr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ue);zr(Yn,"controlType","text-column"),zr(Yn,"controlName","\u957F\u6587\u672C"),zr(Yn,"controlIcon","text-column"),zr(Yn,"controlFieldType",c.FieldTypes.TEXT),zr(Yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 oM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},u_(e)}function jae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fae(e,t){return t&&(Cae(t)==="object"||typeof t=="function")?t:oM(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function Cae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zae(e){var t=xae();return function(){var n=u_(e),o;if(t){var i=u_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fae(this,o)}}var k0=function(e){jae(r,e);var t=zae(r);function r(n){Lae(this,r);var o;return o=t.call(this,n),M0(oM(o),"props",void 0),o.props=new o_(n==null?void 0:n.props),o}return r}(ce);M0(k0,"controlType","text-column"),M0(k0,"controlFieldType",c.FieldTypes.TEXT);var iM={Designer:Yn,Runtime:k0,Property:o_};function Bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c_(e){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c_(e)}function cM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D0(e,t)}function Vae(e,t){return t&&(Gae(t)==="object"||typeof t=="function")?t:Bt(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function Gae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lM(e){var t=Yae();return function(){var n=c_(e),o;if(t){var i=c_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vae(this,o)}}var Hae=function(e){cM(r,e);var t=lM(r);function r(n){uM(this,r);var o;return o=t.call(this,n),Lt.call(Bt(o),n),o}return r}(ct),l_=function(e){cM(r,e);var t=lM(r);function r(n){uM(this,r);var o;o=t.call(this,n),Ut(Bt(o),"optionConfig",void 0),Ut(Bt(o),"datasourceBind",void 0),Ut(Bt(o),"showLinkOperation",void 0),Ut(Bt(o),"linkOperationOption",void 0),Ut(Bt(o),"options",void 0),Ut(Bt(o),"precision",void 0),Ut(Bt(o),"micrometer",void 0),Ut(Bt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Hn.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.percentageFormat=(f=n==null?void 0:n.percentageFormat)!==null&&f!==void 0?f:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var s;o.options=gt((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new bt(n==null?void 0:n.linkOperationOption),o}return r}(Z);Ut(l_,"Rules",Hae);function fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uae(e,t,r){return t&&aM(e.prototype,t),r&&aM(e,r),e}function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?f_=Reflect.get:f_=function(o,i,u){var l=Xae(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},f_(e,t,r||e)}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function Wae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L0(e,t)}function Kae(e,t){return t&&(Jae(t)==="object"||typeof t=="function")?t:fM(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L0(e,t)}function Xae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yr(e),e!==null););return e}function Jae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zae(e){var t=Qae();return function(){var n=Yr(e),o;if(t){var i=Yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kae(this,o)}}var Hn=function(e){Wae(r,e);var t=Zae(r);function r(n){qae(this,r);var o;return o=t.call(this,n),Gr(fM(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return Uae(r,[{key:"toDataBindModel",value:function(o){var i=f_(Yr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}]),r}(ue);Gr(Hn,"controlType","decimal-column"),Gr(Hn,"controlName","\u6570\u503C"),Gr(Hn,"controlIcon","decimal-column"),Gr(Hn,"controlFieldType",c.FieldTypes.DECIMAL),Gr(Hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function sM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ese(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a_(e){return a_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},a_(e)}function tse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nse(e,t){return t&&(rse(t)==="object"||typeof t=="function")?t:sM(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function rse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ose(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ise(e){var t=ose();return function(){var n=a_(e),o;if(t){var i=a_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nse(this,o)}}var C0=function(e){tse(r,e);var t=ise(r);function r(n){ese(this,r);var o;return o=t.call(this,n),j0(sM(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return r}(ce);j0(C0,"controlType","decimal-column"),j0(C0,"controlFieldType",c.FieldTypes.DECIMAL);var _M={Designer:Hn,Runtime:C0,Property:l_};function Ei(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function __(e){return __=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},__(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&&x0(e,t)}function use(e,t){return t&&(cse(t)==="object"||typeof t=="function")?t:Ei(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function cse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dM(e){var t=lse();return function(){var n=__(e),o;if(t){var i=__(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return use(this,o)}}var fse=function(e){pM(r,e);var t=dM(r);function r(n){yM(this,r);var o;return o=t.call(this,n),Lt.call(Ei(o),n),o}return r}(ct),y_=function(e){pM(r,e);var t=dM(r);function r(n){yM(this,r);var o;o=t.call(this,n),s_(Ei(o),"dateType",void 0),s_(Ei(o),"showLinkOperation",void 0),s_(Ei(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new bt(n==null?void 0:n.linkOperationOption);var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:qn.controlName,o}return r}(Z);s_(y_,"Rules",fse);function vM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ase(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sse(e,t,r){return t&&hM(e.prototype,t),r&&hM(e,r),e}function Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?p_=Reflect.get:p_=function(o,i,u){var l=pse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},p_(e,t,r||e)}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function _se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function yse(e,t){return t&&(dse(t)==="object"||typeof t=="function")?t:vM(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function pse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qr(e),e!==null););return e}function dse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hse(e){var t=vse();return function(){var n=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yse(this,o)}}var qn=function(e){_se(r,e);var t=hse(r);function r(n){ase(this,r);var o;return o=t.call(this,n),Hr(vM(o),"props",void 0),o.props=new y_(n==null?void 0:n.props),o}return sse(r,[{key:"toDataBindModel",value:function(o){var i=p_(qr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ue);Hr(qn,"controlType","timescope-column"),Hr(qn,"controlName","\u65E5\u671F\u533A\u95F4"),Hr(qn,"controlIcon","timescope-column"),Hr(qn,"controlFieldType",c.FieldTypes.TIMESCOPE),Hr(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 bM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d_(e){return d_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},d_(e)}function gse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mse(e,t){return t&&(Ose(t)==="object"||typeof t=="function")?t:bM(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function Ose(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pse(e){var t=wse();return function(){var n=d_(e),o;if(t){var i=d_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mse(this,o)}}var Y0=function(e){gse(r,e);var t=Pse(r);function r(n){bse(this,r);var o;return o=t.call(this,n),V0(bM(o),"props",void 0),o.props=new y_(n==null?void 0:n.props),o}return r}(ce);V0(Y0,"controlType","timescope-column"),V0(Y0,"controlFieldType",c.FieldTypes.TIMESCOPE);var gM={Designer:qn,Runtime:Y0,Property:y_};function Ii(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h_(e){return h_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},h_(e)}function OM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H0(e,t)}function $se(e,t){return t&&(Rse(t)==="object"||typeof t=="function")?t:Ii(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function Rse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wM(e){var t=Tse();return function(){var n=h_(e),o;if(t){var i=h_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $se(this,o)}}var Sse=function(e){OM(r,e);var t=wM(r);function r(n){mM(this,r);var o;return o=t.call(this,n),Lt.call(Ii(o),n),o}return r}(ct),b_=function(e){OM(r,e);var t=wM(r);function r(n){mM(this,r);var o;o=t.call(this,n),v_(Ii(o),"dateType",void 0),v_(Ii(o),"showLinkOperation",void 0),v_(Ii(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new bt(n==null?void 0:n.linkOperationOption);var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Un.controlName,o}return r}(Z);v_(b_,"Rules",Sse);function PM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ese(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $M(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ise(e,t,r){return t&&$M(e.prototype,t),r&&$M(e,r),e}function Ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?g_=Reflect.get:g_=function(o,i,u){var l=Mse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},g_(e,t,r||e)}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function Bse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function Nse(e,t){return t&&(Ase(t)==="object"||typeof t=="function")?t:PM(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function Mse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wr(e),e!==null););return e}function Ase(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dse(e){var t=kse();return function(){var n=Wr(e),o;if(t){var i=Wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nse(this,o)}}var Un=function(e){Bse(r,e);var t=Dse(r);function r(n){Ese(this,r);var o;return o=t.call(this,n),Ur(PM(o),"props",void 0),o.props=new b_(n==null?void 0:n.props),o}return Ise(r,[{key:"toDataBindModel",value:function(o){var i=g_(Wr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ue);Ur(Un,"controlType","timestamp-column"),Ur(Un,"controlName","\u65E5\u671F"),Ur(Un,"controlIcon","timestamp-column"),Ur(Un,"controlFieldType",c.FieldTypes.TIMESTAMP),Ur(Un,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},m_(e)}function jse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W0(e,t)}function Fse(e,t){return t&&(Cse(t)==="object"||typeof t=="function")?t:RM(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function Cse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zse(e){var t=xse();return function(){var n=m_(e),o;if(t){var i=m_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fse(this,o)}}var K0=function(e){jse(r,e);var t=zse(r);function r(n){Lse(this,r);var o;return o=t.call(this,n),U0(RM(o),"props",void 0),o.props=new b_(n==null?void 0:n.props),o}return r}(ce);U0(K0,"controlType","timestamp-column"),U0(K0,"controlFieldType",c.FieldTypes.TIMESTAMP);var TM={Designer:Un,Runtime:K0,Property:b_};function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},O_(e)}function EM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X0(e,t)}function Vse(e,t){return t&&(Gse(t)==="object"||typeof t=="function")?t:Wn(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function Gse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IM(e){var t=Yse();return function(){var n=O_(e),o;if(t){var i=O_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vse(this,o)}}var Hse=function(e){EM(r,e);var t=IM(r);function r(n){SM(this,r);var o;return o=t.call(this,n),Lt.call(Wn(o),n),o}return r}(Op),w_=function(e){EM(r,e);var t=IM(r);function r(n){SM(this,r);var o;o=t.call(this,n),Kr(Wn(o),"optionConfig",void 0),Kr(Wn(o),"datasourceBind",void 0),Kr(Wn(o),"showLinkOperation",void 0),Kr(Wn(o),"linkOperationOption",void 0),Kr(Wn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new bt(n==null?void 0:n.linkOperationOption);var f;return o.options=gt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(Z);Kr(w_,"Rules",Hse);function BM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P_(e){return P_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},P_(e)}function Use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J0(e,t)}function Wse(e,t){return t&&(Kse(t)==="object"||typeof t=="function")?t:BM(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function Kse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jse(e){var t=Xse();return function(){var n=P_(e),o;if(t){var i=P_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wse(this,o)}}var Kn=function(e){Use(r,e);var t=Jse(r);function r(n){qse(this,r);var o;return o=t.call(this,n),Xr(BM(o),"props",void 0),o.props=new w_(n==null?void 0:n.props),o}return r}(ue);Xr(Kn,"controlType","array-column"),Xr(Kn,"controlName","\u6570\u7EC4"),Xr(Kn,"controlIcon","array-column"),Xr(Kn,"controlFieldType",c.FieldTypes.ARRAY),Xr(Kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 NM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $_(e){return $_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$_(e)}function Zse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function e_e(e,t){return t&&(t_e(t)==="object"||typeof t=="function")?t:NM(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function t_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r_e(e){var t=n_e();return function(){var n=$_(e),o;if(t){var i=$_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e_e(this,o)}}var eO=function(e){Zse(r,e);var t=r_e(r);function r(n){Qse(this,r);var o;return o=t.call(this,n),Q0(NM(o),"props",void 0),o.props=new w_(n==null?void 0:n.props),o}return r}(ce);Q0(eO,"controlType","array-column"),Q0(eO,"controlFieldType",c.FieldTypes.ARRAY);var MM={Designer:Kn,Runtime:eO,Property:w_};function AM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i_e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R_(e){return R_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},R_(e)}function u_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tO(e,t)}function c_e(e,t){return t&&(l_e(t)==="object"||typeof t=="function")?t:AM(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tO(e,t)}function l_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a_e(e){var t=f_e();return function(){var n=R_(e),o;if(t){var i=R_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c_e(this,o)}}var nO=function(e){u_e(r,e);var t=a_e(r);function r(n){o_e(this,r);var o;o=t.call(this,n),i_e(AM(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xn.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Z);function kM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function __e(e,t,r){return t&&DM(e.prototype,t),r&&DM(e,r),e}function Jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?T_=Reflect.get:T_=function(o,i,u){var l=d_e(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},T_(e,t,r||e)}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function y_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rO(e,t)}function p_e(e,t){return t&&(v_e(t)==="object"||typeof t=="function")?t:kM(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rO(e,t)}function d_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qr(e),e!==null););return e}function v_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b_e(e){var t=h_e();return function(){var n=Qr(e),o;if(t){var i=Qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p_e(this,o)}}var Xn=function(e){y_e(r,e);var t=b_e(r);function r(n){s_e(this,r);var o;return o=t.call(this,n),Jr(kM(o),"props",void 0),o.props=new nO(n==null?void 0:n.props),o}return __e(r,[{key:"toDataBindModel",value:function(o){var i=T_(Qr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ue);Jr(Xn,"controlType","department-column"),Jr(Xn,"controlName","\u90E8\u95E8"),Jr(Xn,"controlIcon","department-column"),Jr(Xn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Jr(Xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S_(e){return S_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},S_(e)}function m_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iO(e,t)}function O_e(e,t){return t&&(w_e(t)==="object"||typeof t=="function")?t:LM(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}function w_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $_e(e){var t=P_e();return function(){var n=S_(e),o;if(t){var i=S_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O_e(this,o)}}var uO=function(e){m_e(r,e);var t=$_e(r);function r(n){g_e(this,r);var o;return o=t.call(this,n),oO(LM(o),"props",void 0),o.props=new nO(n==null?void 0:n.props),o}return r}(ce);oO(uO,"controlType","department-column"),oO(uO,"controlFieldType",c.FieldTypes.DEPARTMENTS);var jM={Designer:Xn,Runtime:uO,Property:nO};function E_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I_(e){return I_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},I_(e)}function CM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lO(e,t)}function R_e(e,t){return t&&(T_e(t)==="object"||typeof t=="function")?t:E_(e)}function lO(e,t){return lO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lO(e,t)}function T_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xM(e){var t=S_e();return function(){var n=I_(e),o;if(t){var i=I_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R_e(this,o)}}var E_e=function(e){CM(r,e);var t=xM(r);function r(n){FM(this,r);var o;return o=t.call(this,n),Lt.call(E_(o),n),o}return r}(ct),B_=function(e){CM(r,e);var t=xM(r);function r(n){FM(this,r);var o;o=t.call(this,n),cO(E_(o),"showLinkOperation",void 0),cO(E_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jn.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new bt(n==null?void 0:n.linkOperationOption),o}return r}(Z);cO(B_,"Rules",E_e);function zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},N_(e)}function B_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fO(e,t)}function N_e(e,t){return t&&(M_e(t)==="object"||typeof t=="function")?t:zM(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}function M_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k_e(e){var t=A_e();return function(){var n=N_(e),o;if(t){var i=N_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N_e(this,o)}}var Jn=function(e){B_e(r,e);var t=k_e(r);function r(n){I_e(this,r);var o;return o=t.call(this,n),Zr(zM(o),"props",void 0),o.props=new B_(n==null?void 0:n.props),o}return r}(ue);Zr(Jn,"controlType","auto-number-column"),Zr(Jn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Zr(Jn,"controlIcon","auto-number-column"),Zr(Jn,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Zr(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 VM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M_(e){return M_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},M_(e)}function L_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sO(e,t)}function j_e(e,t){return t&&(F_e(t)==="object"||typeof t=="function")?t:VM(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function F_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x_e(e){var t=C_e();return function(){var n=M_(e),o;if(t){var i=M_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j_e(this,o)}}var _O=function(e){L_e(r,e);var t=x_e(r);function r(n){D_e(this,r);var o;return o=t.call(this,n),aO(VM(o),"props",void 0),o.props=new B_(n==null?void 0:n.props),o}return r}(ce);aO(_O,"controlType","auto-number-column"),aO(_O,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var GM={Designer:Jn,Runtime:_O,Property:B_};function z_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A_(e){return A_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},A_(e)}function G_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yO(e,t)}function Y_e(e,t){return t&&(H_e(t)==="object"||typeof t=="function")?t:z_e(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(e,t)}function H_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U_e(e){var t=q_e();return function(){var n=A_(e),o;if(t){var i=A_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y_e(this,o)}}var pO=function(e){G_e(r,e);var t=U_e(r);function r(n){V_e(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Qn.controlName,o}return r}(Z);function YM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k_(e){return k_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},k_(e)}function K_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dO(e,t)}function X_e(e,t){return t&&(J_e(t)==="object"||typeof t=="function")?t:YM(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(e,t)}function J_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z_e(e){var t=Q_e();return function(){var n=k_(e),o;if(t){var i=k_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X_e(this,o)}}var Qn=function(e){K_e(r,e);var t=Z_e(r);function r(n){W_e(this,r);var o;return o=t.call(this,n),eo(YM(o),"props",void 0),o.props=new pO(n==null?void 0:n.props),o}return r}(ue);eo(Qn,"controlType","file-column"),eo(Qn,"controlName","\u9644\u4EF6"),eo(Qn,"controlIcon","file-column"),eo(Qn,"controlFieldType",c.FieldTypes.FILE),eo(Qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 HM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D_(e){return D_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},D_(e)}function tye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hO(e,t)}function nye(e,t){return t&&(rye(t)==="object"||typeof t=="function")?t:HM(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(e,t)}function rye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iye(e){var t=oye();return function(){var n=D_(e),o;if(t){var i=D_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nye(this,o)}}var bO=function(e){tye(r,e);var t=iye(r);function r(n){eye(this,r);var o;return o=t.call(this,n),vO(HM(o),"props",void 0),o.props=new pO(n==null?void 0:n.props),o}return r}(ce);vO(bO,"controlType","file-column"),vO(bO,"controlFieldType",c.FieldTypes.FILE);var qM={Designer:Qn,Runtime:bO,Property:pO};function uye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L_(e){return L_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},L_(e)}function lye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gO(e,t)}function fye(e,t){return t&&(aye(t)==="object"||typeof t=="function")?t:uye(e)}function gO(e,t){return gO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gO(e,t)}function aye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ye(e){var t=sye();return function(){var n=L_(e),o;if(t){var i=L_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fye(this,o)}}var mO=function(e){lye(r,e);var t=_ye(r);function r(n){cye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Zn.controlName,o}return r}(Z);function UM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function to(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j_(e){return j_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},j_(e)}function pye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OO(e,t)}function dye(e,t){return t&&(vye(t)==="object"||typeof t=="function")?t:UM(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(e,t)}function vye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bye(e){var t=hye();return function(){var n=j_(e),o;if(t){var i=j_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dye(this,o)}}var Zn=function(e){pye(r,e);var t=bye(r);function r(n){yye(this,r);var o;return o=t.call(this,n),to(UM(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return r}(ue);to(Zn,"controlType","image-column"),to(Zn,"controlName","\u56FE\u7247"),to(Zn,"controlIcon","image-column"),to(Zn,"controlFieldType",c.FieldTypes.IMAGE),to(Zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 WM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F_(e){return F_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},F_(e)}function mye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PO(e,t)}function Oye(e,t){return t&&(wye(t)==="object"||typeof t=="function")?t:WM(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}function wye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ye(e){var t=Pye();return function(){var n=F_(e),o;if(t){var i=F_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oye(this,o)}}var $O=function(e){mye(r,e);var t=$ye(r);function r(n){gye(this,r);var o;return o=t.call(this,n),wO(WM(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return r}(ce);wO($O,"controlType","image-column"),wO($O,"controlFieldType",c.FieldTypes.IMAGE);var KM={Designer:Zn,Runtime:$O,Property:mO};function Rye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C_(e){return C_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},C_(e)}function Sye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RO(e,t)}function Eye(e,t){return t&&(Iye(t)==="object"||typeof t=="function")?t:Rye(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(e,t)}function Iye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nye(e){var t=Bye();return function(){var n=C_(e),o;if(t){var i=C_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eye(this,o)}}var TO=function(e){Sye(r,e);var t=Nye(r);function r(n){Tye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:er.controlName,o}return r}(Z);function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x_(e){return x_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},x_(e)}function Aye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SO(e,t)}function kye(e,t){return t&&(Dye(t)==="object"||typeof t=="function")?t:XM(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(e,t)}function Dye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jye(e){var t=Lye();return function(){var n=x_(e),o;if(t){var i=x_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kye(this,o)}}var er=function(e){Aye(r,e);var t=jye(r);function r(n){Mye(this,r);var o;return o=t.call(this,n),no(XM(o),"props",void 0),o.props=new TO(n==null?void 0:n.props),o}return r}(ue);no(er,"controlType","people-column"),no(er,"controlName","\u4EBA\u5458"),no(er,"controlIcon","people-column"),no(er,"controlFieldType",c.FieldTypes.EMPLOYEES),no(er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 JM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z_(e){return z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},z_(e)}function Cye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IO(e,t)}function xye(e,t){return t&&(zye(t)==="object"||typeof t=="function")?t:JM(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IO(e,t)}function zye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gye(e){var t=Vye();return function(){var n=z_(e),o;if(t){var i=z_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xye(this,o)}}var BO=function(e){Cye(r,e);var t=Gye(r);function r(n){Fye(this,r);var o;return o=t.call(this,n),EO(JM(o),"props",void 0),o.props=new TO(n==null?void 0:n.props),o}return r}(ce);EO(BO,"controlType","people-column"),EO(BO,"controlFieldType",c.FieldTypes.EMPLOYEES);var QM={Designer:er,Runtime:BO,Property:TO};function V_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G_(e){return G_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},G_(e)}function eA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MO(e,t)}function Yye(e,t){return t&&(Hye(t)==="object"||typeof t=="function")?t:V_(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MO(e,t)}function Hye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tA(e){var t=qye();return function(){var n=G_(e),o;if(t){var i=G_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yye(this,o)}}var Uye=function(e){eA(r,e);var t=tA(r);function r(n){ZM(this,r);var o;return o=t.call(this,n),Lt.call(V_(o),n),o}return r}(ct),Y_=function(e){eA(r,e);var t=tA(r);function r(n){ZM(this,r);var o;o=t.call(this,n),NO(V_(o),"showLinkOperation",void 0),NO(V_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:tr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new bt(n==null?void 0:n.linkOperationOption),o}return r}(Z);NO(Y_,"Rules",Uye);function nA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ro(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H_(e){return H_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},H_(e)}function Kye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AO(e,t)}function Xye(e,t){return t&&(Jye(t)==="object"||typeof t=="function")?t:nA(e)}function AO(e,t){return AO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AO(e,t)}function Jye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zye(e){var t=Qye();return function(){var n=H_(e),o;if(t){var i=H_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xye(this,o)}}var tr=function(e){Kye(r,e);var t=Zye(r);function r(n){Wye(this,r);var o;return o=t.call(this,n),ro(nA(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return r}(ue);ro(tr,"controlType","location-column"),ro(tr,"controlName","\u5730\u5740"),ro(tr,"controlIcon","location-column"),ro(tr,"controlFieldType",c.FieldTypes.ADDRESS),ro(tr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 rA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function epe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q_(e){return q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q_(e)}function tpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DO(e,t)}function npe(e,t){return t&&(rpe(t)==="object"||typeof t=="function")?t:rA(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DO(e,t)}function rpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ope(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ipe(e){var t=ope();return function(){var n=q_(e),o;if(t){var i=q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return npe(this,o)}}var LO=function(e){tpe(r,e);var t=ipe(r);function r(n){epe(this,r);var o;return o=t.call(this,n),kO(rA(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return r}(ce);kO(LO,"controlType","location-column"),kO(LO,"controlFieldType",c.FieldTypes.ADDRESS);var oA={Designer:tr,Runtime:LO,Property:Y_};function U_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K_(e){return K_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},K_(e)}function uA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function upe(e,t){return t&&(cpe(t)==="object"||typeof t=="function")?t:U_(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}function cpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cA(e){var t=lpe();return function(){var n=K_(e),o;if(t){var i=K_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return upe(this,o)}}var fpe=function(e){uA(r,e);var t=cA(r);function r(n){iA(this,r);var o;return o=t.call(this,n),W_(U_(o),"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(ct),X_=function(e){uA(r,e);var t=cA(r);function r(n){iA(this,r);var o;o=t.call(this,n),W_(U_(o),"fieldCodeList",void 0),W_(U_(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hn.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var l;return o.sortFieldCode=(l=n==null?void 0:n.sortFieldCode)!==null&&l!==void 0?l:"",o}return r}(Z);W_(X_,"Rules",fpe);function oo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ape(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function spe(e,t,r){return t&&lA(e.prototype,t),r&&lA(e,r),e}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bi=Reflect.get:Bi=function(o,i,u){var l=bpe(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Bi(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function _pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FO(e,t)}function ype(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ppe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){dt(e,o,r[o])})}return e}function dpe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function vpe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dpe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function hpe(e,t){return t&&(gpe(t)==="object"||typeof t=="function")?t:oo(e)}function FO(e,t){return FO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FO(e,t)}function bpe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}function gpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ope(e){var t=mpe();return function(){var n=nr(e),o;if(t){var i=nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hpe(this,o)}}var wpe=1,hn=function(t){_pe(n,t);var r=Ope(n);function n(o){ape(this,n);var i;i=r.call(this,o),dt(oo(i),"excludes",void 0),dt(oo(i),"childrenMaxLength",void 0),dt(oo(i),"props",void 0),dt(oo(i),"children",void 0);var u=ype(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new X_(o==null?void 0:o.props),ut(oo(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=At(l),i.childrenMaxLength=f,i}return spe(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=Bi(nr(n.prototype),"toDataBindModel",this).call(this,i);if(u){var l=this.props.fieldCodeList;u.props.fieldCodeList=l}return u}},{key:"toSchema",value:function(){var i=Bi(nr(n.prototype),"toSchema",this).call(this);return vpe(ppe({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ue);dt(hn,"controlType","custom-column"),dt(hn,"controlName","\u81EA\u5B9A\u4E49"),dt(hn,"controlIcon","custom-column"),dt(hn,"excludes",[]),dt(hn,"childrenMaxLength",wpe),dt(hn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 J_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ppe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q_(e){return Q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Q_(e)}function $pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xO(e,t)}function Rpe(e,t){return t&&(Tpe(t)==="object"||typeof t=="function")?t:J_(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}function Tpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Spe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Epe(e){var t=Spe();return function(){var n=Q_(e),o;if(t){var i=Q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rpe(this,o)}}var fA=function(e){$pe(r,e);var t=Epe(r);function r(n){Ppe(this,r);var o;return o=t.call(this,n),CO(J_(o),"props",void 0),CO(J_(o),"children",void 0),o.props=new X_(n==null?void 0:n.props),ut(J_(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ce);CO(fA,"controlType","custom-column");var aA={Designer:hn,Runtime:fA,Property:X_};function sA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ipe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bpe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Z_(e)}function Npe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zO(e,t)}function Mpe(e,t){return t&&(Ape(t)==="object"||typeof t=="function")?t:sA(e)}function zO(e,t){return zO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zO(e,t)}function Ape(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dpe(e){var t=kpe();return function(){var n=Z_(e),o;if(t){var i=Z_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mpe(this,o)}}var VO=function(e){Npe(r,e);var t=Dpe(r);function r(n){Ipe(this,r);var o;o=t.call(this,n),Bpe(sA(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:bn.controlName;var u;return o.datasourceBind=new vo((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:bn.controlCustomAttributes}),o}return r}(Z);function _A(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jpe(e,t,r){return t&&yA(e.prototype,t),r&&yA(e,r),e}function io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function Fpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GO(e,t)}function Cpe(e,t){return t&&(xpe(t)==="object"||typeof t=="function")?t:_A(e)}function GO(e,t){return GO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GO(e,t)}function xpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vpe(e){var t=zpe();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cpe(this,o)}}var bn=function(e){Fpe(r,e);var t=Vpe(r);function r(n){Lpe(this,r);var o;return o=t.call(this,n),io(_A(o),"props",void 0),o.props=new VO(n==null?void 0:n.props),o}return jpe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ue);io(bn,"controlType","employee-column"),io(bn,"controlName","\u4EBA\u5458"),io(bn,"controlIcon","employee-column"),io(bn,"controlFieldType",c.FieldTypes.EMPLOYEES),io(bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 pA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function Ype(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HO(e,t)}function Hpe(e,t){return t&&(qpe(t)==="object"||typeof t=="function")?t:pA(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}function qpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Upe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wpe(e){var t=Upe();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hpe(this,o)}}var qO=function(e){Ype(r,e);var t=Wpe(r);function r(n){Gpe(this,r);var o;return o=t.call(this,n),YO(pA(o),"props",void 0),o.props=new VO(n==null?void 0:n.props),o}return r}(ce);YO(qO,"controlType","employee-column"),YO(qO,"controlFieldType",c.FieldTypes.EMPLOYEES);var dA={Designer:bn,Runtime:qO,Property:VO};function ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function Xpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WO(e,t)}function Jpe(e,t){return t&&(Qpe(t)==="object"||typeof t=="function")?t:ny(e)}function WO(e,t){return WO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WO(e,t)}function Qpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ede(e){var t=Zpe();return function(){var n=ry(e),o;if(t){var i=ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jpe(this,o)}}var KO=function(e){Xpe(r,e);var t=ede(r);function r(n){Kpe(this,r);var o;o=t.call(this,n),UO(ny(o),"lineEllipsis",void 0),UO(ny(o),"showLinkOperation",void 0),UO(ny(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:or.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new bt(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(Z);function XO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oy(e)}function nde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JO(e,t)}function rde(e,t){return t&&(ode(t)==="object"||typeof t=="function")?t:XO(e)}function JO(e,t){return JO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JO(e,t)}function ode(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ide(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ude(e){var t=ide();return function(){var n=oy(e),o;if(t){var i=oy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rde(this,o)}}var or=function(e){nde(r,e);var t=ude(r);function r(n){tde(this,r);var o;return o=t.call(this,n),rr(XO(o),"props",void 0),rr(XO(o),"children",void 0),o.props=new KO(n==null?void 0:n.props),o}return r}(ue);rr(or,"controlType","approval-status-column"),rr(or,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),rr(or,"controlIcon","approval-status-column"),rr(or,"excludes",[]),rr(or,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 QO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function lde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ew(e,t)}function fde(e,t){return t&&(ade(t)==="object"||typeof t=="function")?t:QO(e)}function ew(e,t){return ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ew(e,t)}function ade(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _de(e){var t=sde();return function(){var n=iy(e),o;if(t){var i=iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fde(this,o)}}var vA=function(e){lde(r,e);var t=_de(r);function r(n){cde(this,r);var o;return o=t.call(this,n),ZO(QO(o),"props",void 0),ZO(QO(o),"children",void 0),o.props=new KO(n==null?void 0:n.props),o}return r}(ce);ZO(vA,"controlType","approval-status-column");var hA={Designer:or,Runtime:vA,Property:KO},yde=Object.freeze({__proto__:null,VarcharColumn:Q1,TextColumn:iM,DecimalColumn:_M,TimescopeColumn:gM,TimestampColumn:TM,ArrayColumn:MM,DepartmentColumn:jM,AutoNumberColumn:GM,FileColumn:qM,ImageColumn:KM,PeopleColumn:QM,LocationColumn:oA,CustomColumn:aA,OrderColumn:j1,OperationColumn:z1,EmployeeColumn:dA,ApprovalStatusColumn:hA});function vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uy(e){return uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uy(e)}function gA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tw(e,t)}function pde(e,t){return t&&(dde(t)==="object"||typeof t=="function")?t:vt(e)}function tw(e,t){return tw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tw(e,t)}function dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mA(e){var t=vde();return function(){var n=uy(e),o;if(t){var i=uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pde(this,o)}}var hde=function(e){gA(r,e);var t=mA(r);function r(n){bA(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Qt),cy=function(e){gA(r,e);var t=mA(r);function r(n){bA(this,r);var o;o=t.call(this,n),ht(vt(o),"search",void 0),ht(vt(o),"cancel",void 0),ht(vt(o),"searchType",void 0),ht(vt(o),"labelPosition",void 0),ht(vt(o),"viewType",void 0),ht(vt(o),"isLoading",void 0),ht(vt(o),"custom",void 0),ht(vt(o),"queryTypeMap",void 0),ht(vt(o),"childMinWidth",void 0),ht(vt(o),"colGap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var l;o.viewType=(l=n==null?void 0:n.viewType)!==null&&l!==void 0?l:"mini";var f;o.search=new kt((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new kt((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(h){return new kt(h)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var b;o.childMinWidth=(b=n==null?void 0:n.childMinWidth)!==null&&b!==void 0?b:230;var g;return o.colGap=(g=n==null?void 0:n.colGap)!==null&&g!==void 0?g:24,o}return r}(yu);ht(cy,"RuntimeRules",hde);function OA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ly(e){return ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ly(e)}function gde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rw(e,t)}function mde(e,t){return t&&(Ode(t)==="object"||typeof t=="function")?t:OA(e)}function rw(e,t){return rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rw(e,t)}function Ode(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pde(e){var t=wde();return function(){var n=ly(e),o;if(t){var i=ly(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mde(this,o)}}var ow=function(e){gde(r,e);var t=Pde(r);function r(n){bde(this,r);var o;return o=t.call(this,n),nw(OA(o),"props",void 0),o.props=new cy(n==null?void 0:n.props),o}return r}(n$);nw(ow,"controlType","simple-search"),nw(ow,"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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fy(e){return fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fy(e)}function Rde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cw(e,t)}function Tde(e,t){return t&&(Sde(t)==="object"||typeof t=="function")?t:iw(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(e,t)}function Sde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ede(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ide(e){var t=Ede();return function(){var n=fy(e),o;if(t){var i=fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tde(this,o)}}var wA=function(e){Rde(r,e);var t=Ide(r);function r(n){$de(this,r);var o;o=t.call(this,n),uw(iw(o),"props",void 0),uw(iw(o),"children",void 0),o.props=new cy(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(o$);uw(wA,"controlType","simple-search");var PA={Designer:ow,Runtime:wA,Property:cy},Bde=Object.freeze({__proto__:null,SimpleSearch:PA});function $A(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function Ade(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lw(e,t)}function kde(e,t){return t&&(Dde(t)==="object"||typeof t=="function")?t:$A(e)}function lw(e,t){return lw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lw(e,t)}function Dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jde(e){var t=Lde();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kde(this,o)}}var fw=function(e){Ade(r,e);var t=jde(r);function r(n){Nde(this,r);var o;o=t.call(this,n),Mde($A(o),"wholeRow",void 0);var i;return o.wholeRow=(i=n==null?void 0:n.wholeRow)!==null&&i!==void 0?i:!1,o}return r}(hu);function RA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cde(e,t,r){return t&&TA(e.prototype,t),r&&TA(e,r),e}function xde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sy(e){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sy(e)}function zde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aw(e,t)}function Vde(e,t){return t&&(Gde(t)==="object"||typeof t=="function")?t:RA(e)}function aw(e,t){return aw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aw(e,t)}function Gde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hde(e){var t=Yde();return function(){var n=sy(e),o;if(t){var i=sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vde(this,o)}}var qde=function(e){zde(r,e);var t=Hde(r);function r(n){Fde(this,r);var o;return o=t.call(this,n),xde(RA(o),"props",void 0),o.props=new fw(n==null?void 0:n.props),o}return Cde(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668Wrap"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(u$);function SA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ude(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wde(e,t,r){return t&&EA(e.prototype,t),r&&EA(e,r),e}function Kde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _y(e){return _y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_y(e)}function Xde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sw(e,t)}function Jde(e,t){return t&&(Qde(t)==="object"||typeof t=="function")?t:SA(e)}function sw(e,t){return sw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sw(e,t)}function Qde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eve(e){var t=Zde();return function(){var n=_y(e),o;if(t){var i=_y(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jde(this,o)}}var tve=function(e){Xde(r,e);var t=eve(r);function r(n){Ude(this,r);var o;return o=t.call(this,n),Kde(SA(o),"props",void 0),o.props=new fw(n==null?void 0:n.props),o}return Wde(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(l$);function bhe(e){return e}var nve={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},IA={Designer:qde,Runtime:tve,Property:fw,Setting:nve},rve=Object.freeze({__proto__:null,GridLayoutWrap:IA});function _w(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ove(e){if(Array.isArray(e))return e}function ive(e){if(Array.isArray(e))return _w(e)}function uve(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cve(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,u,l;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.value),!(t&&n.length===t));o=!0);}catch(f){i=!0,l=f}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function lve(){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 fve(){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 ave(e,t){return ove(e)||cve(e,t)||NA(e,t)||lve()}function BA(e){return ive(e)||uve(e)||NA(e)||fve()}function NA(e,t){if(!!e){if(typeof e=="string")return _w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _w(e,t)}}var sve=function(e,t){var r=Array.isArray(e),n=r?e:[e];Pve(t==null?void 0:t.events),hve(n),bve(n);var o=vve(n),i=gve(o,t),u=$n(ie(i,function(l){return dve(l,t)}));return r?u:u[0]},_ve=[c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT,c.CONTROL_TYPE.TITLE,c.CONTROL_TYPE.LINK,c.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],yve=["subtable","grid-table"],pve=["simple-search"];function dve(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":_ve.includes(i.type)?i.controlType="base":i.controlType="form",yve.includes(i.type)&&(i.controlType="list"),pve.includes(i.type)&&(i.controlType="search-view")),delete i.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),be(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),be(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),be(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var l;i.props.attachmentAccept=(l=e.attachment_format)===null||l===void 0?void 0:l.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(be(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(be(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var f,a=i.props.entry_type||i.props.entryType;i.props.openType=a==="subpage"?"modal":"default",((f=i.children[0])===null||f===void 0?void 0:f.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function($,S){var D=new Wg.Designer;D.props.caption=be($.field_name)?$.field_name.zh:$.field_name;var Fe=D.toSchema();Fe.id=$.header_id;var ve=i.children[0].children[S].children[0];return ve&&(Fe.children=[ve]),Fe}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function($){$.label=be($.text)?$.text.zh:$.text,$.id=$.id||$.opt_id||$.optId||$.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function($){var S=new Ra.Designer;S.props.span=_;var D=S.toSchema();return D.children.push($),D})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var p=i==null?void 0:i.children[0],b=i==null?void 0:i.children[1],g={};p&&(MA(i,t),g.result=p.props.data_bind,i.id=p.id,i.props=p.props,i.props.script_src=p.props.script_src,i.props.script_echo=p.props.script_echo,i.props.precision=p.props.precision,i.props.micrometer=p.props.is_show_money,i.props.showUpperCase=p.props.is_show_chn),b&&(g.unit=b.props.data_bind,i.props.default_value={unit:b.props.value}),i.props.dataBind=g,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var h=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1],v={},O={};h&&(MA(i,t),i.id=h.id,v.amount=h.props.data_bind,i.props.range_min=Pn(h.props.range_min),i.props.range_max=Pn(h.props.range_max),O.amount=Pn(h.props.value),i.props.required=h.props.required,i.props.is_hide=h.props.is_hide,i.props.default_state=h.props.default_state,i.props.caption=be(h.props.caption)?h.props.caption.zh:h.props.caption,i.props.is_hide_caption=h.props.is_hide_caption,i.props.showUpperCase=h.props.is_show_chn),m&&(v.currency=m.props.data_bind,O.currency=m.props.value,i.props.datasourceBind=m.props.datasource_bind,i.props.options=m.props.options.map(function($){return{label:$.text,value:$.value}})),i.props.dataBind=v,i.props.defaultValue=O,delete i.children}if(e.type==="date-range"){i.controlType="form";var P=i==null?void 0:i.children[0],w=i==null?void 0:i.children[1];i.props.placeholderStart=be(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=be(e.props.caption)?e.props.caption.zh:e.props.caption;var T={};P&&(T.min=P.props.data_bind),w&&(T.max=w.props.data_bind),i.props.dataBind=T,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=be(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=Pn(e.props.range_min),i.props.range_max=Pn(e.props.range_max),i.props.defaultValue=Pn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),$ve(i,t==null?void 0:t.control_events),i}function MA(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,u=e.id,l=e.children[0].id;n.forEach(function(f){f.id===u&&(f.id=l);var a=f.show_controls.findIndex(function(_){return _===u}),s=f.hide_controls.findIndex(function(_){return _===u});a>-1&&f.show_controls.splice(a,1,l),s>-1&&f.hide_controls.splice(s,1,l)}),i.forEach(function(f){f.ctrl_id===u&&(f.id=l)})}}function vve(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Am.Designer,n=r.toSchema();return n.children=e,[n]}function hve(e){e.forEach(function(t){t.children&&wve(t.children)})}function bve(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,u=r[n],l=(i=r[n])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];u.type==="grid-row"&&l&&["group-panel","subtable","tab"].includes(l.type)&&r.splice(n,1,l)}})}function gve(e,t){var r,n,o,i,u;if(!(Array.isArray(e)&&e.length===1))return e;var l=e[0];if(l.type!=="list-page")return e;var f=l.props,a=l.children,s=ave(a,3),_=s[0],p=s[1],b=s[2];mve(_),b.props.is_fixed_header=f==null||(r=f.source_config)===null||r===void 0?void 0:r.is_fixed_header,Ove(b,p);var g,h=(g=f==null||(n=f.source_config)===null||n===void 0?void 0:n.data_code)!==null&&g!==void 0?g:t==null?void 0:t.dataCode,m,v=((m=f==null||(o=f.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&m!==void 0?m:h)?"".concat(h,"_selectMore"):void 0,O,P=(O=f==null||(i=f.source_config)===null||i===void 0?void 0:i.orders)!==null&&O!==void 0?O:[],w=new Im.Designer;w.props.datasourceBind=new re({dataCode:h,svcCode:v,orders:Fw(P)}),w.props.isShowSubList=f.is_show_sublist,w.props.triggerType=f.timing_type,w.props.triggerFieldCode=f.ctrl_field_code,f==null||(u=f.sublist_page)===null||u===void 0||u.sublists.forEach(function($){$.title=be($.title)?$.title.zh:$.title}),w.props.sublistPage=f.sublist_page;var T=w.toSchema();return T.children.push(_,b),[T]}function mve(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=be(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=t.dateType)===null||o===void 0||(n=o.replace)===null||n===void 0?void 0:n.call(o,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Ove(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:be(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=be(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new re({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function wve(e){for(var t=null,r=0;r<e.length;r++){var n,o=e[r];if(!!o){if(o.children&&((n=o.children[0])===null||n===void 0?void 0:n.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(r,1),r--)}}}function Pve(e){!e||(e.did_mount=e.did_mount.map(function(t){return t.name}),e.will_submit=e.will_submit.map(function(t){return t.name}),e.did_submit=e.did_submit.map(function(t){return t.name}))}function $ve(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var u;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(u=t[e.id][i]).push.apply(u,BA(e.props.events[i].map(function(l){return l.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,BA(t[e.id].on_blur))}}}var Rve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(ie(n,function(i){return Tve(i)}));return r?o:o[0]};function Tve(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===c.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Qe({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Sve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(ie(n,function(i){return Eve(i)}));return r?o:o[0]};function Eve(e,t){return[c.CONTROL_TYPE.BUTTON,c.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,c.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,c.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.EXPORT_LIST_BUTTON,c.CONTROL_TYPE.FORM_SELECT_BUTTON,c.CONTROL_TYPE.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===c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===c.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var Ive=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(ie(n,function(i){return Bve(i)}));return r?o:o[0]};function Bve(e,t){if(e.props.icon){var r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}var Nve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(ie(n,function(i){return Ave(i)}));return r?o:o[0]},Mve=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Ave(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Mve.includes(r.type))return r;var n=new Cg.Designer,o=new Ra.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var kve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(ie(n,function(i){return Dve(i)}));return r?o:o[0]};function Dve(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var Lve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(i){return jve(i)});return r?o:o[0]};function jve(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Fve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(i){return Cve(i)});return r?o:o[0]};function gn(e,t){e.field_code&&(e.field_type=t)}function Cve(e,t){var r,n=(r={},Y(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),Y(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),Y(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),Y(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),Y(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),Y(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),Y(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),Y(r,c.CONTROL_TYPE.DEPARTMENT2,c.FieldTypes.DEPARTMENTS),Y(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),Y(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),Y(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),Y(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),Y(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),Y(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),Y(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),Y(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),Y(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),Y(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),Y(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),Y(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),Y(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),Y(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),Y(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),Y(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&gn(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(gn(e.props.data_bind.amount,c.FieldTypes.DECIMAL),gn(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(gn(e.props.data_bind.result,c.FieldTypes.DECIMAL),gn(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(gn(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),gn(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;gn(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var xve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(i){return zve(i)});return r?o:o[0]};function zve(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var Vve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(i){return Gve(i)});return r?o:o[0]};function Gve(e,t){return e.type===c.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[c.FieldTypes.VARCHAR,c.FieldTypes.TEXT,c.FieldTypes.AUTO_NUMBER].includes((o=r.props)===null||o===void 0||(n=o.data_bind)===null||n===void 0?void 0:n.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Yve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(i){return Hve(i)});return r?o:o[0]};function Hve(e,t){return[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var qve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(i){return Uve(i)});return r?o:o[0]};function Uve(e,t){return[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Wve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(i){return Kve(i)});return r?o:o[0]};function Kve(e,t){return e.type===c.CONTROL_TYPE.TITLE&&e.props.config.push(c.TitleConfigEnum.ShowTitle),e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===c.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var u;if(r.children=(u=r==null?void 0:r.children)!==null&&u!==void 0?u:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var l,f,a,s,_,p,b=new Co.Designer;Object.defineProperty(b,"id",{value:"listPageCheckBtnId"}),b.props.code="view",b.props.icon="iconliulan1",b.props.command="view",b.props.content=(l=r.props)===null||l===void 0?void 0:l.check.content,b.props.priorityProcess=(f=r.props)===null||f===void 0?void 0:f.check.priority_process,b.props.openType=(a=r.props)===null||a===void 0?void 0:a.check.open_type,b.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((_=r.props)===null||_===void 0)&&_.check.is_show&&r.children.push(b.toSchema()),(p=r.props)===null||p===void 0||delete p.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var g,h,m,v,O,P,w=new Co.Designer;Object.defineProperty(w,"id",{value:"listPageEditBtnId"}),w.props.code="edit",w.props.icon="iconbianji1",w.props.command="edit",w.props.content=(g=r.props)===null||g===void 0?void 0:g.edit.content,w.props.priorityProcess=(h=r.props)===null||h===void 0?void 0:h.edit.priority_process,w.props.openType=(m=r.props)===null||m===void 0?void 0:m.edit.open_type,w.props.formKey=(v=r.props)===null||v===void 0?void 0:v.edit.form_key,!((O=r.props)===null||O===void 0)&&O.edit.is_show&&r.children.push(w.toSchema()),(P=r.props)===null||P===void 0||delete P.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var T,$,S,D,Fe,ve,he=new Co.Designer;Object.defineProperty(he,"id",{value:"listPageDeleteBtnId"}),he.props.code="delete",he.props.icon="iconlajitong",he.props.command="delete",he.props.content=(T=r.props)===null||T===void 0?void 0:T.delete.content,he.props.priorityProcess=($=r.props)===null||$===void 0?void 0:$.delete.priority_process,he.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,he.props.formKey=(D=r.props)===null||D===void 0?void 0:D.delete.form_key,he.props.needConfirm=!0,he.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((Fe=r.props)===null||Fe===void 0)&&Fe.delete.is_show&&r.children.push(he.toSchema()),(ve=r.props)===null||ve===void 0||delete ve.delete}}}),[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}function yy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(i){return Jve(i,t)});return r?o:o[0]};function Jve(e,t){e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.map(function(o){o.props.meta_auto_width=new Dy,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});var r,n=(r={},yy(r,c.CONTROL_TYPE.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}]),yy(r,c.CONTROL_TYPE.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}]),yy(r,c.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"}]),yy(r,c.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),r);return e.type in n&&n[e.type].forEach(function(o){e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),Qve(t),e}function Qve(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(function(r){var n,o,i;e.listeners[r].forEach(function(u,l){var f=u.event_key||u.eventKey;switch(f){case"on_click_finish":o=u,i=l;break;case"on_click":n=u;break}}),o&&(o.cases[0].handlers.unshift(yw()),n?(o.cases.forEach(function(u){n.cases[0].handlers.push(u)}),e.listeners[r].splice(i,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Zve()]}];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){var t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(function(r){r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(yw())}}}function Zve(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[yw()]}}function yw(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}var ehe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(i){return the(i,t)});return r?o:o[0]};function the(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){if(e.props.is_show_selection===!1){var r=[c.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,c.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT,c.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON];e.children.forEach(function(n){if(n.type===c.CONTROL_TYPE.GRID_TABLE){var o=n.children.map(function(u){return u.type}),i=o.some(function(u){return r.includes(u)});i===!0&&(e.props.is_show_selection=!0)}})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName)}return e.type===c.CONTROL_TYPE.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e}var AA={"v1.0":sve,"v2.0":Rve,"v2.1":Sve,"v2.2":Ive,"v2.3":Nve,"v2.4":kve,"v2.5":Lve,"v2.6":Fve,"v2.7":xve,"v2.8":Vve,"v2.9":Yve,"v2.10":qve,"v3.0":Wve,"v3.1":Xve,"v3.2":ehe,"v3.3":function(){}};const kA=(e,t)=>{const r=DA(e),n=DA(t),o=r.pop(),i=n.pop(),u=FA(r,n);return u!==0?u:o&&i?FA(o.split("."),i.split(".")):o||i?o?-1:1:0},py=(e,t,r)=>{ihe(r);const n=kA(e,t);return CA[r].includes(n)},nhe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,DA=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(nhe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},LA=e=>e==="*"||e==="x"||e==="X",jA=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},rhe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],ohe=(e,t)=>{if(LA(e)||LA(t))return 0;const[r,n]=rhe(jA(e),jA(t));return r>n?1:r<n?-1:0},FA=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=ohe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},CA={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},xA=Object.keys(CA),ihe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(xA.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${xA.join("|")}`)};function uhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function che(e,t,r){return t&&zA(e.prototype,t),r&&zA(e,r),e}function VA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pw(e){return e.replace(/^v/,"")}var uo=Object.keys(AA).map(function(e){return pw(e)}).sort(kA),Ni=uo[uo.length-1],lhe=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ni;uhe(this,e),VA(this,"toVersion",void 0),VA(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,py(r,Ni,">")?Kt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Ni)):(!uo.includes(pw(r))||!uo.includes(pw(t)))&&Kt("Version Builder: Please give me a valid version number, The valid version is: ".concat(uo.join(","),", But give me a ").concat(t))}return che(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(py(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(u,l,f,a){var s,_=(s=a[f+1])!==null&&s!==void 0?s:o.toVersion;_o("Version Builder: current version: ".concat(l,", nextVersion: ").concat(_));var p=AA[l],b=u;if(typeof p=="function"){var g=p(u,n);g&&(b=g)}return b},r);return _o("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return uo.filter(function(n){return py(n,r.schemaVersion,">=")&&py(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Ni}}],[{key:"version",get:function(){return Ni}}]),e}();const dy=[],dw={exports:{}};let vw=!1;const fhe=window.module,ahe=window.exports,she=window.require;function _he(e){return vw||(window.module=dw,window.exports=dw.exports,window.require=function(t){return e[t]},vw=!0),function(){window.module=fhe,window.exports=ahe,window.require=she,vw=!1}}function yhe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=_he(t);i.src=e,i.type="text/javascript";const l=()=>{document.head.removeChild(i);const f=dy.findIndex(a=>a===r);dy.splice(f,1),dy.length===0&&u()};i.onerror=function(f){l(),o(f)},i.onload=function(){n(dw.exports),l()},document.head.appendChild(i)});return dy.push(r),r}function hw(e){return fetch(e,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(t=>{if(t.ok===!1)throw"not found resource:"+e;return t.text()})}function GA(e,t,r={fetch:hw}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(l){return t[l]}),n(u.exports)}).catch(i=>{o(i)})})}function vy(e,t){return GA(e,t)}function phe(e,t){return Mi(this,null,function*(){return yield Promise.all(e.map(r=>vy(r,t)))})}function hy(e,t,r){let n;t==="runtime"?n=class extends J{constructor(f){super(f),this.props={}}static get controlType(){return e}}:n=class extends F{constructor(f){super(f),this.props={}}static get controlType(){return e}};class o extends X{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:l=>l}}function dhe(e,t,r,n){return Mi(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Mi(this,null,function*(){let u=!0,l;try{u=!0;let f="";n.type==="runtime"?f=i.runtime:f=i.designer,f+="?v="+i.version,l=yield vy(f,r)}catch(f){u=!1,On("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,f),l=hy(i.id,n.type,n.tipMessage)}if(u){let f="";if(n.type==="runtime"&&i.runtimecss!==void 0){const a=new RegExp(i.id+"-runtime-.*?$");f=i.runtime.replace(a,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const a=new RegExp(i.id+"-designer-.*?$");f=i.designer.replace(a,i.designercss)}if(f!==""){const a=document.createElement("link");a.href=f,a.rel="stylesheet",document.head.appendChild(a)}}YA(n.type,l,o,u,i)}))),e==null||e.map(i=>{const[u,l]=i.split(":");if(o.has(u)===!1){const a=hy(u,n.type,n.tipMessage);YA(n.type,a,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:l})}})),o})}function YA(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&On(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&On(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function vhe(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[l,f]=u.split(":");o.props.id===l&&(i=f!=null?f:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function hhe(e,t){return Mi(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield hw(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield vy(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(l=>{let f=u.find(a=>t.type==="runtime"?a.Runtime.controlType===l.id:a.Designer.controlType===l.id);f===void 0&&(f=hy(l.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(l.id,{props:l,version:l.version,isLoaded:!0,control:f})})}return n})}c.ActionBar=E1,c.Address=SI,c.AddressValue=pP,c.AdvancedContainer=h1,c.Amount=aI,c.AmountDataBind=aP,c.AmountValue=sP,c.ApprovalStatusColumn=hA,c.ArrayColumn=MM,c.Attachment=ZE,c.AutoNumber=HI,c.AutoNumberColumn=GM,c.AutoWidth=ky,c.BaseControlProperty=M,c.BaseControlPropertyRules=ae,c.BaseControlPropertyRuntimeRules=V,c.BaseStyle=bP,c.BatchDeleteButton=_S,c.BatchPrintListButton=KT,c.BatchPrintRecordListButton=eS,c.BatchSubmissionListButton=sR,c.Button=R$,c.Calc=QI,c.CalcDataBind=dP,c.CalcScriptEchoItem=UL,c.CalcValue=vP,c.CardGroup=cN,c.Checkbox=TS,c.Col=Ra,c.ColumnControlProperty=Z,c.ColumnControlPropertyRules=ct,c.ColumnOptionAndDataSourcePropertyRules=Op,c.CreateFormListButton=rR,c.CustomAttributeItem=Fy,c.CustomColumn=aA,c.CustomPermissionItem=Xj,c.DEFAULT_LOCALE=$w,c.Dashboard=dT,c.DataBind=Qe,c.DataSourceBind=re,c.DataSourceDataSetValue=uP,c.DataSourceOrderItem=Ly,c.DataSourceParamItem=Uj,c.DataStorageDoc=Qw,c.DataView=Am,c.DatePicker=XS,c.DateRange=uE,c.DecimalColumn=_M,c.Department=jI,c.Department2=E3,c.DepartmentColumn=jM,c.DepartmentEntity=by,c.DesignerColumnControl=ue,c.DesignerControl=F,c.DesignerFormControl=A,c.DesignerLayoutControl=U,c.DesignerListControl=cu,c.DesignerSearchControl=n$,c.DesignerWrapControl=u$,c.DisplayBoListItem=zi,c.Divider=z$,c.ElectronicSignature=p3,c.ElectronicSignatureConfig=T$,c.Employee=UE,c.Employee2=o3,c.EmployeeColumn=dA,c.EventLogic=Yw,c.Explain=Nu,c.ExportConfig=B$,c.ExportListButton=wR,c.ExportRecordListButton=SR,c.ExportTemplate=$o,c.FieldBindItem=tP,c.FieldFilterCondition=po,c.FieldFilterConditions=xi,c.FieldTypeToColumnType=KL,c.FileColumn=qM,c.FillBackBind=zy,c.FillPayloadBind=xy,c.FlexStyleConfig=A$,c.FormBind=Rn,c.FormSelectBind=Zw,c.FormSelectButton=VR,c.Grid=C3,c.GridLayoutContainer=IN,c.GridLayoutWrap=IA,c.GridRow=Cg,c.GridTable=q1,c.GridTableColumn=PN,c.Image=rI,c.ImageColumn=KM,c.ImageOptionSetting=fP,c.ImportConfig=I$,c.ImportListBind=E$,c.ImportRecordListButton=AR,c.Input=gS,c.InvoiceCheckButton=zT,c.JSONCopy=At,c.JoinRelation=iP,c.Language=Wj,c.LayoutControlProperty=G,c.LeftVariable=oP,c.LimitDate=Bu,c.Link=m$,c.LinkOperationOption=bt,c.ListBind=Ci,c.ListControlProperty=Po,c.ListSelectButton=JR,c.ListView=Im,c.ListViewSelect=RT,c.LocationColumn=oA,c.MetaAutoWidth=Dy,c.MetaWidth=Fi,c.MultistageFillingItem=Re,c.Number=GS,c.ObjectDataBind=Gi,c.OperationButton=Co,c.OperationColumn=z1,c.OperationItem=kt,c.OptObject=gP,c.OptionAndDataSourcePropertyRules=Tn,c.OptionSetting=Gy,c.OrderColumn=j1,c.OrganizationDataSourceBind=cP,c.OrganizationSelection=D3,c.Page=y1,c.Pagination=iT,c.PeopleColumn=QM,c.Position=P1,c.PositioningContainer=m1,c.PrintTemplate=M$,c.Property=X,c.PropertyRules=ne,c.PropertyRuntimeRules=Qt,c.Radio=LS,c.RangeDataBind=_P,c.RangeDateValue=yP,c.RegisterControls=yo,c.RegularRules=Vy,c.RichText=mE,c.RightVariable=cr,c.Row=J3,c.RowStyleRule=mP,c.RowStyleRuleScript=OP,c.RulesMessage=d,c.RuntimeColumnControl=ce,c.RuntimeControl=J,c.RuntimeFormControl=k,c.RuntimeLayoutControl=Q,c.RuntimeListControl=vp,c.RuntimeSearchControl=o$,c.RuntimeWrapControl=l$,c.SUBTABLE_DEFAULT_MAX_HEIGHT=N$,c.Score=hI,c.SearchControlProperty=yu,c.SearchDateRange=bB,c.SearchInput=YB,c.SearchNumberRange=lB,c.Select=BE,c.SelectMultiple=jE,c.SelectRelation=DB,c.SelectedContentConfig=Vi,c.SimpleSearch=PA,c.SubListItem=nP,c.SubListPageConfig=rP,c.SubTable=N1,c.SubTableColumn=Wg,c.SubTableRow=bN,c.SubmissionRecordListButton=vR,c.SuperDataSourceBind=vo,c.Tab=GN,c.TabPane=FN,c.Text=d$,c.TextColumn=iM,c.TextOcrButton=AT,c.Textarea=yE,c.TimescopeColumn=gM,c.TimestampColumn=TM,c.Title=K$,c.Toolbox=XN,c.Tree=JB,c.TreeDataSourceBind=Cy,c.UndersignedPerson=Jp,c.UserEntity=gy,c.VarcharColumn=Q1,c.VersionBuilder=lhe,c.ViewOperationItem=hP,c.VueFormItem=RB,c.WPS=O3,c.WPSSetting=S$,c.Watcher=Vw,c.WpsOperationItem=Qp,c.WrapControlProperty=hu,c.baseControls=xG,c.camelizeKeys=Fw,c.columnControls=yde,c.controlHooksEmitter=BP,c.createValidator=IP,c.debounce=Pj,c.decamelizeKeys=$n,c.defineArrayParent=qw,c.defineControlArrayToProperty=ut,c.defineParent=My,c.error=Kt,c.formControls=Fee,c.genNonDuplicateId=xe,c.getHackerControl=hy,c.getNotRepeatItems=jw,c.initExpression=Ro,c.initImageOptions=Kj,c.initLinkOperationRules=Lt,c.initOptionAndDataSourceRules=Ui,c.initOptions=gt,c.initSuperDataSourceRules=Oo,c.isArray=wn,c.isBuiltInControls=Rj,c.isDataBind=VP,c.isFunction=hj,c.isJSONArray=Oj,c.isJSONObject=wj,c.isLanguageObject=be,c.isNumber=Ey,c.isNumberAndEmptyStringArray=mj,c.isNumberArray=gj,c.isObject=vj,c.isPlainObject=Sy,c.isString=Lw,c.isStringArray=bj,c.layoutControls=wle,c.listControls=cae,c.loadRemoteControl=vy,c.loadRemoteControls=phe,c.loadScriptFromFetch=GA,c.loadScriptFromTag=yhe,c.log=_o,c.logerror=Nw,c.loop=ie,c.loopFormSchema=Di,c.nativeFetch=hw,c.noop=WL,c.referenceError=$y,c.registerByteluckControls=hhe,c.registerCustomControls=dhe,c.searchControls=Bde,c.setPropertyDontEnum=Li,c.toNumberOrEmpty=Pn,c.updateValueFromKeys=kw,c.upgradeCustomControlSchema=vhe,c.wait=$j,c.warn=On,c.wrapControls=rve,Object.defineProperty(c,"__esModule",{value:!0})});
|
|
1
|
+
var Ci=(c,wn,Jt)=>new Promise((Dy,xi)=>{var C=kt=>{try{wo(Jt.next(kt))}catch(Po){xi(Po)}},Ly=kt=>{try{wo(Jt.throw(kt))}catch(Po){xi(Po)}},wo=kt=>kt.done?Dy(kt.value):Promise.resolve(kt.value).then(C,Ly);wo((Jt=Jt.apply(c,wn)).next())});(function(c,wn){typeof exports=="object"&&typeof module!="undefined"?wn(exports):typeof define=="function"&&define.amd?define(["exports"],wn):(c=typeof globalThis!="undefined"?globalThis:c||self,wn(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function wn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Dy=function e(){wn(this,e),Jt(this,"department_en_name",void 0),Jt(this,"department_id",void 0),Jt(this,"department_name",void 0)};function xi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ly=function e(){xi(this,e),C(this,"avatar_big",void 0),C(this,"avatar_small",void 0),C(this,"avatar_url",void 0),C(this,"belong_dept_en_name",void 0),C(this,"belong_dept_id_list",void 0),C(this,"belong_dept_ids",void 0),C(this,"belong_dept_name",void 0),C(this,"cookie_language_enum",void 0),C(this,"department_id",void 0),C(this,"department_name",void 0),C(this,"email",void 0),C(this,"employee_card",void 0),C(this,"employee_en_name",void 0),C(this,"employee_id",void 0),C(this,"employee_name",void 0),C(this,"external_user",void 0),C(this,"gender",void 0),C(this,"is_show_chat_group",void 0),C(this,"manage_dept_en_name",void 0),C(this,"manage_dept_ids",void 0),C(this,"manage_dept_name",void 0),C(this,"msg_relation_type",void 0),C(this,"sequence",void 0),C(this,"telephone",void 0),C(this,"tenant_id",void 0)},wo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",kt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Po="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",UA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",WA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",KA="{caption}\u5FC5\u586B",XA="\u8BF7\u8F93\u5165\u6807\u9898",JA="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",QA="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ZA="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ek="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",tk="\u8BF7\u7ED1\u5B9A\u8868\u5355",nk="\u8BF7\u7ED1\u5B9A\u5217\u8868",rk="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ok="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ik="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",uk="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ck="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",lk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ak="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",sk="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",_k="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",yk="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",pk="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",dk="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",vk="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",hk="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",bk="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",gk="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",mk="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ok="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",wk="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Pk="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",$k="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Rk="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Tk="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Sk="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ek="\u8BF7\u9009\u62E9\u7701",Ik="\u8BF7\u9009\u62E9\u5E02",Bk="\u8BF7\u9009\u62E9\u533A",Nk="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Mk="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ak="\u8BF7\u8F93\u5165\u5217\u5BBD",kk="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Dk="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Lk="\u8BF7\u9009\u62E9\u63A7\u4EF6",jk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Fk="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ck="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",xk="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",zk="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Vk="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Gk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Yk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Hk="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",qk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Uk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Wk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Kk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Xk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Jk="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Qk="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Zk="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",e2="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",t2="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",n2="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",r2="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",o2="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",i2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",u2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",c2="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",l2="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",f2="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",a2={isNotNumber:wo,isNotString:kt,isNotObject:Po,isNotArray:UA,isNotBoolean:WA,runtimeRequired:KA,pleaseEnterCaption:XA,pleaseEnterCaptionTip:JA,pleaseEnterRowCaption:QA,pleaseEnterPlaceholder:ZA,pleaseEnterFieldCode:ek,pleaseEnterForm:tk,pleaseEnterList:nk,pleaseEnterProcess:rk,pleaseEnterLabel:ok,pleaseEnterValue:ik,bizKeyNotBindFiled:uk,pleaseSelectOneField:ck,pleaseEnterNumberRange:lk,pleaseEnterAValueGreaterThanMin:fk,pleaseEnterAValueLessThanMax:ak,numberRangeSetError:sk,stringRangeError:_k,attachmentMaxSize:yk,pleaseEnterTotalScoreSetting:pk,theTotalScoreMustNotBeLessThan1:dk,scoreDefaultValueRange:vk,attachmentLimitError:hk,PleaseReselectTheOptionalQuantity:bk,TheMaximumLengthIsGreaterThanTheMinimumLength:gk,TheMinimumLengthIsGreaterThanTheMaximumLength:mk,PleaseSelectTheCorrectOptionSettings:Ok,optionIdIsRepeat:wk,optionIsRequired:Pk,pleaseEnterDataCode:$k,pleaseEnterValueFieldCode:Rk,pleaseEnterSvcCode:Tk,pleaseBindAtLeastOneDisplayValue:Sk,pleaseSelectProvince:Ek,pleaseSelectCity:Ik,pleaseSelectDistrict:Bk,limitRowsCannotBeLessThan0:Nk,TheNumberOfRowsCannotBeLessThanMinRows:Mk,pleaseEnterColumnWidth:Ak,pleaseSetTheLogicalRelationshipOfAllRuleConditions:kk,pleaseCompleteAllRulesAndConditions:Dk,pleaseSelectControl:Lk,pleaseSelectAtLeastOneColumn:jk,pleaseSelectFillBackMode:Fk,pleaseSelectDashboard:Ck,rootNodeIsRequired:xk,theViewNameCannotBeEmpty:zk,pleaseSelectOcrType:Vk,pleaseSelectAtLeastOneFieldToFillIn:Gk,pleaseChooseAtLeastOne:Yk,pleaseEnterButtonContent:Hk,pleaseEnterDataCodeInDataSetting:qk,pleaseEnterValueFieldCodeInDataSetting:Uk,pleaseEnterSvcCodeInDataSetting:Wk,pleaseBindAtLeastOneDisplayValueInDataSetting:Kk,rootNodeIsRequiredInDataSetting:Xk,pleaseEnterMaxHeight:Jk,pleaseEnter:Qk,pleaseEnterWatermark:Zk,pleaseEnterFileName:e2,pleaseUploadAtLeastOnePrintTemplate:t2,pleaseAssignBusiness:n2,pleaseAssignExternal:r2,pleaseEnterAliasCode:o2,pleaseSelectDataCode:i2,pleaseSelectSvcCode:u2,pleaseSelectJoinFieldCode:c2,pleaseSelectMainFieldCode:l2,pleaseSelectSortFieldCode:f2},s2="Please enter a number",_2="Please enter a string",y2="Please enter an object",p2="Please enter an array",d2="Please enter a boolean",v2="{caption} Required",h2="Please enter the title",b2="Please enter the bubble prompt",g2="Please enter the row title",m2="Please enter the prompt text",O2="Please bind data items",w2="Please bind the form",P2="Please bind the list",$2="Please bind the process",R2="Please enter the displayed value",T2="Please enter the stored value",S2="The document number is not bound to the data item",E2="Please select at least one display field",I2="Please enter a value greater than or equal to {min} and less than or equal to {max}",B2="Please enter a value greater than or equal to {min}",N2="Please enter a value less than or equal to {max}",M2="The value range is set incorrectly",A2="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",k2="The attachment size must be between 0MB and 1000MB",D2="Please fill in the total score setting",L2="The total score cannot be less than 1",j2="The default value must be between {min} and {max}",F2="The number of attachments uploaded must be between {min} and {max}",C2="Please re-select the optional quantity",x2="The maximum length of the control must be greater than the minimum length",z2="The minimum length of the control must be less than the maximum length",V2="Please select the correct option setting",G2="Option ID cannot be repeated",Y2="Please enter at least one option",H2="Please bind the data source",q2="Please bind the stored value",U2="Please bind the service",W2="At least one display value must be bound",K2="Please select a province",X2="Please select a city",J2="Please select a district",Q2="The minimum number of lines to fill in cannot be less than 0",Z2="The number of rows cannot be less than {min} rows",eD="Please enter the column width",tD="Please set the logical relationship of all rule conditions",nD="Please complete all rules and conditions",rD="please select control",oD="Please select the dashboard",iD="View name cannot be empty",uD="Please select recognition type",cD="Please select at least one field to fill in",lD="Please select at least one",fD="Please enter the button title",aD="Please bind the business model in the data settings",sD="Please bind storage values in data settings",_D="Please bind the service in the data settings",yD="Please bind at least one display value in the data settings",pD="Please select the root node in the data settings",dD="Please enter the maximum height",vD="The input content cannot be empty",hD="Watermark cannot be empty",bD="File name cannot be empty",gD="Please upload at least one printing template!\uFF01",mD="Please select a specific business department",OD="Please select a specified external organization",wD="Please enter a sub table alias",PD="Please select the associated table to set the business model",$D="Please select the association table to set the binding service",RD="Select associated sub table fields",TD="Please select the associated main table field",SD="Please select the sort field",ED={isNotNumber:s2,isNotString:_2,isNotObject:y2,isNotArray:p2,isNotBoolean:d2,runtimeRequired:v2,pleaseEnterCaption:h2,pleaseEnterCaptionTip:b2,pleaseEnterRowCaption:g2,pleaseEnterPlaceholder:m2,pleaseEnterFieldCode:O2,pleaseEnterForm:w2,pleaseEnterList:P2,pleaseEnterProcess:$2,pleaseEnterLabel:R2,pleaseEnterValue:T2,bizKeyNotBindFiled:S2,pleaseSelectOneField:E2,pleaseEnterNumberRange:I2,pleaseEnterAValueGreaterThanMin:B2,pleaseEnterAValueLessThanMax:N2,numberRangeSetError:M2,stringRangeError:A2,attachmentMaxSize:k2,pleaseEnterTotalScoreSetting:D2,theTotalScoreMustNotBeLessThan1:L2,scoreDefaultValueRange:j2,attachmentLimitError:F2,PleaseReselectTheOptionalQuantity:C2,TheMaximumLengthIsGreaterThanTheMinimumLength:x2,TheMinimumLengthIsGreaterThanTheMaximumLength:z2,PleaseSelectTheCorrectOptionSettings:V2,optionIdIsRepeat:G2,optionIsRequired:Y2,pleaseEnterDataCode:H2,pleaseEnterValueFieldCode:q2,pleaseEnterSvcCode:U2,pleaseBindAtLeastOneDisplayValue:W2,pleaseSelectProvince:K2,pleaseSelectCity:X2,pleaseSelectDistrict:J2,limitRowsCannotBeLessThan0:Q2,TheNumberOfRowsCannotBeLessThanMinRows:Z2,pleaseEnterColumnWidth:eD,pleaseSetTheLogicalRelationshipOfAllRuleConditions:tD,pleaseCompleteAllRulesAndConditions:nD,pleaseSelectControl:rD,pleaseSelectDashboard:oD,theViewNameCannotBeEmpty:iD,pleaseSelectOcrType:uD,pleaseSelectAtLeastOneFieldToFillIn:cD,pleaseChooseAtLeastOne:lD,pleaseEnterButtonContent:fD,pleaseEnterDataCodeInDataSetting:aD,pleaseEnterValueFieldCodeInDataSetting:sD,pleaseEnterSvcCodeInDataSetting:_D,pleaseBindAtLeastOneDisplayValueInDataSetting:yD,rootNodeIsRequiredInDataSetting:pD,pleaseEnterMaxHeight:dD,pleaseEnter:vD,pleaseEnterWatermark:hD,pleaseEnterFileName:bD,pleaseUploadAtLeastOnePrintTemplate:gD,pleaseAssignBusiness:mD,pleaseAssignExternal:OD,pleaseEnterAliasCode:wD,pleaseSelectDataCode:PD,pleaseSelectSvcCode:$D,pleaseSelectJoinFieldCode:RD,pleaseSelectMainFieldCode:TD,pleaseSelectSortFieldCode:SD},ID="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",BD="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ND="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MD="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AD="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kD="{caption}\u5FC5\u9808",DD="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LD="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jD="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",FD="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CD="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xD="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zD="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",VD="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GD="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YD="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HD="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",qD="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UD="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WD="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",KD="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XD="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",JD="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QD="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ZD="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",eL="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",tL="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",nL="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",rL="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oL="\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",iL="\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",uL="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cL="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",lL="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fL="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aL="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sL="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_L="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",yL="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pL="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dL="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vL="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hL="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",bL="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gL="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",mL="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",OL="please select control",wL="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PL="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",$L="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RL="\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",TL="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",SL="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",IL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",BL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",NL="\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",ML="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",AL="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kL="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",DL="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",LL="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",jL="\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",FL="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",CL="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xL="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zL="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",VL="\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",GL="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",YL="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HL="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qL={isNotNumber:ID,isNotString:BD,isNotObject:ND,isNotArray:MD,isNotBoolean:AD,runtimeRequired:kD,pleaseEnterCaption:DD,pleaseEnterCaptionTip:LD,pleaseEnterRowCaption:jD,pleaseEnterPlaceholder:FD,pleaseEnterFieldCode:CD,pleaseEnterForm:xD,pleaseEnterList:zD,pleaseEnterProcess:VD,pleaseEnterLabel:GD,pleaseEnterValue:YD,bizKeyNotBindFiled:HD,pleaseSelectOneField:qD,pleaseEnterNumberRange:UD,pleaseEnterAValueGreaterThanMin:WD,pleaseEnterAValueLessThanMax:KD,numberRangeSetError:XD,stringRangeError:JD,attachmentMaxSize:QD,pleaseEnterTotalScoreSetting:ZD,theTotalScoreMustNotBeLessThan1:eL,scoreDefaultValueRange:tL,attachmentLimitError:nL,PleaseReselectTheOptionalQuantity:rL,TheMaximumLengthIsGreaterThanTheMinimumLength:oL,TheMinimumLengthIsGreaterThanTheMaximumLength:iL,PleaseSelectTheCorrectOptionSettings:uL,optionIdIsRepeat:cL,optionIsRequired:lL,pleaseEnterDataCode:fL,pleaseEnterValueFieldCode:aL,pleaseEnterSvcCode:sL,pleaseBindAtLeastOneDisplayValue:_L,pleaseSelectProvince:yL,pleaseSelectCity:pL,pleaseSelectDistrict:dL,limitRowsCannotBeLessThan0:vL,TheNumberOfRowsCannotBeLessThanMinRows:hL,pleaseEnterColumnWidth:bL,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gL,pleaseCompleteAllRulesAndConditions:mL,pleaseSelectControl:OL,pleaseSelectDashboard:wL,theViewNameCannotBeEmpty:PL,pleaseSelectOcrType:$L,pleaseSelectAtLeastOneFieldToFillIn:RL,pleaseChooseAtLeastOne:TL,pleaseEnterButtonContent:SL,pleaseEnterDataCodeInDataSetting:EL,pleaseEnterValueFieldCodeInDataSetting:IL,pleaseEnterSvcCodeInDataSetting:BL,pleaseBindAtLeastOneDisplayValueInDataSetting:NL,rootNodeIsRequiredInDataSetting:ML,pleaseEnterMaxHeight:AL,pleaseEnter:kL,pleaseEnterWatermark:DL,pleaseEnterFileName:LL,pleaseUploadAtLeastOnePrintTemplate:jL,pleaseAssignBusiness:FL,pleaseAssignExternal:CL,pleaseEnterAliasCode:xL,pleaseSelectDataCode:zL,pleaseSelectSvcCode:VL,pleaseSelectJoinFieldCode:GL,pleaseSelectMainFieldCode:YL,pleaseSelectSortFieldCode:HL},UL={zhCN:a2,enUS:ED,jaJP:qL};function WL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(c.CALC_TOKEN_TYPE||(c.CALC_TOKEN_TYPE={})),c.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(c.CALC_AGGREGATE_TYPE||(c.CALC_AGGREGATE_TYPE={}));var KL=function e(t){WL(this,e),fr(this,"name",void 0),fr(this,"id",void 0),fr(this,"type",void 0),fr(this,"subTableId",void 0),fr(this,"subTableName",void 0),fr(this,"aggregateType",void 0);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:"Number";var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var u;this.subTableName=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var l;this.aggregateType=(l=t==null?void 0:t.aggregateType)!==null&&l!==void 0?l:void 0},Sw="zh-CN",XL=function(){};function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,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.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"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,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.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field",e.BOOLEAN="boolean",e.MODEL="model",e.MODEL_SET="model_set"}(c.FieldTypes||(c.FieldTypes={}));var Se,JL=(Se={},M(Se,"array","array-column"),M(Se,"auto_number","auto-number-column"),M(Se,"decimal","decimal-column"),M(Se,"department","department-column"),M(Se,"file","file-column"),M(Se,"image","image-column"),M(Se,"location","location-column"),M(Se,"people","employee-column"),M(Se,"text","text-column"),M(Se,"timescope","timescope-column"),M(Se,"timestamp","timestamp-column"),M(Se,"varchar","varchar-column"),M(Se,"relation","varchar-column"),Se),J,QL=(J={},M(J,"varchar","\u77ED\u6587\u672C"),M(J,"timestamp","\u65F6\u95F4"),M(J,"text","\u957F\u6587\u672C"),M(J,"decimal","\u6570\u503C\u7C7B\u578B"),M(J,"relation","\u5F15\u7528\u7C7B\u578B"),M(J,"bigint","\u957F\u6574\u578B"),M(J,"image","\u56FE\u7247"),M(J,"file","\u9644\u4EF6"),M(J,"auto_number","\u81EA\u52A8\u7F16\u53F7"),M(J,"boolean","\u903B\u8F91"),M(J,"people","\u4EBA\u5458"),M(J,"location","\u5730\u5740"),M(J,"department","\u90E8\u95E8"),M(J,"relation-field","\u5173\u8054\u5B57\u6BB5"),M(J,"reference-field","\u5F15\u7528\u5B57\u6BB5"),M(J,"calc","\u8BA1\u7B97\u516C\u5F0F"),M(J,"json","JSON"),M(J,"model","\u6A21\u578B"),M(J,"model_set","\u6A21\u578B\u96C6\u5408"),M(J,"array","\u6570\u7EC4"),J);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var jy={DEFAULT:"default"},Ew="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",ZL=Ew+"0123456789";function ze(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Ew:ZL,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Fy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ej(e){if(Array.isArray(e))return Fy(e)}function tj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zi(e,t,r){return Mw()?zi=Reflect.construct:zi=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&Ro(a,u.prototype),a},zi.apply(null,arguments)}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(e)}function Bw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ro(e,t)}function nj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function rj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oj(){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 ij(e,t){return t&&(uj(t)==="object"||typeof t=="function")?t:tj(e)}function Ro(e,t){return Ro=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ro(e,t)}function Nw(e){return ej(e)||rj(e)||cj(e)||oj()}function uj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cj(e,t){if(!!e){if(typeof e=="string")return Fy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Fy(e,t)}}function Cy(e){var t=typeof Map=="function"?new Map:void 0;return Cy=function(n){if(n===null||!nj(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return zi(n,arguments,$o(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ro(o,n)},Cy(e)}function Mw(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aw(e){var t=Mw();return function(){var n=$o(e),o;if(t){var i=$o(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ij(this,o)}}var xy=console;function Pn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=xy).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Nw(o)))}function To(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=xy).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Nw(o)))}function lj(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var zy=function(e){Bw(r,e);var t=Aw(r);function r(n){Iw(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?lj(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Cy(Error)),fj=function(e){Bw(r,e);var t=Aw(r);function r(n){Iw(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(zy);function Qt(e){throw new zy(e)}function Vy(e){throw new fj(e)}function kw(e){xy.error(new zy(e))}function Vi(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":Vi(r==null?void 0:r.children,t);break;case"wrap":Vi(r==null?void 0:r.children,t);break;case"search":Vi(r==null?void 0:r.children,t);break;case"form":t(r)}})}var aj=Object.prototype.toString;function Dw(e,t){return aj.call(e)==="[object "+t+"]"}function sj(e){return Dw(e,"String")}function _j(e){return Dw(e,"Promise")}var yj=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();_j(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,l){if(o!==void 0){var f=o[i];if(!(u===l.length-1&&!sj(f)))return f}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function pj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dj(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function vj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v=function(){function e(){pj(this,e)}return dj(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Sw;return new yj({locale:r,messages:UL})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();vj(v,"$i18n",v.resetI18n());function jw(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,l,f){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Pn("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===f.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var hj=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Gy={exports:{}};(function(e){(function(t){var r=function(p,O,P){if(!a(O)||_(O)||d(O)||b(O)||f(O))return O;var w,T=0,$=0;if(s(O))for(w=[],$=O.length;T<$;T++)w.push(r(p,O[T],P));else{w={};for(var S in O)Object.prototype.hasOwnProperty.call(O,S)&&(w[p(S,P)]=r(p,O[S],P))}return w},n=function(p,O){O=O||{};var P=O.separator||"_",w=O.split||/(?=[A-Z])/;return p.split(w).join(P)},o=function(p){return g(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(O,P){return P?P.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},i=function(p){var O=o(p);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(p,O){return n(p,O).toLowerCase()},l=Object.prototype.toString,f=function(p){return typeof p=="function"},a=function(p){return p===Object(p)},s=function(p){return l.call(p)=="[object Array]"},_=function(p){return l.call(p)=="[object Date]"},d=function(p){return l.call(p)=="[object RegExp]"},b=function(p){return l.call(p)=="[object Boolean]"},g=function(p){return p=p-0,p===p},h=function(p,O){var P=O&&"process"in O?O.process:O;return typeof P!="function"?p:function(w,T){return P(w,p,T)}},m={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(p,O){return r(h(o,O),p)},decamelizeKeys:function(p,O){return r(h(u,O),p,O)},pascalizeKeys:function(p,O){return r(h(i,O),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=m:t.humps=m})(hj)})(Gy);var Fw={};Object.defineProperty(Fw,"__esModule",{value:!0});function Yy(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Yy(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Yy(n)}return t}}var bj=Fw.default=Yy;function Je(e){if(e!==void 0)return typeof e=="object"?bj(e):e}function me(e){return Hy(e)&&"zh"in e}function Hy(e){return Object.prototype.toString.call(e)==="[object Object]"}function gj(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function $n(e){return Array.isArray(e)}function Cw(e){return typeof e=="string"}function qy(e){return typeof e=="number"}function mj(e){return typeof e=="function"}function Oj(e){return $n(e)&&e.every(function(t){return Cw(t)})}function wj(e){return $n(e)&&e.every(function(t){return qy(t)})}function Pj(e){return $n(e)&&e.every(function(t){return qy(t)||t===""})}function $j(e){return/^\[.*?]$/.test(e)}function Rj(e){return/^{.*?}$/.test(e)}function Rn(e){return isNaN(parseFloat(e))?"":Number(e)}function xw(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function Tj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u=this;r||(r=setTimeout(function(){e.apply(u,o),clearTimeout(r),r=null},t))}}function Sj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function ce(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=ce(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=ce(n.footers,t)),t(o)})),r}function zw(e){return Gy.exports.camelizeKeys(e)}function Tn(e){return Gy.exports.decamelizeKeys(e)}function Ej(e){return Object.values(c.CONTROL_TYPE).includes(e)}function Uy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ij(e){if(Array.isArray(e))return Uy(e)}function Vw(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function Bj(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){Vw(i,n,o,u,l,"next",f)}function l(f){Vw(i,n,o,u,l,"throw",f)}u(void 0)})}}function Nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mj(e,t,r){return t&&Gw(e.prototype,t),r&&Gw(e,r),e}function Yw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kj(){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 Wy(e){return Ij(e)||Aj(e)||Dj(e)||kj()}function Dj(e,t){if(!!e){if(typeof e=="string")return Uy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Uy(e,t)}}function Lj(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Hw=function(){function e(){Nj(this,e),Yw(this,"_events",new Map),Yw(this,"debug",!1)}return Mj(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return Bj(function(){var l,f,a,s,_,d,b,g,h,m,p,O;return Lj(this,function(P){switch(P.label){case 0:if(l=u._events.get(r),f=[],!l)return[3,10];a=l.slice(),s=!0,_=!1,d=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=a[Symbol.iterator](),P.label=2;case 2:if(s=(g=b.next()).done)return[3,7];if(h=g.value,!l.includes(h))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&To.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Wy(o))),[4,h.apply(null,Wy(o))];case 4:return m=P.sent(),u.debug&&To.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Wy(o),[m])),f.push(m),m===!1?[3,7]:[3,6];case 5:return p=P.sent(),kw(String(p)+":"+String(p.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return O=P.sent(),_=!0,d=O,[3,10];case 9:try{!s&&b.return!=null&&b.return()}finally{if(_)throw d}return[7];case 10:return[2,f]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function jj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fj(e,t,r){return t&&qw(e.prototype,t),r&&qw(e,r),e}function Cj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xj=[{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"}],Uw=function(){function e(){jj(this,e)}return Fj(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();Cj(Uw,"events",xj);function Ky(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zj(e){if(Array.isArray(e))return Ky(e)}function Vj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Gj(){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 Ww(e){return zj(e)||Vj(e)||Yj(e)||Gj()}function Yj(e,t){if(!!e){if(typeof e=="string")return Ky(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ky(e,t)}}function Gi(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Xy(e,t,r){r==="Designer"&&(e.parent=t,Gi(e,"parent"))}function Kw(e,t,r){e.forEach(function(n){Xy(n,t,r)})}var Xw=Symbol("targetKey");function Jw(e){var t;return(t=e[Xw])!==null&&t!==void 0?t:e}function Qw(e,t,r){return Kw(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,l=new Array(u>2?u-2:0),f=2;f<u;f++)l[f-2]=arguments[f];var a;return i===Xw?o:(a=Reflect).get.apply(a,[o,i].concat(Ww(l)))},set:function(o,i,u){for(var l=arguments.length,f=new Array(l>3?l-3:0),a=3;a<l;a++)f[a-3]=arguments[a];var s;if($n(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(Ww(f)));return Hy(u)&&Xy(u,t,r),_}})}function ft(e,t,r,n,o){var i=n!=null?n:e,u=Qw(Jw(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(f){u=Qw(Jw(f),i,o)},enumerable:!0})}function Hj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qj(e,t,r){return t&&Zw(e.prototype,t),r&&Zw(e,r),e}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var eP=[],So=function(){function e(t){Hj(this,e),Zt(this,"registeredControlTypes",new Set),Zt(this,"controlConfigMap",new Map),Zt(this,"_controls",[]),Zt(this,"_type",void 0),this._type=t,this._initControls(t)}return qj(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Qt("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Pn("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(s){return o.createControl(s,n)});if(r.children&&(r.children=r.children.map(function(s){return o.createControl(s,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(s){return o.createControl(s,n)})),i.footers&&(i.footers=i.footers.map(function(s){var _;return s&&(_=o.createControl(s,n)),_}))}var u=this.getControlFormType(r.type);if(u){var l=r;if(typeof n=="function"){var f=n(l);f&&(l=f)}var a;return u.mode==="Runtime"?(a=l,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(l),a}else Qt("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),Gi(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,l=n.instanceMap;if(!(!u||!l)){var f=u[i],a=l[i];if(!(!f&&!a)){var s=a.findIndex(function(b){return b==r}),_=l[f]||[],d;return _.length!==a.length?d=_[0]:d=_[s],d}}}}),Gi(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Qt("".concat(r," is can't register as a Control"));var l=this.staticControls.findIndex(function(f){return f.Designer.controlType===o.controlType});return l>-1&&(Pn("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Zt(So,"staticControlsRuntimeRules",new Map),Zt(So,"staticControls",eP),Zt(So,"staticRegisteredTypes",new Set(eP.map(function(e){return e.Designer.controlType}))),Zt(So,"staticRegisteredConfigs",new Map);function x(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function Qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function Uj(e,t){return t&&(Wj(t)==="object"||typeof t=="function")?t:x(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}function Wj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ze(e){var t=Kj();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uj(this,o)}}var et=function e(t){R(this,e),y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},Qy=function e(t){R(this,e),y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Hi=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;o=t.call(this,n),y(x(o),"width",void 0),y(x(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(Qy),Zy=function e(t){R(this,e),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Hi(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Hi(t==null?void 0:t.mobile):new Hi({width:130,minWidth:180})},tP=function e(t){R(this,e),y(this,"type",void 0),y(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Sn=function e(t){R(this,e),y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},nP=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;o=t.call(this,n),y(x(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Sn),rP=function e(t){R(this,e),y(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},qi=function e(t){R(this,e);var r;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new rP(u)}))!==null&&i!==void 0?i:[]},oP=function e(t){R(this,e),y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},iP=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;o=t.call(this,n),y(x(o),"title",void 0),y(x(o),"svcCode",void 0),y(x(o),"isOpenFilter",void 0),y(x(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var l;o.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var f;return o.filters=(f=n==null?void 0:n.filters)!==null&&f!==void 0?f:[],o}return r}(Sn),uP=function e(t){R(this,e);var r,n;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new Sn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new oP(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new iP(u)}))!==null&&i!==void 0?i:[]},cP=function e(t){R(this,e),y(this,"type",void 0),y(this,"value",void 0),y(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},ar=function e(t){R(this,e),y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Ui=function e(t){var r=this;R(this,e),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ze();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(l){if(l.children!==void 0){var f,a=new e(l);(f=r.children)===null||f===void 0||f.push(a)}else{var s,_=new Eo(l);(s=r.children)===null||s===void 0||s.push(_)}}))},Eo=function e(t){R(this,e),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ze();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new cP(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ar(t==null?void 0:t.rightVariableBo)},lP=function e(t){R(this,e),y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new ie(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Ee=function e(t){R(this,e),y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Wi=function e(t){R(this,e),y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},ep=function e(t){R(this,e),y(this,"columnName",void 0),y(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},fP=function e(t){R(this,e),y(this,"code",void 0),y(this,"value",void 0),y(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},Xj=function e(t){R(this,e);var r,n;y(this,"id",void 0),y(this,"limit",void 0),y(this,"orders",void 0),y(this,"formKey",void 0),y(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var l;this.orders=(l=(r=t.orders)===null||r===void 0?void 0:r.map(function(a){return new ep(a)}))!==null&&l!==void 0?l:[];var f;this.dataSet=(f=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(a){return new fP(a)}))!==null&&f!==void 0?f:[]};function tp(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(l){return l.children!==void 0?new Ui(l):new Eo(l)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new Ui(l):new Eo(l)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(l){return new ep(l)}))!==null&&u!==void 0?u:[]}var ie=function e(t){var r=this;R(this,e),y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var _;(_=r.displayBoList)===null||_===void 0||_.push(new Wi(s))}));var l;this.keywordMapping=(l=t==null?void 0:t.keywordMapping)!==null&&l!==void 0?l:"";var f;this.showOrder=(f=t==null?void 0:t.showOrder)!==null&&f!==void 0?f:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",tp.call(this,t)},Ki=function e(t){R(this,e),y(this,"dataCode",void 0),y(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},mt=function e(t){R(this,e),y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var 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 f;this.icon=(f=t==null?void 0:t.icon)!==null&&f!==void 0?f:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},np=function e(t){R(this,e);var r;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new Wi(u)}))!==null&&i!==void 0?i:[]},Io=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o,i;o=t.call(this,n),y(x(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new np(l)}))!==null&&u!==void 0?u:[],o}return r}(ie),aP=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o,i;o=t.call(this,n),y(x(o),"attributes",void 0),y(x(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new np(f)}))!==null&&u!==void 0?u:[];var l;return o.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",o}return r}(ie),rp=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;o=t.call(this,n),y(x(o),"rootNode",void 0),y(x(o),"filterCode",void 0),o.rootNode=new ar(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(Io),sP=function e(t){R(this,e);var r;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Ee(u)}))!==null&&i!==void 0?i:[]},op=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;return o=t.call(this,n),y(x(o),"filters",void 0),y(x(o),"viewFilters",void 0),y(x(o),"orders",void 0),tp.call(x(o),n),o}return r}(sP),ip=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;o=t.call(this,n),y(x(o),"mode",void 0),y(x(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(sP),Jj=function e(t){R(this,e),y(this,"zh",void 0),y(this,"en",void 0),y(this,"ja",void 0);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},up=function e(t){R(this,e),y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},cp=function e(t){R(this,e),y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ze(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},_P=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;o=t.call(this,n),y(x(o),"image",void 0),y(x(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(cp);function Ot(e){var t;return(t=e==null?void 0:e.map(function(r){return new cp(r)}))!==null&&t!==void 0?t:[]}function Qj(e){var t;return(t=e==null?void 0:e.map(function(r){return new _P(r)}))!==null&&t!==void 0?t:[]}var Xi=function e(){R(this,e)},yP=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;return o=t.call(this),y(x(o),"amount",void 0),y(x(o),"currency",void 0),o.amount=new et(n==null?void 0:n.amount),o.currency=new et(n==null?void 0:n.currency),o}return r}(Xi),pP=function e(t){R(this,e),y(this,"amount",void 0),y(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},dP=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;return o=t.call(this),y(x(o),"min",void 0),y(x(o),"max",void 0),o.min=new et(n==null?void 0:n.min),o.max=new et(n==null?void 0:n.max),o}return r}(Xi),vP=function e(t){R(this,e),y(this,"min",void 0),y(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},hP=function e(t){R(this,e),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=t==null?void 0:t.provinceDisplay)!==null&&l!==void 0?l:""},bP=function(e){Qe(r,e);var t=Ze(r);function r(n){R(this,r);var o;return o=t.call(this),y(x(o),"result",void 0),y(x(o),"unit",void 0),o.result=new et(n==null?void 0:n.result),o.unit=new et(n==null?void 0:n.unit),o}return r}(Xi),gP=function e(t){R(this,e),y(this,"result",void 0),y(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,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"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,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.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var Dt=function e(t){R(this,e),y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=t==null?void 0:t.priorityProcess)!==null&&l!==void 0?l:!1},mP=function e(t){R(this,e);var r;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ze(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new rP(u)}))!==null&&i!==void 0?i:[],tp.call(this,t)},Zj=function e(t){R(this,e),y(this,"key",void 0),y(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:ze(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},OP=function e(t){R(this,e),y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},wP=function e(t){R(this,e),y(this,"optCode",void 0),y(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},PP=function e(t){R(this,e);var r;y(this,"id",void 0),y(this,"name",void 0),y(this,"color",void 0),y(this,"filters",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ze();var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new Ui(l):new Eo(l)}))!==null&&u!==void 0?u:[]},$P=function e(t){R(this,e),y(this,"id",void 0),y(this,"script",void 0),y(this,"color",void 0);var r;this.id=(r=t.id)!==null&&r!==void 0?r:ze();var n;this.script=(n=t.script)!==null&&n!==void 0?n:"";var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme"};function eF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ji(e,t,r){return RP()?Ji=Reflect.construct:Ji=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&No(a,u.prototype),a},Ji.apply(null,arguments)}function en(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(e)}function tF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&No(e,t)}function nF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function rF(e,t){return t&&(oF(t)==="object"||typeof t=="function")?t:eF(e)}function No(e,t){return No=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},No(e,t)}function oF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fp(e){var t=typeof Map=="function"?new Map:void 0;return fp=function(n){if(n===null||!nF(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Ji(n,arguments,Bo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),No(o,n)},fp(e)}function RP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iF(e){var t=RP();return function(){var n=Bo(e),o;if(t){var i=Bo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rF(this,o)}}var oe=function e(t){lp(this,e),en(this,"isHide",{type:"boolean"})},tn=function(e){tF(r,e);var t=iF(r);function r(n){return lp(this,r),t.call(this)}return r}(fp(Array)),Q=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";lp(this,e),en(this,"isHide",void 0),en(this,"className",void 0),en(this,"style",void 0),en(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new OP(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};en(Q,"mode",void 0),en(Q,"Rules",oe),en(Q,"RuntimeRules",tn);function wt(){return wt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wt.apply(this,arguments)}function uF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ap(e){return ap=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ap(e)}function Qi(e,t){return Qi=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qi(e,t)}function cF(){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 Zi(e,t,r){return cF()?Zi=Reflect.construct:Zi=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&Qi(a,u.prototype),a},Zi.apply(null,arguments)}function lF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function sp(e){var t=typeof Map=="function"?new Map:void 0;return sp=function(n){if(n===null||!lF(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Zi(n,arguments,ap(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Qi(o,n)},sp(e)}var fF=/%[sdj%]/g,TP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(TP=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function _p(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function Ve(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(fF,function(l){if(l==="%%")return"%";if(n>=i)return l;switch(l){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(f){return"[Circular]"}break;default:return l}});return u}return o}function aF(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ue(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||aF(t)&&typeof e=="string"&&!e)}function sF(e,t,r){var n=[],o=0,i=e.length;function u(l){n.push.apply(n,l),o++,o===i&&r(n)}e.forEach(function(l){t(l,u)})}function SP(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var l=n;n=n+1,l<o?t(e[l],i):r([])}i([])}function _F(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var EP=function(e){uF(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(sp(Error));function yF(e,t,r,n){if(t.first){var o=new Promise(function(_,d){var b=function(m){return n(m),m.length?d(new EP(m,_p(m))):_()},g=_F(e);SP(g,r,b)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),l=u.length,f=0,a=[],s=new Promise(function(_,d){var b=function(h){if(a.push.apply(a,h),f++,f===l)return n(a),a.length?d(new EP(a,_p(a))):_()};u.length||(n(a),_()),u.forEach(function(g){var h=e[g];i.indexOf(g)!==-1?SP(h,r,b):sF(h,r,b)})});return s.catch(function(_){return _}),s}function IP(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 BP(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=wt(wt({},e[r]),n):e[r]=n}}return e}function NP(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ue(t,i||e.type))&&n.push(Ve(o.messages.required,e.fullField))}function pF(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ve(o.messages.whitespace,e.fullField))}var yp={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},Mo={integer:function(t){return Mo.number(t)&&parseInt(t,10)===t},float:function(t){return Mo.number(t)&&!Mo.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Mo.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(yp.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(yp.url)},hex:function(t){return typeof t=="string"&&!!t.match(yp.hex)}};function dF(e,t,r,n,o){if(e.required&&t===void 0){NP(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Mo[u](t)||n.push(Ve(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Ve(o.messages.types[u],e.fullField,e.type))}function vF(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",l=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,s=null,_=typeof t=="number",d=typeof t=="string",b=Array.isArray(t);if(_?s="number":d?s="string":b&&(s="array"),!s)return!1;b&&(a=t.length),d&&(a=t.replace(f,"_").length),i?a!==e.len&&n.push(Ve(o.messages[s].len,e.fullField,e.len)):u&&!l&&a<e.min?n.push(Ve(o.messages[s].min,e.fullField,e.min)):l&&!u&&a>e.max?n.push(Ve(o.messages[s].max,e.fullField,e.max)):u&&l&&(a<e.min||a>e.max)&&n.push(Ve(o.messages[s].range,e.fullField,e.min,e.max))}var sr="enum";function hF(e,t,r,n,o){e[sr]=Array.isArray(e[sr])?e[sr]:[],e[sr].indexOf(t)===-1&&n.push(Ve(o.messages[sr],e.fullField,e[sr].join(", ")))}function bF(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ve(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(Ve(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var N={required:NP,whitespace:pF,type:dF,range:vF,enum:hF,pattern:bF};function gF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t,"string")&&!e.required)return r();N.required(e,t,n,i,o,"string"),ue(t,"string")||(N.type(e,t,n,i,o),N.range(e,t,n,i,o),N.pattern(e,t,n,i,o),e.whitespace===!0&&N.whitespace(e,t,n,i,o))}r(i)}function mF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}function OF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),ue(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function wF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}function PF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();N.required(e,t,n,i,o),ue(t)||N.type(e,t,n,i,o)}r(i)}function $F(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function RF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function TF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();N.required(e,t,n,i,o,"array"),t!=null&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function SF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}var EF="enum";function IF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N[EF](e,t,n,i,o)}r(i)}function BF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t,"string")&&!e.required)return r();N.required(e,t,n,i,o),ue(t,"string")||N.pattern(e,t,n,i,o)}r(i)}function NF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t,"date")&&!e.required)return r();if(N.required(e,t,n,i,o),!ue(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),N.type(e,l,n,i,o),l&&N.range(e,l.getTime(),n,i,o)}}r(i)}function MF(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;N.required(e,t,n,i,o,u),r(i)}function pp(e,t,r,n,o){var i=e.type,u=[],l=e.required||!e.required&&n.hasOwnProperty(e.field);if(l){if(ue(t,i)&&!e.required)return r();N.required(e,t,n,u,o,i),ue(t,i)||N.type(e,t,n,u,o)}r(u)}function AF(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ue(t)&&!e.required)return r();N.required(e,t,n,i,o)}r(i)}var Ao={string:gF,method:mF,number:OF,boolean:wF,regexp:PF,integer:$F,float:RF,array:TF,object:SF,enum:IF,pattern:BF,date:NF,url:pp,hex:pp,email:pp,required:MF,any:AF};function dp(){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 vp=dp();function nn(e){this.rules=null,this._messages=vp,this.define(e)}nn.prototype={messages:function(t){return t&&(this._messages=BP(dp(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,l=n;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function f(h){var m,p=[],O={};function P(w){if(Array.isArray(w)){var T;p=(T=p).concat.apply(T,w)}else p.push(w)}for(m=0;m<h.length;m++)P(h[m]);p.length?O=_p(p):(p=null,O=null),l(p,O)}if(u.messages){var a=this.messages();a===vp&&(a=dp()),BP(a,u.messages),u.messages=a}else u.messages=this.messages();var s,_,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(h){s=o.rules[h],_=i[h],s.forEach(function(m){var p=m;typeof p.transform=="function"&&(i===t&&(i=wt({},i)),_=i[h]=p.transform(_)),typeof p=="function"?p={validator:p}:p=wt({},p),p.validator=o.getValidationMethod(p),p.field=h,p.fullField=p.fullField||h,p.type=o.getType(p),p.validator&&(d[h]=d[h]||[],d[h].push({rule:p,value:_,source:i,field:h}))})});var g={};return yF(d,u,function(h,m){var p=h.rule,O=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");O=O&&(p.required||!p.required&&h.value),p.field=h.field;function P($,S){return wt(wt({},S),{},{fullField:p.fullField+"."+$})}function w($){$===void 0&&($=[]);var S=$;if(Array.isArray(S)||(S=[S]),!u.suppressWarning&&S.length&&nn.warning("async-validator:",S),S.length&&p.message!==void 0&&(S=[].concat(p.message)),S=S.map(IP(p)),u.first&&S.length)return g[p.field]=1,m(S);if(!O)m(S);else{if(p.required&&!h.value)return p.message!==void 0?S=[].concat(p.message).map(IP(p)):u.error&&(S=[u.error(p,Ve(u.messages.required,p.field))]),m(S);var L={};if(p.defaultField)for(var xe in h.value)h.value.hasOwnProperty(xe)&&(L[xe]=p.defaultField);L=wt(wt({},L),h.rule.fields);for(var be in L)if(L.hasOwnProperty(be)){var ge=Array.isArray(L[be])?L[be]:[L[be]];L[be]=ge.map(P.bind(null,be))}var Oo=new nn(L);Oo.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),Oo.validate(h.value,h.rule.options||u,function(lr){var At=[];S&&S.length&&At.push.apply(At,S),lr&&lr.length&&At.push.apply(At,lr),m(At.length?At:null)})}}var T;p.asyncValidator?T=p.asyncValidator(p,h.value,w,h.source,u):p.validator&&(T=p.validator(p,h.value,w,h.source,u),T===!0?w():T===!1?w(p.message||p.field+" fails"):T instanceof Array?w(T):T instanceof Error&&w(T.message)),T&&T.then&&T.then(function(){return w()},function($){return w($)})},function(h){f(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ao.hasOwnProperty(t.type))throw new Error(Ve("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Ao.required:Ao[this.getType(t)]||!1}},nn.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ao[t]=r},nn.warning=TP,nn.messages=vp,nn.validators=Ao;var kF={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 MP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new nn(e);return r.messages(Object.assign(kF,t)),r}var AP=new Hw;function hp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function DF(e){if(Array.isArray(e))return e}function LF(e){if(Array.isArray(e))return hp(e)}function kP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function DP(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){kP(i,n,o,u,l,"next",f)}function l(f){kP(i,n,o,u,l,"throw",f)}u(void 0)})}}function jF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FF(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jP(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function FP(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function CF(){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 xF(){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 CP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){j(e,o,r[o])})}return e}function zF(e){return DF(e)||FP(e)||xP(e)||CF()}function bp(e){return LF(e)||FP(e)||xP(e)||xF()}function xP(e,t){if(!!e){if(typeof e=="string")return hp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hp(e,t)}}function zP(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var F=function(){function t(r){var n=this;jF(this,t),j(this,"id",void 0),j(this,"name",void 0),j(this,"icon",void 0),j(this,"type",void 0),j(this,"controlType",void 0),j(this,"props",void 0),j(this,"setting",[]),j(this,"fieldType",void 0),j(this,"eventKeys",[]),j(this,"customEvents",[]),j(this,"parent",null),j(this,"slots",void 0),j(this,"slotPosition",void 0),j(this,"updateSetting",GP),j(this,"removeSetting",VP),this._callControlHooks("preInstance",r);var o=jP(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,l=o.controlType,f=o.controlFieldType,a=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,d=o.setting,b=o.slots,g=o.slotPosition;i&&u&&l||Vy("The ".concat(_," controlName,controlIcon,controlType is not define"));var h;this.id=(h=r==null?void 0:r.id)!==null&&h!==void 0?h:ze(10),this.name=i,this.icon=u;var m;this.type=(m=r==null?void 0:r.type)!==null&&m!==void 0?m:l,this.props=new Q(r==null?void 0:r.props,(jP(this,t)?this.constructor:void 0).controlName);var p;this.controlType=(p=r==null?void 0:r.controlType)!==null&&p!==void 0?p:"base",this.setting=Je(d);var O;this.fieldType=(O=r==null?void 0:r.fieldType)!==null&&O!==void 0?O:f,this.eventKeys=Je(a),this.customEvents=Je(s),this.slots=Je(b),this.slotPosition=Je(g),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return FF(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,l=zF(o),f=l[0],a=l.slice(1);return(u=AP).emit.apply(u,[f,this].concat(bp(a)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),jw(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return DP(function(){var o,i,u;return zP(this,function(l){switch(l.label){case 0:return o=CP({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=l.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return DP(function(){var u,l,f,a;return zP(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),l=u!==void 0?u:CP({},i.rules),Array.isArray(o)&&o.forEach(function(_){l.hasOwnProperty(_)&&delete l[_]}),f=MP(l,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,f.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw a=s.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,l=this.props,f=l.dataBind,a=l.datasourceBind,s=l.optionConfig,_=l.caption,d=l.required,b=l.maxLength,g=l.options,h=l.encrypted,m=l.encryptedMode;if(!(!o&&!f&&!a)){var p={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(f&&(p.dataBind=f),s){case"datasource":case void 0:a&&(p.datasourceBind=a);break;case"custom":p.props.options=g;break}return d!==void 0&&(p.required=d),b!==void 0&&(p.maxLength=b),h!==void 0&&(p.encrypted=h),m!==void 0&&(p.encryptedMode=m),p}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Je(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,bp(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();j(F,"mode","Designer"),j(F,"slots",void 0),j(F,"slotPosition",void 0),j(F,"controlName","\u63A7\u4EF6"),j(F,"controlIcon","icon"),j(F,"controlType","control"),j(F,"controlFieldType",void 0),j(F,"controlEventKeys",[]),j(F,"controlCustomEvents",[]),j(F,"setting",[]),j(F,"__is_control__",!0),j(F,"removeSettingItem",VP),j(F,"updateSettingItem",GP);function VP(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var l,f;i?t.setting[u].showItems=(l=t.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((f=t.setting[u].showItems)===null||f===void 0)&&f.length)&&t.setting.splice(u,1)}})}function GP(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var f;(f=i.showItems).push.apply(f,bp(t.showItems))}}}})}function VF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GF(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function Ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function YF(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Z=function(){function t(r){VF(this,t),Ge(this,"id",void 0),Ge(this,"type",void 0),Ge(this,"controlType",void 0),Ge(this,"props",void 0),Ge(this,"fieldType",void 0),Ge(this,"customEvents",[]),Ge(this,"pageStatus",void 0),Ge(this,"parent",null);var n=YF(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,l=n.controlCustomEvents;o||Vy("The ".concat(u," controlType is not define"));var f;this.id=(f=r==null?void 0:r.id)!==null&&f!==void 0?f:ze(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new Q(r==null?void 0:r.props),this.customEvents=l;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var d;this.pageStatus=(d=r==null?void 0:r.pageStatus)!==null&&d!==void 0?d:c.PAGE_STATUS.UNKNOWN}return GF(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Ge(Z,"mode","Runtime"),Ge(Z,"controlType","control"),Ge(Z,"controlFieldType",void 0),Ge(Z,"__is_control__",!0),Ge(Z,"controlCustomEvents",[]);function eu(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:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:v.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:v.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(l){return l.value}),u=xw(i);i.length!==u.length?o(v.getMessage("optionIdIsRepeat")):o()},message:v.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:v.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}])}function ko(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:v.getMessage("isNotString")},key:{type:"string",required:!0,message:v.getMessage("isNotString")},value:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}]}function HP(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function 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&&gp(e,t)}function HF(e,t){return t&&(qF(t)==="object"||typeof t=="function")?t:q(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}function qF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ou(e){var t=UF();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HF(this,o)}}var _e=function(e){ru(r,e);var t=ou(r);function r(n){tu(this,r);var o;o=t.call(this,n),U(q(o),"dataBind",{}),U(q(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),U(q(o),"isHideCaption",{type:"boolean"}),U(q(o),"labelPosition",{type:"enum",enum:["top","left"]}),U(q(o),"defaultState",{type:"enum",enum:["default","readonly"]}),U(q(o),"required",{type:"boolean"}),U(q(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}};if(HP(n.dataBind))o.dataBind={type:"object",required:!0,fields:Je(i),message:v.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:v.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(l){u.fields[l]={type:"object",required:!0,fields:Je(i),message:v.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(oe),G=function(e){ru(r,e);var t=ou(r);function r(n){tu(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:v.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(tn),A=function(e){ru(r,e);var t=ou(r);function r(n){tu(this,r);var o;o=t.call(this,n),U(q(o),"caption",void 0),U(q(o),"isHideCaption",void 0),U(q(o),"isShowCaptionTip",void 0),U(q(o),"captionTip",void 0),U(q(o),"labelPosition",void 0),U(q(o),"dataBind",void 0),U(q(o),"defaultValue",void 0),U(q(o),"placeholder",void 0),U(q(o),"defaultState",void 0),U(q(o),"required",void 0),U(q(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var 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 a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var d;o.required=(d=n==null?void 0:n.required)!==null&&d!==void 0?d:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new et(n==null?void 0:n.dataBind);var g;return o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"",o}return r}(Q);U(A,"Rules",_e),U(A,"RuntimeRules",G);var En=function(e){ru(r,e);var t=ou(r);function r(n){tu(this,r);var o;return o=t.call(this,n),U(q(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),U(q(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),U(q(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),eu.call(q(o),n),o}return r}(_e);function mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function KF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XF(e,t){return t&&(JF(t)==="object"||typeof t=="function")?t:mp(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}function JF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZF(e){var t=QF();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XF(this,o)}}var k=function(e){KF(r,e);var t=ZF(r);function r(n){WF(this,r);var o;return o=t.call(this,n),iu(mp(o),"controlType","form"),iu(mp(o),"props",void 0),o.props=new A(n==null?void 0:n.props),o}return r}(F);iu(k,"controlEventKeys",["on_change","on_focus","on_blur"]),iu(k,"controlCustomAttributes",void 0);function cu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function t4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function n4(e,t){return t&&(r4(t)==="object"||typeof t=="function")?t:cu(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}function r4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i4(e){var t=o4();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n4(this,o)}}var D=function(e){t4(r,e);var t=i4(r);function r(n){e4(this,r);var o;return o=t.call(this,n),wp(cu(o),"controlType","form"),wp(cu(o),"props",void 0),wp(cu(o),"value",void 0),o.props=new A(n==null?void 0:n.props),o}return r}(Z);function u4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function l4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$p(e,t)}function f4(e,t){return t&&(a4(t)==="object"||typeof t=="function")?t:u4(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function a4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _4(e){var t=s4();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f4(this,o)}}var Y=function(e){l4(r,e);var t=_4(r);function r(n){return c4(this,r),t.call(this,n)}return r}(Q);function Rp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y4(e){if(Array.isArray(e))return Rp(e)}function In(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function p4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){qP(i,n,o,u,l,"next",f)}function l(f){qP(i,n,o,u,l,"throw",f)}u(void 0)})}}function d4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v4(e,t,r){return t&&UP(e.prototype,t),r&&UP(e,r),e}function rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _r(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_r=Reflect.get:_r=function(o,i,u){var l=R4(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},_r(e,t,r||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},on(e)}function h4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function b4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function g4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function m4(){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 O4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){rn(e,o,r[o])})}return e}function w4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function P4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function $4(e,t){return t&&(T4(t)==="object"||typeof t=="function")?t:In(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function R4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function WP(e){return y4(e)||g4(e)||S4(e)||m4()}function T4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S4(e,t){if(!!e){if(typeof e=="string")return Rp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rp(e,t)}}function E4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I4(e){var t=E4();return function(){var n=on(e),o;if(t){var i=on(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $4(this,o)}}function B4(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var N4=1e4,W=function(t){h4(n,t);var r=I4(n);function n(o){d4(this,n);var i;i=r.call(this,o),rn(In(i),"controlType","layout"),rn(In(i),"children",void 0),rn(In(i),"excludes",void 0),rn(In(i),"childrenMaxLength",void 0),rn(In(i),"props",void 0);var u=b4(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new Y(o==null?void 0:o.props),ft(In(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Je(l),i.childrenMaxLength=f,i}return v4(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var l=this,f=this,a=function(){return _r(on(n.prototype),"validate",l)};return p4(function(){return B4(this,function(s){switch(s.label){case 0:return[4,a().call(f,i,u)];case 1:return s.sent(),[4,Promise.all(f.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=_r(on(n.prototype),"toDataBindModel",this).call(this),l=u?[u]:[];return this.children.reduce(function(f,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(d){return!!d});return WP(f).concat(WP(_))}return s&&f.push(s),f},l)}},{key:"toSchema",value:function(){var i=_r(on(n.prototype),"toSchema",this).call(this),u=this.children.map(function(l){var f=l.toSchema();return f});return P4(O4({},i),{children:u})}}]),n}(F);rn(W,"excludes",!1),rn(W,"childrenMaxLength",N4);function Do(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function A4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function k4(e,t){return t&&(D4(t)==="object"||typeof t=="function")?t:Do(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function D4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j4(e){var t=L4();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k4(this,o)}}var ee=function(e){A4(r,e);var t=j4(r);function r(n){M4(this,r);var o;return o=t.call(this,n),Sp(Do(o),"controlType","layout"),Sp(Do(o),"children",void 0),Sp(Do(o),"props",void 0),o.props=new Y(n==null?void 0:n.props),ft(Do(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Z);function Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function C4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function x4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:Lt(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G4(e){var t=V4();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x4(this,o)}}var Lo=function(e){C4(r,e);var t=G4(r);function r(n,o,i){F4(this,r);var u;u=t.call(this,o),yr(Lt(u),"headers",void 0),yr(Lt(u),"footers",void 0),yr(Lt(u),"pageIndex",void 0),yr(Lt(u),"pageSize",void 0),yr(Lt(u),"pageSizeOptions",void 0),yr(Lt(u),"totalCount",void 0),ft(Lt(u),"headers",o==null?void 0:o.headers,n,i),ft(Lt(u),"footers",o==null?void 0:o.footers,n);var l;u.pageIndex=(l=o==null?void 0:o.pageIndex)!==null&&l!==void 0?l:1;var f;u.pageSize=(f=o==null?void 0:o.pageSize)!==null&&f!==void 0?f:20;var a;u.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var s;return u.totalCount=(s=o==null?void 0:o.totalCount)!==null&&s!==void 0?s:0,u}return r}(Q);function Bp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Y4(e){if(Array.isArray(e))return Bp(e)}function _u(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function H4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){KP(i,n,o,u,l,"next",f)}function l(f){KP(i,n,o,u,l,"throw",f)}u(void 0)})}}function q4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U4(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function yu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pr=Reflect.get:pr=function(o,i,u){var l=Z4(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},pr(e,t,r||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},un(e)}function W4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function K4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function X4(){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 JP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){yu(e,o,r[o])})}return e}function J4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function QP(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Q4(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:_u(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function Z4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}function ZP(e){return Y4(e)||K4(e)||tC(e)||X4()}function eC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tC(e,t){if(!!e){if(typeof e=="string")return Bp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bp(e,t)}}function nC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rC(e){var t=nC();return function(){var n=un(e),o;if(t){var i=un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q4(this,o)}}function oC(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var pu=function(e){W4(r,e);var t=rC(r);function r(n){q4(this,r);var o;return o=t.call(this,n),yu(_u(o),"controlType","list"),yu(_u(o),"props",void 0),o.props=new Lo(_u(o),n==null?void 0:n.props,"Designer"),o}return U4(r,[{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return pr(un(r.prototype),"validate",u)};return H4(function(){return oC(this,function(a){switch(a.label){case 0:return[4,f().call(l,o)];case 1:return a.sent(),[4,Promise.all(l.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=pr(un(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(l,f){var a=f.toDataBindModel(u);if(Array.isArray(a)){var s=a.filter(function(_){return!!_});return ZP(l).concat(ZP(s))}return a&&l.push(a),l},i)}},{key:"toSchema",value:function(){var o,i,u=pr(un(r.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(a){return a.toSchema()}),f=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return QP(JP({},u),{props:QP(JP({},this.props),{headers:l,footers:f})})}}]),r}(F);yu(pu,"controlFieldType",c.FieldTypes.LIST);function dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uC(e,t,r){return t&&e$(e.prototype,t),r&&e$(e,r),e}function Mp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function cC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lC(e,t){return t&&(fC(t)==="object"||typeof t=="function")?t:dr(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function fC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sC(e){var t=aC();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lC(this,o)}}var kp=function(e){cC(r,e);var t=sC(r);function r(n){iC(this,r);var o;return o=t.call(this,n),Mp(dr(o),"controlType","list"),Mp(dr(o),"children",void 0),Mp(dr(o),"props",void 0),o.props=new Lo(dr(o),n==null?void 0:n.props,"Runtime"),ft(dr(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return uC(r,[{key:"length",get:function(){return this.children.length}}]),r}(Z);function ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function 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&&jp(e,t)}function _C(e,t){return t&&(yC(t)==="object"||typeof t=="function")?t:ye(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function yC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fp(e){var t=pC();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _C(this,o)}}var at=function(e){Lp(r,e);var t=Fp(r);function r(n){Dp(this,r);var o;return o=t.call(this,n),Oe(ye(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Oe(ye(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(oe),te=function(e){Lp(r,e);var t=Fp(r);function r(n){Dp(this,r);var o;o=t.call(this,n),Oe(ye(o),"widthType",void 0),Oe(ye(o),"width",void 0),Oe(ye(o),"caption",void 0),Oe(ye(o),"dataBind",void 0),Oe(ye(o),"autoWidth",void 0),Oe(ye(o),"fixed",void 0),Oe(ye(o),"sort",void 0),Oe(ye(o),"align",void 0),Oe(ye(o),"colSpan",void 0),Oe(ye(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",o.autoWidth=new Qy(n==null?void 0:n.autoWidth),o.dataBind=new et(n==null?void 0:n.dataBind);var f;o.sort=(f=n==null?void 0:n.sort)!==null&&f!==void 0?f:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return r}(Q);Oe(te,"Rules",at);var Cp=function(e){Lp(r,e);var t=Fp(r);function r(n){Dp(this,r);var o;return o=t.call(this,n),Oe(ye(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),Oe(ye(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),Oe(ye(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),eu.call(ye(o),n),o}return r}(at);function xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function vC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hC(e,t){return t&&(bC(t)==="object"||typeof t=="function")?t:xp(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}function bC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mC(e){var t=gC();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hC(this,o)}}var le=function(e){vC(r,e);var t=mC(r);function r(n){dC(this,r);var o;return o=t.call(this,n),t$(xp(o),"controlType","column"),t$(xp(o),"props",void 0),o.props=new te(n==null?void 0:n.props),o}return r}(F);function Vp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function wC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PC(e,t){return t&&($C(t)==="object"||typeof t=="function")?t:Vp(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}function $C(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TC(e){var t=RC();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PC(this,o)}}var fe=function(e){wC(r,e);var t=TC(r);function r(n){OC(this,r);var o;return o=t.call(this,n),n$(Vp(o),"controlType","column"),n$(Vp(o),"props",void 0),o.props=new te(n==null?void 0:n.props),o}return r}(Z);function r$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function IC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function BC(e,t){return t&&(NC(t)==="object"||typeof t=="function")?t:r$(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function NC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AC(e){var t=MC();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BC(this,o)}}var mu=function(e){IC(r,e);var t=AC(r);function r(n){SC(this,r);var o;return o=t.call(this,n),EC(r$(o),"dataBind",void 0),o.dataBind=new et(n==null?void 0:n.dataBind),o}return r}(Y);function Hp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function DC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function LC(e,t){return t&&(jC(t)==="object"||typeof t=="function")?t:Hp(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function jC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CC(e){var t=FC();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LC(this,o)}}var i$=function(e){DC(r,e);var t=CC(r);function r(n){kC(this,r);var o;return o=t.call(this,n),o$(Hp(o),"controlType","search"),o$(Hp(o),"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return r}(W);function Up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function zC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function VC(e,t){return t&&(GC(t)==="object"||typeof t=="function")?t:Up(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function GC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HC(e){var t=YC();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VC(this,o)}}var c$=function(e){zC(r,e);var t=HC(r);function r(n){xC(this,r);var o;return o=t.call(this,n),u$(Up(o),"controlType","search"),u$(Up(o),"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return r}(ee);function qC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function WC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KC(e,t){return t&&(XC(t)==="object"||typeof t=="function")?t:qC(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function XC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QC(e){var t=JC();return function(){var n=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KC(this,o)}}var $u=function(e){WC(r,e);var t=QC(r);function r(n){return UC(this,r),t.call(this,n)}return r}(Y);function Xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function e5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t5(e,t){return t&&(n5(t)==="object"||typeof t=="function")?t:Xp(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}function n5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o5(e){var t=r5();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t5(this,o)}}var f$=function(e){e5(r,e);var t=o5(r);function r(n){ZC(this,r);var o;return o=t.call(this,n),l$(Xp(o),"controlType","wrap"),l$(Xp(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return r}(W);function Qp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function u5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:Qp(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function l5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a5(e){var t=f5();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c5(this,o)}}var s$=function(e){u5(r,e);var t=a5(r);function r(n){i5(this,r);var o;return o=t.call(this,n),a$(Qp(o),"controlType","wrap"),a$(Qp(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return r}(ee);function jt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}}}])}function Bn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function _5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y5(e,t){return t&&(p5(t)==="object"||typeof t=="function")?t:Bn(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function p5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v5(e){var t=d5();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y5(this,o)}}var td=function(e){_5(r,e);var t=v5(r);function r(n){s5(this,r);var o;o=t.call(this,n),vr(Bn(o),"content",void 0),vr(Bn(o),"fontSize",void 0),vr(Bn(o),"color",void 0),vr(Bn(o),"icon",void 0),vr(Bn(o),"align",void 0),vr(Bn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"page-hint";var f;o.showState=(f=n==null?void 0:n.showState)!==null&&f!==void 0?f:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var s;return o.align=(s=n==null?void 0:n.align)!==null&&s!==void 0?s:"",o}return r}(Q);function _$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b5(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function p$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function g5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m5(e,t){return t&&(O5(t)==="object"||typeof t=="function")?t:_$(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function O5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P5(e){var t=w5();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m5(this,o)}}var d$=function(e){g5(r,e);var t=P5(r);function r(n){h5(this,r);var o;return o=t.call(this,n),p$(_$(o),"props",void 0),o.props=new td(n==null?void 0:n.props),o}return b5(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(F);p$(d$,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function v$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R5(e,t,r){return t&&h$(e.prototype,t),r&&h$(e,r),e}function T5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function S5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E5(e,t){return t&&(I5(t)==="object"||typeof t=="function")?t:v$(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}function I5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N5(e){var t=B5();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E5(this,o)}}var M5=function(e){S5(r,e);var t=N5(r);function r(n){$5(this,r);var o;return o=t.call(this,n),T5(v$(o),"props",void 0),o.props=new td(n==null?void 0:n.props),o}return R5(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(Z),b$={Designer:d$,Runtime:M5,Property:td};function Bu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function od(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function k5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D5(e,t){return t&&(L5(t)==="object"||typeof t=="function")?t:Bu(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function L5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F5(e){var t=j5();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D5(this,o)}}var ud=function(e){k5(r,e);var t=F5(r);function r(n){A5(this,r);var o;o=t.call(this,n),od(Bu(o),"content",void 0),od(Bu(o),"url",void 0),od(Bu(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var l;return o.openMode=(l=n==null?void 0:n.openMode)!==null&&l!==void 0?l:"new",o}return r}(Q);function g$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x5(e,t,r){return t&&m$(e.prototype,t),r&&m$(e,r),e}function cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function V5(e,t){return t&&(G5(t)==="object"||typeof t=="function")?t:g$(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}function G5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H5(e){var t=Y5();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V5(this,o)}}var fd=function(e){z5(r,e);var t=H5(r);function r(n){C5(this,r);var o;return o=t.call(this,n),cd(g$(o),"props",void 0),o.props=new ud(n==null?void 0:n.props),o}return x5(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(F);cd(fd,"controlEventKeys",["on_click"]),cd(fd,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function O$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U5(e,t,r){return t&&w$(e.prototype,t),r&&w$(e,r),e}function W5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function K5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X5(e,t){return t&&(J5(t)==="object"||typeof t=="function")?t:O$(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}function J5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z5(e){var t=Q5();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X5(this,o)}}var e6=function(e){K5(r,e);var t=Z5(r);function r(n){q5(this,r);var o;return o=t.call(this,n),W5(O$(o),"props",void 0),o.props=new ud(n==null?void 0:n.props),o}return U5(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(Z),P$={Designer:fd,Runtime:e6,Property:ud};function Pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function n6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 r6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:Pt(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function o6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u6(e){var t=i6();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r6(this,o)}}var Ie=function(e){n6(r,e);var t=u6(r);function r(n){t6(this,r);var o;o=t.call(this,n),Ft(Pt(o),"content",void 0),Ft(Pt(o),"buttonType",void 0),Ft(Pt(o),"showType",void 0),Ft(Pt(o),"color",void 0),Ft(Pt(o),"icon",void 0),Ft(Pt(o),"defaultState",void 0),Ft(Pt(o),"command",void 0),Ft(Pt(o),"isLoading",void 0),Ft(Pt(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";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 f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var d;o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1;var b;return o.optObj=new wP((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(Q);function $$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l6(e,t,r){return t&&R$(e.prototype,t),r&&R$(e,r),e}function Du(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function f6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a6(e,t){return t&&(s6(t)==="object"||typeof t=="function")?t:$$(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function s6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y6(e){var t=_6();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a6(this,o)}}var we=function(e){f6(r,e);var t=y6(r);function r(n){c6(this,r);var o;return o=t.call(this,n),Du($$(o),"props",void 0),o.props=new Ie(n==null?void 0:n.props),o}return l6(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(F);Du(we,"slots",["grid-table-toolbar-slot","action-bar-slot",jy.DEFAULT]),Du(we,"controlEventKeys",["on_click"]),Du(we,"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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function T$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d6(e,t,r){return t&&S$(e.prototype,t),r&&S$(e,r),e}function v6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function h6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b6(e,t){return t&&(g6(t)==="object"||typeof t=="function")?t:T$(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function g6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O6(e){var t=m6();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b6(this,o)}}var Ye=function(e){h6(r,e);var t=O6(r);function r(n){p6(this,r);var o;return o=t.call(this,n),v6(T$(o),"props",void 0),o.props=new Ie(n==null?void 0:n.props),o}return d6(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(Z),E$={Designer:we,Runtime:Ye,Property:Ie};function tt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.TitleConfigEnum=void 0,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"}(c.TitleConfigEnum||(c.TitleConfigEnum={})),c.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(c.DATE_CONFIG_TYPE||(c.DATE_CONFIG_TYPE={})),c.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(c.DATE_LIMIT_TYPE||(c.DATE_LIMIT_TYPE={}));var Fu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ze(8),value:["",""]};tt(this,e),E(this,"dateConfigType",void 0),E(this,"dateLimitType",void 0),E(this,"id",void 0),E(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var Cu=function e(t){tt(this,e),E(this,"id",void 0),E(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ze();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};c.LINE_STYLE=void 0,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"}(c.LINE_STYLE||(c.LINE_STYLE={}));var pd=function e(t){tt(this,e),E(this,"type",void 0),E(this,"person",void 0),E(this,"signatureType",void 0),E(this,"telephone",void 0),E(this,"company",void 0),E(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new ar((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new ar((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var l,f;this.company=(f=t==null?void 0:t.company)!==null&&f!==void 0?f:new ar((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},I$=function e(t){tt(this,e);var r;E(this,"fileControl",void 0),E(this,"undersignedList",void 0),E(this,"statusControl",void 0),E(this,"completeControl",void 0),E(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(f){return new pd(f)}))!==null&&o!==void 0?o:[new pd];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:""},jo=function e(t){tt(this,e),E(this,"id",void 0),E(this,"appId",void 0),E(this,"dataCode",void 0),E(this,"svcCode",void 0),E(this,"name",void 0),E(this,"fieldList",void 0),E(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ze(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var l;this.fieldList=(l=t==null?void 0:t.fieldList)!==null&&l!==void 0?l:[];var f;this.active=(f=t==null?void 0:t.active)!==null&&f!==void 0?f:!1},dd=function e(t){tt(this,e),E(this,"active",void 0),E(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},B$=function e(t){tt(this,e),E(this,"types",void 0),E(this,"history",void 0),E(this,"collaborativeRecord",void 0),E(this,"logicToDelete",void 0),E(this,"watermark",void 0),E(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new dd(t==null?void 0:t.watermark),this.autoRename=new dd(t==null?void 0:t.autoRename)},N$=function e(t){tt(this,e),E(this,"dataCode",void 0),this.dataCode=t.dataCode},M$=function e(t){tt(this,e);var r;E(this,"templateType",void 0),E(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new N$(i)}))!==null&&o!==void 0?o:[]},A$=function e(t){tt(this,e);var r;E(this,"templateType",void 0),E(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new jo(i)}))!==null&&o!==void 0?o:[new jo({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},k$=480;function Fo(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var D$=function e(t){tt(this,e),E(this,"fileId",void 0),E(this,"fileName",void 0),E(this,"ruleName",void 0),E(this,"isDefault",void 0),E(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},L$=function e(t){tt(this,e),E(this,"direction",void 0),E(this,"justifyContent",void 0),E(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function vd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function P6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function $6(e,t){return t&&(R6(t)==="object"||typeof t=="function")?t:vd(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}function R6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S6(e){var t=T6();return function(){var n=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $6(this,o)}}var bd=function(e){P6(r,e);var t=S6(r);function r(n){w6(this,r);var o;o=t.call(this,n),j$(vd(o),"color",void 0),j$(vd(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:c.LINE_STYLE.SOLID,o}return r}(Q);function F$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I6(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function x$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function B6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N6(e,t){return t&&(M6(t)==="object"||typeof t=="function")?t:F$(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function M6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k6(e){var t=A6();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N6(this,o)}}var z$=function(e){B6(r,e);var t=k6(r);function r(n){E6(this,r);var o;return o=t.call(this,n),x$(F$(o),"props",void 0),o.props=new bd(n==null?void 0:n.props),o}return I6(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(F);x$(z$,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}]);function V$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L6(e,t,r){return t&&G$(e.prototype,t),r&&G$(e,r),e}function j6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function F6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:V$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function x6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V6(e){var t=z6();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C6(this,o)}}var G6=function(e){F6(r,e);var t=V6(r);function r(n){D6(this,r);var o;return o=t.call(this,n),j6(V$(o),"props",void 0),o.props=new bd(n==null?void 0:n.props),o}return L6(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(Z),Y$={Designer:z$,Runtime:G6,Property:bd};function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function q$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function Y6(e,t){return t&&(H6(t)==="object"||typeof t=="function")?t:cn(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function H6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U$(e){var t=q6();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y6(this,o)}}var U6=function(e){q$(r,e);var t=U$(r);function r(n){H$(this,r);var o;return o=t.call(this,n),ln(cn(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),ln(cn(o),"dataBind",{type:"any"}),ln(cn(o),"config",{type:"array"}),n.config.includes(c.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")}},message:v.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:v.getMessage("pleaseSelectOneField")}),o}return r}(oe),Yu=function(e){q$(r,e);var t=U$(r);function r(n){H$(this,r);var o;o=t.call(this,n),ln(cn(o),"dataBind",void 0),ln(cn(o),"caption",void 0),ln(cn(o),"config",void 0),ln(cn(o),"position",void 0),o.dataBind=new et(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var u,l;o.caption=(l=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:hr==null?void 0:hr.controlName)!==null&&l!==void 0?l:"";var f;return o.position=(f=n==null?void 0:n.position)!==null&&f!==void 0?f:"top",o}return r}(Q);ln(Yu,"Rules",U6);function W$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K6(e,t,r){return t&&K$(e.prototype,t),r&&K$(e,r),e}function wd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function X6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 J6(e,t){return t&&(Q6(t)==="object"||typeof t=="function")?t:W$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function Q6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ex(e){var t=Z6();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J6(this,o)}}var hr=function(e){X6(r,e);var t=ex(r);function r(n){W6(this,r);var o;return o=t.call(this,n),wd(W$(o),"props",void 0),o.props=new Yu(n==null?void 0:n.props),o}return K6(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(F);wd(hr,"controlFieldType",c.FieldTypes.AUTO_NUMBER),wd(hr,"setting",[{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function X$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nx(e,t,r){return t&&J$(e.prototype,t),r&&J$(e,r),e}function rx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function 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&&$d(e,t)}function ix(e,t){return t&&(ux(t)==="object"||typeof t=="function")?t:X$(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}function ux(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lx(e){var t=cx();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ix(this,o)}}var fx=function(e){ox(r,e);var t=lx(r);function r(n){tx(this,r);var o;return o=t.call(this,n),rx(X$(o),"props",void 0),o.props=new Yu(n==null?void 0:n.props),o}return nx(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(Z),Q$={Designer:hr,Runtime:fx,Property:Yu};function Uu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function eR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function ax(e,t){return t&&(sx(t)==="object"||typeof t=="function")?t:Uu(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function sx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tR(e){var t=_x();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ax(this,o)}}var yx=function(e){eR(r,e);var t=tR(r);function r(n){Z$(this,r);var o;return o=t.call(this,n),Wu(Uu(o),"formKey",{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(oe),Xu=function(e){eR(r,e);var t=tR(r);function r(n){Z$(this,r);var o;o=t.call(this,n),Wu(Uu(o),"formKey",void 0),Wu(Uu(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:br.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:br.controlName;var l;o.formKey=(l=n==null?void 0:n.formKey)!==null&&l!==void 0?l:"";var f;return o.openType=(f=n==null?void 0:n.openType)!==null&&f!==void 0?f:"modal",o}return r}(Ie);Wu(Xu,"Rules",yx);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dx(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function Ju(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function vx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function hx(e,t){return t&&(bx(t)==="object"||typeof t=="function")?t:nR(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function bx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mx(e){var t=gx();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hx(this,o)}}var br=function(e){vx(r,e);var t=mx(r);function r(n){px(this,r);var o;return o=t.call(this,n),Ju(nR(o),"props",void 0),o.props=new Xu(n==null?void 0:n.props),o}return dx(r,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"}}]),r}(we);Ju(br,"slots",["grid-table-toolbar-slot"]),Ju(br,"controlEventKeys",["on_click","on_click_finish"]),Ju(br,"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 oR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ox(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wx(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}function Px(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function $x(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function Rx(e,t){return t&&(Tx(t)==="object"||typeof t=="function")?t:oR(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function Tx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ex(e){var t=Sx();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rx(this,o)}}var Ix=function(e){$x(r,e);var t=Ex(r);function r(n){Ox(this,r);var o;return o=t.call(this,n),Px(oR(o),"props",void 0),o.props=new Xu(n==null?void 0:n.props),o}return wx(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Ye),uR={Designer:br,Runtime:Ix,Property:Xu};function gr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function lR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function Bx(e,t){return t&&(Nx(t)==="object"||typeof t=="function")?t:gr(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function Nx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fR(e){var t=Mx();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bx(this,o)}}var Ax=function(e){lR(r,e);var t=fR(r);function r(n){cR(this,r);var o;return o=t.call(this,n),mr(gr(o),"processKey",[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterProcess")}]),o}return r}(oe),tc=function(e){lR(r,e);var t=fR(r);function r(n){cR(this,r);var o;o=t.call(this,n),mr(gr(o),"processKey",void 0),mr(gr(o),"initiatorMode",void 0),mr(gr(o),"fieldCode",void 0),mr(gr(o),"employeeId",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 l;o.initiatorMode=(l=n==null?void 0:n.initiatorMode)!==null&&l!==void 0?l:"currentInitiator";var f;o.processKey=(f=n==null?void 0:n.processKey)!==null&&f!==void 0?f:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(Ie);mr(tc,"Rules",Ax);function aR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dx(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function nc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function Lx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:aR(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function Fx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xx(e){var t=Cx();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jx(this,o)}}var Or=function(e){Lx(r,e);var t=xx(r);function r(n){kx(this,r);var o;return o=t.call(this,n),nc(aR(o),"props",void 0),o.props=new tc(n==null?void 0:n.props),o}return Dx(r,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"}}]),r}(we);nc(Or,"slots",["grid-table-toolbar-slot"]),nc(Or,"controlEventKeys",["on_click","on_click_finish"]),nc(Or,"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 _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vx(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function Gx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function 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&&Bd(e,t)}function Hx(e,t){return t&&(qx(t)==="object"||typeof t=="function")?t:_R(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function qx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ux(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wx(e){var t=Ux();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hx(this,o)}}var Kx=function(e){Yx(r,e);var t=Wx(r);function r(n){zx(this,r);var o;return o=t.call(this,n),Gx(_R(o),"props",void 0),o.props=new tc(n==null?void 0:n.props),o}return Vx(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Ye),pR={Designer:Or,Runtime:Kx,Property:tc};function Xx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function Qx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zx(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:Xx(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}function ez(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nz(e){var t=tz();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zx(this,o)}}var Md=function(e){Qx(r,e);var t=nz(r);function r(n){Jx(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:wr.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:wr.controlIcon,o}return r}(Ie);function dR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oz(e,t,r){return t&&vR(e.prototype,t),r&&vR(e,r),e}function uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function iz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:dR(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fz(e){var t=lz();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uz(this,o)}}var wr=function(e){iz(r,e);var t=fz(r);function r(n){rz(this,r);var o;return o=t.call(this,n),uc(dR(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return oz(r,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"}}]),r}(we);uc(wr,"slots",["grid-table-toolbar-slot"]),uc(wr,"controlEventKeys",["on_click"]),uc(wr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function hR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sz(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function _z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(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&&kd(e,t)}function pz(e,t){return t&&(dz(t)==="object"||typeof t=="function")?t:hR(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function dz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hz(e){var t=vz();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pz(this,o)}}var bz=function(e){yz(r,e);var t=hz(r);function r(n){az(this,r);var o;return o=t.call(this,n),_z(hR(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return sz(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Ye),gR={Designer:wr,Runtime:bz,Property:Md};function Dd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function 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&&Ld(e,t)}function Oz(e,t){return t&&(wz(t)==="object"||typeof t=="function")?t:Dd(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function wz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $z(e){var t=Pz();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oz(this,o)}}var jd=function(e){mz(r,e);var t=$z(r);function r(n){gz(this,r);var o,i;o=t.call(this,n),mR(Dd(o),"templateList",void 0),mR(Dd(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Pr.controlIcon;var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:Pr.controlName;var f;o.templateType=(f=n==null?void 0:n.templateType)!==null&&f!==void 0?f:"system";var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(s){return new jo(s)}))!==null&&a!==void 0?a:[new jo({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Ie);function OR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tz(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function 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&&Fd(e,t)}function Ez(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:OR(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function Iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nz(e){var t=Bz();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ez(this,o)}}var Pr=function(e){Sz(r,e);var t=Nz(r);function r(n){Rz(this,r);var o;return o=t.call(this,n),ac(OR(o),"props",void 0),o.props=new jd(n==null?void 0:n.props),o}return Tz(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(we);ac(Pr,"slots",["grid-table-toolbar-slot"]),ac(Pr,"controlEventKeys",["on_click","on_click_finish"]),ac(Pr,"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 PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Az(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function kz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function 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&&Cd(e,t)}function Lz(e,t){return t&&(jz(t)==="object"||typeof t=="function")?t:PR(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function jz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cz(e){var t=Fz();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lz(this,o)}}var xz=function(e){Dz(r,e);var t=Cz(r);function r(n){Mz(this,r);var o;return o=t.call(this,n),kz(PR(o),"props",void 0),o.props=new jd(n==null?void 0:n.props),o}return Az(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Ye),RR={Designer:Pr,Runtime:xz,Property:jd};function zz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function Gz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function Yz(e,t){return t&&(Hz(t)==="object"||typeof t=="function")?t:zz(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function Hz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uz(e){var t=qz();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yz(this,o)}}var zd=function(e){Gz(r,e);var t=Uz(r);function r(n){Vz(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:$r.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:$r.controlIcon,o}return r}(Ie);function TR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kz(e,t,r){return t&&SR(e.prototype,t),r&&SR(e,r),e}function pc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function Xz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function Jz(e,t){return t&&(Qz(t)==="object"||typeof t=="function")?t:TR(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function Qz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e7(e){var t=Zz();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jz(this,o)}}var $r=function(e){Xz(r,e);var t=e7(r);function r(n){Wz(this,r);var o;return o=t.call(this,n),pc(TR(o),"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return Kz(r,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"}}]),r}(we);pc($r,"slots",["grid-table-toolbar-slot"]),pc($r,"controlEventKeys",["on_click"]),pc($r,"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 ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n7(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function r7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function 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&&Gd(e,t)}function i7(e,t){return t&&(u7(t)==="object"||typeof t=="function")?t:ER(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function u7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l7(e){var t=c7();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i7(this,o)}}var f7=function(e){o7(r,e);var t=l7(r);function r(n){t7(this,r);var o;return o=t.call(this,n),r7(ER(o),"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return n7(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Ye),BR={Designer:$r,Runtime:f7,Property:zd};function Yd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function a7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function s7(e,t){return t&&(_7(t)==="object"||typeof t=="function")?t:Yd(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function _7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p7(e){var t=y7();return function(){var n=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s7(this,o)}}var d7=function e(t){NR(this,e),Hd(this,"dataCode",void 0),this.dataCode=t.dataCode},Ud=function(e){a7(r,e);var t=p7(r);function r(n){NR(this,r);var o,i;o=t.call(this,n),Hd(Yd(o),"canImportList",void 0),Hd(Yd(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Rr.controlName;var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:Rr.controlIcon;var f;o.canImportList=(f=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new d7(s)}))!==null&&f!==void 0?f:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return r}(Ie);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h7(e,t,r){return t&&AR(e.prototype,t),r&&AR(e,r),e}function bc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function 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&&Wd(e,t)}function g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:MR(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function m7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w7(e){var t=O7();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var Rr=function(e){b7(r,e);var t=w7(r);function r(n){v7(this,r);var o;return o=t.call(this,n),bc(MR(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return h7(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(we);bc(Rr,"slots",["grid-table-toolbar-slot"]),bc(Rr,"controlEventKeys",["on_click","on_click_finish"]),bc(Rr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $7(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function R7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function T7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function S7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:kR(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function E7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B7(e){var t=I7();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S7(this,o)}}var N7=function(e){T7(r,e);var t=B7(r);function r(n){P7(this,r);var o;return o=t.call(this,n),R7(kR(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return $7(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Ye),LR={Designer:Rr,Runtime:N7,Property:Ud};function Oc(){return{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}}}}}}function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function FR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function CR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ct(e,o,r[o])})}return e}function M7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:fn(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function A7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xR(e){var t=k7();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M7(this,o)}}var D7=function(e){FR(r,e);var t=xR(r);function r(n){jR(this,r);var o;return o=t.call(this,n),Ct(fn(o),"fillPayload",{type:"object",fields:CR({},Oc())}),Ct(fn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}}}),Ct(fn(o),"fillBack",{type:"object",fields:CR({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},Oc())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}),o}return r}(oe),Pc=function(e){FR(r,e);var t=xR(r);function r(n){jR(this,r);var o;o=t.call(this,n),Ct(fn(o),"fillPayload",void 0),Ct(fn(o),"formBind",void 0),Ct(fn(o),"fillBack",void 0),Ct(fn(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Co.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Co.controlIcon;var l;return o.command=(l=n==null?void 0:n.command)!==null&&l!==void 0?l:"create",o.fillPayload=new op(n==null?void 0:n.fillPayload),o.formBind=new nP(n==null?void 0:n.formBind),o.fillBack=new ip(n==null?void 0:n.fillBack),o}return r}(Ie);Ct(Pc,"Rules",D7);function zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j7(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function Jd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function 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&&Qd(e,t)}function C7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:zR(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function x7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V7(e){var t=z7();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C7(this,o)}}var Co=function(e){F7(r,e);var t=V7(r);function r(n){L7(this,r);var o;return o=t.call(this,n),Jd(zR(o),"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return j7(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(we);Jd(Co,"controlEventKeys",["on_click","on_click_finish"]),Jd(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:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y7(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function H7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function q7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U7(e,t){return t&&(W7(t)==="object"||typeof t=="function")?t:GR(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function W7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X7(e){var t=K7();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U7(this,o)}}var J7=function(e){q7(r,e);var t=X7(r);function r(n){G7(this,r);var o;return o=t.call(this,n),H7(GR(o),"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return Y7(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Ye),HR={Designer:Co,Runtime:J7,Property:Pc};function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function UR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function WR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){$t(e,o,r[o])})}return e}function Q7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:xt(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function Z7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KR(e){var t=e8();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q7(this,o)}}var t8=function(e){UR(r,e);var t=KR(r);function r(n){qR(this,r);var o;return o=t.call(this,n),$t(xt(o),"fillPayload",{type:"object",fields:WR({},Oc())}),$t(xt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}),$t(xt(o),"fillBack",{type:"object",fields:WR({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},Oc())}),o}return r}(oe),Sc=function(e){UR(r,e);var t=KR(r);function r(n){qR(this,r);var o;o=t.call(this,n),$t(xt(o),"fillPayload",void 0),$t(xt(o),"listPageBind",void 0),$t(xt(o),"fillBack",void 0),$t(xt(o),"showSelectedDetail",void 0),$t(xt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:xo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:xo.controlIcon,o.fillPayload=new op(n==null?void 0:n.fillPayload),o.listPageBind=new qi(n==null?void 0:n.listPageBind),o.fillBack=new ip(n==null?void 0:n.fillBack);var l;return o.showSelectedDetail=(l=n==null?void 0:n.showSelectedDetail)!==null&&l!==void 0?l:!1,o.selectedContentConfig=new Ki(n==null?void 0:n.selectedContentConfig),o}return r}(Ie);$t(Sc,"Rules",t8);function XR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r8(e,t,r){return t&&JR(e.prototype,t),r&&JR(e,r),e}function tv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(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&&nv(e,t)}function i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:XR(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function u8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l8(e){var t=c8();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i8(this,o)}}var xo=function(e){o8(r,e);var t=l8(r);function r(n){n8(this,r);var o;return o=t.call(this,n),tv(XR(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return r8(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(we);tv(xo,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),tv(xo,"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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function QR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a8(e,t,r){return t&&ZR(e.prototype,t),r&&ZR(e,r),e}function s8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function y8(e,t){return t&&(p8(t)==="object"||typeof t=="function")?t:QR(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function p8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v8(e){var t=d8();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y8(this,o)}}var h8=function(e){_8(r,e);var t=v8(r);function r(n){f8(this,r);var o;return o=t.call(this,n),s8(QR(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return a8(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Ye),eT={Designer:xo,Runtime:h8,Property:Sc};function b8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function iv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function g8(e,t){return t&&(m8(t)==="object"||typeof t=="function")?t:b8(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function m8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cv(e){var t=O8();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g8(this,o)}}var w8=function(e){iv(r,e);var t=cv(r);function r(n){return ov(this,r),t.call(this,n)}return r}(oe),P8=function(e){iv(r,e);var t=cv(r);function r(n){return ov(this,r),t.call(this,n)}return r}(tn),zo=function(e){iv(r,e);var t=cv(r);function r(n){return ov(this,r),t.call(this,n)}return r}(Q);tT(zo,"Rules",w8),tT(zo,"RuntimeRules",P8);function nT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R8(e,t,r){return t&&rT(e.prototype,t),r&&rT(e,r),e}function oT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(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&&lv(e,t)}function S8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:nT(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function E8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B8(e){var t=I8();return function(){var n=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S8(this,o)}}var iT=function(e){T8(r,e);var t=B8(r);function r(n){$8(this,r);var o;return o=t.call(this,n),oT(nT(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return R8(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(F);oT(iT,"setting",[]);function uT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M8(e,t,r){return t&&cT(e.prototype,t),r&&cT(e,r),e}function A8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function k8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function D8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:uT(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function L8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F8(e){var t=j8();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D8(this,o)}}var C8=function(e){k8(r,e);var t=F8(r);function r(n){N8(this,r);var o;return o=t.call(this,n),A8(uT(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return M8(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(Z),lT={Designer:iT,Runtime:C8,Property:zo};function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function aT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function x8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:nt(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sT(e){var t=V8();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x8(this,o)}}var G8=function(e){aT(r,e);var t=sT(r);function r(n){fT(this,r);var o;return o=t.call(this,n),rt(nt(o),"dashboardKey",{type:"string",required:!0,message:v.getMessage("pleaseSelectDashboard")}),rt(nt(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),rt(nt(o),"isHideCaption",{type:"boolean"}),rt(nt(o),"labelPosition",{type:"enum",enum:["top","left"]}),rt(nt(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(oe),kc=function(e){aT(r,e);var t=sT(r);function r(n){fT(this,r);var o;o=t.call(this,n),rt(nt(o),"dashboardKey",void 0),rt(nt(o),"caption",void 0),rt(nt(o),"isHideCaption",void 0),rt(nt(o),"isShowCaptionTip",void 0),rt(nt(o),"captionTip",void 0),rt(nt(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(Q);rt(kc,"Rules",G8);function _T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H8(e,t,r){return t&&yT(e.prototype,t),r&&yT(e,r),e}function pT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function q8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U8(e,t){return t&&(W8(t)==="object"||typeof t=="function")?t:_T(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}function W8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X8(e){var t=K8();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U8(this,o)}}var dT=function(e){q8(r,e);var t=X8(r);function r(n){Y8(this,r);var o;return o=t.call(this,n),pT(_T(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return H8(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(F);pT(dT,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function vT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q8(e,t,r){return t&&hT(e.prototype,t),r&&hT(e,r),e}function Z8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function eV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function tV(e,t){return t&&(nV(t)==="object"||typeof t=="function")?t:vT(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function nV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oV(e){var t=rV();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tV(this,o)}}var iV=function(e){eV(r,e);var t=oV(r);function r(n){J8(this,r);var o;return o=t.call(this,n),Z8(vT(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return Q8(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(Z),bT={Designer:dT,Runtime:iV,Property:kc};function Vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function mT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:Vo(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function cV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OT(e){var t=lV();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uV(this,o)}}var fV=function(e){mT(r,e);var t=OT(r);function r(n){gT(this,r);var o;return o=t.call(this,n),Go(Vo(o),"showType",{type:"enum",enum:["select","tabs"]}),Go(Vo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:v.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(oe),Fc=function(e){mT(r,e);var t=OT(r);function r(n){gT(this,r);var o,i;o=t.call(this,n),Go(Vo(o),"showType",void 0),Go(Vo(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var l;return o.viewList=(l=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(f){return new mP(f)}))!==null&&l!==void 0?l:[],o}return r}(Q);Go(Fc,"Rules",fV);function wT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sV(e,t,r){return t&&PT(e.prototype,t),r&&PT(e,r),e}function $T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function _V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function yV(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:wT(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}function pV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vV(e){var t=dV();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yV(this,o)}}var RT=function(e){_V(r,e);var t=vV(r);function r(n){aV(this,r);var o;return o=t.call(this,n),$T(wT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return sV(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(F);$T(RT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function TT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ST(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bV(e,t,r){return t&&ST(e.prototype,t),r&&ST(e,r),e}function gV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function mV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function OV(e,t){return t&&(wV(t)==="object"||typeof t=="function")?t:TT(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function wV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $V(e){var t=PV();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OV(this,o)}}var RV=function(e){mV(r,e);var t=$V(r);function r(n){hV(this,r);var o;return o=t.call(this,n),gV(TT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return bV(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(Z),ET={Designer:RT,Runtime:RV,Property:Fc};function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function BT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function TV(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:De(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function SV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NT(e){var t=EV();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TV(this,o)}}var IV=function(e){BT(r,e);var t=NT(r);function r(n){IT(this,r);var o;return o=t.call(this,n),Le(De(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Le(De(o),"isHideCaption",{type:"boolean"}),Le(De(o),"labelPosition",{type:"enum",enum:["top","left"]}),Le(De(o),"ocrType",{type:"string",required:!0,message:v.getMessage("pleaseSelectOcrType")}),Le(De(o),"fillList",{type:"array",validator:function(u,l,f){var a=l.every(function(s){return!s.controlId});if(a){f(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}f()}}),Le(De(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(oe),Vc=function(e){BT(r,e);var t=NT(r);function r(n){IT(this,r);var o,i;o=t.call(this,n),Le(De(o),"caption",void 0),Le(De(o),"isHideCaption",void 0),Le(De(o),"isShowCaptionTip",void 0),Le(De(o),"captionTip",void 0),Le(De(o),"labelPosition",void 0),Le(De(o),"ocrType",void 0),Le(De(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Tr.controlName;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Tr.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Tr.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var g;return o.fillList=(g=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new Ee(h)}))!==null&&g!==void 0?g:[],o}return r}(Ie);Le(Vc,"Rules",IV);function MT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NV(e,t,r){return t&&AT(e.prototype,t),r&&AT(e,r),e}function hv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function MV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function AV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:MT(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}function kV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LV(e){var t=DV();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AV(this,o)}}var Tr=function(e){MV(r,e);var t=LV(r);function r(n){BV(this,r);var o;return o=t.call(this,n),hv(MT(o),"props",void 0),o.props=new Vc(n==null?void 0:n.props),o}return NV(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(we);hv(Tr,"controlEventKeys",["on_click","on_click_finish"]),hv(Tr,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function kT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FV(e,t,r){return t&&DT(e.prototype,t),r&&DT(e,r),e}function CV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function xV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function zV(e,t){return t&&(VV(t)==="object"||typeof t=="function")?t:kT(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function VV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YV(e){var t=GV();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zV(this,o)}}var HV=function(e){xV(r,e);var t=YV(r);function r(n){jV(this,r);var o;return o=t.call(this,n),CV(kT(o),"props",void 0),o.props=new Vc(n==null?void 0:n.props),o}return FV(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Ye),LT={Designer:Tr,Runtime:HV,Property:Vc};function je(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function 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&&mv(e,t)}function qV(e,t){return t&&(UV(t)==="object"||typeof t=="function")?t:je(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function UV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CT(e){var t=WV();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qV(this,o)}}var KV=function(e){FT(r,e);var t=CT(r);function r(n){jT(this,r);var o;return o=t.call(this,n),Fe(je(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Fe(je(o),"isHideCaption",{type:"boolean"}),Fe(je(o),"labelPosition",{type:"enum",enum:["top","left"]}),Fe(je(o),"invoiceCheck",{type:"boolean"}),Fe(je(o),"fillList",{type:"array",validator:function(u,l,f){var a=l.every(function(s){return!s.controlId});if(a){f(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}f()}}),Fe(je(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(oe),qc=function(e){FT(r,e);var t=CT(r);function r(n){jT(this,r);var o,i;o=t.call(this,n),Fe(je(o),"caption",void 0),Fe(je(o),"isHideCaption",void 0),Fe(je(o),"isShowCaptionTip",void 0),Fe(je(o),"captionTip",void 0),Fe(je(o),"labelPosition",void 0),Fe(je(o),"invoiceCheck",void 0),Fe(je(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Sr.controlName;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Sr.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Sr.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var g;return o.fillList=(g=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new Ee(h)}))!==null&&g!==void 0?g:[],o}return r}(Ie);Fe(qc,"Rules",KV);function xT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JV(e,t,r){return t&&zT(e.prototype,t),r&&zT(e,r),e}function Ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function QV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function ZV(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:xT(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n9(e){var t=t9();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZV(this,o)}}var Sr=function(e){QV(r,e);var t=n9(r);function r(n){XV(this,r);var o;return o=t.call(this,n),Ov(xT(o),"props",void 0),o.props=new qc(n==null?void 0:n.props),o}return JV(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(we);Ov(Sr,"controlEventKeys",["on_click","on_click_finish"]),Ov(Sr,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function VT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o9(e,t,r){return t&>(e.prototype,t),r&>(e,r),e}function i9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&Pv(e,t)}function c9(e,t){return t&&(l9(t)==="object"||typeof t=="function")?t:VT(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function l9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a9(e){var t=f9();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c9(this,o)}}var s9=function(e){u9(r,e);var t=a9(r);function r(n){r9(this,r);var o;return o=t.call(this,n),i9(VT(o),"props",void 0),o.props=new qc(n==null?void 0:n.props),o}return o9(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Ye),YT={Designer:Sr,Runtime:s9,Property:qc};function Kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function qT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function _9(e,t){return t&&(y9(t)==="object"||typeof t=="function")?t:Kc(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UT(e){var t=p9();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _9(this,o)}}var d9=function(e){qT(r,e);var t=UT(r);function r(){HT(this,r);var n;return n=t.apply(this,arguments),Xc(Kc(n),"printTemplates",{type:"array",min:1,required:!0,message:v.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(oe),Qc=function(e){qT(r,e);var t=UT(r);function r(n){HT(this,r);var o,i;o=t.call(this,n),Xc(Kc(o),"printTemplates",void 0),Xc(Kc(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Er.controlIcon;var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:Er.controlName;var f;o.printTemplates=(f=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new D$(s)}))!==null&&f!==void 0?f:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}(Ie);Xc(Qc,"Rules",d9);function WT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h9(e,t,r){return t&&KT(e.prototype,t),r&&KT(e,r),e}function Zc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function 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&&Rv(e,t)}function g9(e,t){return t&&(m9(t)==="object"||typeof t=="function")?t:WT(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function m9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w9(e){var t=O9();return function(){var n=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g9(this,o)}}var Er=function(e){b9(r,e);var t=w9(r);function r(n){v9(this,r);var o;return o=t.call(this,n),Zc(WT(o),"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return h9(r,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"}}]),r}(we);Zc(Er,"slots",["grid-table-toolbar-slot"]),Zc(Er,"controlEventKeys",["on_click","on_click_finish"]),Zc(Er,"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 XT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $9(e,t,r){return t&&JT(e.prototype,t),r&&JT(e,r),e}function R9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function T9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function S9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:XT(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function E9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B9(e){var t=I9();return function(){var n=tl(e),o;if(t){var i=tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S9(this,o)}}var N9=function(e){T9(r,e);var t=B9(r);function r(n){P9(this,r);var o;return o=t.call(this,n),R9(XT(o),"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return $9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Ye),QT={Designer:Er,Runtime:N9,Property:Qc};function M9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function k9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function D9(e,t){return t&&(L9(t)==="object"||typeof t=="function")?t:M9(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function L9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F9(e){var t=j9();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D9(this,o)}}var Ev=function(e){k9(r,e);var t=F9(r);function r(n){A9(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ir.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ir.controlIcon,o}return r}(Ie);function ZT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x9(e,t,r){return t&&eS(e.prototype,t),r&&eS(e,r),e}function rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function z9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function V9(e,t){return t&&(G9(t)==="object"||typeof t=="function")?t:ZT(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}function G9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H9(e){var t=Y9();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V9(this,o)}}var Ir=function(e){z9(r,e);var t=H9(r);function r(n){C9(this,r);var o;return o=t.call(this,n),rl(ZT(o),"props",void 0),o.props=new Ev(n==null?void 0:n.props),o}return x9(r,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"}}]),r}(we);rl(Ir,"slots",["grid-table-toolbar-slot"]),rl(Ir,"controlEventKeys",["on_click"]),rl(Ir,"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 tS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U9(e,t,r){return t&&nS(e.prototype,t),r&&nS(e,r),e}function W9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function K9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function X9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:tS(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function J9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z9(e){var t=Q9();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X9(this,o)}}var eG=function(e){K9(r,e);var t=Z9(r);function r(n){q9(this,r);var o;return o=t.call(this,n),W9(tS(o),"props",void 0),o.props=new Ev(n==null?void 0:n.props),o}return U9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Ye),rS={Designer:Ir,Runtime:eG,Property:Ev};function Be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function 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 tG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:Be(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}function nG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uS(e){var t=rG();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tG(this,o)}}var oG=function(e){iS(r,e);var t=uS(r);function r(n){oS(this,r);var o;return o=t.call(this,n),Ne(Be(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(oe),cl=function(e){iS(r,e);var t=uS(r);function r(n){oS(this,r);var o;o=t.call(this,n),Ne(Be(o),"content",void 0),Ne(Be(o),"code",void 0),Ne(Be(o),"command",void 0),Ne(Be(o),"color",void 0),Ne(Be(o),"icon",void 0),Ne(Be(o),"formKey",void 0),Ne(Be(o),"openType",void 0),Ne(Be(o),"needConfirm",void 0),Ne(Be(o),"confirmMessage",void 0),Ne(Be(o),"options",void 0),Ne(Be(o),"defaultState",void 0),Ne(Be(o),"priorityProcess",void 0),Ne(Be(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"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 f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return r}(Q);Ne(cl,"Rules",oG);function cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uG(e,t,r){return t&&lS(e.prototype,t),r&&lS(e,r),e}function Mv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function cG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function lG(e,t){return t&&(fG(t)==="object"||typeof t=="function")?t:cS(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function fG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sG(e){var t=aG();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lG(this,o)}}var fl=function(e){cG(r,e);var t=sG(r);function r(n){iG(this,r);var o;return o=t.call(this,n),Mv(cS(o),"props",void 0),o.props=new cl(n==null?void 0:n.props),o}return uG(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(F);Mv(fl,"controlEventKeys",["on_click"]),Mv(fl,"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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function fS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yG(e,t,r){return t&&aS(e.prototype,t),r&&aS(e,r),e}function pG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function dG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function vG(e,t){return t&&(hG(t)==="object"||typeof t=="function")?t:fS(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function hG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gG(e){var t=bG();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vG(this,o)}}var mG=function(e){dG(r,e);var t=gG(r);function r(n){_G(this,r);var o;return o=t.call(this,n),pG(fS(o),"props",void 0),o.props=new cl(n==null?void 0:n.props),o}return yG(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Z),Yo={Designer:fl,Runtime:mG,Property:cl};function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(e)}function wG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function PG(e,t){return t&&($G(t)==="object"||typeof t=="function")?t:zt(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function $G(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TG(e){var t=RG();return function(){var n=sl(e),o;if(t){var i=sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PG(this,o)}}var Lv=function(e){wG(r,e);var t=TG(r);function r(n){OG(this,r);var o;o=t.call(this,n),an(zt(o),"content",void 0),an(zt(o),"buttonType",void 0),an(zt(o),"showType",void 0),an(zt(o),"color",void 0),an(zt(o),"icon",void 0),an(zt(o),"defaultState",void 0),an(zt(o),"command",void 0),an(zt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Br.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Br.controlIcon;var l;o.buttonType=(l=n==null?void 0:n.buttonType)!==null&&l!==void 0?l:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var d;o.command=(d=n==null?void 0:n.command)!==null&&d!==void 0?d:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(Q);function sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EG(e,t,r){return t&&_S(e.prototype,t),r&&_S(e,r),e}function _l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function 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&&jv(e,t)}function BG(e,t){return t&&(NG(t)==="object"||typeof t=="function")?t:sS(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function NG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AG(e){var t=MG();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BG(this,o)}}var Br=function(e){IG(r,e);var t=AG(r);function r(n){SG(this,r);var o;return o=t.call(this,n),_l(sS(o),"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return EG(r,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"}}]),r}(F);_l(Br,"slots",["grid-table-toolbar-slot"]),_l(Br,"controlEventKeys",["on_click"]),_l(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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DG(e,t,r){return t&&pS(e.prototype,t),r&&pS(e,r),e}function LG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function jG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function FG(e,t){return t&&(CG(t)==="object"||typeof t=="function")?t:yS(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function CG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zG(e){var t=xG();return function(){var n=pl(e),o;if(t){var i=pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FG(this,o)}}var VG=function(e){jG(r,e);var t=zG(r);function r(n){kG(this,r);var o;return o=t.call(this,n),LG(yS(o),"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return DG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(Z),dS={Designer:Br,Runtime:VG,Property:Lv},GG=Object.freeze({__proto__:null,Text:b$,Link:P$,Button:E$,Divider:Y$,Title:Q$,CreateFormListButton:uR,BatchSubmissionListButton:pR,SubmissionRecordListButton:gR,ExportListButton:RR,ExportRecordListButton:BR,ImportRecordListButton:LR,FormSelectButton:HR,ListSelectButton:eT,Pagination:lT,Dashboard:bT,ListViewSelect:ET,TextOcrButton:LT,InvoiceCheckButton:YT,BatchPrintListButton:QT,BatchPrintRecordListButton:rS,OperationButton:Yo,BatchDeleteButton:dS});function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function xv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function YG(e,t){return t&&(HG(t)==="object"||typeof t=="function")?t:Rt(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function HG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vv(e){var t=qG();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YG(this,o)}}var UG=function(e){xv(r,e);var t=Vv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),st(Rt(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),st(Rt(o),"minLength",{type:"number",max:200,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),st(Rt(o),"defaultValue",[{type:"string",max:200,min:0,message:v.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=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Fo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(_e),WG=function(e){xv(r,e);var t=Vv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:v.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Fo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(G),Nr=function(e){xv(r,e);var t=Vv(r);function r(n){Cv(this,r);var o;o=t.call(this,n),st(Rt(o),"maxLength",void 0),st(Rt(o),"minLength",void 0),st(Rt(o),"regularRules",void 0),st(Rt(o),"defaultValue",void 0),st(Rt(o),"encrypted",void 0),st(Rt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new up(n==null?void 0:n.regularRules);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:Mr.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(A);st(Nr,"Rules",UG),st(Nr,"RuntimeRules",WG);function vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XG(e,t,r){return t&&hS(e.prototype,t),r&&hS(e,r),e}function vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function JG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function QG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:vS(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function ZG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tY(e){var t=eY();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QG(this,o)}}var Mr=function(e){JG(r,e);var t=tY(r);function r(n){KG(this,r);var o;return o=t.call(this,n),vl(vS(o),"props",void 0),o.props=new Nr(n==null?void 0:n.props),o}return XG(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(k);vl(Mr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),vl(Mr,"controlFieldType",c.FieldTypes.VARCHAR),vl(Mr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.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 bS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rY(e,t,r){return t&&gS(e.prototype,t),r&&gS(e,r),e}function mS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function oY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function iY(e,t){return t&&(uY(t)==="object"||typeof t=="function")?t:bS(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function uY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lY(e){var t=cY();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iY(this,o)}}var OS=function(e){oY(r,e);var t=lY(r);function r(n){nY(this,r);var o;return o=t.call(this,n),mS(bS(o),"props",void 0),o.props=new Nr(n==null?void 0:n.props),o}return rY(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(D);mS(OS,"controlFieldType",c.FieldTypes.VARCHAR);var wS={Designer:Mr,Runtime:OS,Property:Nr};function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function qv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function fY(e,t){return t&&(aY(t)==="object"||typeof t=="function")?t:Pe(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function aY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wv(e){var t=sY();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fY(this,o)}}var _Y=function(e){qv(r,e);var t=Wv(r);function r(n){Hv(this,r);var o;o=t.call(this,n),pe(Pe(o),"limitMax",{type:"number",min:void 0,message:v.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(l){return l==="unlimited"?void 0:l};return o.limitMax.min=u(n.limitMin),o}return r}(En),yY=function(e){qv(r,e);var t=Wv(r);function r(n){Hv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(G),Ho=function(e){qv(r,e);var t=Wv(r);function r(n){Hv(this,r);var o;o=t.call(this,n),pe(Pe(o),"checkboxMode",void 0),pe(Pe(o),"options",void 0),pe(Pe(o),"optionsOrder",void 0),pe(Pe(o),"limitMax",void 0),pe(Pe(o),"limitMin",void 0),pe(Pe(o),"otherOption",void 0),pe(Pe(o),"optionConfig",void 0),pe(Pe(o),"optionsFormat",void 0),pe(Pe(o),"defaultShowOptions",void 0),pe(Pe(o),"datasourceBind",void 0),pe(Pe(o),"multistageFilling",void 0),pe(Pe(o),"interreaction",void 0),pe(Pe(o),"defaultValue",void 0),pe(Pe(o),"openMultistageFilling",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom";var f;o.optionsOrder=(f=n==null?void 0:n.optionsOrder)!==null&&f!==void 0?f:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:qo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[];var h;o.optionsFormat=(h=n==null?void 0:n.optionsFormat)!==null&&h!==void 0?h:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;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(O){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Ee(O))})),o}return r}(A);pe(Ho,"Rules",_Y),pe(Ho,"RuntimeRules",yY);function PS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dY(e,t,r){return t&&$S(e.prototype,t),r&&$S(e,r),e}function ml(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function vY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function hY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:PS(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}function bY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mY(e){var t=gY();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hY(this,o)}}var qo=function(e){vY(r,e);var t=mY(r);function r(n){pY(this,r);var o;return o=t.call(this,n),ml(PS(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return dY(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(k);ml(qo,"controlEventKeys",["on_change","on_click"]),ml(qo,"controlFieldType",c.FieldTypes.ARRAY),ml(qo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wY(e,t,r){return t&&TS(e.prototype,t),r&&TS(e,r),e}function SS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function 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&&Xv(e,t)}function $Y(e,t){return t&&(RY(t)==="object"||typeof t=="function")?t:RS(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function RY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SY(e){var t=TY();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Y(this,o)}}var ES=function(e){PY(r,e);var t=SY(r);function r(n){OY(this,r);var o;return o=t.call(this,n),SS(RS(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return wY(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(D);SS(ES,"controlFieldType",c.FieldTypes.ARRAY);var IS={Designer:qo,Runtime:ES,Property:Ho};function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function NS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function EY(e,t){return t&&(IY(t)==="object"||typeof t=="function")?t:He(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function IY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MS(e){var t=BY();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EY(this,o)}}var NY=function(e){NS(r,e);var t=MS(r);function r(n){return BS(this,r),t.call(this,n)}return r}(En),$l=function(e){NS(r,e);var t=MS(r);function r(n){BS(this,r);var o;o=t.call(this,n),qe(He(o),"radioMode",void 0),qe(He(o),"options",void 0),qe(He(o),"optionConfig",void 0),qe(He(o),"optionsFormat",void 0),qe(He(o),"defaultShowOptions",void 0),qe(He(o),"otherOption",void 0),qe(He(o),"optionsOrder",void 0),qe(He(o),"datasourceBind",void 0),qe(He(o),"multistageFilling",void 0),qe(He(o),"interreaction",void 0),qe(He(o),"defaultValue",void 0),qe(He(o),"openMultistageFilling",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom";var f;o.otherOption=(f=n==null?void 0:n.otherOption)!==null&&f!==void 0?f:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Uo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"";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(m){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Ee(m))})),o}return r}(A);qe($l,"Rules",NY);function AS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AY(e,t,r){return t&&kS(e.prototype,t),r&&kS(e,r),e}function Rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function kY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function DY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:AS(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function LY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FY(e){var t=jY();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DY(this,o)}}var Uo=function(e){kY(r,e);var t=FY(r);function r(n){MY(this,r);var o;return o=t.call(this,n),Rl(AS(o),"props",void 0),o.props=new $l(n==null?void 0:n.props),o}return AY(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(k);Rl(Uo,"controlEventKeys",["on_change","on_click"]),Rl(Uo,"controlFieldType",c.FieldTypes.VARCHAR),Rl(Uo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function DS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xY(e,t,r){return t&&LS(e.prototype,t),r&&LS(e,r),e}function jS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function zY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function VY(e,t){return t&&(GY(t)==="object"||typeof t=="function")?t:DS(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function GY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HY(e){var t=YY();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VY(this,o)}}var FS=function(e){zY(r,e);var t=HY(r);function r(n){CY(this,r);var o;return o=t.call(this,n),jS(DS(o),"props",void 0),o.props=new $l(n==null?void 0:n.props),o}return xY(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(D);jS(FS,"controlFieldType",c.FieldTypes.VARCHAR);var CS={Designer:Uo,Runtime:FS,Property:$l};function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(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&&nh(e,t)}function qY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:Me(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function UY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rh(e){var t=WY();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qY(this,o)}}var KY=function(e){th(r,e);var t=rh(r);function r(n){eh(this,r);var o;o=t.call(this,n),$e(Me(o),"defaultValue",[{type:"number",min:0,max:200,message:v.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),$e(Me(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Fo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(_e),XY=function(e){th(r,e);var t=rh(r);function r(n){eh(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Fo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(G),Wo=function(e){th(r,e);var t=rh(r);function r(n){eh(this,r);var o;o=t.call(this,n),$e(Me(o),"rangeMin",void 0),$e(Me(o),"rangeMax",void 0),$e(Me(o),"numberType",void 0),$e(Me(o),"percentageFormat",void 0),$e(Me(o),"micrometer",void 0),$e(Me(o),"precision",void 0),$e(Me(o),"showUpperCase",void 0),$e(Me(o),"isShowUnit",void 0),$e(Me(o),"unitPosition",void 0),$e(Me(o),"unit",void 0),$e(Me(o),"defaultValue",void 0),$e(Me(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var l;o.numberType=(l=n==null?void 0:n.numberType)!==null&&l!==void 0?l:"number";var f;o.percentageFormat=(f=n==null?void 0:n.percentageFormat)!==null&&f!==void 0?f:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var d;o.isShowUnit=(d=n==null?void 0:n.isShowUnit)!==null&&d!==void 0?d:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var g;o.unit=(g=n==null?void 0:n.unit)!==null&&g!==void 0?g:"";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Ko.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var p;return o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"",o.regularRules=new up(n==null?void 0:n.regularRules),o}return r}(A);$e(Wo,"Rules",KY),$e(Wo,"RuntimeRules",XY);function xS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QY(e,t,r){return t&&zS(e.prototype,t),r&&zS(e,r),e}function Il(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bl=Reflect.get:Bl=function(o,i,u){var l=tH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Bl(e,t,r||e)}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function ZY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function eH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:xS(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function tH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ar(e),e!==null););return e}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oH(e){var t=rH();return function(){var n=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eH(this,o)}}var Ko=function(e){ZY(r,e);var t=oH(r);function r(n){JY(this,r);var o;return o=t.call(this,n),Il(xS(o),"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return QY(r,[{key:"toDataBindModel",value:function(o){var i=Bl(Ar(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(k);Il(Ko,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Il(Ko,"controlFieldType",c.FieldTypes.DECIMAL),Il(Ko,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_UNIT,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function VS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uH(e,t,r){return t&&GS(e.prototype,t),r&&GS(e,r),e}function YS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function cH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function lH(e,t){return t&&(fH(t)==="object"||typeof t=="function")?t:VS(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function fH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sH(e){var t=aH();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lH(this,o)}}var HS=function(e){cH(r,e);var t=sH(r);function r(n){iH(this,r);var o;return o=t.call(this,n),YS(VS(o),"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return uH(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(D);YS(HS,"controlFieldType",c.FieldTypes.DECIMAL);var qS={Designer:Ko,Runtime:HS,Property:Wo};function Vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function yH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pH(e,t){return t&&(dH(t)==="object"||typeof t=="function")?t:Vt(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function dH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hH(e){var t=vH();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pH(this,o)}}var ch=function(e){yH(r,e);var t=hH(r);function r(n){_H(this,r);var o,i;o=t.call(this,n),sn(Vt(o),"dateType",void 0),sn(Vt(o),"dateFormat",void 0),sn(Vt(o),"commonTimeSetting",void 0),sn(Vt(o),"setValueType",void 0),sn(Vt(o),"defaultValue",void 0),sn(Vt(o),"limitDateList",void 0),sn(Vt(o),"allowDateRange",void 0),sn(Vt(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:kl.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var d;o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Fu(m)}))!==null&&b!==void 0?b:[];var g;o.allowDateRange=(g=n==null?void 0:n.allowDateRange)!==null&&g!==void 0?g:["",""];var h;return o.filterWeekend=(h=n==null?void 0:n.filterWeekend)!==null&&h!==void 0?h:!1,o}return r}(A);function US(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gH(e,t,r){return t&&WS(e.prototype,t),r&&WS(e,r),e}function lh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Al=Reflect.get:Al=function(o,i,u){var l=wH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Al(e,t,r||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function mH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OH(e,t){return t&&(PH(t)==="object"||typeof t=="function")?t:US(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function wH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(e),e!==null););return e}function PH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $H(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RH(e){var t=$H();return function(){var n=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OH(this,o)}}var kl=function(e){mH(r,e);var t=RH(r);function r(n){bH(this,r);var o;return o=t.call(this,n),lh(US(o),"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return gH(r,[{key:"toDataBindModel",value:function(o){var i=Al(kr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(k);lh(kl,"controlFieldType",c.FieldTypes.TIMESTAMP),lh(kl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function KS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SH(e,t,r){return t&&XS(e.prototype,t),r&&XS(e,r),e}function JS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function EH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function IH(e,t){return t&&(BH(t)==="object"||typeof t=="function")?t:KS(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function BH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MH(e){var t=NH();return function(){var n=Dl(e),o;if(t){var i=Dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IH(this,o)}}var QS=function(e){EH(r,e);var t=MH(r);function r(n){TH(this,r);var o;return o=t.call(this,n),JS(KS(o),"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return SH(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(D);JS(QS,"controlFieldType",c.FieldTypes.TIMESTAMP);var ZS={Designer:kl,Runtime:QS,Property:ch};function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function tE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AH(e,t){return t&&(kH(t)==="object"||typeof t=="function")?t:ot(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function kH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nE(e){var t=DH();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AH(this,o)}}var LH=function(e){tE(r,e);var t=nE(r);function r(n){eE(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(G),jl=function(e){tE(r,e);var t=nE(r);function r(n){eE(this,r);var o,i;o=t.call(this,n),it(ot(o),"dataBind",void 0),it(ot(o),"rangeMin",void 0),it(ot(o),"rangeMax",void 0),it(ot(o),"placeholderStart",void 0),it(ot(o),"placeholderEnd",void 0),it(ot(o),"dateFormat",void 0),it(ot(o),"commonTimeSetting",void 0),it(ot(o),"dateType",void 0),it(ot(o),"setValueType",void 0),it(ot(o),"defaultValue",void 0),it(ot(o),"limitDateList",void 0),o.dataBind=new dP(n==null?void 0:n.dataBind),o.defaultValue=new vP(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.rangeMin=(s=n==null?void 0:n.rangeMin)!==null&&s!==void 0?s:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Cl.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Fu(m)}))!==null&&h!==void 0?h:[],o}return r}(A);it(jl,"RuntimeRules",LH);function rE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FH(e,t,r){return t&&oE(e.prototype,t),r&&oE(e,r),e}function _h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fl=Reflect.get:Fl=function(o,i,u){var l=zH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Fl(e,t,r||e)}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function CH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function xH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:rE(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function zH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dr(e),e!==null););return e}function VH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YH(e){var t=GH();return function(){var n=Dr(e),o;if(t){var i=Dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xH(this,o)}}var Cl=function(e){CH(r,e);var t=YH(r);function r(n){jH(this,r);var o;return o=t.call(this,n),_h(rE(o),"props",void 0),o.props=new jl(n==null?void 0:n.props),o}return FH(r,[{key:"toDataBindModel",value:function(o){var i=Fl(Dr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(k);_h(Cl,"controlFieldType",c.FieldTypes.TIMESCOPE),_h(Cl,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function iE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qH(e,t,r){return t&&uE(e.prototype,t),r&&uE(e,r),e}function cE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function UH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function WH(e,t){return t&&(KH(t)==="object"||typeof t=="function")?t:iE(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function KH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JH(e){var t=XH();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WH(this,o)}}var lE=function(e){UH(r,e);var t=JH(r);function r(n){HH(this,r);var o;return o=t.call(this,n),cE(iE(o),"props",void 0),o.props=new jl(n==null?void 0:n.props),o}return qH(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(D);cE(lE,"controlFieldType",c.FieldTypes.TIMESCOPE);var fE={Designer:Cl,Runtime:lE,Property:jl};function Tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function vh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function QH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:Tt(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function ZH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bh(e){var t=eq();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QH(this,o)}}var tq=function(e){vh(r,e);var t=bh(r);function r(n){dh(this,r);var o;return o=t.call(this,n),_t(Tt(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),_t(Tt(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),_t(Tt(o),"defaultValue",{type:"string",max:200,min:0,message:v.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=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(_e),nq=function(e){vh(r,e);var t=bh(r);function r(n){dh(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(G),Xo=function(e){vh(r,e);var t=bh(r);function r(n){dh(this,r);var o;o=t.call(this,n),_t(Tt(o),"maxLength",void 0),_t(Tt(o),"minLength",void 0),_t(Tt(o),"defaultValue",void 0),_t(Tt(o),"lineEllipsis",void 0),_t(Tt(o),"autoSize",void 0),_t(Tt(o),"maxRows",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var 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:Jo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:4;var _;return o.autoSize=(_=n==null?void 0:n.autoSize)!==null&&_!==void 0?_:!1,o.maxRows=n==null?void 0:n.maxRows,o}return r}(A);_t(Xo,"Rules",tq),_t(Xo,"RuntimeRules",nq);function aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oq(e,t,r){return t&&sE(e.prototype,t),r&&sE(e,r),e}function Vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function 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&&gh(e,t)}function uq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:aE(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function cq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fq(e){var t=lq();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uq(this,o)}}var Jo=function(e){iq(r,e);var t=fq(r);function r(n){rq(this,r);var o;return o=t.call(this,n),Vl(aE(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return oq(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(k);Vl(Jo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Vl(Jo,"controlFieldType",c.FieldTypes.TEXT),Vl(Jo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 _E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sq(e,t,r){return t&&yE(e.prototype,t),r&&yE(e,r),e}function pE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function _q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mh(e,t)}function yq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:_E(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vq(e){var t=dq();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yq(this,o)}}var dE=function(e){_q(r,e);var t=vq(r);function r(n){aq(this,r);var o;return o=t.call(this,n),pE(_E(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return sq(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(D);pE(dE,"controlFieldType",c.FieldTypes.TEXT);var vE={Designer:Jo,Runtime:dE,Property:Xo};function Nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function wh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hq(e,t){return t&&(bq(t)==="object"||typeof t=="function")?t:Nn(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function bq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $h(e){var t=gq();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hq(this,o)}}var mq=function(e){wh(r,e);var t=$h(r);function r(n){Oh(this,r);var o;return o=t.call(this,n),_n(Nn(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),_n(Nn(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),_n(Nn(o),"defaultValue",{type:"string",max:200,min:0,message:v.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=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(_e),Oq=function(e){wh(r,e);var t=$h(r);function r(n){Oh(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(G),Qo=function(e){wh(r,e);var t=$h(r);function r(n){Oh(this,r);var o;o=t.call(this,n),_n(Nn(o),"maxLength",void 0),_n(Nn(o),"minLength",void 0),_n(Nn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var 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:Zo.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return r}(A);_n(Qo,"Rules",mq),_n(Qo,"RuntimeRules",Oq);function hE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pq(e,t,r){return t&&bE(e.prototype,t),r&&bE(e,r),e}function ql(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function $q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function Rq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:hE(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function Tq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eq(e){var t=Sq();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rq(this,o)}}var Zo=function(e){$q(r,e);var t=Eq(r);function r(n){wq(this,r);var o;return o=t.call(this,n),ql(hE(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return Pq(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(k);ql(Zo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ql(Zo,"controlFieldType",c.FieldTypes.TEXT),ql(Zo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 gE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bq(e,t,r){return t&&mE(e.prototype,t),r&&mE(e,r),e}function OE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function 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&&Th(e,t)}function Mq(e,t){return t&&(Aq(t)==="object"||typeof t=="function")?t:gE(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function Aq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dq(e){var t=kq();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mq(this,o)}}var wE=function(e){Nq(r,e);var t=Dq(r);function r(n){Iq(this,r);var o;return o=t.call(this,n),OE(gE(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return Bq(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(D);OE(wE,"controlFieldType",c.FieldTypes.TEXT);var PE={Designer:Zo,Runtime:wE,Property:Qo};function Ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function RE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function Lq(e,t){return t&&(jq(t)==="object"||typeof t=="function")?t:Ue(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function jq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TE(e){var t=Fq();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lq(this,o)}}var Cq=function(e){RE(r,e);var t=TE(r);function r(n){$E(this,r);var o;return o=t.call(this,n),We(Ue(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:v.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(En),Xl=function(e){RE(r,e);var t=TE(r);function r(n){$E(this,r);var o;o=t.call(this,n),We(Ue(o),"options",void 0),We(Ue(o),"defaultShowOptions",void 0),We(Ue(o),"optionConfig",void 0),We(Ue(o),"defaultValue",void 0),We(Ue(o),"datasourceBind",void 0),We(Ue(o),"multistageFilling",void 0),We(Ue(o),"allowCopyOptions",void 0),We(Ue(o),"openMultistageFilling",void 0),We(Ue(o),"viewFormModelType",void 0),We(Ue(o),"canViewForm",void 0),We(Ue(o),"formBind",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom",o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Ql.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var d;o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Ee(h))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var g;return o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new Sn(n==null?void 0:n.formBind),o}return r}(A);We(Xl,"Rules",Cq);function SE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zq(e,t,r){return t&&EE(e.prototype,t),r&&EE(e,r),e}function Eh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function 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&&Ih(e,t)}function Gq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:SE(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function Yq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qq(e){var t=Hq();return function(){var n=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gq(this,o)}}var Ql=function(e){Vq(r,e);var t=qq(r);function r(n){xq(this,r);var o;return o=t.call(this,n),Eh(SE(o),"props",void 0),o.props=new Xl(n==null?void 0:n.props),o}return zq(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(k);Eh(Ql,"controlFieldType",c.FieldTypes.VARCHAR),Eh(Ql,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function IE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wq(e,t,r){return t&&BE(e.prototype,t),r&&BE(e,r),e}function NE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function Kq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function Xq(e,t){return t&&(Jq(t)==="object"||typeof t=="function")?t:IE(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function Jq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zq(e){var t=Qq();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xq(this,o)}}var ME=function(e){Kq(r,e);var t=Zq(r);function r(n){Uq(this,r);var o;return o=t.call(this,n),NE(IE(o),"props",void 0),o.props=new Xl(n==null?void 0:n.props),o}return Wq(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(D);NE(ME,"controlFieldType",c.FieldTypes.VARCHAR);var AE={Designer:Ql,Runtime:ME,Property:Xl};function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function Mh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eU(e,t){return t&&(tU(t)==="object"||typeof t=="function")?t:ut(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function tU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kh(e){var t=nU();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eU(this,o)}}var rU=function(e){Mh(r,e);var t=kh(r);function r(n){Nh(this,r);var o;return o=t.call(this,n),Ke(ut(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:v.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(En),oU=function(e){Mh(r,e);var t=kh(r);function r(n){Nh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(G),ei=function(e){Mh(r,e);var t=kh(r);function r(n){Nh(this,r);var o;o=t.call(this,n),Ke(ut(o),"options",void 0),Ke(ut(o),"defaultShowOptions",void 0),Ke(ut(o),"optionConfig",void 0),Ke(ut(o),"defaultValue",void 0),Ke(ut(o),"datasourceBind",void 0),Ke(ut(o),"multistageFilling",void 0),Ke(ut(o),"openMultistageFilling",void 0),Ke(ut(o),"viewFormModelType",void 0),Ke(ut(o),"canViewForm",void 0),Ke(ut(o),"formBind",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom",o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:nf.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];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(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Ee(g))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Sn(n==null?void 0:n.formBind),o}return r}(A);Ke(ei,"Rules",rU),Ke(ei,"RuntimeRules",oU);function kE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uU(e,t,r){return t&&DE(e.prototype,t),r&&DE(e,r),e}function Dh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function cU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lU(e,t){return t&&(fU(t)==="object"||typeof t=="function")?t:kE(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function fU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sU(e){var t=aU();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lU(this,o)}}var nf=function(e){cU(r,e);var t=sU(r);function r(n){iU(this,r);var o;return o=t.call(this,n),Dh(kE(o),"props",void 0),o.props=new ei(n==null?void 0:n.props),o}return uU(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);Dh(nf,"controlFieldType",c.FieldTypes.ARRAY),Dh(nf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function LE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yU(e,t,r){return t&&jE(e.prototype,t),r&&jE(e,r),e}function FE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function pU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function dU(e,t){return t&&(vU(t)==="object"||typeof t=="function")?t:LE(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}function vU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bU(e){var t=hU();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dU(this,o)}}var CE=function(e){pU(r,e);var t=bU(r);function r(n){_U(this,r);var o;return o=t.call(this,n),FE(LE(o),"props",void 0),o.props=new ei(n==null?void 0:n.props),o}return yU(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(D);FE(CE,"controlFieldType",c.FieldTypes.ARRAY);var xE={Designer:nf,Runtime:CE,Property:ei};function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function VE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gU(e,t){return t&&(mU(t)==="object"||typeof t=="function")?t:Gt(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function mU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GE(e){var t=OU();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gU(this,o)}}var wU=function(e){VE(r,e);var t=GE(r);function r(n){zE(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(G),uf=function(e){VE(r,e);var t=GE(r);function r(n){zE(this,r);var o;o=t.call(this,n),Yt(Gt(o),"showType",void 0),Yt(Gt(o),"range",void 0),Yt(Gt(o),"rangeOptions",void 0),Yt(Gt(o),"multiple",void 0),Yt(Gt(o),"defaultValueType",void 0),Yt(Gt(o),"defaultValue",void 0),Yt(Gt(o),"multistageFilling",void 0),Yt(Gt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:lf.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Ee(g))})),o}return r}(A);Yt(uf,"RuntimeRules",wU);function YE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $U(e,t,r){return t&&HE(e.prototype,t),r&&HE(e,r),e}function Ch(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function 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&&xh(e,t)}function TU(e,t){return t&&(SU(t)==="object"||typeof t=="function")?t:YE(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function SU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IU(e){var t=EU();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TU(this,o)}}var lf=function(e){RU(r,e);var t=IU(r);function r(n){PU(this,r);var o;return o=t.call(this,n),Ch(YE(o),"props",void 0),o.props=new uf(n==null?void 0:n.props),o}return $U(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(k);Ch(lf,"controlFieldType",c.FieldTypes.EMPLOYEES),Ch(lf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 qE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NU(e,t,r){return t&&UE(e.prototype,t),r&&UE(e,r),e}function WE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function MU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function AU(e,t){return t&&(kU(t)==="object"||typeof t=="function")?t:qE(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function kU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LU(e){var t=DU();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AU(this,o)}}var KE=function(e){MU(r,e);var t=LU(r);function r(n){BU(this,r);var o;return o=t.call(this,n),WE(qE(o),"props",void 0),o.props=new uf(n==null?void 0:n.props),o}return NU(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(D);WE(KE,"controlFieldType",c.FieldTypes.EMPLOYEES);var XE={Designer:lf,Runtime:KE,Property:uf};function Ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function 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&&Yh(e,t)}function jU(e,t){return t&&(FU(t)==="object"||typeof t=="function")?t:Ht(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function FU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hh(e){var t=CU();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jU(this,o)}}var xU=10485760,zU=104857600,VU=1048576e3,GU=function(e){Gh(r,e);var t=Hh(r);function r(n){Vh(this,r);var o;return o=t.call(this,n),St(Ht(o),"maxSize",{type:"number",min:0,max:VU,message:v.getMessage("attachmentMaxSize")}),o}return r}(_e),YU=function(e){Gh(r,e);var t=Hh(r);function r(n){Vh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:v.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(G),Lr=function(e){Gh(r,e);var t=Hh(r);function r(n){Vh(this,r);var o;o=t.call(this,n),St(Ht(o),"defaultValue",void 0),St(Ht(o),"showType",void 0),St(Ht(o),"resultShowType",void 0),St(Ht(o),"attachmentAccept",void 0),St(Ht(o),"maxLimit",void 0),St(Ht(o),"minLimit",void 0),St(Ht(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var l;o.resultShowType=(l=n==null?void 0:n.resultShowType)!==null&&l!==void 0?l:"simple";var f;o.attachmentAccept=(f=n==null?void 0:n.attachmentAccept)!==null&&f!==void 0?f:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var s;o.minLimit=(s=n==null?void 0:n.minLimit)!==null&&s!==void 0?s:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:zU;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:jr.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(A);St(Lr,"Rules",GU),St(Lr,"RuntimeRules",YU);function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qU(e,t,r){return t&&QE(e.prototype,t),r&&QE(e,r),e}function sf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function UU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:JE(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function KU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JU(e){var t=XU();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WU(this,o)}}var jr=function(e){UU(r,e);var t=JU(r);function r(n){HU(this,r);var o;return o=t.call(this,n),sf(JE(o),"props",void 0),o.props=new Lr(n==null?void 0:n.props),o}return qU(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(k);sf(jr,"controlEventKeys",["on_change"]),sf(jr,"controlFieldType",c.FieldTypes.FILE),sf(jr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 ZE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZU(e,t,r){return t&&eI(e.prototype,t),r&&eI(e,r),e}function tI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function eW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:ZE(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function nW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oW(e){var t=rW();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tW(this,o)}}var Wh=function(e){eW(r,e);var t=oW(r);function r(n){QU(this,r);var o;return o=t.call(this,n),tI(ZE(o),"props",void 0),o.props=new Lr(n==null?void 0:n.props),o}return ZU(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(D);tI(Wh,"controlFieldType",c.FieldTypes.FILE);var nI={Designer:jr,Runtime:Wh,Property:Lr};function iW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cW(e,t,r){return t&&rI(e.prototype,t),r&&rI(e,r),e}function oI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function lW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function fW(e,t){return t&&(aW(t)==="object"||typeof t=="function")?t:iW(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function aW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _W(e){var t=sW();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fW(this,o)}}var Xh=function(e){lW(r,e);var t=_W(r);function r(n){uW(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var l;o.props.caption=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:r.controlName;var f;return o.props.placeholder=(f=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&f!==void 0?f:"\u4E0A\u4F20\u56FE\u7247",o}return cW(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(jr);oI(Xh,"controlFieldType",c.FieldTypes.IMAGE),oI(Xh,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function yW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dW(e,t,r){return t&&iI(e.prototype,t),r&&iI(e,r),e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function vW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function hW(e,t){return t&&(bW(t)==="object"||typeof t=="function")?t:yW(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function bW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mW(e){var t=gW();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hW(this,o)}}var OW=function(e){vW(r,e);var t=mW(r);function r(n){pW(this,r);var o,i,u,l;o=t.call(this,n),o.props.showType="image";var f;o.props.maxLimit=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&f!==void 0?f:9;var a;o.props.caption=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(l=n.props)===null||l===void 0?void 0:l.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return dW(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Wh);function wW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(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&&Qh(e,t)}function RW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:wW(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function TW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EW(e){var t=SW();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RW(this,o)}}var IW=function(e){$W(r,e);var t=EW(r);function r(n){return PW(this,r),t.call(this,n)}return r}(Lr),uI={Designer:Xh,Runtime:OW,Property:IW};function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function eb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function BW(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Re(e,o,r[o])})}return e}function NW(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function MW(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):NW(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function AW(e,t){return t&&(kW(t)==="object"||typeof t=="function")?t:Ce(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function kW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nb(e){var t=DW();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AW(this,o)}}var LW=function(e){eb(r,e);var t=nb(r);function r(n){Zh(this,r);var o;o=t.call(this,n),Re(Ce(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:v.getMessage("pleaseEnterNumberRange")}]}}),Re(Ce(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o}return r}(En),jW=function(e){eb(r,e);var t=nb(r);function r(n){Zh(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[MW(BW({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(G),ti=function(e){eb(r,e);var t=nb(r);function r(n){Zh(this,r);var o;o=t.call(this,n),Re(Ce(o),"rangeMin",void 0),Re(Ce(o),"rangeMax",void 0),Re(Ce(o),"showUpperCase",void 0),Re(Ce(o),"submitSelectCurrency",void 0),Re(Ce(o),"micrometer",void 0),Re(Ce(o),"precision",void 0),Re(Ce(o),"optionConfig",void 0),Re(Ce(o),"dataBind",void 0),Re(Ce(o),"datasourceBind",void 0),Re(Ce(o),"defaultValue",void 0),Re(Ce(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"datasource";var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new yP(n==null?void 0:n.dataBind);var s;o.datasourceBind=new ie((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new Wi({value:"name"})]});var _;o.defaultValue=new pP((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=Ot(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:ni.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u8F93\u5165";var g;o.submitSelectCurrency=(g=n==null?void 0:n.submitSelectCurrency)!==null&&g!==void 0?g:!1;var h;return o.showUpperCase=(h=n==null?void 0:n.showUpperCase)!==null&&h!==void 0?h:!1,o}return r}(A);Re(ti,"Rules",LW),Re(ti,"RuntimeRules",jW);function cI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CW(e,t,r){return t&&lI(e.prototype,t),r&&lI(e,r),e}function bf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?gf=Reflect.get:gf=function(o,i,u){var l=VW(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},gf(e,t,r||e)}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(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&&rb(e,t)}function zW(e,t){return t&&(GW(t)==="object"||typeof t=="function")?t:cI(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function VW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fr(e),e!==null););return e}function GW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HW(e){var t=YW();return function(){var n=Fr(e),o;if(t){var i=Fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zW(this,o)}}var ni=function(e){xW(r,e);var t=HW(r);function r(n){FW(this,r);var o;return o=t.call(this,n),bf(cI(o),"props",void 0),o.props=new ti(n==null?void 0:n.props),o}return CW(r,[{key:"toDataBindModel",value:function(o){var i=gf(Fr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(k);bf(ni,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),bf(ni,"controlFieldType",c.FieldTypes.MONEY),bf(ni,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function fI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UW(e,t,r){return t&&aI(e.prototype,t),r&&aI(e,r),e}function sI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function WW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function KW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:fI(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function XW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QW(e){var t=JW();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KW(this,o)}}var _I=function(e){WW(r,e);var t=QW(r);function r(n){qW(this,r);var o;return o=t.call(this,n),sI(fI(o),"props",void 0),o.props=new ti(n==null?void 0:n.props),o}return UW(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(D);sI(_I,"controlFieldType",c.FieldTypes.MONEY);var yI={Designer:ni,Runtime:_I,Property:ti};function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ib(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function ub(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function ZW(e,t){return t&&(eK(t)==="object"||typeof t=="function")?t:yn(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function eK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lb(e){var t=tK();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZW(this,o)}}var nK=function(e){ub(r,e);var t=lb(r);function r(n){ib(this,r);var o;return o=t.call(this,n),qt(yn(o),"totalScore",[{type:"number",required:!0,message:v.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:v.getMessage("theTotalScoreMustNotBeLessThan1")}]),qt(yn(o),"defaultValue",{type:"number",min:0,max:5,message:v.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(_e),rK=function(e){ub(r,e);var t=lb(r);function r(n){ib(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(G),ri=function(e){ub(r,e);var t=lb(r);function r(n){ib(this,r);var o,i;o=t.call(this,n),qt(yn(o),"totalScore",void 0),qt(yn(o),"scoreType",void 0),qt(yn(o),"isShowExplain",void 0),qt(yn(o),"explain",void 0),qt(yn(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var l;o.scoreType=(l=n==null?void 0:n.scoreType)!==null&&l!==void 0?l:c.SCORE_TYPE.STAR;var f;o.isShowExplain=(f=n==null?void 0:n.isShowExplain)!==null&&f!==void 0?f:!0;var a;o.explain=(a=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(d){return new Cu(d)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Cu});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:oi.controlName,o}return r}(A);qt(ri,"Rules",nK),qt(ri,"RuntimeRules",rK);function fb(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function oK(e){if(Array.isArray(e))return fb(e)}function pI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uK(e,t,r){return t&&dI(e.prototype,t),r&&dI(e,r),e}function wf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Pf=Reflect.get:Pf=function(o,i,u){var l=sK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Pf(e,t,r||e)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(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&&ab(e,t)}function lK(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fK(){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 aK(e,t){return t&&(yK(t)==="object"||typeof t=="function")?t:pI(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function sK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cr(e),e!==null););return e}function _K(e){return oK(e)||lK(e)||pK(e)||fK()}function yK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pK(e,t){if(!!e){if(typeof e=="string")return fb(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fb(e,t)}}function dK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vK(e){var t=dK();return function(){var n=Cr(e),o;if(t){var i=Cr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aK(this,o)}}var oi=function(e){cK(r,e);var t=vK(r);function r(n){iK(this,r);var o;return o=t.call(this,n),wf(pI(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return uK(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,l=i-this.props.explain.length,f=Array(l).fill(void 0).map(function(){return new Cu});(u=this.props.explain).push.apply(u,_K(f))}}Pf(Cr(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(k);wf(oi,"controlEventKeys",["on_change","on_click"]),wf(oi,"controlFieldType",c.FieldTypes.DECIMAL),wf(oi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.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 vI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bK(e,t,r){return t&&hI(e.prototype,t),r&&hI(e,r),e}function bI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function gK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function mK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:vI(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function OK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PK(e){var t=wK();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mK(this,o)}}var gI=function(e){gK(r,e);var t=PK(r);function r(n){hK(this,r);var o;return o=t.call(this,n),bI(vI(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return bK(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(D);bI(gI,"controlFieldType",c.FieldTypes.DECIMAL);var mI={Designer:oi,Runtime:gI,Property:ri};function Rf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function wI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $K(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:Rf(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function RK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PI(e){var t=TK();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $K(this,o)}}var SK=function(e){wI(r,e);var t=PI(r);function r(n){OI(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:v.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:v.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:v.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(G),Ef=function(e){wI(r,e);var t=PI(r);function r(n){OI(this,r);var o;o=t.call(this,n),Tf(Rf(o),"defaultValueType",void 0),Tf(Rf(o),"defaultValue",void 0),Tf(Rf(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Bf.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var l;o.addressType=(l=n==null?void 0:n.addressType)!==null&&l!==void 0?l:["province","city","district"];var f;o.defaultValue=new hP((f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(A);Tf(Ef,"RuntimeRules",SK);function $I(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IK(e,t,r){return t&&RI(e.prototype,t),r&&RI(e,r),e}function yb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function BK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function NK(e,t){return t&&(MK(t)==="object"||typeof t=="function")?t:$I(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function MK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kK(e){var t=AK();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NK(this,o)}}var Bf=function(e){BK(r,e);var t=kK(r);function r(n){EK(this,r);var o;return o=t.call(this,n),yb($I(o),"props",void 0),o.props=new Ef(n==null?void 0:n.props),o}return IK(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(k);yb(Bf,"controlFieldType",c.FieldTypes.ADDRESS),yb(Bf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function TI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LK(e,t,r){return t&&SI(e.prototype,t),r&&SI(e,r),e}function EI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function 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&&db(e,t)}function FK(e,t){return t&&(CK(t)==="object"||typeof t=="function")?t:TI(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function CK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zK(e){var t=xK();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FK(this,o)}}var II=function(e){jK(r,e);var t=zK(r);function r(n){DK(this,r);var o;return o=t.call(this,n),EI(TI(o),"props",void 0),o.props=new Ef(n==null?void 0:n.props),o}return LK(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(D);EI(II,"controlFieldType",c.FieldTypes.ADDRESS);var BI={Designer:Bf,Runtime:II,Property:Ef};function yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function MI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}function VK(e,t){return t&&(GK(t)==="object"||typeof t=="function")?t:yt(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function GK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AI(e){var t=YK();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VK(this,o)}}var HK=function(e){MI(r,e);var t=AI(r);function r(n){NI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(G),Af=function(e){MI(r,e);var t=AI(r);function r(n){NI(this,r);var o;o=t.call(this,n),pt(yt(o),"showType",void 0),pt(yt(o),"range",void 0),pt(yt(o),"defaultValueType",void 0),pt(yt(o),"multiple",void 0),pt(yt(o),"rangeOptions",void 0),pt(yt(o),"defaultValue",void 0),pt(yt(o),"displayLevel",void 0),pt(yt(o),"showSubDept",void 0),pt(yt(o),"multistageFilling",void 0),pt(yt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ii.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";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(m){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Ee(m))})),o}return r}(A);pt(Af,"RuntimeRules",HK);function kI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UK(e,t,r){return t&&DI(e.prototype,t),r&&DI(e,r),e}function kf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Df=Reflect.get:Df=function(o,i,u){var l=XK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Df(e,t,r||e)}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(e)}function WK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function KK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:kI(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function XK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xr(e),e!==null););return e}function JK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZK(e){var t=QK();return function(){var n=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KK(this,o)}}var ii=function(e){WK(r,e);var t=ZK(r);function r(n){qK(this,r);var o;return o=t.call(this,n),kf(kI(o),"props",void 0),o.props=new Af(n==null?void 0:n.props),o}return UK(r,[{key:"toDataBindModel",value:function(o){var i=Df(xr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.displayLevel,f=u.showSubDept;i.props.displayLevel=l,i.props.showSubDept=f}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(k);kf(ii,"controlName","\u90E8\u95E8"),kf(ii,"controlFieldType",c.FieldTypes.DEPARTMENTS),kf(ii,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 LI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tX(e,t,r){return t&&jI(e.prototype,t),r&&jI(e,r),e}function FI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function nX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function rX(e,t){return t&&(oX(t)==="object"||typeof t=="function")?t:LI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function oX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uX(e){var t=iX();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rX(this,o)}}var CI=function(e){nX(r,e);var t=uX(r);function r(n){eX(this,r);var o;return o=t.call(this,n),FI(LI(o),"props",void 0),o.props=new Af(n==null?void 0:n.props),o}return tX(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(D);FI(CI,"controlFieldType",c.FieldTypes.DEPARTMENTS);var xI={Designer:ii,Runtime:CI,Property:Af};function zI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function fX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gb(e,t)}function aX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:zI(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function sX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yX(e){var t=_X();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aX(this,o)}}var mb=function(e){fX(r,e);var t=yX(r);function r(n){cX(this,r);var o;o=t.call(this,n),lX(zI(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ui.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(A);function VI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dX(e,t,r){return t&&GI(e.prototype,t),r&&GI(e,r),e}function Ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function vX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:VI(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function bX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mX(e){var t=gX();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hX(this,o)}}var ui=function(e){vX(r,e);var t=mX(r);function r(n){pX(this,r);var o;return o=t.call(this,n),Ff(VI(o),"props",void 0),o.props=new mb(n==null?void 0:n.props),o}return dX(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(k);Ff(ui,"controlEventKeys",["on_change"]),Ff(ui,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Ff(ui,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function YI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wX(e,t,r){return t&&HI(e.prototype,t),r&&HI(e,r),e}function qI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function PX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function $X(e,t){return t&&(RX(t)==="object"||typeof t=="function")?t:YI(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function RX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SX(e){var t=TX();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $X(this,o)}}var UI=function(e){PX(r,e);var t=SX(r);function r(n){OX(this,r);var o;return o=t.call(this,n),qI(YI(o),"props",void 0),o.props=new mb(n==null?void 0:n.props),o}return wX(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(D);qI(UI,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var WI={Designer:ui,Runtime:UI,Property:mb};function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function $b(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function EX(e,t){return t&&(IX(t)==="object"||typeof t=="function")?t:pn(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function IX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tb(e){var t=BX();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EX(this,o)}}var NX=function(e){$b(r,e);var t=Tb(r);function r(n){Pb(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(_e),MX=function(e){$b(r,e);var t=Tb(r);function r(n){Pb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:v.getMessage("isNotObject"),fields:{result:[{type:"number",message:v.getMessage("isNotNumber")}],unit:{type:"string",message:v.getMessage("isNotString")}}}),o}return r}(G),ci=function(e){$b(r,e);var t=Tb(r);function r(n){Pb(this,r);var o;o=t.call(this,n),Ut(pn(o),"precision",void 0),Ut(pn(o),"micrometer",void 0),Ut(pn(o),"showUpperCase",void 0),Ut(pn(o),"scriptSrc",void 0),Ut(pn(o),"scriptEcho",void 0),Ut(pn(o),"dataBind",void 0),Ut(pn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var l;o.showUpperCase=(l=n==null?void 0:n.showUpperCase)!==null&&l!==void 0?l:!1,o.dataBind=new bP(n==null?void 0:n.dataBind),o.defaultValue=new gP(n==null?void 0:n.defaultValue);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:li.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.scriptEcho=(s=n==null?void 0:n.scriptEcho)!==null&&s!==void 0?s:[];var _;return o.scriptSrc=(_=n==null?void 0:n.scriptSrc)!==null&&_!==void 0?_:"",o}return r}(A);Ut(ci,"Rules",NX),Ut(ci,"RuntimeRules",MX);function KI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kX(e,t,r){return t&&XI(e.prototype,t),r&&XI(e,r),e}function Vf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Gf=Reflect.get:Gf=function(o,i,u){var l=jX(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Gf(e,t,r||e)}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function DX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function LX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:KI(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function jX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zr(e),e!==null););return e}function FX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xX(e){var t=CX();return function(){var n=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LX(this,o)}}var li=function(e){DX(r,e);var t=xX(r);function r(n){AX(this,r);var o;return o=t.call(this,n),Vf(KI(o),"props",void 0),o.props=new ci(n==null?void 0:n.props),o}return kX(r,[{key:"toDataBindModel",value:function(o){var i=Gf(zr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(k);Vf(li,"controlEventKeys",["on_change"]),Vf(li,"controlFieldType",c.FieldTypes.CALC),Vf(li,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function JI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VX(e,t,r){return t&&QI(e.prototype,t),r&&QI(e,r),e}function ZI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function GX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function YX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:JI(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function HX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=qX();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YX(this,o)}}var eB=function(e){GX(r,e);var t=UX(r);function r(n){zX(this,r);var o;return o=t.call(this,n),ZI(JI(o),"props",void 0),o.props=new ci(n==null?void 0:n.props),o}return VX(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(D);ZI(eB,"controlFieldType",c.FieldTypes.CALC);var tB={Designer:li,Runtime:eB,Property:ci};function Vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function rB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function WX(e,t){return t&&(KX(t)==="object"||typeof t=="function")?t:Vr(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function KX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oB(e){var t=XX();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WX(this,o)}}var JX=function(e){rB(r,e);var t=oB(r);function r(n){nB(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,l){if(n.required){var f=l.every(function(a){return!a});return f?Promise.reject(v.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(G),qf=function(e){rB(r,e);var t=oB(r);function r(n){nB(this,r);var o;o=t.call(this,n),Gr(Vr(o),"rangeMin",void 0),Gr(Vr(o),"rangeMax",void 0),Gr(Vr(o),"placeholderStart",void 0),Gr(Vr(o),"placeholderEnd",void 0),Gr(Vr(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var l;o.rangeMax=(l=n==null?void 0:n.rangeMax)!==null&&l!==void 0?l:"";var f;o.placeholderStart=(f=n==null?void 0:n.placeholderStart)!==null&&f!==void 0?f:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Wf.controlName,o}return r}(A);Gr(qf,"RuntimeRules",JX);function iB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZX(e,t,r){return t&&uB(e.prototype,t),r&&uB(e,r),e}function Bb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(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&&Nb(e,t)}function tJ(e,t){return t&&(nJ(t)==="object"||typeof t=="function")?t:iB(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(e,t)}function nJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oJ(e){var t=rJ();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tJ(this,o)}}var Wf=function(e){eJ(r,e);var t=oJ(r);function r(n){QX(this,r);var o;return o=t.call(this,n),Bb(iB(o),"props",void 0),o.props=new qf(n==null?void 0:n.props),o}return ZX(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);Bb(Wf,"controlFieldType",c.FieldTypes.DECIMAL_RANGE),Bb(Wf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function cB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uJ(e,t,r){return t&&lB(e.prototype,t),r&&lB(e,r),e}function fB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function cJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function lJ(e,t){return t&&(fJ(t)==="object"||typeof t=="function")?t:cB(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function fJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sJ(e){var t=aJ();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lJ(this,o)}}var aB=function(e){cJ(r,e);var t=sJ(r);function r(n){iJ(this,r);var o;return o=t.call(this,n),fB(cB(o),"props",void 0),o.props=new qf(n==null?void 0:n.props),o}return uJ(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(D);fB(aB,"controlFieldType",c.FieldTypes.DECIMAL_RANGE);var sB={Designer:Wf,Runtime:aB,Property:qf};function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function yB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function _J(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:dt(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function yJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pB(e){var t=pJ();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _J(this,o)}}var dJ=function(e){yB(r,e);var t=pB(r);function r(n){_B(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(G),Jf=function(e){yB(r,e);var t=pB(r);function r(n){_B(this,r);var o,i;o=t.call(this,n),vt(dt(o),"rangeMin",void 0),vt(dt(o),"rangeMax",void 0),vt(dt(o),"placeholderStart",void 0),vt(dt(o),"placeholderEnd",void 0),vt(dt(o),"dateType",void 0),vt(dt(o),"dateFormat",void 0),vt(dt(o),"commonTimeSetting",void 0),vt(dt(o),"setValueType",void 0),vt(dt(o),"defaultValue",void 0),vt(dt(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var l;o.dateType=(l=n==null?void 0:n.dateType)!==null&&l!==void 0?l:c.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var d;o.rangeMax=(d=n==null?void 0:n.rangeMax)!==null&&d!==void 0?d:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\u5F00\u59CB\u65E5\u671F";var g;o.placeholderEnd=(g=n==null?void 0:n.placeholderEnd)!==null&&g!==void 0?g:"\u7ED3\u675F\u65E5\u671F";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Zf.controlName;var m;return o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(p){return new Fu(p)}))!==null&&m!==void 0?m:[],o}return r}(A);vt(Jf,"RuntimeRules",dJ);function dB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hJ(e,t,r){return t&&vB(e.prototype,t),r&&vB(e,r),e}function kb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function bJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function gJ(e,t){return t&&(mJ(t)==="object"||typeof t=="function")?t:dB(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function mJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wJ(e){var t=OJ();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gJ(this,o)}}var Zf=function(e){bJ(r,e);var t=wJ(r);function r(n){vJ(this,r);var o;return o=t.call(this,n),kb(dB(o),"props",void 0),o.props=new Jf(n==null?void 0:n.props),o}return hJ(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);kb(Zf,"controlFieldType",c.FieldTypes.ARRAY),kb(Zf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function hB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $J(e,t,r){return t&&bB(e.prototype,t),r&&bB(e,r),e}function gB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function RJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function TJ(e,t){return t&&(SJ(t)==="object"||typeof t=="function")?t:hB(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function SJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IJ(e){var t=EJ();return function(){var n=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TJ(this,o)}}var mB=function(e){RJ(r,e);var t=IJ(r);function r(n){PJ(this,r);var o;return o=t.call(this,n),gB(hB(o),"props",void 0),o.props=new Jf(n==null?void 0:n.props),o}return $J(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(D);gB(mB,"controlFieldType",c.FieldTypes.ARRAY);var OB={Designer:Zf,Runtime:mB,Property:Jf};function fi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(e)}function Fb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function BJ(e,t){return t&&(NJ(t)==="object"||typeof t=="function")?t:fi(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function NJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xb(e){var t=MJ();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BJ(this,o)}}var AJ=function(e){Fb(r,e);var t=xb(r);function r(n){jb(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(_e),kJ=function(e){Fb(r,e);var t=xb(r);function r(n){jb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(G),ai=function(e){Fb(r,e);var t=xb(r);function r(n){jb(this,r);var o;o=t.call(this,n),Yr(fi(o),"controlExportName",void 0),Yr(fi(o),"permissions",void 0),Yr(fi(o),"defaultValue",void 0),Yr(fi(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Hr.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var l;o.controlExportName=(l=n==null?void 0:n.controlExportName)!==null&&l!==void 0?l:"";var f;o.permissions=(f=n==null?void 0:n.permissions)!==null&&f!==void 0?f:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(A);Yr(ai,"Rules",AJ),Yr(ai,"RuntimeRules",kJ);function wB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LJ(e,t,r){return t&&PB(e.prototype,t),r&&PB(e,r),e}function si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function jJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zb(e,t)}function FJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:wB(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zJ(e){var t=xJ();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FJ(this,o)}}var Hr=function(e){jJ(r,e);var t=zJ(r);function r(n){DJ(this,r);var o;return o=t.call(this,n),si(wB(o),"props",void 0),o.props=new ai(n==null?void 0:n.props),o}return LJ(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);si(Hr,"controlFieldType",c.FieldTypes.ANY),si(Hr,"controlEventKeys",[]),si(Hr,"slots",["grid-table-toolbar-slot",jy.DEFAULT]),si(Hr,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function $B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GJ(e,t,r){return t&&RB(e.prototype,t),r&&RB(e,r),e}function TB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function 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&&Vb(e,t)}function HJ(e,t){return t&&(qJ(t)==="object"||typeof t=="function")?t:$B(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}function qJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WJ(e){var t=UJ();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HJ(this,o)}}var SB=function(e){YJ(r,e);var t=WJ(r);function r(n){VJ(this,r);var o;return o=t.call(this,n),TB($B(o),"props",void 0),o.props=new ai(n==null?void 0:n.props),o}return GJ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(D);TB(SB,"controlFieldType",c.FieldTypes.ANY);var EB={Designer:Hr,Runtime:SB,Property:ai};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function BB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gb(e,t)}function KJ(e,t){return t&&(XJ(t)==="object"||typeof t=="function")?t:Ae(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(e,t)}function XJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NB(e){var t=JJ();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KJ(this,o)}}var QJ=function(e){BB(r,e);var t=NB(r);function r(n){IB(this,r);var o;return o=t.call(this,n),ke(Ae(o),"listPageBind",[{type:"object",message:v.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}]}}]),ke(Ae(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:v.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(En),ia=function(e){BB(r,e);var t=NB(r);function r(n){IB(this,r);var o;o=t.call(this,n),ke(Ae(o),"options",void 0),ke(Ae(o),"optionConfig",void 0),ke(Ae(o),"defaultValue",void 0),ke(Ae(o),"listPageBind",void 0),ke(Ae(o),"datasourceBind",void 0),ke(Ae(o),"multistageFilling",void 0),ke(Ae(o),"viewFormModelType",void 0),ke(Ae(o),"canViewForm",void 0),ke(Ae(o),"formBind",void 0),ke(Ae(o),"openMultistageFilling",void 0),ke(Ae(o),"showSelectedDetail",void 0),ke(Ae(o),"selectedContentConfig",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new qi(n==null?void 0:n.listPageBind),o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:_i.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Ki(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Ee(g))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Sn(n==null?void 0:n.formBind),o}return r}(A);ke(ia,"Rules",QJ);function MB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eQ(e,t,r){return t&&AB(e.prototype,t),r&&AB(e,r),e}function ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function tQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function nQ(e,t){return t&&(rQ(t)==="object"||typeof t=="function")?t:MB(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}function rQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iQ(e){var t=oQ();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nQ(this,o)}}var _i=function(e){tQ(r,e);var t=iQ(r);function r(n){ZJ(this,r);var o;return o=t.call(this,n),ua(MB(o),"props",void 0),o.props=new ia(n==null?void 0:n.props),o}return eQ(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(k);ua(_i,"controlFieldType",c.FieldTypes.VARCHAR),ua(_i,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),ua(_i,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function kB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cQ(e,t,r){return t&&DB(e.prototype,t),r&&DB(e,r),e}function LB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function lQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function fQ(e,t){return t&&(aQ(t)==="object"||typeof t=="function")?t:kB(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function aQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Q(e){var t=sQ();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fQ(this,o)}}var jB=function(e){lQ(r,e);var t=_Q(r);function r(n){uQ(this,r);var o;return o=t.call(this,n),LB(kB(o),"props",void 0),o.props=new ia(n==null?void 0:n.props),o}return cQ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(D);LB(jB,"controlFieldType",c.FieldTypes.VARCHAR);var FB={Designer:_i,Runtime:jB,Property:ia};function yQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function dQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function vQ(e,t){return t&&(hQ(t)==="object"||typeof t=="function")?t:yQ(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function hQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gQ(e){var t=bQ();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vQ(this,o)}}var Ub=function(e){dQ(r,e);var t=gQ(r);function r(n){return pQ(this,r),t.call(this,n)}return r}(Nr);function CB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OQ(e,t,r){return t&&xB(e.prototype,t),r&&xB(e,r),e}function zB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(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&&Wb(e,t)}function PQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:CB(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}function $Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TQ(e){var t=RQ();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PQ(this,o)}}var VB=function(e){wQ(r,e);var t=TQ(r);function r(n){mQ(this,r);var o;return o=t.call(this,n),zB(CB(o),"props",void 0),o.props=new Ub(n==null?void 0:n.props),o}return OQ(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Mr);zB(VB,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function GB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EQ(e,t,r){return t&&YB(e.prototype,t),r&&YB(e,r),e}function HB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function 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&&Kb(e,t)}function BQ(e,t){return t&&(NQ(t)==="object"||typeof t=="function")?t:GB(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function NQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AQ(e){var t=MQ();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BQ(this,o)}}var qB=function(e){IQ(r,e);var t=AQ(r);function r(n){SQ(this,r);var o;return o=t.call(this,n),HB(GB(o),"props",void 0),o.props=new Ub(n==null?void 0:n.props),o}return EQ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(D);HB(qB,"controlFieldType",c.FieldTypes.VARCHAR);var UB={Designer:VB,Runtime:qB,Property:Ub};function ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function Jb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qb(e,t)}function kQ(e,t){return t&&(DQ(t)==="object"||typeof t=="function")?t:ne(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}function DQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zb(e){var t=LQ();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kQ(this,o)}}var jQ=function(e){Jb(r,e);var t=Zb(r);function r(n){Xb(this,r);var o;return o=t.call(this,n),re(ne(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),ko.call(ne(o),n,dn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:v.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:v.getMessage("rootNodeIsRequired")}}}]),o}return r}(_e),FQ=function(e){Jb(r,e);var t=Zb(r);function r(n){Xb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(G),yi=function(e){Jb(r,e);var t=Zb(r);function r(n){Xb(this,r);var o,i;o=t.call(this,n),re(ne(o),"placeholder",void 0),re(ne(o),"multiple",void 0),re(ne(o),"canSearch",void 0),re(ne(o),"levelType",void 0),re(ne(o),"optionalLevel",void 0),re(ne(o),"containsSubNode",void 0),re(ne(o),"defaultDisplay",void 0),re(ne(o),"isShowIncludeSub",void 0),re(ne(o),"isDefaultCheckSub",void 0),re(ne(o),"isShowFilterItem",void 0),re(ne(o),"defaultCollapse",void 0),re(ne(o),"defaultCollapseLevel",void 0),re(ne(o),"optionConfig","datasource"),re(ne(o),"datasourceBind",void 0),re(ne(o),"filterItemDatasourceBind",void 0),re(ne(o),"multistageFilling",void 0),re(ne(o),"defaultValue",void 0),re(ne(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:dn.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var d;o.containsSubNode=(d=n==null?void 0:n.containsSubNode)!==null&&d!==void 0?d:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var g;o.isShowIncludeSub=(g=n==null?void 0:n.isShowIncludeSub)!==null&&g!==void 0?g:!1;var h;o.isDefaultCheckSub=(h=n==null?void 0:n.isDefaultCheckSub)!==null&&h!==void 0?h:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var p;o.defaultCollapseLevel=(p=n==null?void 0:n.defaultCollapseLevel)!==null&&p!==void 0?p:1;var O;o.datasourceBind=new rp((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:dn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new rp((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:dn.controlCustomAttributes});var w;o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1;var T;o.defaultDisplay=(T=n==null?void 0:n.defaultDisplay)!==null&&T!==void 0?T:!1;var $;o.multistageFilling=($=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(L){return new Ee(L)}))!==null&&$!==void 0?$:[];var S;return o.defaultValue=(S=n==null?void 0:n.defaultValue)!==null&&S!==void 0?S:[],o}return r}(A);re(yi,"Rules",jQ),re(yi,"RuntimeRules",FQ);function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xQ(e,t,r){return t&&KB(e.prototype,t),r&&KB(e,r),e}function ya(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function zQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eg(e,t)}function VQ(e,t){return t&&(GQ(t)==="object"||typeof t=="function")?t:WB(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(e,t)}function GQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HQ(e){var t=YQ();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VQ(this,o)}}var dn=function(e){zQ(r,e);var t=HQ(r);function r(n){CQ(this,r);var o;return o=t.call(this,n),ya(WB(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return xQ(r,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}]}}]),r}(k);ya(dn,"controlEventKeys",["on_change","on_click"]),ya(dn,"controlFieldType",c.FieldTypes.ARRAY),ya(dn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.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 XB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UQ(e,t,r){return t&&JB(e.prototype,t),r&&JB(e,r),e}function QB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(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&&tg(e,t)}function KQ(e,t){return t&&(XQ(t)==="object"||typeof t=="function")?t:XB(e)}function tg(e,t){return tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tg(e,t)}function XQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QQ(e){var t=JQ();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KQ(this,o)}}var ZB=function(e){WQ(r,e);var t=QQ(r);function r(n){qQ(this,r);var o;return o=t.call(this,n),QB(XB(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return UQ(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(D);QB(ZB,"controlFieldType",c.FieldTypes.ARRAY);var e3={Designer:dn,Runtime:ZB,Property:yi};function de(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(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&&og(e,t)}function ZQ(e,t){return t&&(eZ(t)==="object"||typeof t=="function")?t:de(e)}function og(e,t){return og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},og(e,t)}function eZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ig(e){var t=tZ();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZQ(this,o)}}var nZ=function(e){rg(r,e);var t=ig(r);function r(n){ng(this,r);var o;return o=t.call(this,n),ve(de(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),ve(de(o),"externalScope",{type:"any"}),ko.call(de(o),n,qr.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:v.getMessage("pleaseAssignExternal")}),o}return r}(_e),rZ=function(e){rg(r,e);var t=ig(r);function r(n){ng(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(G),pi=function(e){rg(r,e);var t=ig(r);function r(n){ng(this,r);var o;o=t.call(this,n),ve(de(o),"showType",void 0),ve(de(o),"range",void 0),ve(de(o),"rangeOptions",void 0),ve(de(o),"multiple",void 0),ve(de(o),"defaultValueType",void 0),ve(de(o),"defaultValue",void 0),ve(de(o),"multistageFilling",void 0),ve(de(o),"datasourceBind",void 0),ve(de(o),"datasourceType",void 0),ve(de(o),"insideType",void 0),ve(de(o),"externalType",void 0),ve(de(o),"externalScope",void 0),ve(de(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:qr.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new Io((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:qr.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.OrganizeType.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:c.InternalType.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:c.AssignType.ALL;var p;o.externalScope=(p=n==null?void 0:n.externalScope)!==null&&p!==void 0?p:[];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(P){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Ee(P))})),o}return r}(A);ve(pi,"Rules",nZ),ve(pi,"RuntimeRules",rZ);function t3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iZ(e,t,r){return t&&n3(e.prototype,t),r&&n3(e,r),e}function ug(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function uZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cg(e,t)}function cZ(e,t){return t&&(lZ(t)==="object"||typeof t=="function")?t:t3(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cg(e,t)}function lZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aZ(e){var t=fZ();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cZ(this,o)}}var qr=function(e){uZ(r,e);var t=aZ(r);function r(n){oZ(this,r);var o;return o=t.call(this,n),ug(t3(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return iZ(r,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}]}}]),r}(k);ug(qr,"controlFieldType",c.FieldTypes.EMPLOYEES),ug(qr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 r3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _Z(e,t,r){return t&&o3(e.prototype,t),r&&o3(e,r),e}function i3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function 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&&lg(e,t)}function pZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:r3(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lg(e,t)}function dZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hZ(e){var t=vZ();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pZ(this,o)}}var u3=function(e){yZ(r,e);var t=hZ(r);function r(n){sZ(this,r);var o;return o=t.call(this,n),i3(r3(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return _Z(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(D);i3(u3,"controlFieldType",c.FieldTypes.EMPLOYEES);var c3={Designer:qr,Runtime:u3,Property:pi};function Et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function f3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fg(e,t)}function bZ(e,t){return t&&(gZ(t)==="object"||typeof t=="function")?t:Et(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}function gZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a3(e){var t=mZ();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bZ(this,o)}}var OZ=function(e){f3(r,e);var t=a3(r);function r(n){l3(this,r);var o;return o=t.call(this,n),It(Et(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(i,u,l){return i[l]={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,s,_){if(u.type==="public"&&$n(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,s,_){if(u.type==="public"&&u.signatureType.includes("company")&&$n(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(_e),ma=function(e){f3(r,e);var t=a3(r);function r(n){l3(this,r);var o;o=t.call(this,n),It(Et(o),"buttonType",void 0),It(Et(o),"content",void 0),It(Et(o),"showType",void 0),It(Et(o),"color",void 0),It(Et(o),"icon",void 0),It(Et(o),"command",""),It(Et(o),"isLoading",!1),It(Et(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:di.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var l;o.buttonType=(l=n==null?void 0:n.buttonType)!==null&&l!==void 0?l:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new I$(n==null?void 0:n.signatureConfig),o}return r}(A);It(ma,"Rules",OZ);function s3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PZ(e,t,r){return t&&_3(e.prototype,t),r&&_3(e,r),e}function Oa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function $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&&ag(e,t)}function RZ(e,t){return t&&(TZ(t)==="object"||typeof t=="function")?t:s3(e)}function ag(e,t){return ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ag(e,t)}function TZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EZ(e){var t=SZ();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RZ(this,o)}}var di=function(e){$Z(r,e);var t=EZ(r);function r(n){wZ(this,r);var o;return o=t.call(this,n),Oa(s3(o),"props",void 0),o.props=new ma(n==null?void 0:n.props),o}return PZ(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);Oa(di,"controlEventKeys",["on_click","on_click_finish"]),Oa(di,"controlFieldType",c.FieldTypes.VARCHAR),Oa(di,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 y3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BZ(e,t,r){return t&&p3(e.prototype,t),r&&p3(e,r),e}function d3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function 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&&sg(e,t)}function MZ(e,t){return t&&(AZ(t)==="object"||typeof t=="function")?t:y3(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}function AZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DZ(e){var t=kZ();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MZ(this,o)}}var v3=function(e){NZ(r,e);var t=DZ(r);function r(n){IZ(this,r);var o;return o=t.call(this,n),d3(y3(o),"props",void 0),o.props=new ma(n==null?void 0:n.props),o}return BZ(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(D);d3(v3,"controlFieldType",c.FieldTypes.VARCHAR);var h3={Designer:di,Runtime:v3,Property:ma};function Te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function yg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pg(e,t)}function LZ(e,t){return t&&(jZ(t)==="object"||typeof t=="function")?t:Te(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(e,t)}function jZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dg(e){var t=FZ();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LZ(this,o)}}var CZ=function(e){yg(r,e);var t=dg(r);function r(n){_g(this,r);var o;return o=t.call(this,n),he(Te(o),"content",{type:"string",required:!0,message:v.getMessage("pleaseEnterButtonContent")}),he(Te(o),"canAdd",void 0),he(Te(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,l,f){if(l.active&&!l.text){f(v.getMessage("pleaseEnterWatermark"));return}f()}},autoRename:{type:"object",validator:function(u,l,f){if(l.active&&!l.text){f(v.getMessage("pleaseEnterFileName"));return}f()}}}}),o.canAdd={type:"boolean",validator:function(u,l,f){if(n.canAdd&&!n.addLocal&&!n.addOnline){f(v.getMessage("pleaseChooseAtLeastOne"));return}f()}},o}return r}(_e),xZ=function(e){yg(r,e);var t=dg(r);function r(n){_g(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(G),vi=function(e){yg(r,e);var t=dg(r);function r(n){_g(this,r);var o;o=t.call(this,n),he(Te(o),"content",void 0),he(Te(o),"canAdd",void 0),he(Te(o),"addLocal",void 0),he(Te(o),"addOnline",void 0),he(Te(o),"canDownload",void 0),he(Te(o),"canEdit",void 0),he(Te(o),"canExport",void 0),he(Te(o),"canDelete",void 0),he(Te(o),"wpsSetting",void 0),he(Te(o),"maxSize",void 0),he(Te(o),"defaultValue",void 0),he(Te(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hi.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var l;o.canAdd=(l=n==null?void 0:n.canAdd)!==null&&l!==void 0?l:!0;var f;o.addLocal=(f=n==null?void 0:n.addLocal)!==null&&f!==void 0?f:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var d;o.canExport=(d=n==null?void 0:n.canExport)!==null&&d!==void 0?d:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var g;o.maxSize=(g=n==null?void 0:n.maxSize)!==null&&g!==void 0?g:xU;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new B$(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 r}(A);he(vi,"Rules",CZ),he(vi,"RuntimeRules",xZ);function b3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VZ(e,t,r){return t&&g3(e.prototype,t),r&&g3(e,r),e}function Ra(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function GZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vg(e,t)}function YZ(e,t){return t&&(HZ(t)==="object"||typeof t=="function")?t:b3(e)}function vg(e,t){return vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vg(e,t)}function HZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UZ(e){var t=qZ();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YZ(this,o)}}var hi=function(e){GZ(r,e);var t=UZ(r);function r(n){zZ(this,r);var o;return o=t.call(this,n),Ra(b3(o),"props",void 0),o.props=new vi(n==null?void 0:n.props),o}return VZ(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(k);Ra(hi,"controlEventKeys",["on_change","on_wps_open"]),Ra(hi,"controlFieldType",c.FieldTypes.FILE),Ra(hi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.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 m3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KZ(e,t,r){return t&&O3(e.prototype,t),r&&O3(e,r),e}function w3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function XZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hg(e,t)}function JZ(e,t){return t&&(QZ(t)==="object"||typeof t=="function")?t:m3(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}function QZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eee(e){var t=ZZ();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JZ(this,o)}}var P3=function(e){XZ(r,e);var t=eee(r);function r(n){WZ(this,r);var o;return o=t.call(this,n),w3(m3(o),"props",void 0),o.props=new vi(n==null?void 0:n.props),o}return KZ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(D);w3(P3,"controlFieldType",c.FieldTypes.FILE);var $3={Designer:hi,Runtime:P3,Property:vi};function ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(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&&mg(e,t)}function tee(e,t){return t&&(nee(t)==="object"||typeof t=="function")?t:ae(e)}function mg(e,t){return mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mg(e,t)}function nee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ree(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Og(e){var t=ree();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tee(this,o)}}var oee=function(e){gg(r,e);var t=Og(r);function r(n){bg(this,r);var o;return o=t.call(this,n),se(ae(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),se(ae(o),"businessScope",{type:"any"}),ko.call(ae(o),n,Mn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(_e),iee=function(e){gg(r,e);var t=Og(r);function r(n){bg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(G),bi=function(e){gg(r,e);var t=Og(r);function r(n){bg(this,r);var o;o=t.call(this,n),se(ae(o),"showType",void 0),se(ae(o),"range",void 0),se(ae(o),"defaultValueType",void 0),se(ae(o),"multiple",void 0),se(ae(o),"rangeOptions",void 0),se(ae(o),"defaultValue",void 0),se(ae(o),"displayLevel",void 0),se(ae(o),"showSubDept",void 0),se(ae(o),"multistageFilling",void 0),se(ae(o),"datasourceBind",void 0),se(ae(o),"datasourceType",void 0),se(ae(o),"businessType",void 0),se(ae(o),"businessScope",void 0),se(ae(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Mn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;o.datasourceBind=new Io((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Mn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var p;o.businessScope=(p=n==null?void 0:n.businessScope)!==null&&p!==void 0?p:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:c.AssignType.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new Ee(w))})),o}return r}(A);se(bi,"Rules",oee),se(bi,"RuntimeRules",iee);function R3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cee(e,t,r){return t&&T3(e.prototype,t),r&&T3(e,r),e}function Ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ba=Reflect.get:Ba=function(o,i,u){var l=aee(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Ba(e,t,r||e)}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wg(e,t)}function fee(e,t){return t&&(see(t)==="object"||typeof t=="function")?t:R3(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}function aee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ur(e),e!==null););return e}function see(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yee(e){var t=_ee();return function(){var n=Ur(e),o;if(t){var i=Ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fee(this,o)}}var Mn=function(e){lee(r,e);var t=yee(r);function r(n){uee(this,r);var o;return o=t.call(this,n),Ia(R3(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return cee(r,[{key:"toDataBindModel",value:function(o){var i=Ba(Ur(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.displayLevel,f=u.showSubDept;i.props.displayLevel=l,i.props.showSubDept=f}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);Ia(Mn,"controlName","\u90E8\u95E8"),Ia(Mn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Ia(Mn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 S3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dee(e,t,r){return t&&E3(e.prototype,t),r&&E3(e,r),e}function I3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function vee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pg(e,t)}function hee(e,t){return t&&(bee(t)==="object"||typeof t=="function")?t:S3(e)}function Pg(e,t){return Pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pg(e,t)}function bee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mee(e){var t=gee();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hee(this,o)}}var B3=function(e){vee(r,e);var t=mee(r);function r(n){pee(this,r);var o;return o=t.call(this,n),I3(S3(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return dee(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(D);I3(B3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var N3={Designer:Mn,Runtime:B3,Property:bi};function K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(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&&Tg(e,t)}function Oee(e,t){return t&&(wee(t)==="object"||typeof t=="function")?t:K(e)}function Tg(e,t){return Tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tg(e,t)}function wee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sg(e){var t=Pee();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oee(this,o)}}var $ee=function(e){Rg(r,e);var t=Sg(r);function r(n){$g(this,r);var o;return o=t.call(this,n),X(K(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),X(K(o),"businessScope",{type:"any"}),ko.call(K(o),n,An.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(_e),Ree=function(e){Rg(r,e);var t=Sg(r);function r(n){$g(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(G),gi=function(e){Rg(r,e);var t=Sg(r);function r(n){$g(this,r);var o;o=t.call(this,n),X(K(o),"showType",void 0),X(K(o),"range",void 0),X(K(o),"defaultValueType",void 0),X(K(o),"multiple",void 0),X(K(o),"rangeOptions",void 0),X(K(o),"defaultValue",void 0),X(K(o),"displayLevel",void 0),X(K(o),"showSubDept",void 0),X(K(o),"multistageFilling",void 0),X(K(o),"datasourceBind",void 0),X(K(o),"listPageBind",void 0),X(K(o),"datasourceType",void 0),X(K(o),"businessType",void 0),X(K(o),"businessScope",void 0),X(K(o),"organizingFunction",void 0),X(K(o),"organizationView",void 0),X(K(o),"openMultistageFilling",void 0),X(K(o),"showSelectedDetail",void 0),X(K(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all",o.listPageBind=new qi(n==null?void 0:n.listPageBind);var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:An.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var h;o.datasourceBind=new aP((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:An.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var p;o.businessScope=(p=n==null?void 0:n.businessScope)!==null&&p!==void 0?p:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:c.AssignType.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var w;o.organizationView=(w=n==null?void 0:n.organizationView)!==null&&w!==void 0?w:void 0;var T;o.showSelectedDetail=(T=n==null?void 0:n.showSelectedDetail)!==null&&T!==void 0?T:!1,o.selectedContentConfig=new Ki(n==null?void 0:n.selectedContentConfig);var $;return o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(S){var L;(L=o.multistageFilling)===null||L===void 0||L.push(new Ee(S))})),o}return r}(A);X(gi,"Rules",$ee),X(gi,"RuntimeRules",Ree);function M3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function See(e,t,r){return t&&A3(e.prototype,t),r&&A3(e,r),e}function Aa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ka=Reflect.get:ka=function(o,i,u){var l=Bee(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},ka(e,t,r||e)}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function Eee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eg(e,t)}function Iee(e,t){return t&&(Nee(t)==="object"||typeof t=="function")?t:M3(e)}function Eg(e,t){return Eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eg(e,t)}function Bee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wr(e),e!==null););return e}function Nee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aee(e){var t=Mee();return function(){var n=Wr(e),o;if(t){var i=Wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iee(this,o)}}var An=function(e){Eee(r,e);var t=Aee(r);function r(n){Tee(this,r);var o;return o=t.call(this,n),Aa(M3(o),"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return See(r,[{key:"toDataBindModel",value:function(o){var i=ka(Wr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.displayLevel,f=u.showSubDept;i.props.displayLevel=l,i.props.showSubDept=f}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);Aa(An,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Aa(An,"controlFieldType",c.FieldTypes.DEPARTMENTS),Aa(An,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.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 k3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dee(e,t,r){return t&&D3(e.prototype,t),r&&D3(e,r),e}function L3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function Lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ig(e,t)}function jee(e,t){return t&&(Fee(t)==="object"||typeof t=="function")?t:k3(e)}function Ig(e,t){return Ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ig(e,t)}function Fee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xee(e){var t=Cee();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jee(this,o)}}var j3=function(e){Lee(r,e);var t=xee(r);function r(n){kee(this,r);var o;return o=t.call(this,n),L3(k3(o),"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return Dee(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(D);L3(j3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var F3={Designer:An,Runtime:j3,Property:gi},zee=Object.freeze({__proto__:null,Input:wS,Checkbox:IS,Radio:CS,Number:qS,DatePicker:ZS,DateRange:fE,Textarea:vE,RichText:PE,Select:AE,SelectMultiple:xE,Employee:XE,Image:uI,Attachment:nI,Amount:yI,Score:mI,Address:BI,Department:xI,AutoNumber:WI,Calc:tB,SearchNumberRange:sB,SearchDateRange:OB,VueFormItem:EB,SelectRelation:FB,SearchInput:UB,Tree:e3,Employee2:c3,ElectronicSignature:h3,WPS:$3,Department2:N3,OrganizationSelection:F3});function Vee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yee(e,t,r){return t&&C3(e.prototype,t),r&&C3(e,r),e}function Hee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bg(e,t)}function Uee(e,t){return t&&(Wee(t)==="object"||typeof t=="function")?t:Vee(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}function Wee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xee(e){var t=Kee();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uee(this,o)}}var x3=function(e){qee(r,e);var t=Xee(r);function r(n){return Gee(this,r),t.call(this,n)}return Yee(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(W);Hee(x3,"excludes",[c.CONTROL_TYPE.GRID]);function Jee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zee(e,t,r){return t&&z3(e.prototype,t),r&&z3(e,r),e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function ete(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ng(e,t)}function tte(e,t){return t&&(nte(t)==="object"||typeof t=="function")?t:Jee(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ng(e,t)}function nte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ote(e){var t=rte();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tte(this,o)}}var ite=function(e){ete(r,e);var t=ote(r);function r(n){return Qee(this,r),t.call(this,n)}return Zee(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(ee),V3={Designer:x3,Runtime:ite,Property:Y};function Mg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ute(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ag(e,t)}function lte(e,t){return t&&(fte(t)==="object"||typeof t=="function")?t:Mg(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(e,t)}function fte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ste(e){var t=ate();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lte(this,o)}}var _te=24,kn=function(e){cte(r,e);var t=ste(r);function r(n){ute(this,r);var o;o=t.call(this,n),G3(Mg(o),"span",void 0),G3(Mg(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:_te;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(Y);function Y3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pte(e,t,r){return t&&H3(e.prototype,t),r&&H3(e,r),e}function kg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function dte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dg(e,t)}function vte(e,t){return t&&(hte(t)==="object"||typeof t=="function")?t:Y3(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dg(e,t)}function hte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gte(e){var t=bte();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vte(this,o)}}var mi=function(e){dte(r,e);var t=gte(r);function r(n){yte(this,r);var o;return o=t.call(this,n),kg(Y3(o),"props",void 0),o.props=new kn(n==null?void 0:n.props),o}return pte(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(W);kg(mi,"excludes",[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.DIVIDER]),kg(mi,"childrenMaxLength",1);function q3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ote(e,t,r){return t&&U3(e.prototype,t),r&&U3(e,r),e}function wte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function Pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lg(e,t)}function $te(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:q3(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}function Rte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ste(e){var t=Tte();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $te(this,o)}}var jg=function(e){Pte(r,e);var t=Ste(r);function r(n){mte(this,r);var o;return o=t.call(this,n),wte(q3(o),"props",void 0),o.props=new kn(n==null?void 0:n.props),o}return Ote(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(ee),za={Designer:mi,Runtime:jg,Property:kn};function Fg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ete(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function Ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cg(e,t)}function Bte(e,t){return t&&(Nte(t)==="object"||typeof t=="function")?t:Fg(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(e,t)}function Nte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ate(e){var t=Mte();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bte(this,o)}}var Ga=function(e){Ite(r,e);var t=Ate(r);function r(n){Ete(this,r);var o;o=t.call(this,n),W3(Fg(o),"layoutMode",void 0),W3(Fg(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(Y);function K3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dte(e,t,r){return t&&X3(e.prototype,t),r&&X3(e,r),e}function xg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function Lte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function jte(e,t){return t&&(Fte(t)==="object"||typeof t=="function")?t:K3(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}function Fte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xte(e){var t=Cte();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jte(this,o)}}var Ha=function(e){Lte(r,e);var t=xte(r);function r(n){kte(this,r);var o;return o=t.call(this,n),xg(K3(o),"props",void 0),o.props=new Ga(n==null?void 0:n.props),o}return Dte(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(W);xg(Ha,"excludes",[c.CONTROL_TYPE.ROW]),xg(Ha,"setting",[{key:"col-setting",visible:!0}]);function J3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vte(e,t,r){return t&&Q3(e.prototype,t),r&&Q3(e,r),e}function Gte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function Yte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vg(e,t)}function Hte(e,t){return t&&(qte(t)==="object"||typeof t=="function")?t:J3(e)}function Vg(e,t){return Vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vg(e,t)}function qte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wte(e){var t=Ute();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hte(this,o)}}var Z3=function(e){Yte(r,e);var t=Wte(r);function r(n){zte(this,r);var o;return o=t.call(this,n),Gte(J3(o),"props",void 0),o.props=new Ga(n==null?void 0:n.props),o}return Vte(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(ee),eN={Designer:Ha,Runtime:Z3,Property:Ga};function Kte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jte(e,t,r){return t&&tN(e.prototype,t),r&&tN(e,r),e}function Gg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function Qte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yg(e,t)}function Zte(e,t){return t&&(ene(t)==="object"||typeof t=="function")?t:Kte(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function ene(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nne(e){var t=tne();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zte(this,o)}}var rne=4,Wa=function(e){Qte(r,e);var t=nne(r);function r(n){return Xte(this,r),t.call(this,n)}return Jte(r,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"}}]),r}(Ha);Gg(Wa,"excludes",[c.CONTROL_TYPE.GRID_ROW]),Gg(Wa,"setting",[]),Gg(Wa,"childrenMaxLength",rne);function one(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ine(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function une(e,t,r){return t&&nN(e.prototype,t),r&&nN(e,r),e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function cne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hg(e,t)}function lne(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:one(e)}function Hg(e,t){return Hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hg(e,t)}function fne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ane(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sne(e){var t=ane();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lne(this,o)}}var _ne=function(e){cne(r,e);var t=sne(r);function r(n){return ine(this,r),t.call(this,n)}return une(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Z3);function yne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qg(e,t)}function vne(e,t){return t&&(hne(t)==="object"||typeof t=="function")?t:yne(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qg(e,t)}function hne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gne(e){var t=bne();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vne(this,o)}}var mne=function(e){dne(r,e);var t=gne(r);function r(n){return pne(this,r),t.call(this,n)}return r}(Ga),Ug={Designer:Wa,Runtime:_ne,Property:mne};function Ja(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function oN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wg(e,t)}function One(e,t){return t&&(wne(t)==="object"||typeof t=="function")?t:Ja(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wg(e,t)}function wne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iN(e){var t=Pne();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return One(this,o)}}var $ne=function(e){oN(r,e);var t=iN(r);function r(){rN(this,r);var n;return n=t.apply(this,arguments),Qa(Ja(n),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),n}return r}(Y.Rules),es=function(e){oN(r,e);var t=iN(r);function r(n){rN(this,r);var o;o=t.call(this,n),Qa(Ja(o),"caption",void 0),Qa(Ja(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(Y);Qa(es,"Rules",$ne);function uN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tne(e,t,r){return t&&cN(e.prototype,t),r&&cN(e,r),e}function Kg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function Sne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xg(e,t)}function Ene(e,t){return t&&(Ine(t)==="object"||typeof t=="function")?t:uN(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xg(e,t)}function Ine(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nne(e){var t=Bne();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ene(this,o)}}var Jg=function(e){Sne(r,e);var t=Nne(r);function r(n){Rne(this,r);var o;return o=t.call(this,n),Kg(uN(o),"props",void 0),o.props=new es(n==null?void 0:n.props),o}return Tne(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(W);Kg(Jg,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Kg(Jg,"excludes",[c.CONTROL_TYPE.CARD_GROUP]);function lN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ane(e,t,r){return t&&fN(e.prototype,t),r&&fN(e,r),e}function kne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function Dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qg(e,t)}function Lne(e,t){return t&&(jne(t)==="object"||typeof t=="function")?t:lN(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qg(e,t)}function jne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cne(e){var t=Fne();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lne(this,o)}}var xne=function(e){Dne(r,e);var t=Cne(r);function r(n){Mne(this,r);var o;return o=t.call(this,n),kne(lN(o),"props",void 0),o.props=new es(n==null?void 0:n.props),o}return Ane(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(ee),aN={Designer:Jg,Runtime:xne,Property:es};function Bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function _N(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zg(e,t)}function zne(e,t){return t&&(Vne(t)==="object"||typeof t=="function")?t:Bt(e)}function Zg(e,t){return Zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zg(e,t)}function Vne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yN(e){var t=Gne();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zne(this,o)}}var Yne=function(e){_N(r,e);var t=yN(r);function r(n){sN(this,r);var o;return o=t.call(this,n),Nt(Bt(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Nt(Bt(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),Nt(Bt(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(oe),os=function(e){_N(r,e);var t=yN(r);function r(n){sN(this,r);var o;o=t.call(this,n),Nt(Bt(o),"metaAutoWidth",void 0),Nt(Bt(o),"caption",void 0),Nt(Bt(o),"fixed",void 0),Nt(Bt(o),"isShowCaptionTip",void 0),Nt(Bt(o),"captionTip",void 0),Nt(Bt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var 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 a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new Zy(n==null?void 0:n.metaAutoWidth),o}return r}(Y);Nt(os,"Rules",Yne);function pN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(e)}function qne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&em(e,t)}function Une(e,t){return t&&(Wne(t)==="object"||typeof t=="function")?t:pN(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}function Wne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xne(e){var t=Kne();return function(){var n=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Une(this,o)}}var ht=function(e){qne(r,e);var t=Xne(r);function r(n){Hne(this,r);var o;return o=t.call(this,n),Dn(pN(o),"props",void 0),o.props=new os(n==null?void 0:n.props),o}return r}(W);Dn(ht,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Dn(ht,"controlType","subtable-column"),Dn(ht,"controlIcon","subtable-column"),Dn(ht,"childrenMaxLength",1),Dn(ht,"excludes",[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),Dn(ht,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",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 Jne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function Qne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function Zne(e,t){return t&&(ere(t)==="object"||typeof t=="function")?t:dN(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}function ere(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nre(e){var t=tre();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zne(this,o)}}var hN=function(e){Qne(r,e);var t=nre(r);function r(n){Jne(this,r);var o;return o=t.call(this,n),vN(dN(o),"props",void 0),o.props=new os(n==null?void 0:n.props),o}return r}(ee);vN(hN,"controlType","subtable-column");var nm={Designer:ht,Runtime:hN,Property:os};function rre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ore(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function ire(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rm(e,t)}function ure(e,t){return t&&(cre(t)==="object"||typeof t=="function")?t:rre(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}function cre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fre(e){var t=lre();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ure(this,o)}}var om=function(e){ire(r,e);var t=fre(r);function r(n){return ore(this,r),t.call(this,n)}return r}(Y);function bN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function are(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function sre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&im(e,t)}function _re(e,t){return t&&(yre(t)==="object"||typeof t=="function")?t:bN(e)}function im(e,t){return im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},im(e,t)}function yre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dre(e){var t=pre();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _re(this,o)}}var jn=function(e){sre(r,e);var t=dre(r);function r(n){are(this,r);var o;return o=t.call(this,n),Ln(bN(o),"props",void 0),o.props=new om(n==null?void 0:n.props),o}return r}(W);Ln(jn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Ln(jn,"controlType","subtable-row"),Ln(jn,"controlIcon","subtable-row"),Ln(jn,"childrenMaxLength",1),Ln(jn,"excludes",[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.SUBTABLE_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),Ln(jn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function gN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hre(e,t,r){return t&&mN(e.prototype,t),r&&mN(e,r),e}function bre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function gre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&um(e,t)}function mre(e,t){return t&&(Ore(t)==="object"||typeof t=="function")?t:gN(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(e,t)}function Ore(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pre(e){var t=wre();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mre(this,o)}}var $re=function(e){gre(r,e);var t=Pre(r);function r(n){vre(this,r);var o;return o=t.call(this,n),bre(gN(o),"props",void 0),o.props=new om(n==null?void 0:n.props),o}return hre(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(ee),ON={Designer:jn,Runtime:$re,Property:om};function Xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function Tre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cm(e,t)}function Sre(e,t){return t&&(Ere(t)==="object"||typeof t=="function")?t:Xe(e)}function cm(e,t){return cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cm(e,t)}function Ere(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bre(e){var t=Ire();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sre(this,o)}}var lm=function(e){Tre(r,e);var t=Bre(r);function r(n){Rre(this,r);var o;o=t.call(this,n),ct(Xe(o),"widthType",void 0),ct(Xe(o),"width",void 0),ct(Xe(o),"caption",void 0),ct(Xe(o),"fieldCode",void 0),ct(Xe(o),"fieldType",void 0),ct(Xe(o),"fieldName",void 0),ct(Xe(o),"datasourceBind",void 0),ct(Xe(o),"fixed",void 0),ct(Xe(o),"textCleanFormart",void 0),ct(Xe(o),"decimalKeepPrecision",void 0),ct(Xe(o),"timestampDateType",void 0),ct(Xe(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:!1;var f;o.fieldCode=(f=n==null?void 0:n.fieldCode)!==null&&f!==void 0?f:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:c.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var d;o.decimalKeepPrecision=(d=n==null?void 0:n.decimalKeepPrecision)!==null&&d!==void 0?d:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:c.DateType.DATE;var g;return o.departmentDisplayLevel=(g=n==null?void 0:n.departmentDisplayLevel)!==null&&g!==void 0?g:1,o}return r}(Y);function wN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ss(e)}function Mre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fm(e,t)}function Are(e,t){return t&&(kre(t)==="object"||typeof t=="function")?t:wN(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function kre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lre(e){var t=Dre();return function(){var n=ss(e),o;if(t){var i=ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Are(this,o)}}var Cn=function(e){Mre(r,e);var t=Lre(r);function r(n){Nre(this,r);var o;return o=t.call(this,n),Fn(wN(o),"props",void 0),o.props=new lm(n==null?void 0:n.props),o}return r}(W);Fn(Cn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Fn(Cn,"controlType","gridtable-column"),Fn(Cn,"controlIcon","gridtable-column"),Fn(Cn,"childrenMaxLength",1),Fn(Cn,"excludes",[c.CONTROL_TYPE.GRID_TABLE,c.CONTROL_TYPE.GRID_TABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),Fn(Cn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function PN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function Fre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&am(e,t)}function Cre(e,t){return t&&(xre(t)==="object"||typeof t=="function")?t:PN(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function xre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vre(e){var t=zre();return function(){var n=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cre(this,o)}}var RN=function(e){Fre(r,e);var t=Vre(r);function r(n){jre(this,r);var o;return o=t.call(this,n),$N(PN(o),"props",void 0),o.props=new lm(n==null?void 0:n.props),o}return r}(ee);$N(RN,"controlType","gridtable-column");var TN={Designer:Cn,Runtime:RN,Property:lm};function sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ys(e)}function Yre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:sm(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}function qre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ure(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wre(e){var t=Ure();return function(){var n=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hre(this,o)}}var ym=function(e){Yre(r,e);var t=Wre(r);function r(n){Gre(this,r);var o;o=t.call(this,n),SN(sm(o),"childMinWidth",void 0),SN(sm(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(Y);function EN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xre(e,t,r){return t&&IN(e.prototype,t),r&&IN(e,r),e}function pm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function Jre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dm(e,t)}function Qre(e,t){return t&&(Zre(t)==="object"||typeof t=="function")?t:EN(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}function Zre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function toe(e){var t=eoe();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qre(this,o)}}var vm=function(e){Jre(r,e);var t=toe(r);function r(n){Kre(this,r);var o;return o=t.call(this,n),pm(EN(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return Xre(r,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"}}]),r}(W);pm(vm,"excludes",[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB]),pm(vm,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function BN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function noe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function roe(e,t,r){return t&&NN(e.prototype,t),r&&NN(e,r),e}function ooe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function ioe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hm(e,t)}function uoe(e,t){return t&&(coe(t)==="object"||typeof t=="function")?t:BN(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}function coe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function loe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function foe(e){var t=loe();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uoe(this,o)}}var aoe=function(e){ioe(r,e);var t=foe(r);function r(n){noe(this,r);var o;return o=t.call(this,n),ooe(BN(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return roe(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(ee),MN={Designer:vm,Runtime:aoe,Property:ym};function AN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function soe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(e)}function yoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bm(e,t)}function poe(e,t){return t&&(doe(t)==="object"||typeof t=="function")?t:AN(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}function doe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function voe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hoe(e){var t=voe();return function(){var n=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return poe(this,o)}}var gm=function(e){yoe(r,e);var t=hoe(r);function r(n){soe(this,r);var o;o=t.call(this,n),_oe(AN(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(Y);function mm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function DN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wm(e,t)}function boe(e,t){return t&&(goe(t)==="object"||typeof t=="function")?t:mm(e)}function wm(e,t){return wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wm(e,t)}function goe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function moe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LN(e){var t=moe();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return boe(this,o)}}var Ooe=function(e){DN(r,e);var t=LN(r);function r(n){kN(this,r);var o;return o=t.call(this,n),Om(mm(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),o}return r}(oe),bs=function(e){DN(r,e);var t=LN(r);function r(n){kN(this,r);var o;o=t.call(this,n),Om(mm(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:wi.controlName,o}return r}(Y);Om(bs,"Rules",Ooe);function jN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function woe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Poe(e,t,r){return t&&FN(e.prototype,t),r&&FN(e,r),e}function Pm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function $oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$m(e,t)}function Roe(e,t){return t&&(Toe(t)==="object"||typeof t=="function")?t:jN(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$m(e,t)}function Toe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Soe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eoe(e){var t=Soe();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Roe(this,o)}}var Oi=function(e){$oe(r,e);var t=Eoe(r);function r(n){woe(this,r);var o;return o=t.call(this,n),Pm(jN(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return Poe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(W);Pm(Oi,"excludes",[c.CONTROL_TYPE.TAB]),Pm(Oi,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function CN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ioe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Boe(e,t,r){return t&&xN(e.prototype,t),r&&xN(e,r),e}function Noe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function Moe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rm(e,t)}function Aoe(e,t){return t&&(koe(t)==="object"||typeof t=="function")?t:CN(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}function koe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Doe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Loe(e){var t=Doe();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aoe(this,o)}}var joe=function(e){Moe(r,e);var t=Loe(r);function r(n){Ioe(this,r);var o;return o=t.call(this,n),Noe(CN(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return Boe(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(ee),zN={Designer:Oi,Runtime:joe,Property:bs};function VN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Foe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Coe(e,t,r){return t&&GN(e.prototype,t),r&&GN(e,r),e}function Os(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function xoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tm(e,t)}function zoe(e,t){return t&&(Voe(t)==="object"||typeof t=="function")?t:VN(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function Voe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yoe(e){var t=Goe();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zoe(this,o)}}var wi=function(e){xoe(r,e);var t=Yoe(r);function r(n){Foe(this,r);var o;o=t.call(this,n),Os(VN(o),"props",void 0),o.props=new gm(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Oi,new Oi],o}return Coe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(W);Os(wi,"excludes",[c.CONTROL_TYPE.TAB]),Os(wi,"controlEventKeys",["on_change_tab"]),Os(wi,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qoe(e,t,r){return t&&HN(e.prototype,t),r&&HN(e,r),e}function Uoe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}function Woe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sm(e,t)}function Koe(e,t){return t&&(Xoe(t)==="object"||typeof t=="function")?t:YN(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}function Xoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Joe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qoe(e){var t=Joe();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Koe(this,o)}}var Zoe=function(e){Woe(r,e);var t=Qoe(r);function r(n){Hoe(this,r);var o;return o=t.call(this,n),Uoe(YN(o),"props",void 0),o.props=new gm(n==null?void 0:n.props),o}return qoe(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(ee),qN={Designer:wi,Runtime:Zoe,Property:gm};function eie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(e)}function nie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Em(e,t)}function rie(e,t){return t&&(oie(t)==="object"||typeof t=="function")?t:eie(e)}function Em(e,t){return Em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Em(e,t)}function oie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uie(e){var t=iie();return function(){var n=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rie(this,o)}}var UN=function(e){nie(r,e);var t=uie(r);function r(n){return tie(this,r),t.call(this,n)}return r}(Y);function WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lie(e,t,r){return t&&KN(e.prototype,t),r&&KN(e,r),e}function XN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function fie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Im(e,t)}function aie(e,t){return t&&(sie(t)==="object"||typeof t=="function")?t:WN(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}function sie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yie(e){var t=_ie();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aie(this,o)}}var JN=function(e){fie(r,e);var t=yie(r);function r(n){cie(this,r);var o;return o=t.call(this,n),XN(WN(o),"props",void 0),o.props=new UN({}),o.children=(n==null?void 0:n.children)||[new mi({props:new kn({span:12})}),new mi({props:new kn({span:12})})],o}return lie(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(W);XN(JN,"excludes",[c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.GRID,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.TOOLBOX]);function pie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function die(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vie(e,t,r){return t&&QN(e.prototype,t),r&&QN(e,r),e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ts(e)}function hie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bm(e,t)}function bie(e,t){return t&&(gie(t)==="object"||typeof t=="function")?t:pie(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}function gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oie(e){var t=mie();return function(){var n=Ts(e),o;if(t){var i=Ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bie(this,o)}}var wie=function(e){hie(r,e);var t=Oie(r);function r(n){die(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new jg({props:new kn({span:12})}),new jg({props:new kn({span:12})})],o}return vie(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(ee),ZN={Designer:JN,Runtime:wie,Property:UN};function z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(e)}function Mm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Am(e,t)}function Pie(e,t){return t&&($ie(t)==="object"||typeof t=="function")?t:z(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Am(e,t)}function $ie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function km(e){var t=Rie();return function(){var n=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pie(this,o)}}var e1;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(e1||(e1={}));var Tie=function(e){Mm(r,e);var t=km(r);function r(n){Nm(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(tn),Sie=function(e){Mm(r,e);var t=km(r);function r(n){Nm(this,r);var o;if(o=t.call(this,n),V(z(o),"triggerFieldCode",{type:"any"}),V(z(o),"datasourceBind",{type:"any"}),V(z(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),eu.call(z(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(oe),Pi=function(e){Mm(r,e);var t=km(r);function r(n){Nm(this,r);var o,i,u;o=t.call(this,n),V(z(o),"datasourceBind",void 0),V(z(o),"isLoading",void 0),V(z(o),"isShowSubList",void 0),V(z(o),"triggerType",void 0),V(z(o),"triggerFieldCode",void 0),V(z(o),"sublistPage",void 0),V(z(o),"isShowJoinRelation",void 0),V(z(o),"joinRelation",void 0),V(z(o),"showType",void 0),V(z(o),"showFullScreen",void 0),V(z(o),"isFixedHeader",void 0),V(z(o),"selectionType",void 0),V(z(o),"isShowSelection",void 0),V(z(o),"isAllLoaded",void 0),V(z(o),"countType",void 0),V(z(o),"countLimit",void 0),V(z(o),"rowStyleType",void 0),V(z(o),"rowStyleBgColor",void 0),V(z(o),"rowStyleRules",void 0),V(z(o),"rowStyleRulesScript",void 0),o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var f;o.isShowSubList=(f=n==null?void 0:n.isShowSubList)!==null&&f!==void 0?f:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var s;o.triggerFieldCode=(s=n==null?void 0:n.triggerFieldCode)!==null&&s!==void 0?s:"",o.sublistPage=new uP(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new lP(n==null?void 0:n.joinRelation);var d;o.showType=(d=n==null?void 0:n.showType)!==null&&d!==void 0?d:"stretch";var b;o.showFullScreen=(b=n==null?void 0:n.showFullScreen)!==null&&b!==void 0?b:!1;var g;o.selectionType=(g=n==null?void 0:n.selectionType)!==null&&g!==void 0?g:"multiple";var h;o.isFixedHeader=(h=n==null?void 0:n.isFixedHeader)!==null&&h!==void 0?h:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var p;o.isAllLoaded=(p=n==null?void 0:n.isAllLoaded)!==null&&p!==void 0?p:!0,o.countType=n==null?void 0:n.countType;var O;o.countLimit=(O=n==null?void 0:n.countLimit)!==null&&O!==void 0?O:1e5;var P;o.rowStyleType=(P=n==null?void 0:n.rowStyleType)!==null&&P!==void 0?P:"none";var w;o.rowStyleBgColor=(w=n==null?void 0:n.rowStyleBgColor)!==null&&w!==void 0?w:"theme";var T;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(T=n==null||(i=n.rowStyleRules)===null||i===void 0?void 0:i.map(function(S){return new PP(S)}))!==null&&T!==void 0?T:[]:[];var $;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?($=n==null||(u=n.rowStyleRulesScript)===null||u===void 0?void 0:u.map(function(S){return new $P(S)}))!==null&&$!==void 0?$:[]:[],o}return r}(Y);V(Pi,"Rules",Sie),V(Pi,"RuntimeRules",Tie);function t1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iie(e,t,r){return t&&n1(e.prototype,t),r&&n1(e,r),e}function $i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Es(e){return Es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Es(e)}function Bie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dm(e,t)}function Nie(e,t){return t&&(Mie(t)==="object"||typeof t=="function")?t:t1(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(e,t)}function Mie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kie(e){var t=Aie();return function(){var n=Es(e),o;if(t){var i=Es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nie(this,o)}}var Ri=function(e){Bie(r,e);var t=kie(r);function r(n){Eie(this,r);var o;return o=t.call(this,n),$i(t1(o),"props",void 0),o.props=new Pi(n==null?void 0:n.props),o}return Iie(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(W);$i(Ri,"slotPosition",{left:"list-view-left-slot"}),$i(Ri,"excludes",[c.CONTROL_TYPE.ROW]),$i(Ri,"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"]),$i(Ri,"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 r1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Die(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lie(e,t,r){return t&&o1(e.prototype,t),r&&o1(e,r),e}function jie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(e)}function Fie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lm(e,t)}function Cie(e,t){return t&&(xie(t)==="object"||typeof t=="function")?t:r1(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(e,t)}function xie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vie(e){var t=zie();return function(){var n=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cie(this,o)}}var Gie=function(e){Fie(r,e);var t=Vie(r);function r(n){Die(this,r);var o;return o=t.call(this,n),jie(r1(o),"props",void 0),o.props=new Pi(n==null?void 0:n.props),o}return Lie(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(ee),jm={Designer:Ri,Runtime:Gie,Property:Pi};function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(e)}function u1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function Yie(e,t){return t&&(Hie(t)==="object"||typeof t=="function")?t:vn(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function Hie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c1(e){var t=qie();return function(){var n=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yie(this,o)}}var Uie=function(e){u1(r,e);var t=c1(r);function r(n){i1(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(tn),Ns=function(e){u1(r,e);var t=c1(r);function r(n){i1(this,r);var o;o=t.call(this,n),hn(vn(o),"save",void 0),hn(vn(o),"cancel",void 0),hn(vn(o),"saveAs",void 0),hn(vn(o),"print",void 0),hn(vn(o),"custom",void 0),hn(vn(o),"isLoading",void 0),hn(vn(o),"datasourceBind",void 0);var i;o.save=new Dt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Dt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var l;o.saveAs=new Dt((l=n==null?void 0:n.saveAs)!==null&&l!==void 0?l:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var f;o.print=new Dt((f=n==null?void 0:n.print)!==null&&f!==void 0?f:{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(_){return new Dt(_)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new ie(n==null?void 0:n.datasourceBind),o}return r}(Y);hn(Ns,"RuntimeRules",Uie);function l1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kie(e,t,r){return t&&f1(e.prototype,t),r&&f1(e,r),e}function a1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ms(e)}function Xie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cm(e,t)}function Jie(e,t){return t&&(Qie(t)==="object"||typeof t=="function")?t:l1(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(e,t)}function Qie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eue(e){var t=Zie();return function(){var n=Ms(e),o;if(t){var i=Ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jie(this,o)}}var s1=function(e){Xie(r,e);var t=eue(r);function r(n){Wie(this,r);var o;return o=t.call(this,n),a1(l1(o),"props",void 0),o.props=new Ns(n==null?void 0:n.props),o}return Kie(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(W);a1(s1,"excludes",[]);function _1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nue(e,t,r){return t&&y1(e.prototype,t),r&&y1(e,r),e}function rue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},As(e)}function oue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xm(e,t)}function iue(e,t){return t&&(uue(t)==="object"||typeof t=="function")?t:_1(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}function uue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lue(e){var t=cue();return function(){var n=As(e),o;if(t){var i=As(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iue(this,o)}}var fue=function(e){oue(r,e);var t=lue(r);function r(n){tue(this,r);var o;return o=t.call(this,n),rue(_1(o),"props",void 0),o.props=new Ns(n==null?void 0:n.props),o}return nue(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(ee),zm={Designer:s1,Runtime:fue,Property:Ns};function aue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _ue(e,t,r){return t&&p1(e.prototype,t),r&&p1(e,r),e}function ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(e)}function yue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vm(e,t)}function pue(e,t){return t&&(due(t)==="object"||typeof t=="function")?t:aue(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vm(e,t)}function due(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hue(e){var t=vue();return function(){var n=ks(e),o;if(t){var i=ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pue(this,o)}}var bue=function(e){yue(r,e);var t=hue(r);function r(n){return sue(this,r),t.call(this,n)}return _ue(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(W);function gue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oue(e,t,r){return t&&d1(e.prototype,t),r&&d1(e,r),e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function wue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gm(e,t)}function Pue(e,t){return t&&($ue(t)==="object"||typeof t=="function")?t:gue(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(e,t)}function $ue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tue(e){var t=Rue();return function(){var n=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pue(this,o)}}var Sue=function(e){wue(r,e);var t=Tue(r);function r(n){return mue(this,r),t.call(this,n)}return Oue(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(ee);function Kr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ti(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function Iue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ym(e,t)}function Bue(e,t){return t&&(Nue(t)==="object"||typeof t=="function")?t:Kr(e)}function Ym(e,t){return Ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ym(e,t)}function Nue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aue(e){var t=Mue();return function(){var n=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bue(this,o)}}var kue=function(e){Iue(r,e);var t=Aue(r);function r(n){Eue(this,r);var o;o=t.call(this,n),Ti(Kr(o),"hideHeader",void 0),Ti(Kr(o),"background","#fff"),Ti(Kr(o),"minWidth",""),Ti(Kr(o),"maxWidth",""),Ti(Kr(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(Y),v1={Designer:bue,Runtime:Sue,Property:kue};function Due(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jue(e,t,r){return t&&h1(e.prototype,t),r&&h1(e,r),e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function Fue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hm(e,t)}function Cue(e,t){return t&&(xue(t)==="object"||typeof t=="function")?t:Due(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function xue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vue(e){var t=zue();return function(){var n=js(e),o;if(t){var i=js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cue(this,o)}}var Gue=function(e){Fue(r,e);var t=Vue(r);function r(n){return Lue(this,r),t.call(this,n)}return jue(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(W);function Yue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function que(e,t,r){return t&&b1(e.prototype,t),r&&b1(e,r),e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function Uue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qm(e,t)}function Wue(e,t){return t&&(Kue(t)==="object"||typeof t=="function")?t:Yue(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qm(e,t)}function Kue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jue(e){var t=Xue();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wue(this,o)}}var Que=function(e){Uue(r,e);var t=Jue(r);function r(n){return Hue(this,r),t.call(this,n)}return que(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(ee);function Um(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cs(e)}function ece(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wm(e,t)}function tce(e,t){return t&&(nce(t)==="object"||typeof t=="function")?t:Um(e)}function Wm(e,t){return Wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wm(e,t)}function nce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oce(e){var t=rce();return function(){var n=Cs(e),o;if(t){var i=Cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tce(this,o)}}var ice=function(e){ece(r,e);var t=oce(r);function r(n){Zue(this,r);var o;return o=t.call(this,n),g1(Um(o),"display",void 0),g1(Um(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new L$(n==null?void 0:n.flexConfig),o}return r}(Y),m1={Designer:Gue,Runtime:Que,Property:ice};function uce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lce(e,t,r){return t&&O1(e.prototype,t),r&&O1(e,r),e}function xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xs(e)}function fce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Km(e,t)}function ace(e,t){return t&&(sce(t)==="object"||typeof t=="function")?t:uce(e)}function Km(e,t){return Km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Km(e,t)}function sce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yce(e){var t=_ce();return function(){var n=xs(e),o;if(t){var i=xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ace(this,o)}}var pce=function(e){fce(r,e);var t=yce(r);function r(n){return cce(this,r),t.call(this,n)}return lce(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(W);function dce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hce(e,t,r){return t&&w1(e.prototype,t),r&&w1(e,r),e}function zs(e){return zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zs(e)}function bce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xm(e,t)}function gce(e,t){return t&&(mce(t)==="object"||typeof t=="function")?t:dce(e)}function Xm(e,t){return Xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xm(e,t)}function mce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wce(e){var t=Oce();return function(){var n=zs(e),o;if(t){var i=zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gce(this,o)}}var Pce=function(e){bce(r,e);var t=wce(r);function r(n){return vce(this,r),t.call(this,n)}return hce(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(ee);function $ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function Tce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jm(e,t)}function Sce(e,t){return t&&(Ece(t)==="object"||typeof t=="function")?t:$ce(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}function Ece(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ice(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bce(e){var t=Ice();return function(){var n=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sce(this,o)}}var Nce=function(e){Tce(r,e);var t=Bce(r);function r(n){return Rce(this,r),t.call(this,n)}return r}(Y),P1={Designer:pce,Runtime:Pce,Property:Nce};function Mce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ace(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kce(e,t,r){return t&&$1(e.prototype,t),r&&$1(e,r),e}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gs(e)}function Dce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qm(e,t)}function Lce(e,t){return t&&(jce(t)==="object"||typeof t=="function")?t:Mce(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}function jce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cce(e){var t=Fce();return function(){var n=Gs(e),o;if(t){var i=Gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lce(this,o)}}var xce=function(e){Dce(r,e);var t=Cce(r);function r(n){return Ace(this,r),t.call(this,n)}return kce(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(W);function zce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gce(e,t,r){return t&&R1(e.prototype,t),r&&R1(e,r),e}function Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(e)}function Yce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zm(e,t)}function Hce(e,t){return t&&(qce(t)==="object"||typeof t=="function")?t:zce(e)}function Zm(e,t){return Zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zm(e,t)}function qce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wce(e){var t=Uce();return function(){var n=Ys(e),o;if(t){var i=Ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hce(this,o)}}var Kce=function(e){Yce(r,e);var t=Wce(r);function r(n){return Vce(this,r),t.call(this,n)}return Gce(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(ee);function Si(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(e)}function Jce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qce(e,t){return t&&(Zce(t)==="object"||typeof t=="function")?t:Si(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}function Zce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ele(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tle(e){var t=ele();return function(){var n=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qce(this,o)}}var nle=function(e){Jce(r,e);var t=tle(r);function r(n){Xce(this,r);var o;o=t.call(this,n),Hs(Si(o),"widthSpan",void 0),Hs(Si(o),"heightSpan",void 0),Hs(Si(o),"left",void 0),Hs(Si(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var l;o.left=(l=n==null?void 0:n.left)!==null&&l!==void 0?l:0;var f;return o.top=(f=n==null?void 0:n.top)!==null&&f!==void 0?f:0,o}return r}(Y),T1={Designer:xce,Runtime:Kce,Property:nle};function Us(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function ole(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function ile(e,t){return t&&(ule(t)==="object"||typeof t=="function")?t:Us(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function ule(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lle(e){var t=cle();return function(){var n=Ws(e),o;if(t){var i=Ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ile(this,o)}}var r0=function(e){ole(r,e);var t=lle(r);function r(n){rle(this,r);var o;o=t.call(this,n),t0(Us(o),"position",void 0),t0(Us(o),"opacity",void 0),t0(Us(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"right",o}return r}(Y);function S1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ale(e,t,r){return t&&E1(e.prototype,t),r&&E1(e,r),e}function Ks(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function sle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _le(e,t){return t&&(yle(t)==="object"||typeof t=="function")?t:S1(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function yle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ple(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dle(e){var t=ple();return function(){var n=Xs(e),o;if(t){var i=Xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _le(this,o)}}var Js=function(e){sle(r,e);var t=dle(r);function r(n){fle(this,r);var o;o=t.call(this,n),Ks(S1(o),"props",void 0);var i;return o.props=new r0((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return ale(r,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"}}]),r}(W);Ks(Js,"slotPosition",{default:"action-bar-slot"}),Ks(Js,"excludes",[]),Ks(Js,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function I1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hle(e,t,r){return t&&B1(e.prototype,t),r&&B1(e,r),e}function ble(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function gle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function mle(e,t){return t&&(Ole(t)==="object"||typeof t=="function")?t:I1(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function Ole(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ple(e){var t=wle();return function(){var n=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mle(this,o)}}var $le=function(e){gle(r,e);var t=Ple(r);function r(n){vle(this,r);var o;o=t.call(this,n),ble(I1(o),"props",void 0);var i;return o.props=new r0((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return hle(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(ee),N1={Designer:Js,Runtime:$le,Property:r0},Rle=Object.freeze({__proto__:null,Grid:V3,Col:za,Row:eN,GridRow:Ug,CardGroup:aN,SubTableColumn:nm,SubTableRow:ON,GridTableColumn:TN,GridLayoutContainer:MN,Tab:qN,TabPane:zN,Toolbox:ZN,ListView:jm,DataView:zm,Page:v1,AdvancedContainer:m1,PositioningContainer:P1,Position:T1,ActionBar:N1});function B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function c0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function Tle(e,t){return t&&(Sle(t)==="object"||typeof t=="function")?t:B(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function Sle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ele(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f0(e){var t=Ele();return function(){var n=Zs(e),o;if(t){var i=Zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tle(this,o)}}var Ile=function(e){c0(r,e);var t=f0(r);function r(n){u0(this,r);var o;return o=t.call(this,n),I(B(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),I(B(o),"limitRows",[{type:"number",required:!0,message:v.getMessage("isNotNumber")},{type:"number",min:0,message:v.getMessage("limitRowsCannotBeLessThan0")}]),I(B(o),"formKey",{type:"string",required:!1,message:v.getMessage("pleaseEnterForm")}),I(B(o),"maxHeight",{type:"number",required:!0,message:v.getMessage("pleaseEnterMaxHeight")}),I(B(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),I(B(o),"mobileRowCaption",{type:"string",required:!1,message:v.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(oe),Ble=function(e){c0(r,e);var t=f0(r);function r(n){u0(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:v.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,l,f){l.length<n.limitRows&&f(v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),f()},message:v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(tn),Ei=function(e){c0(r,e);var t=f0(r);function r(n,o){u0(this,r);var i;i=t.call(this,n,o,r.mode),I(B(i),"caption",void 0),I(B(i),"labelPosition",void 0),I(B(i),"isHideCaption",void 0),I(B(i),"isShowCaptionTip",void 0),I(B(i),"captionTip",void 0),I(B(i),"defaultState",void 0),I(B(i),"limitRows",void 0),I(B(i),"maxRows",void 0),I(B(i),"defaultRows",void 0),I(B(i),"datasourceBind",void 0),I(B(i),"printMode",void 0),I(B(i),"openType",void 0),I(B(i),"formKey",void 0),I(B(i),"useCustomHeight",void 0),I(B(i),"maxHeight",void 0),I(B(i),"canAdd",void 0),I(B(i),"canDelete",void 0),I(B(i),"canCheck",void 0),I(B(i),"canEdit",void 0),I(B(i),"canImport",void 0),I(B(i),"importConfig",void 0),I(B(i),"canExport",void 0),I(B(i),"exportConfig",void 0),I(B(i),"canClear",void 0),I(B(i),"isPaste",void 0),I(B(i),"mobileShowType",void 0),I(B(i),"mobileDefaultNum",void 0),I(B(i),"dataStorageDoc",void 0),I(B(i),"serverPagination",void 0),I(B(i),"fixedColumn",void 0),I(B(i),"mobileRowCaption",void 0),I(B(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Ii.controlName;var l;i.isHideCaption=(l=o==null?void 0:o.isHideCaption)!==null&&l!==void 0?l:!1;var f;i.defaultState=(f=o==null?void 0:o.defaultState)!==null&&f!==void 0?f:"default";var a;i.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var d;i.useCustomHeight=(d=o==null?void 0:o.useCustomHeight)!==null&&d!==void 0?d:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:k$;var g;i.printMode=(g=o==null?void 0:o.printMode)!==null&&g!==void 0?g:"row";var h;i.limitRows=(h=o==null?void 0:o.limitRows)!==null&&h!==void 0?h:1;var m;i.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var p;i.defaultRows=(p=o==null?void 0:o.defaultRows)!==null&&p!==void 0?p:1,i.datasourceBind=new ie(o==null?void 0:o.datasourceBind);var O;i.canAdd=(O=o==null?void 0:o.canAdd)!==null&&O!==void 0?O:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var w;i.canCheck=(w=o==null?void 0:o.canCheck)!==null&&w!==void 0?w:!1;var T;i.canEdit=(T=o==null?void 0:o.canEdit)!==null&&T!==void 0?T:!1;var $;i.canImport=($=o==null?void 0:o.canImport)!==null&&$!==void 0?$:!1;var S;i.canExport=(S=o==null?void 0:o.canExport)!==null&&S!==void 0?S:!1;var L;i.canClear=(L=o==null?void 0:o.canClear)!==null&&L!==void 0?L:!0;var xe;i.serverPagination=(xe=o==null?void 0:o.serverPagination)!==null&&xe!==void 0?xe:!1;var be;i.isShowCaptionTip=(be=o==null?void 0:o.isShowCaptionTip)!==null&&be!==void 0?be:!1;var ge;i.captionTip=(ge=o==null?void 0:o.captionTip)!==null&&ge!==void 0?ge:"";var Oo;i.mobileShowType=(Oo=o==null?void 0:o.mobileShowType)!==null&&Oo!==void 0?Oo:"list";var lr;i.mobileDefaultNum=(lr=o==null?void 0:o.mobileDefaultNum)!==null&&lr!==void 0?lr:10;var At;i.dataStorageDoc=(At=o==null?void 0:o.dataStorageDoc)!==null&&At!==void 0?At:new tP;var Ow;i.fixedColumn=(Ow=o==null?void 0:o.fixedColumn)!==null&&Ow!==void 0?Ow:[];var ww;i.mobileRowCaption=(ww=o==null?void 0:o.mobileRowCaption)!==null&&ww!==void 0?ww:"\u660E\u7EC6";var Pw;i.mobileIsTile=(Pw=o==null?void 0:o.mobileIsTile)!==null&&Pw!==void 0?Pw:!1;var $w;i.isPaste=($w=o==null?void 0:o.isPaste)!==null&&$w!==void 0?$w:!1;var Rw;i.pageSize=(Rw=o==null?void 0:o.pageSize)!==null&&Rw!==void 0?Rw:10;var Tw;return i.pageSizeOptions=(Tw=o==null?void 0:o.pageSizeOptions)!==null&&Tw!==void 0?Tw:[10,20,50,100],i.importConfig=new M$(o==null?void 0:o.importConfig),i.exportConfig=new A$(o==null?void 0:o.exportConfig),i}return r}(Lo);I(Ei,"Rules",Ile),I(Ei,"RuntimeRules",Ble);function a0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mle(e,t,r){return t&&M1(e.prototype,t),r&&M1(e,r),e}function e_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t_(e){return t_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},t_(e)}function Ale(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kle(e,t){return t&&(Dle(t)==="object"||typeof t=="function")?t:a0(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function Dle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jle(e){var t=Lle();return function(){var n=t_(e),o;if(t){var i=t_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kle(this,o)}}var Ii=function(e){Ale(r,e);var t=jle(r);function r(n){Nle(this,r);var o,i,u;return o=t.call(this,n),e_(a0(o),"props",void 0),o.props=new Ei(a0(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new ht,new ht,new ht]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return Mle(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ht,l=typeof o=="number"?o:i;return l===void 0?this.props.headers.push(u):this.props.headers.splice(l,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(pu);e_(Ii,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),e_(Ii,"slotPosition",{toolbar:"subtable-toolbar-slot"}),e_(Ii,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_PASTE,c.COMMON_SETTING_TYPE.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 _0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cle(e,t,r){return t&&A1(e.prototype,t),r&&A1(e,r),e}function xle(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(e)}function zle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function Vle(e,t){return t&&(Gle(t)==="object"||typeof t=="function")?t:_0(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function Gle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hle(e){var t=Yle();return function(){var n=n_(e),o;if(t){var i=n_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vle(this,o)}}var qle=function(e){zle(r,e);var t=Hle(r);function r(n){Fle(this,r);var o;return o=t.call(this,n),xle(_0(o),"props",void 0),o.props=new Ei(_0(o),n==null?void 0:n.props),o}return Cle(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Qt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(kp),k1={Designer:Ii,Runtime:qle,Property:Ei};function Xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ule(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r_(e){return r_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},r_(e)}function Wle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p0(e,t)}function Kle(e,t){return t&&(Xle(t)==="object"||typeof t=="function")?t:Xr(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}function Xle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qle(e){var t=Jle();return function(){var n=r_(e),o;if(t){var i=r_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kle(this,o)}}var d0=function(e){Wle(r,e);var t=Qle(r);function r(n,o){Ule(this,r);var i;i=t.call(this,n,o),Bi(Xr(i),"isFixedHeader",void 0),Bi(Xr(i),"selectionType",void 0),Bi(Xr(i),"isShowToolbar",void 0),Bi(Xr(i),"isShowSelection",void 0),Bi(Xr(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var l;i.isShowToolbar=(l=o==null?void 0:o.isShowToolbar)!==null&&l!==void 0?l:!0;var f;i.isShowSelection=(f=o==null?void 0:o.isShowSelection)!==null&&f!==void 0?f:!1;var a;i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var s;return i.pageSizeOptions=(s=o==null?void 0:o.pageSizeOptions)!==null&&s!==void 0?s:[10,20,50,100,500],i}return r}(Lo);function Zle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function efe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o_(e){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},o_(e)}function L1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function tfe(e,t){return t&&(nfe(t)==="object"||typeof t=="function")?t:Zle(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function nfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j1(e){var t=rfe();return function(){var n=o_(e),o;if(t){var i=o_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tfe(this,o)}}var ofe=function(e){L1(r,e);var t=j1(r);function r(n){D1(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(at),i_=function(e){L1(r,e);var t=j1(r);function r(n){D1(this,r);var o,i,u;o=t.call(this,n);var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"left";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:xn.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var d;return o.widthType=(d=n==null?void 0:n.widthType)!==null&&d!==void 0?d:"px",o}return r}(te);efe(i_,"Rules",ofe);function F1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ife(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},u_(e)}function ufe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cfe(e,t){return t&&(lfe(t)==="object"||typeof t=="function")?t:F1(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function lfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ffe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function afe(e){var t=ffe();return function(){var n=u_(e),o;if(t){var i=u_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cfe(this,o)}}var xn=function(e){ufe(r,e);var t=afe(r);function r(n){ife(this,r);var o;return o=t.call(this,n),Ni(F1(o),"props",void 0),o.props=new i_(n==null?void 0:n.props),o}return r}(le);Ni(xn,"controlType","order-column"),Ni(xn,"controlName","\u5E8F\u53F7"),Ni(xn,"controlIcon","order-column"),Ni(xn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function C1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c_(e){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c_(e)}function _fe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yfe(e,t){return t&&(pfe(t)==="object"||typeof t=="function")?t:C1(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function pfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vfe(e){var t=dfe();return function(){var n=c_(e),o;if(t){var i=c_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yfe(this,o)}}var m0=function(e){_fe(r,e);var t=vfe(r);function r(n){sfe(this,r);var o;return o=t.call(this,n),b0(C1(o),"props",void 0),o.props=new i_(n==null?void 0:n.props),o}return r}(fe);b0(m0,"controlType","order-column"),b0(m0,"controlFieldType",c.FieldTypes.DECIMAL);var x1={Designer:xn,Runtime:m0,Property:i_};function O0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l_(e){return l_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},l_(e)}function bfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function gfe(e,t){return t&&(mfe(t)==="object"||typeof t=="function")?t:O0(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function mfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ofe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wfe(e){var t=Ofe();return function(){var n=l_(e),o;if(t){var i=l_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gfe(this,o)}}var P0=function(e){bfe(r,e);var t=wfe(r);function r(n){hfe(this,r);var o,i;o=t.call(this,n),z1(O0(o),"showType",void 0),z1(O0(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var l;o.autoWidth.minWidth=(l=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&l!==void 0?l:84;var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Vn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(te);function f_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V1(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function Pfe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){V1(i,n,o,u,l,"next",f)}function l(f){V1(i,n,o,u,l,"throw",f)}u(void 0)})}}function $fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rfe(e,t,r){return t&&G1(e.prototype,t),r&&G1(e,r),e}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Jr=Reflect.get:Jr=function(o,i,u){var l=Nfe(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Jr(e,t,r||e)}function bn(e){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bn(e)}function Tfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sfe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){zn(e,o,r[o])})}return e}function Efe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ife(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Efe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Bfe(e,t){return t&&(Mfe(t)==="object"||typeof t=="function")?t:f_(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function Nfe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=bn(e),e!==null););return e}function Mfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Afe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kfe(e){var t=Afe();return function(){var n=bn(e),o;if(t){var i=bn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bfe(this,o)}}function Dfe(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Vn=function(e){Tfe(r,e);var t=kfe(r);function r(n){$fe(this,r);var o;return o=t.call(this,n),zn(f_(o),"props",void 0),zn(f_(o),"children",void 0),o.props=new P0(n==null?void 0:n.props),ft(f_(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return Rfe(r,[{key:"toDataBindModel",value:function(){var o=Jr(bn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===fl.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=Jr(bn(r.prototype),"toSchema",this).call(this);return Ife(Sfe({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return Jr(bn(r.prototype),"validate",u)};return Pfe(function(){return Dfe(this,function(a){switch(a.label){case 0:return[4,f().call(l,o,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(le);zn(Vn,"controlType","operation-column"),zn(Vn,"controlName","\u64CD\u4F5C"),zn(Vn,"controlIcon","operation-column"),zn(Vn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 a_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function __(e){return __=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},__(e)}function jfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ffe(e,t){return t&&(Cfe(t)==="object"||typeof t=="function")?t:a_(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function Cfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zfe(e){var t=xfe();return function(){var n=__(e),o;if(t){var i=__(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ffe(this,o)}}var T0=function(e){jfe(r,e);var t=zfe(r);function r(n){Lfe(this,r);var o;return o=t.call(this,n),s_(a_(o),"props",void 0),s_(a_(o),"children",void 0),o.props=new P0(n==null?void 0:n.props),ft(a_(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(fe);s_(T0,"controlType","operation-column"),s_(T0,"controlFieldType",c.FieldTypes.FILE);var Y1={Designer:Vn,Runtime:T0,Property:P0};function Gn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H1(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function Vfe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){H1(i,n,o,u,l,"next",f)}function l(f){H1(i,n,o,u,l,"throw",f)}u(void 0)})}}function Gfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yfe(e,t,r){return t&&q1(e.prototype,t),r&&q1(e,r),e}function Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mi=Reflect.get:Mi=function(o,i,u){var l=Jfe(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Mi(e,t,r||e)}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yn(e)}function Hfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qfe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ufe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Wt(e,o,r[o])})}return e}function Wfe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Kfe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wfe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Xfe(e,t){return t&&(Qfe(t)==="object"||typeof t=="function")?t:Gn(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function Jfe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yn(e),e!==null););return e}function Qfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eae(e){var t=Zfe();return function(){var n=Yn(e),o;if(t){var i=Yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xfe(this,o)}}function tae(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var nae=1e4,Ai=function(t){Hfe(n,t);var r=eae(n);function n(o){Gfe(this,n);var i,u;i=r.call(this,o),Wt(Gn(i),"props",void 0),Wt(Gn(i),"children",void 0),Wt(Gn(i),"excludes",void 0),Wt(Gn(i),"childrenMaxLength",void 0);var l=qfe(this,n)?this.constructor:void 0,f=l.excludes,a=l.childrenMaxLength;return i.props=new d0(Gn(i),o==null?void 0:o.props),ft(Gn(i),"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new xn,new Vn]),(o==null||(u=o.props)===null||u===void 0?void 0:u.footers)===void 0&&(i.props.footers=[]),i.excludes=Je(f),i.childrenMaxLength=a,i}return Yfe(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toSchema",value:function(){var i=Mi(Yn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(l){return l.toSchema()});return Kfe(Ufe({},i),{children:u})}},{key:"validate",value:function(i,u){var l=this,f=this,a=function(){return Mi(Yn(n.prototype),"validate",l)};return Vfe(function(){return tae(this,function(s){switch(s.label){case 0:return[4,a().call(f,i,u)];case 1:return s.sent(),[4,Promise.all(f.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(pu);Wt(Ai,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),Wt(Ai,"setting",[{key:"list-fixed-header",visible:!0}]),Wt(Ai,"excludes",[]),Wt(Ai,"childrenMaxLength",nae);function E0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oae(e,t,r){return t&&U1(e.prototype,t),r&&U1(e,r),e}function iae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y_(e){return y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},y_(e)}function uae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I0(e,t)}function cae(e,t){return t&&(lae(t)==="object"||typeof t=="function")?t:E0(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aae(e){var t=fae();return function(){var n=y_(e),o;if(t){var i=y_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cae(this,o)}}var sae=function(e){uae(r,e);var t=aae(r);function r(n){rae(this,r);var o;return o=t.call(this,n),iae(E0(o),"props",void 0),o.props=new d0(E0(o),n==null?void 0:n.props),o}return oae(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Qt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),r}(kp),W1={Designer:Ai,Runtime:sae,Property:d0},_ae=Object.freeze({__proto__:null,SubTable:k1,GridTable:W1});function gn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p_(e){return p_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},p_(e)}function X1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yae(e,t){return t&&(pae(t)==="object"||typeof t=="function")?t:gn(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(e,t)}function pae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J1(e){var t=dae();return function(){var n=p_(e),o;if(t){var i=p_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yae(this,o)}}var vae=function(e){X1(r,e);var t=J1(r);function r(n){K1(this,r);var o;return o=t.call(this,n),jt.call(gn(o),n),o}return r}(Cp),d_=function(e){X1(r,e);var t=J1(r);function r(n){K1(this,r);var o;o=t.call(this,n),Hn(gn(o),"optionConfig",void 0),Hn(gn(o),"datasourceBind",void 0),Hn(gn(o),"showLinkOperation",void 0),Hn(gn(o),"linkOperationOption",void 0),Hn(gn(o),"options",void 0),Hn(gn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var l;o.options=Ot((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(te);Hn(d_,"Rules",vae);function Q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},v_(e)}function bae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N0(e,t)}function gae(e,t){return t&&(mae(t)==="object"||typeof t=="function")?t:Q1(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}function mae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wae(e){var t=Oae();return function(){var n=v_(e),o;if(t){var i=v_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gae(this,o)}}var qn=function(e){bae(r,e);var t=wae(r);function r(n){hae(this,r);var o;return o=t.call(this,n),Qr(Q1(o),"props",void 0),o.props=new d_(n==null?void 0:n.props),o}return r}(le);Qr(qn,"controlType","varchar-column"),Qr(qn,"controlName","\u77ED\u6587\u672C"),Qr(qn,"controlIcon","varchar-column"),Qr(qn,"controlFieldType",c.FieldTypes.VARCHAR),Qr(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h_(e){return h_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},h_(e)}function $ae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rae(e,t){return t&&(Tae(t)==="object"||typeof t=="function")?t:Z1(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function Tae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eae(e){var t=Sae();return function(){var n=h_(e),o;if(t){var i=h_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rae(this,o)}}var k0=function(e){$ae(r,e);var t=Eae(r);function r(n){Pae(this,r);var o;return o=t.call(this,n),M0(Z1(o),"props",void 0),o.props=new d_(n==null?void 0:n.props),o}return r}(fe);M0(k0,"controlType","varchar-column"),M0(k0,"controlFieldType",c.FieldTypes.VARCHAR);var eM={Designer:qn,Runtime:k0,Property:d_};function Zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b_(e){return b_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},b_(e)}function nM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iae(e,t){return t&&(Bae(t)==="object"||typeof t=="function")?t:Zr(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function Bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rM(e){var t=Nae();return function(){var n=b_(e),o;if(t){var i=b_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iae(this,o)}}var Mae=function(e){nM(r,e);var t=rM(r);function r(n){tM(this,r);var o;return o=t.call(this,n),jt.call(Zr(o),n),o}return r}(at),g_=function(e){nM(r,e);var t=rM(r);function r(n){tM(this,r);var o;o=t.call(this,n),ki(Zr(o),"escapeHTML",void 0),ki(Zr(o),"showLinkOperation",void 0),ki(Zr(o),"linkOperationOption",void 0),ki(Zr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Un.controlName;var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1;var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption),o}return r}(te);ki(g_,"Rules",Mae);function oM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kae(e,t,r){return t&&iM(e.prototype,t),r&&iM(e,r),e}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?m_=Reflect.get:m_=function(o,i,u){var l=jae(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},m_(e,t,r||e)}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function Dae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L0(e,t)}function Lae(e,t){return t&&(Fae(t)==="object"||typeof t=="function")?t:oM(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L0(e,t)}function jae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=to(e),e!==null););return e}function Fae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xae(e){var t=Cae();return function(){var n=to(e),o;if(t){var i=to(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lae(this,o)}}var Un=function(e){Dae(r,e);var t=xae(r);function r(n){Aae(this,r);var o;return o=t.call(this,n),eo(oM(o),"props",void 0),o.props=new g_(n==null?void 0:n.props),o}return kae(r,[{key:"toDataBindModel",value:function(o){var i=m_(to(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(le);eo(Un,"controlType","text-column"),eo(Un,"controlName","\u957F\u6587\u672C"),eo(Un,"controlIcon","text-column"),eo(Un,"controlFieldType",c.FieldTypes.TEXT),eo(Un,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 uM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},O_(e)}function Vae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gae(e,t){return t&&(Yae(t)==="object"||typeof t=="function")?t:uM(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function Yae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qae(e){var t=Hae();return function(){var n=O_(e),o;if(t){var i=O_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gae(this,o)}}var C0=function(e){Vae(r,e);var t=qae(r);function r(n){zae(this,r);var o;return o=t.call(this,n),j0(uM(o),"props",void 0),o.props=new g_(n==null?void 0:n.props),o}return r}(fe);j0(C0,"controlType","text-column"),j0(C0,"controlFieldType",c.FieldTypes.TEXT);var cM={Designer:Un,Runtime:C0,Property:g_};function Mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},w_(e)}function fM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x0(e,t)}function Uae(e,t){return t&&(Wae(t)==="object"||typeof t=="function")?t:Mt(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function Wae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aM(e){var t=Kae();return function(){var n=w_(e),o;if(t){var i=w_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uae(this,o)}}var Xae=function(e){fM(r,e);var t=aM(r);function r(n){lM(this,r);var o;return o=t.call(this,n),jt.call(Mt(o),n),o}return r}(at),P_=function(e){fM(r,e);var t=aM(r);function r(n){lM(this,r);var o;o=t.call(this,n),Kt(Mt(o),"optionConfig",void 0),Kt(Mt(o),"datasourceBind",void 0),Kt(Mt(o),"showLinkOperation",void 0),Kt(Mt(o),"linkOperationOption",void 0),Kt(Mt(o),"options",void 0),Kt(Mt(o),"precision",void 0),Kt(Mt(o),"micrometer",void 0),Kt(Mt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Wn.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.percentageFormat=(f=n==null?void 0:n.percentageFormat)!==null&&f!==void 0?f:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var s;o.options=Ot((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption),o}return r}(te);Kt(P_,"Rules",Xae);function sM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _M(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qae(e,t,r){return t&&_M(e.prototype,t),r&&_M(e,r),e}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$_=Reflect.get:$_=function(o,i,u){var l=tse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},$_(e,t,r||e)}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function Zae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function ese(e,t){return t&&(nse(t)==="object"||typeof t=="function")?t:sM(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function tse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ro(e),e!==null););return e}function nse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ose(e){var t=rse();return function(){var n=ro(e),o;if(t){var i=ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ese(this,o)}}var Wn=function(e){Zae(r,e);var t=ose(r);function r(n){Jae(this,r);var o;return o=t.call(this,n),no(sM(o),"props",void 0),o.props=new P_(n==null?void 0:n.props),o}return Qae(r,[{key:"toDataBindModel",value:function(o){var i=$_(ro(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}]),r}(le);no(Wn,"controlType","decimal-column"),no(Wn,"controlName","\u6570\u503C"),no(Wn,"controlIcon","decimal-column"),no(Wn,"controlFieldType",c.FieldTypes.DECIMAL),no(Wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function yM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ise(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R_(e){return R_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},R_(e)}function use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cse(e,t){return t&&(lse(t)==="object"||typeof t=="function")?t:yM(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function lse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ase(e){var t=fse();return function(){var n=R_(e),o;if(t){var i=R_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cse(this,o)}}var Y0=function(e){use(r,e);var t=ase(r);function r(n){ise(this,r);var o;return o=t.call(this,n),V0(yM(o),"props",void 0),o.props=new P_(n==null?void 0:n.props),o}return r}(fe);V0(Y0,"controlType","decimal-column"),V0(Y0,"controlFieldType",c.FieldTypes.DECIMAL);var pM={Designer:Wn,Runtime:Y0,Property:P_};function Di(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S_(e){return S_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},S_(e)}function vM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H0(e,t)}function sse(e,t){return t&&(_se(t)==="object"||typeof t=="function")?t:Di(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function _se(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hM(e){var t=yse();return function(){var n=S_(e),o;if(t){var i=S_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sse(this,o)}}var pse=function(e){vM(r,e);var t=hM(r);function r(n){dM(this,r);var o;return o=t.call(this,n),jt.call(Di(o),n),o}return r}(at),E_=function(e){vM(r,e);var t=hM(r);function r(n){dM(this,r);var o;o=t.call(this,n),T_(Di(o),"dateType",void 0),T_(Di(o),"showLinkOperation",void 0),T_(Di(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption);var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Kn.controlName,o}return r}(te);T_(E_,"Rules",pse);function bM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vse(e,t,r){return t&&gM(e.prototype,t),r&&gM(e,r),e}function oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?I_=Reflect.get:I_=function(o,i,u){var l=gse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},I_(e,t,r||e)}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function hse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function bse(e,t){return t&&(mse(t)==="object"||typeof t=="function")?t:bM(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function gse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=io(e),e!==null););return e}function mse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ose(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wse(e){var t=Ose();return function(){var n=io(e),o;if(t){var i=io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bse(this,o)}}var Kn=function(e){hse(r,e);var t=wse(r);function r(n){dse(this,r);var o;return o=t.call(this,n),oo(bM(o),"props",void 0),o.props=new E_(n==null?void 0:n.props),o}return vse(r,[{key:"toDataBindModel",value:function(o){var i=I_(io(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);oo(Kn,"controlType","timescope-column"),oo(Kn,"controlName","\u65E5\u671F\u533A\u95F4"),oo(Kn,"controlIcon","timescope-column"),oo(Kn,"controlFieldType",c.FieldTypes.TIMESCOPE),oo(Kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 mM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B_(e){return B_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},B_(e)}function $se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W0(e,t)}function Rse(e,t){return t&&(Tse(t)==="object"||typeof t=="function")?t:mM(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function Tse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ese(e){var t=Sse();return function(){var n=B_(e),o;if(t){var i=B_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rse(this,o)}}var K0=function(e){$se(r,e);var t=Ese(r);function r(n){Pse(this,r);var o;return o=t.call(this,n),U0(mM(o),"props",void 0),o.props=new E_(n==null?void 0:n.props),o}return r}(fe);U0(K0,"controlType","timescope-column"),U0(K0,"controlFieldType",c.FieldTypes.TIMESCOPE);var OM={Designer:Kn,Runtime:K0,Property:E_};function Li(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M_(e){return M_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},M_(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&&X0(e,t)}function Ise(e,t){return t&&(Bse(t)==="object"||typeof t=="function")?t:Li(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function Bse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $M(e){var t=Nse();return function(){var n=M_(e),o;if(t){var i=M_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ise(this,o)}}var Mse=function(e){PM(r,e);var t=$M(r);function r(n){wM(this,r);var o;return o=t.call(this,n),jt.call(Li(o),n),o}return r}(at),A_=function(e){PM(r,e);var t=$M(r);function r(n){wM(this,r);var o;o=t.call(this,n),N_(Li(o),"dateType",void 0),N_(Li(o),"showLinkOperation",void 0),N_(Li(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption);var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Xn.controlName,o}return r}(te);N_(A_,"Rules",Mse);function RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ase(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kse(e,t,r){return t&&TM(e.prototype,t),r&&TM(e,r),e}function uo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?k_=Reflect.get:k_=function(o,i,u){var l=jse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},k_(e,t,r||e)}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(e)}function Dse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J0(e,t)}function Lse(e,t){return t&&(Fse(t)==="object"||typeof t=="function")?t:RM(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function jse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=co(e),e!==null););return e}function Fse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xse(e){var t=Cse();return function(){var n=co(e),o;if(t){var i=co(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lse(this,o)}}var Xn=function(e){Dse(r,e);var t=xse(r);function r(n){Ase(this,r);var o;return o=t.call(this,n),uo(RM(o),"props",void 0),o.props=new A_(n==null?void 0:n.props),o}return kse(r,[{key:"toDataBindModel",value:function(o){var i=k_(co(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);uo(Xn,"controlType","timestamp-column"),uo(Xn,"controlName","\u65E5\u671F"),uo(Xn,"controlIcon","timestamp-column"),uo(Xn,"controlFieldType",c.FieldTypes.TIMESTAMP),uo(Xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 SM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D_(e){return D_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},D_(e)}function Vse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function Gse(e,t){return t&&(Yse(t)==="object"||typeof t=="function")?t:SM(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function Yse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qse(e){var t=Hse();return function(){var n=D_(e),o;if(t){var i=D_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gse(this,o)}}var eO=function(e){Vse(r,e);var t=qse(r);function r(n){zse(this,r);var o;return o=t.call(this,n),Q0(SM(o),"props",void 0),o.props=new A_(n==null?void 0:n.props),o}return r}(fe);Q0(eO,"controlType","timestamp-column"),Q0(eO,"controlFieldType",c.FieldTypes.TIMESTAMP);var EM={Designer:Xn,Runtime:eO,Property:A_};function Jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function L_(e){return L_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},L_(e)}function BM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tO(e,t)}function Use(e,t){return t&&(Wse(t)==="object"||typeof t=="function")?t:Jn(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tO(e,t)}function Wse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NM(e){var t=Kse();return function(){var n=L_(e),o;if(t){var i=L_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Use(this,o)}}var Xse=function(e){BM(r,e);var t=NM(r);function r(n){IM(this,r);var o;return o=t.call(this,n),jt.call(Jn(o),n),o}return r}(Cp),j_=function(e){BM(r,e);var t=NM(r);function r(n){IM(this,r);var o;o=t.call(this,n),lo(Jn(o),"optionConfig",void 0),lo(Jn(o),"datasourceBind",void 0),lo(Jn(o),"showLinkOperation",void 0),lo(Jn(o),"linkOperationOption",void 0),lo(Jn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Qn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ie(n==null?void 0:n.datasourceBind);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption);var f;return o.options=Ot((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(te);lo(j_,"Rules",Xse);function MM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F_(e){return F_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},F_(e)}function Qse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nO(e,t)}function Zse(e,t){return t&&(e_e(t)==="object"||typeof t=="function")?t:MM(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nO(e,t)}function e_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n_e(e){var t=t_e();return function(){var n=F_(e),o;if(t){var i=F_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zse(this,o)}}var Qn=function(e){Qse(r,e);var t=n_e(r);function r(n){Jse(this,r);var o;return o=t.call(this,n),fo(MM(o),"props",void 0),o.props=new j_(n==null?void 0:n.props),o}return r}(le);fo(Qn,"controlType","array-column"),fo(Qn,"controlName","\u6570\u7EC4"),fo(Qn,"controlIcon","array-column"),fo(Qn,"controlFieldType",c.FieldTypes.ARRAY),fo(Qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 AM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C_(e){return C_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},C_(e)}function o_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oO(e,t)}function i_e(e,t){return t&&(u_e(t)==="object"||typeof t=="function")?t:AM(e)}function oO(e,t){return oO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oO(e,t)}function u_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l_e(e){var t=c_e();return function(){var n=C_(e),o;if(t){var i=C_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i_e(this,o)}}var iO=function(e){o_e(r,e);var t=l_e(r);function r(n){r_e(this,r);var o;return o=t.call(this,n),rO(AM(o),"props",void 0),o.props=new j_(n==null?void 0:n.props),o}return r}(fe);rO(iO,"controlType","array-column"),rO(iO,"controlFieldType",c.FieldTypes.ARRAY);var kM={Designer:Qn,Runtime:iO,Property:j_};function DM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a_e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x_(e){return x_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},x_(e)}function s_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uO(e,t)}function __e(e,t){return t&&(y_e(t)==="object"||typeof t=="function")?t:DM(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uO(e,t)}function y_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d_e(e){var t=p_e();return function(){var n=x_(e),o;if(t){var i=x_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return __e(this,o)}}var cO=function(e){s_e(r,e);var t=d_e(r);function r(n){f_e(this,r);var o;o=t.call(this,n),a_e(DM(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Zn.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(te);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h_e(e,t,r){return t&&jM(e.prototype,t),r&&jM(e,r),e}function ao(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?z_=Reflect.get:z_=function(o,i,u){var l=m_e(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},z_(e,t,r||e)}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},so(e)}function b_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lO(e,t)}function g_e(e,t){return t&&(O_e(t)==="object"||typeof t=="function")?t:LM(e)}function lO(e,t){return lO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lO(e,t)}function m_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=so(e),e!==null););return e}function O_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P_e(e){var t=w_e();return function(){var n=so(e),o;if(t){var i=so(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g_e(this,o)}}var Zn=function(e){b_e(r,e);var t=P_e(r);function r(n){v_e(this,r);var o;return o=t.call(this,n),ao(LM(o),"props",void 0),o.props=new cO(n==null?void 0:n.props),o}return h_e(r,[{key:"toDataBindModel",value:function(o){var i=z_(so(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(le);ao(Zn,"controlType","department-column"),ao(Zn,"controlName","\u90E8\u95E8"),ao(Zn,"controlIcon","department-column"),ao(Zn,"controlFieldType",c.FieldTypes.DEPARTMENTS),ao(Zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 FM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V_(e){return V_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V_(e)}function R_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function T_e(e,t){return t&&(S_e(t)==="object"||typeof t=="function")?t:FM(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}function S_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I_e(e){var t=E_e();return function(){var n=V_(e),o;if(t){var i=V_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T_e(this,o)}}var sO=function(e){R_e(r,e);var t=I_e(r);function r(n){$_e(this,r);var o;return o=t.call(this,n),fO(FM(o),"props",void 0),o.props=new cO(n==null?void 0:n.props),o}return r}(fe);fO(sO,"controlType","department-column"),fO(sO,"controlFieldType",c.FieldTypes.DEPARTMENTS);var CM={Designer:Zn,Runtime:sO,Property:cO};function G_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y_(e){return Y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Y_(e)}function zM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yO(e,t)}function B_e(e,t){return t&&(N_e(t)==="object"||typeof t=="function")?t:G_(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(e,t)}function N_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VM(e){var t=M_e();return function(){var n=Y_(e),o;if(t){var i=Y_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B_e(this,o)}}var A_e=function(e){zM(r,e);var t=VM(r);function r(n){xM(this,r);var o;return o=t.call(this,n),jt.call(G_(o),n),o}return r}(at),H_=function(e){zM(r,e);var t=VM(r);function r(n){xM(this,r);var o;o=t.call(this,n),_O(G_(o),"showLinkOperation",void 0),_O(G_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:er.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption),o}return r}(te);_O(H_,"Rules",A_e);function GM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q_(e){return q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q_(e)}function D_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pO(e,t)}function L_e(e,t){return t&&(j_e(t)==="object"||typeof t=="function")?t:GM(e)}function pO(e,t){return pO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pO(e,t)}function j_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C_e(e){var t=F_e();return function(){var n=q_(e),o;if(t){var i=q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L_e(this,o)}}var er=function(e){D_e(r,e);var t=C_e(r);function r(n){k_e(this,r);var o;return o=t.call(this,n),_o(GM(o),"props",void 0),o.props=new H_(n==null?void 0:n.props),o}return r}(le);_o(er,"controlType","auto-number-column"),_o(er,"controlName","\u81EA\u52A8\u7F16\u53F7"),_o(er,"controlIcon","auto-number-column"),_o(er,"controlFieldType",c.FieldTypes.AUTO_NUMBER),_o(er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 YM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function U_(e){return U_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},U_(e)}function z_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vO(e,t)}function V_e(e,t){return t&&(G_e(t)==="object"||typeof t=="function")?t:YM(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}function G_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H_e(e){var t=Y_e();return function(){var n=U_(e),o;if(t){var i=U_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V_e(this,o)}}var hO=function(e){z_e(r,e);var t=H_e(r);function r(n){x_e(this,r);var o;return o=t.call(this,n),dO(YM(o),"props",void 0),o.props=new H_(n==null?void 0:n.props),o}return r}(fe);dO(hO,"controlType","auto-number-column"),dO(hO,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var HM={Designer:er,Runtime:hO,Property:H_};function q_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W_(e){return W_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},W_(e)}function W_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bO(e,t)}function K_e(e,t){return t&&(X_e(t)==="object"||typeof t=="function")?t:q_e(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}function X_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q_e(e){var t=J_e();return function(){var n=W_(e),o;if(t){var i=W_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K_e(this,o)}}var gO=function(e){W_e(r,e);var t=Q_e(r);function r(n){U_e(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:tr.controlName,o}return r}(te);function qM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K_(e){return K_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},K_(e)}function eye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mO(e,t)}function tye(e,t){return t&&(nye(t)==="object"||typeof t=="function")?t:qM(e)}function mO(e,t){return mO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mO(e,t)}function nye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oye(e){var t=rye();return function(){var n=K_(e),o;if(t){var i=K_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tye(this,o)}}var tr=function(e){eye(r,e);var t=oye(r);function r(n){Z_e(this,r);var o;return o=t.call(this,n),yo(qM(o),"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return r}(le);yo(tr,"controlType","file-column"),yo(tr,"controlName","\u9644\u4EF6"),yo(tr,"controlIcon","file-column"),yo(tr,"controlFieldType",c.FieldTypes.FILE),yo(tr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 UM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X_(e){return X_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},X_(e)}function uye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wO(e,t)}function cye(e,t){return t&&(lye(t)==="object"||typeof t=="function")?t:UM(e)}function wO(e,t){return wO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wO(e,t)}function lye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aye(e){var t=fye();return function(){var n=X_(e),o;if(t){var i=X_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cye(this,o)}}var PO=function(e){uye(r,e);var t=aye(r);function r(n){iye(this,r);var o;return o=t.call(this,n),OO(UM(o),"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return r}(fe);OO(PO,"controlType","file-column"),OO(PO,"controlFieldType",c.FieldTypes.FILE);var WM={Designer:tr,Runtime:PO,Property:gO};function sye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J_(e){return J_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},J_(e)}function yye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pye(e,t){return t&&(dye(t)==="object"||typeof t=="function")?t:sye(e)}function $O(e,t){return $O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$O(e,t)}function dye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hye(e){var t=vye();return function(){var n=J_(e),o;if(t){var i=J_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pye(this,o)}}var RO=function(e){yye(r,e);var t=hye(r);function r(n){_ye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:nr.controlName,o}return r}(te);function KM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q_(e){return Q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Q_(e)}function gye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mye(e,t){return t&&(Oye(t)==="object"||typeof t=="function")?t:KM(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}function Oye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pye(e){var t=wye();return function(){var n=Q_(e),o;if(t){var i=Q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mye(this,o)}}var nr=function(e){gye(r,e);var t=Pye(r);function r(n){bye(this,r);var o;return o=t.call(this,n),po(KM(o),"props",void 0),o.props=new RO(n==null?void 0:n.props),o}return r}(le);po(nr,"controlType","image-column"),po(nr,"controlName","\u56FE\u7247"),po(nr,"controlIcon","image-column"),po(nr,"controlFieldType",c.FieldTypes.IMAGE),po(nr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Z_(e)}function Rye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function Tye(e,t){return t&&(Sye(t)==="object"||typeof t=="function")?t:XM(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}function Sye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iye(e){var t=Eye();return function(){var n=Z_(e),o;if(t){var i=Z_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tye(this,o)}}var IO=function(e){Rye(r,e);var t=Iye(r);function r(n){$ye(this,r);var o;return o=t.call(this,n),SO(XM(o),"props",void 0),o.props=new RO(n==null?void 0:n.props),o}return r}(fe);SO(IO,"controlType","image-column"),SO(IO,"controlFieldType",c.FieldTypes.IMAGE);var JM={Designer:nr,Runtime:IO,Property:RO};function Bye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function Mye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BO(e,t)}function Aye(e,t){return t&&(kye(t)==="object"||typeof t=="function")?t:Bye(e)}function BO(e,t){return BO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BO(e,t)}function kye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lye(e){var t=Dye();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aye(this,o)}}var NO=function(e){Mye(r,e);var t=Lye(r);function r(n){Nye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:rr.controlName,o}return r}(te);function QM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function Fye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MO(e,t)}function Cye(e,t){return t&&(xye(t)==="object"||typeof t=="function")?t:QM(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MO(e,t)}function xye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vye(e){var t=zye();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cye(this,o)}}var rr=function(e){Fye(r,e);var t=Vye(r);function r(n){jye(this,r);var o;return o=t.call(this,n),vo(QM(o),"props",void 0),o.props=new NO(n==null?void 0:n.props),o}return r}(le);vo(rr,"controlType","people-column"),vo(rr,"controlName","\u4EBA\u5458"),vo(rr,"controlIcon","people-column"),vo(rr,"controlFieldType",c.FieldTypes.EMPLOYEES),vo(rr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(e)}function Yye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kO(e,t)}function Hye(e,t){return t&&(qye(t)==="object"||typeof t=="function")?t:ZM(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}function qye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wye(e){var t=Uye();return function(){var n=ny(e),o;if(t){var i=ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hye(this,o)}}var DO=function(e){Yye(r,e);var t=Wye(r);function r(n){Gye(this,r);var o;return o=t.call(this,n),AO(ZM(o),"props",void 0),o.props=new NO(n==null?void 0:n.props),o}return r}(fe);AO(DO,"controlType","people-column"),AO(DO,"controlFieldType",c.FieldTypes.EMPLOYEES);var eA={Designer:rr,Runtime:DO,Property:NO};function ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oy(e)}function nA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function Kye(e,t){return t&&(Xye(t)==="object"||typeof t=="function")?t:ry(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}function Xye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rA(e){var t=Jye();return function(){var n=oy(e),o;if(t){var i=oy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kye(this,o)}}var Qye=function(e){nA(r,e);var t=rA(r);function r(n){tA(this,r);var o;return o=t.call(this,n),jt.call(ry(o),n),o}return r}(at),iy=function(e){nA(r,e);var t=rA(r);function r(n){tA(this,r);var o;o=t.call(this,n),LO(ry(o),"showLinkOperation",void 0),LO(ry(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:or.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption),o}return r}(te);LO(iy,"Rules",Qye);function oA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uy(e){return uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uy(e)}function epe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FO(e,t)}function tpe(e,t){return t&&(npe(t)==="object"||typeof t=="function")?t:oA(e)}function FO(e,t){return FO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FO(e,t)}function npe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ope(e){var t=rpe();return function(){var n=uy(e),o;if(t){var i=uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tpe(this,o)}}var or=function(e){epe(r,e);var t=ope(r);function r(n){Zye(this,r);var o;return o=t.call(this,n),ho(oA(o),"props",void 0),o.props=new iy(n==null?void 0:n.props),o}return r}(le);ho(or,"controlType","location-column"),ho(or,"controlName","\u5730\u5740"),ho(or,"controlIcon","location-column"),ho(or,"controlFieldType",c.FieldTypes.ADDRESS),ho(or,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 iA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ipe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function upe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xO(e,t)}function cpe(e,t){return t&&(lpe(t)==="object"||typeof t=="function")?t:iA(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}function lpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ape(e){var t=fpe();return function(){var n=cy(e),o;if(t){var i=cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cpe(this,o)}}var zO=function(e){upe(r,e);var t=ape(r);function r(n){ipe(this,r);var o;return o=t.call(this,n),CO(iA(o),"props",void 0),o.props=new iy(n==null?void 0:n.props),o}return r}(fe);CO(zO,"controlType","location-column"),CO(zO,"controlFieldType",c.FieldTypes.ADDRESS);var uA={Designer:or,Runtime:zO,Property:iy};function ly(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function lA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&VO(e,t)}function spe(e,t){return t&&(_pe(t)==="object"||typeof t=="function")?t:ly(e)}function VO(e,t){return VO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VO(e,t)}function _pe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ype(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fA(e){var t=ype();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return spe(this,o)}}var ppe=function(e){lA(r,e);var t=fA(r);function r(n){cA(this,r);var o;return o=t.call(this,n),fy(ly(o),"sortFieldCode",{type:"string",message:v.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(at),sy=function(e){lA(r,e);var t=fA(r);function r(n){cA(this,r);var o;o=t.call(this,n),fy(ly(o),"fieldCodeList",void 0),fy(ly(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xt.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var l;return o.sortFieldCode=(l=n==null?void 0:n.sortFieldCode)!==null&&l!==void 0?l:"",o}return r}(te);fy(sy,"Rules",ppe);function bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vpe(e,t,r){return t&&aA(e.prototype,t),r&&aA(e,r),e}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ji=Reflect.get:ji=function(o,i,u){var l=Ppe(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},ji(e,t,r||e)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function hpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GO(e,t)}function bpe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function gpe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){lt(e,o,r[o])})}return e}function mpe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ope(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mpe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function wpe(e,t){return t&&($pe(t)==="object"||typeof t=="function")?t:bo(e)}function GO(e,t){return GO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GO(e,t)}function Ppe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ir(e),e!==null););return e}function $pe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tpe(e){var t=Rpe();return function(){var n=ir(e),o;if(t){var i=ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wpe(this,o)}}var Spe=1,Xt=function(t){hpe(n,t);var r=Tpe(n);function n(o){dpe(this,n);var i;i=r.call(this,o),lt(bo(i),"excludes",void 0),lt(bo(i),"childrenMaxLength",void 0),lt(bo(i),"props",void 0),lt(bo(i),"children",void 0);var u=bpe(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new sy(o==null?void 0:o.props),ft(bo(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Je(l),i.childrenMaxLength=f,i}return vpe(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=ji(ir(n.prototype),"toDataBindModel",this).call(this,i);if(u){var l=this.props.fieldCodeList;u.props.fieldCodeList=l}return u}},{key:"toSchema",value:function(){var i=ji(ir(n.prototype),"toSchema",this).call(this);return Ope(gpe({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(le);lt(Xt,"controlType","custom-column"),lt(Xt,"controlName","\u81EA\u5B9A\u4E49"),lt(Xt,"controlIcon","custom-column"),lt(Xt,"slots",["column-column-slot"]),lt(Xt,"excludes",[]),lt(Xt,"childrenMaxLength",Spe),lt(Xt,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 _y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Epe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yy(e){return yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yy(e)}function Ipe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HO(e,t)}function Bpe(e,t){return t&&(Npe(t)==="object"||typeof t=="function")?t:_y(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}function Npe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ape(e){var t=Mpe();return function(){var n=yy(e),o;if(t){var i=yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bpe(this,o)}}var sA=function(e){Ipe(r,e);var t=Ape(r);function r(n){Epe(this,r);var o;return o=t.call(this,n),YO(_y(o),"props",void 0),YO(_y(o),"children",void 0),o.props=new sy(n==null?void 0:n.props),ft(_y(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(fe);YO(sA,"controlType","custom-column");var _A={Designer:Xt,Runtime:sA,Property:sy};function yA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dpe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},py(e)}function Lpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qO(e,t)}function jpe(e,t){return t&&(Fpe(t)==="object"||typeof t=="function")?t:yA(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}function Fpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xpe(e){var t=Cpe();return function(){var n=py(e),o;if(t){var i=py(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jpe(this,o)}}var UO=function(e){Lpe(r,e);var t=xpe(r);function r(n){kpe(this,r);var o;o=t.call(this,n),Dpe(yA(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:mn.controlName;var u;return o.datasourceBind=new Io((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:mn.controlCustomAttributes}),o}return r}(te);function pA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vpe(e,t,r){return t&&dA(e.prototype,t),r&&dA(e,r),e}function go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dy(e){return dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dy(e)}function Gpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WO(e,t)}function Ype(e,t){return t&&(Hpe(t)==="object"||typeof t=="function")?t:pA(e)}function WO(e,t){return WO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WO(e,t)}function Hpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Upe(e){var t=qpe();return function(){var n=dy(e),o;if(t){var i=dy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ype(this,o)}}var mn=function(e){Gpe(r,e);var t=Upe(r);function r(n){zpe(this,r);var o;return o=t.call(this,n),go(pA(o),"props",void 0),o.props=new UO(n==null?void 0:n.props),o}return Vpe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(le);go(mn,"controlType","employee-column"),go(mn,"controlName","\u4EBA\u5458"),go(mn,"controlIcon","employee-column"),go(mn,"controlFieldType",c.FieldTypes.EMPLOYEES),go(mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 vA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vy(e){return vy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vy(e)}function Kpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XO(e,t)}function Xpe(e,t){return t&&(Jpe(t)==="object"||typeof t=="function")?t:vA(e)}function XO(e,t){return XO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XO(e,t)}function Jpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zpe(e){var t=Qpe();return function(){var n=vy(e),o;if(t){var i=vy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xpe(this,o)}}var JO=function(e){Kpe(r,e);var t=Zpe(r);function r(n){Wpe(this,r);var o;return o=t.call(this,n),KO(vA(o),"props",void 0),o.props=new UO(n==null?void 0:n.props),o}return r}(fe);KO(JO,"controlType","employee-column"),KO(JO,"controlFieldType",c.FieldTypes.EMPLOYEES);var hA={Designer:mn,Runtime:JO,Property:UO};function hy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ede(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},by(e)}function tde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZO(e,t)}function nde(e,t){return t&&(rde(t)==="object"||typeof t=="function")?t:hy(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}function rde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ode(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ide(e){var t=ode();return function(){var n=by(e),o;if(t){var i=by(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nde(this,o)}}var ew=function(e){tde(r,e);var t=ide(r);function r(n){ede(this,r);var o;o=t.call(this,n),QO(hy(o),"lineEllipsis",void 0),QO(hy(o),"showLinkOperation",void 0),QO(hy(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:cr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(te);function tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ude(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gy(e){return gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gy(e)}function cde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nw(e,t)}function lde(e,t){return t&&(fde(t)==="object"||typeof t=="function")?t:tw(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nw(e,t)}function fde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ade(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sde(e){var t=ade();return function(){var n=gy(e),o;if(t){var i=gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lde(this,o)}}var cr=function(e){cde(r,e);var t=sde(r);function r(n){ude(this,r);var o;return o=t.call(this,n),ur(tw(o),"props",void 0),ur(tw(o),"children",void 0),o.props=new ew(n==null?void 0:n.props),o}return r}(le);ur(cr,"controlType","approval-status-column"),ur(cr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),ur(cr,"controlIcon","approval-status-column"),ur(cr,"excludes",[]),ur(cr,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.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 rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ow(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function my(e){return my=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},my(e)}function yde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iw(e,t)}function pde(e,t){return t&&(dde(t)==="object"||typeof t=="function")?t:rw(e)}function iw(e,t){return iw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iw(e,t)}function dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hde(e){var t=vde();return function(){var n=my(e),o;if(t){var i=my(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pde(this,o)}}var bA=function(e){yde(r,e);var t=hde(r);function r(n){_de(this,r);var o;return o=t.call(this,n),ow(rw(o),"props",void 0),ow(rw(o),"children",void 0),o.props=new ew(n==null?void 0:n.props),o}return r}(fe);ow(bA,"controlType","approval-status-column");var gA={Designer:cr,Runtime:bA,Property:ew},bde=Object.freeze({__proto__:null,VarcharColumn:eM,TextColumn:cM,DecimalColumn:pM,TimescopeColumn:OM,TimestampColumn:EM,ArrayColumn:kM,DepartmentColumn:CM,AutoNumberColumn:HM,FileColumn:WM,ImageColumn:JM,PeopleColumn:eA,LocationColumn:uA,CustomColumn:_A,OrderColumn:x1,OperationColumn:Y1,EmployeeColumn:hA,ApprovalStatusColumn:gA});function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oy(e){return Oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oy(e)}function OA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uw(e,t)}function gde(e,t){return t&&(mde(t)==="object"||typeof t=="function")?t:bt(e)}function uw(e,t){return uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uw(e,t)}function mde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ode(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wA(e){var t=Ode();return function(){var n=Oy(e),o;if(t){var i=Oy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gde(this,o)}}var wde=function(e){OA(r,e);var t=wA(r);function r(n){mA(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(tn),wy=function(e){OA(r,e);var t=wA(r);function r(n){mA(this,r);var o;o=t.call(this,n),gt(bt(o),"search",void 0),gt(bt(o),"cancel",void 0),gt(bt(o),"searchType",void 0),gt(bt(o),"labelPosition",void 0),gt(bt(o),"viewType",void 0),gt(bt(o),"isLoading",void 0),gt(bt(o),"custom",void 0),gt(bt(o),"queryTypeMap",void 0),gt(bt(o),"childMinWidth",void 0),gt(bt(o),"colGap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var l;o.viewType=(l=n==null?void 0:n.viewType)!==null&&l!==void 0?l:"mini";var f;o.search=new Dt((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new Dt((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(h){return new Dt(h)});var d;o.queryTypeMap=(d=n==null?void 0:n.queryTypeMap)!==null&&d!==void 0?d:[];var b;o.childMinWidth=(b=n==null?void 0:n.childMinWidth)!==null&&b!==void 0?b:230;var g;return o.colGap=(g=n==null?void 0:n.colGap)!==null&&g!==void 0?g:24,o}return r}(mu);gt(wy,"RuntimeRules",wde);function PA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Py(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $y(e){return $y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$y(e)}function $de(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cw(e,t)}function Rde(e,t){return t&&(Tde(t)==="object"||typeof t=="function")?t:PA(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(e,t)}function Tde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ede(e){var t=Sde();return function(){var n=$y(e),o;if(t){var i=$y(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rde(this,o)}}var Ry=function(e){$de(r,e);var t=Ede(r);function r(n){Pde(this,r);var o;return o=t.call(this,n),Py(PA(o),"props",void 0),o.props=new wy(n==null?void 0:n.props),o}return r}(i$);Py(Ry,"controlType","simple-search"),Py(Ry,"slotPosition",{default:"search"}),Py(Ry,"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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ide(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ty(e){return Ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ty(e)}function Bde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aw(e,t)}function Nde(e,t){return t&&(Mde(t)==="object"||typeof t=="function")?t:lw(e)}function aw(e,t){return aw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aw(e,t)}function Mde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ade(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kde(e){var t=Ade();return function(){var n=Ty(e),o;if(t){var i=Ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nde(this,o)}}var $A=function(e){Bde(r,e);var t=kde(r);function r(n){Ide(this,r);var o;o=t.call(this,n),fw(lw(o),"props",void 0),fw(lw(o),"children",void 0),o.props=new wy(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(c$);fw($A,"controlType","simple-search");var RA={Designer:Ry,Runtime:$A,Property:wy},Dde=Object.freeze({__proto__:null,SimpleSearch:RA});function TA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sy(e){return Sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sy(e)}function Fde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sw(e,t)}function Cde(e,t){return t&&(xde(t)==="object"||typeof t=="function")?t:TA(e)}function sw(e,t){return sw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sw(e,t)}function xde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vde(e){var t=zde();return function(){var n=Sy(e),o;if(t){var i=Sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cde(this,o)}}var _w=function(e){Fde(r,e);var t=Vde(r);function r(n){Lde(this,r);var o;o=t.call(this,n),jde(TA(o),"wholeRow",void 0);var i;return o.wholeRow=(i=n==null?void 0:n.wholeRow)!==null&&i!==void 0?i:!1,o}return r}($u);function SA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yde(e,t,r){return t&&EA(e.prototype,t),r&&EA(e,r),e}function Hde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ey(e){return Ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ey(e)}function qde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yw(e,t)}function Ude(e,t){return t&&(Wde(t)==="object"||typeof t=="function")?t:SA(e)}function yw(e,t){return yw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yw(e,t)}function Wde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xde(e){var t=Kde();return function(){var n=Ey(e),o;if(t){var i=Ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ude(this,o)}}var Jde=function(e){qde(r,e);var t=Xde(r);function r(n){Gde(this,r);var o;return o=t.call(this,n),Hde(SA(o),"props",void 0),o.props=new _w(n==null?void 0:n.props),o}return Yde(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668Wrap"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(f$);function IA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zde(e,t,r){return t&&BA(e.prototype,t),r&&BA(e,r),e}function eve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iy(e){return Iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iy(e)}function tve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pw(e,t)}function nve(e,t){return t&&(rve(t)==="object"||typeof t=="function")?t:IA(e)}function pw(e,t){return pw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pw(e,t)}function rve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ove(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ive(e){var t=ove();return function(){var n=Iy(e),o;if(t){var i=Iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nve(this,o)}}var uve=function(e){tve(r,e);var t=ive(r);function r(n){Qde(this,r);var o;return o=t.call(this,n),eve(IA(o),"props",void 0),o.props=new _w(n==null?void 0:n.props),o}return Zde(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(s$);function Phe(e){return e}var cve={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},NA={Designer:Jde,Runtime:uve,Property:_w,Setting:cve},lve=Object.freeze({__proto__:null,GridLayoutWrap:NA});function dw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function fve(e){if(Array.isArray(e))return e}function ave(e){if(Array.isArray(e))return dw(e)}function sve(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _ve(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,u,l;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.value),!(t&&n.length===t));o=!0);}catch(f){i=!0,l=f}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function yve(){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 pve(){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 dve(e,t){return fve(e)||_ve(e,t)||AA(e,t)||yve()}function MA(e){return ave(e)||sve(e)||AA(e)||pve()}function AA(e,t){if(!!e){if(typeof e=="string")return dw(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dw(e,t)}}var vve=function(e,t){var r=Array.isArray(e),n=r?e:[e];Eve(t==null?void 0:t.events),wve(n),Pve(n);var o=Ove(n),i=$ve(o,t),u=Tn(ce(i,function(l){return mve(l,t)}));return r?u:u[0]},hve=[c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT,c.CONTROL_TYPE.TITLE,c.CONTROL_TYPE.LINK,c.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],bve=["subtable","grid-table"],gve=["simple-search"];function mve(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":hve.includes(i.type)?i.controlType="base":i.controlType="form",bve.includes(i.type)&&(i.controlType="list"),gve.includes(i.type)&&(i.controlType="search-view")),delete i.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),me(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),me(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),me(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var l;i.props.attachmentAccept=(l=e.attachment_format)===null||l===void 0?void 0:l.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(me(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(me(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var f,a=i.props.entry_type||i.props.entryType;i.props.openType=a==="subpage"?"modal":"default",((f=i.children[0])===null||f===void 0?void 0:f.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function($,S){var L=new nm.Designer;L.props.caption=me($.field_name)?$.field_name.zh:$.field_name;var xe=L.toSchema();xe.id=$.header_id;var be=i.children[0].children[S].children[0];return be&&(xe.children=[be]),xe}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function($){$.label=me($.text)?$.text.zh:$.text,$.id=$.id||$.opt_id||$.optId||$.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function($){var S=new za.Designer;S.props.span=_;var L=S.toSchema();return L.children.push($),L})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var d=i==null?void 0:i.children[0],b=i==null?void 0:i.children[1],g={};d&&(kA(i,t),g.result=d.props.data_bind,i.id=d.id,i.props=d.props,i.props.script_src=d.props.script_src,i.props.script_echo=d.props.script_echo,i.props.precision=d.props.precision,i.props.micrometer=d.props.is_show_money,i.props.showUpperCase=d.props.is_show_chn),b&&(g.unit=b.props.data_bind,i.props.default_value={unit:b.props.value}),i.props.dataBind=g,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var h=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1],p={},O={};h&&(kA(i,t),i.id=h.id,p.amount=h.props.data_bind,i.props.range_min=Rn(h.props.range_min),i.props.range_max=Rn(h.props.range_max),O.amount=Rn(h.props.value),i.props.required=h.props.required,i.props.is_hide=h.props.is_hide,i.props.default_state=h.props.default_state,i.props.caption=me(h.props.caption)?h.props.caption.zh:h.props.caption,i.props.is_hide_caption=h.props.is_hide_caption,i.props.showUpperCase=h.props.is_show_chn),m&&(p.currency=m.props.data_bind,O.currency=m.props.value,i.props.datasourceBind=m.props.datasource_bind,i.props.options=m.props.options.map(function($){return{label:$.text,value:$.value}})),i.props.dataBind=p,i.props.defaultValue=O,delete i.children}if(e.type==="date-range"){i.controlType="form";var P=i==null?void 0:i.children[0],w=i==null?void 0:i.children[1];i.props.placeholderStart=me(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=me(e.props.caption)?e.props.caption.zh:e.props.caption;var T={};P&&(T.min=P.props.data_bind),w&&(T.max=w.props.data_bind),i.props.dataBind=T,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=me(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=Rn(e.props.range_min),i.props.range_max=Rn(e.props.range_max),i.props.defaultValue=Rn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),Ive(i,t==null?void 0:t.control_events),i}function kA(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,u=e.id,l=e.children[0].id;n.forEach(function(f){f.id===u&&(f.id=l);var a=f.show_controls.findIndex(function(_){return _===u}),s=f.hide_controls.findIndex(function(_){return _===u});a>-1&&f.show_controls.splice(a,1,l),s>-1&&f.hide_controls.splice(s,1,l)}),i.forEach(function(f){f.ctrl_id===u&&(f.id=l)})}}function Ove(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new zm.Designer,n=r.toSchema();return n.children=e,[n]}function wve(e){e.forEach(function(t){t.children&&Sve(t.children)})}function Pve(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,u=r[n],l=(i=r[n])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];u.type==="grid-row"&&l&&["group-panel","subtable","tab"].includes(l.type)&&r.splice(n,1,l)}})}function $ve(e,t){var r,n,o,i,u;if(!(Array.isArray(e)&&e.length===1))return e;var l=e[0];if(l.type!=="list-page")return e;var f=l.props,a=l.children,s=dve(a,3),_=s[0],d=s[1],b=s[2];Rve(_),b.props.is_fixed_header=f==null||(r=f.source_config)===null||r===void 0?void 0:r.is_fixed_header,Tve(b,d);var g,h=(g=f==null||(n=f.source_config)===null||n===void 0?void 0:n.data_code)!==null&&g!==void 0?g:t==null?void 0:t.dataCode,m,p=((m=f==null||(o=f.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&m!==void 0?m:h)?"".concat(h,"_selectMore"):void 0,O,P=(O=f==null||(i=f.source_config)===null||i===void 0?void 0:i.orders)!==null&&O!==void 0?O:[],w=new jm.Designer;w.props.datasourceBind=new ie({dataCode:h,svcCode:p,orders:zw(P)}),w.props.isShowSubList=f.is_show_sublist,w.props.triggerType=f.timing_type,w.props.triggerFieldCode=f.ctrl_field_code,f==null||(u=f.sublist_page)===null||u===void 0||u.sublists.forEach(function($){$.title=me($.title)?$.title.zh:$.title}),w.props.sublistPage=f.sublist_page;var T=w.toSchema();return T.children.push(_,b),[T]}function Rve(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=me(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=t.dateType)===null||o===void 0||(n=o.replace)===null||n===void 0?void 0:n.call(o,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Tve(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:me(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=me(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new ie({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function Sve(e){for(var t=null,r=0;r<e.length;r++){var n,o=e[r];if(!!o){if(o.children&&((n=o.children[0])===null||n===void 0?void 0:n.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(r,1),r--)}}}function Eve(e){!e||(e.did_mount=e.did_mount.map(function(t){return t.name}),e.will_submit=e.will_submit.map(function(t){return t.name}),e.did_submit=e.did_submit.map(function(t){return t.name}))}function Ive(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var u;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(u=t[e.id][i]).push.apply(u,MA(e.props.events[i].map(function(l){return l.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,MA(t[e.id].on_blur))}}}var Bve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Tn(ce(n,function(i){return Nve(i)}));return r?o:o[0]};function Nve(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===c.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new et({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Mve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Tn(ce(n,function(i){return Ave(i)}));return r?o:o[0]};function Ave(e,t){return[c.CONTROL_TYPE.BUTTON,c.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,c.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,c.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.EXPORT_LIST_BUTTON,c.CONTROL_TYPE.FORM_SELECT_BUTTON,c.CONTROL_TYPE.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===c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===c.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var kve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Tn(ce(n,function(i){return Dve(i)}));return r?o:o[0]};function Dve(e,t){if(e.props.icon){var r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}var Lve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Tn(ce(n,function(i){return Fve(i)}));return r?o:o[0]},jve=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Fve(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(jve.includes(r.type))return r;var n=new Ug.Designer,o=new za.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Cve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Tn(ce(n,function(i){return xve(i)}));return r?o:o[0]};function xve(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var zve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ce(n,function(i){return Vve(i)});return r?o:o[0]};function Vve(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Gve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ce(n,function(i){return Yve(i)});return r?o:o[0]};function On(e,t){e.field_code&&(e.field_type=t)}function Yve(e,t){var r,n=(r={},H(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),H(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),H(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),H(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),H(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),H(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),H(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),H(r,c.CONTROL_TYPE.DEPARTMENT2,c.FieldTypes.DEPARTMENTS),H(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),H(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),H(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),H(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),H(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),H(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),H(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),H(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),H(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),H(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),H(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&On(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(On(e.props.data_bind.amount,c.FieldTypes.DECIMAL),On(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(On(e.props.data_bind.result,c.FieldTypes.DECIMAL),On(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(On(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),On(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;On(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var Hve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ce(n,function(i){return qve(i)});return r?o:o[0]};function qve(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var Uve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ce(n,function(i){return Wve(i)});return r?o:o[0]};function Wve(e,t){return e.type===c.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[c.FieldTypes.VARCHAR,c.FieldTypes.TEXT,c.FieldTypes.AUTO_NUMBER].includes((o=r.props)===null||o===void 0||(n=o.data_bind)===null||n===void 0?void 0:n.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Kve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ce(n,function(i){return Xve(i)});return r?o:o[0]};function Xve(e,t){return[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Jve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ce(n,function(i){return Qve(i)});return r?o:o[0]};function Qve(e,t){return[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Zve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ce(n,function(i){return ehe(i)});return r?o:o[0]};function ehe(e,t){return e.type===c.CONTROL_TYPE.TITLE&&e.props.config.push(c.TitleConfigEnum.ShowTitle),e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===c.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var u;if(r.children=(u=r==null?void 0:r.children)!==null&&u!==void 0?u:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var l,f,a,s,_,d,b=new Yo.Designer;Object.defineProperty(b,"id",{value:"listPageCheckBtnId"}),b.props.code="view",b.props.icon="iconliulan1",b.props.command="view",b.props.content=(l=r.props)===null||l===void 0?void 0:l.check.content,b.props.priorityProcess=(f=r.props)===null||f===void 0?void 0:f.check.priority_process,b.props.openType=(a=r.props)===null||a===void 0?void 0:a.check.open_type,b.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((_=r.props)===null||_===void 0)&&_.check.is_show&&r.children.push(b.toSchema()),(d=r.props)===null||d===void 0||delete d.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var g,h,m,p,O,P,w=new Yo.Designer;Object.defineProperty(w,"id",{value:"listPageEditBtnId"}),w.props.code="edit",w.props.icon="iconbianji1",w.props.command="edit",w.props.content=(g=r.props)===null||g===void 0?void 0:g.edit.content,w.props.priorityProcess=(h=r.props)===null||h===void 0?void 0:h.edit.priority_process,w.props.openType=(m=r.props)===null||m===void 0?void 0:m.edit.open_type,w.props.formKey=(p=r.props)===null||p===void 0?void 0:p.edit.form_key,!((O=r.props)===null||O===void 0)&&O.edit.is_show&&r.children.push(w.toSchema()),(P=r.props)===null||P===void 0||delete P.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var T,$,S,L,xe,be,ge=new Yo.Designer;Object.defineProperty(ge,"id",{value:"listPageDeleteBtnId"}),ge.props.code="delete",ge.props.icon="iconlajitong",ge.props.command="delete",ge.props.content=(T=r.props)===null||T===void 0?void 0:T.delete.content,ge.props.priorityProcess=($=r.props)===null||$===void 0?void 0:$.delete.priority_process,ge.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,ge.props.formKey=(L=r.props)===null||L===void 0?void 0:L.delete.form_key,ge.props.needConfirm=!0,ge.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((xe=r.props)===null||xe===void 0)&&xe.delete.is_show&&r.children.push(ge.toSchema()),(be=r.props)===null||be===void 0||delete be.delete}}}),[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}function By(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var the=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ce(n,function(i){return nhe(i,t)});return r?o:o[0]};function nhe(e,t){e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.map(function(o){o.props.meta_auto_width=new Zy,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});var r,n=(r={},By(r,c.CONTROL_TYPE.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}]),By(r,c.CONTROL_TYPE.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}]),By(r,c.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"}]),By(r,c.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),r);return e.type in n&&n[e.type].forEach(function(o){e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),rhe(t),e}function rhe(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(function(r){var n,o,i;e.listeners[r].forEach(function(u,l){var f=u.event_key||u.eventKey;switch(f){case"on_click_finish":o=u,i=l;break;case"on_click":n=u;break}}),o&&(o.cases[0].handlers.unshift(vw()),n?(o.cases.forEach(function(u){n.cases[0].handlers.push(u)}),e.listeners[r].splice(i,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[ohe()]}];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){var t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(function(r){r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(vw())}}}function ohe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[vw()]}}function vw(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}var ihe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ce(n,function(i){return uhe(i,t)});return r?o:o[0]};function uhe(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){if(e.props.is_show_selection===!1){var r=[c.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,c.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT,c.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON];e.children.forEach(function(n){if(n.type===c.CONTROL_TYPE.GRID_TABLE){var o=n.children.map(function(u){return u.type}),i=o.some(function(u){return r.includes(u)});i===!0&&(e.props.is_show_selection=!0)}})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName)}return e.type===c.CONTROL_TYPE.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e}var DA={"v1.0":vve,"v2.0":Bve,"v2.1":Mve,"v2.2":kve,"v2.3":Lve,"v2.4":Cve,"v2.5":zve,"v2.6":Gve,"v2.7":Hve,"v2.8":Uve,"v2.9":Kve,"v2.10":Jve,"v3.0":Zve,"v3.1":the,"v3.2":ihe,"v3.3":function(){}};const LA=(e,t)=>{const r=jA(e),n=jA(t),o=r.pop(),i=n.pop(),u=xA(r,n);return u!==0?u:o&&i?xA(o.split("."),i.split(".")):o||i?o?-1:1:0},Ny=(e,t,r)=>{ahe(r);const n=LA(e,t);return zA[r].includes(n)},che=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,jA=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(che);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},FA=e=>e==="*"||e==="x"||e==="X",CA=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},lhe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],fhe=(e,t)=>{if(FA(e)||FA(t))return 0;const[r,n]=lhe(CA(e),CA(t));return r>n?1:r<n?-1:0},xA=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=fhe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},zA={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},VA=Object.keys(zA),ahe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(VA.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${VA.join("|")}`)};function she(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _he(e,t,r){return t&&GA(e.prototype,t),r&&GA(e,r),e}function YA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hw(e){return e.replace(/^v/,"")}var mo=Object.keys(DA).map(function(e){return hw(e)}).sort(LA),Fi=mo[mo.length-1],yhe=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fi;she(this,e),YA(this,"toVersion",void 0),YA(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,Ny(r,Fi,">")?Qt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Fi)):(!mo.includes(hw(r))||!mo.includes(hw(t)))&&Qt("Version Builder: Please give me a valid version number, The valid version is: ".concat(mo.join(","),", But give me a ").concat(t))}return _he(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(Ny(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(u,l,f,a){var s,_=(s=a[f+1])!==null&&s!==void 0?s:o.toVersion;To("Version Builder: current version: ".concat(l,", nextVersion: ").concat(_));var d=DA[l],b=u;if(typeof d=="function"){var g=d(u,n);g&&(b=g)}return b},r);return To("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return mo.filter(function(n){return Ny(n,r.schemaVersion,">=")&&Ny(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Fi}}],[{key:"version",get:function(){return Fi}}]),e}();const My=[],bw={exports:{}};let gw=!1;const phe=window.module,dhe=window.exports,vhe=window.require;function hhe(e){return gw||(window.module=bw,window.exports=bw.exports,window.require=function(t){return e[t]},gw=!0),function(){window.module=phe,window.exports=dhe,window.require=vhe,gw=!1}}function bhe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=hhe(t);i.src=e,i.type="text/javascript";const l=()=>{document.head.removeChild(i);const f=My.findIndex(a=>a===r);My.splice(f,1),My.length===0&&u()};i.onerror=function(f){l(),o(f)},i.onload=function(){n(bw.exports),l()},document.head.appendChild(i)});return My.push(r),r}function mw(e){return fetch(e,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(t=>{if(t.ok===!1)throw"not found resource:"+e;return t.text()})}function HA(e,t,r={fetch:mw}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(l){return t[l]}),n(u.exports)}).catch(i=>{o(i)})})}function Ay(e,t){return HA(e,t)}function ghe(e,t){return Ci(this,null,function*(){return yield Promise.all(e.map(r=>Ay(r,t)))})}function ky(e,t,r){let n;t==="runtime"?n=class extends Z{constructor(f){super(f),this.props={}}static get controlType(){return e}}:n=class extends F{constructor(f){super(f),this.props={}}static get controlType(){return e}};class o extends Q{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:l=>l}}function mhe(e,t,r,n){return Ci(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Ci(this,null,function*(){let u=!0,l;try{u=!0;let f="";n.type==="runtime"?f=i.runtime:f=i.designer,f+="?v="+i.version,l=yield Ay(f,r)}catch(f){u=!1,Pn("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,f),l=ky(i.id,n.type,n.tipMessage)}if(u){let f="";if(n.type==="runtime"&&i.runtimecss!==void 0){const a=new RegExp(i.id+"-runtime-.*?$");f=i.runtime.replace(a,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const a=new RegExp(i.id+"-designer-.*?$");f=i.designer.replace(a,i.designercss)}if(f!==""){const a=document.createElement("link");a.href=f,a.rel="stylesheet",document.head.appendChild(a)}}qA(n.type,l,o,u,i)}))),e==null||e.map(i=>{const[u,l]=i.split(":");if(o.has(u)===!1){const a=ky(u,n.type,n.tipMessage);qA(n.type,a,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:l})}})),o})}function qA(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&Pn(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&Pn(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function Ohe(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[l,f]=u.split(":");o.props.id===l&&(i=f!=null?f:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function whe(e,t){return Ci(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield mw(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield Ay(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(l=>{let f=u.find(a=>t.type==="runtime"?a.Runtime.controlType===l.id:a.Designer.controlType===l.id);f===void 0&&(f=ky(l.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(l.id,{props:l,version:l.version,isLoaded:!0,control:f})})}return n})}c.ActionBar=N1,c.Address=BI,c.AddressValue=hP,c.AdvancedContainer=m1,c.Amount=yI,c.AmountDataBind=yP,c.AmountValue=pP,c.ApprovalStatusColumn=gA,c.ArrayColumn=kM,c.Attachment=nI,c.AutoNumber=WI,c.AutoNumberColumn=HM,c.AutoWidth=Qy,c.BaseControlProperty=A,c.BaseControlPropertyRules=_e,c.BaseControlPropertyRuntimeRules=G,c.BaseStyle=OP,c.BatchDeleteButton=dS,c.BatchPrintListButton=QT,c.BatchPrintRecordListButton=rS,c.BatchSubmissionListButton=pR,c.Button=E$,c.Calc=tB,c.CalcDataBind=bP,c.CalcScriptEchoItem=KL,c.CalcValue=gP,c.CardGroup=aN,c.Checkbox=IS,c.Col=za,c.ColumnControlProperty=te,c.ColumnControlPropertyRules=at,c.ColumnOptionAndDataSourcePropertyRules=Cp,c.CreateFormListButton=uR,c.CustomAttributeItem=np,c.CustomColumn=_A,c.CustomPermissionItem=Zj,c.DEFAULT_LOCALE=Sw,c.DESIGNER_SLOT=jy,c.Dashboard=bT,c.DataBind=et,c.DataSourceBind=ie,c.DataSourceDataSetValue=fP,c.DataSourceOrderItem=ep,c.DataSourceParamItem=Xj,c.DataStorageDoc=tP,c.DataView=zm,c.DatePicker=ZS,c.DateRange=fE,c.DecimalColumn=pM,c.Department=xI,c.Department2=N3,c.DepartmentColumn=CM,c.DepartmentEntity=Dy,c.DesignerColumnControl=le,c.DesignerControl=F,c.DesignerFormControl=k,c.DesignerLayoutControl=W,c.DesignerListControl=pu,c.DesignerSearchControl=i$,c.DesignerWrapControl=f$,c.DisplayBoListItem=Wi,c.Divider=Y$,c.ElectronicSignature=h3,c.ElectronicSignatureConfig=I$,c.Employee=XE,c.Employee2=c3,c.EmployeeColumn=hA,c.EventLogic=Uw,c.Explain=Cu,c.ExportConfig=A$,c.ExportListButton=RR,c.ExportRecordListButton=BR,c.ExportTemplate=jo,c.FieldBindItem=oP,c.FieldFilterCondition=Eo,c.FieldFilterConditions=Ui,c.FieldTypeToColumnType=JL,c.FieldTypeToLabel=QL,c.FileColumn=WM,c.FillBackBind=ip,c.FillPayloadBind=op,c.FlexStyleConfig=L$,c.FormBind=Sn,c.FormSelectBind=nP,c.FormSelectButton=HR,c.Grid=V3,c.GridLayoutContainer=MN,c.GridLayoutWrap=NA,c.GridRow=Ug,c.GridTable=W1,c.GridTableColumn=TN,c.Image=uI,c.ImageColumn=JM,c.ImageOptionSetting=_P,c.ImportConfig=M$,c.ImportListBind=N$,c.ImportRecordListButton=LR,c.Input=wS,c.InvoiceCheckButton=YT,c.JSONCopy=Je,c.JoinRelation=lP,c.Language=Jj,c.LayoutControlProperty=Y,c.LeftVariable=cP,c.LimitDate=Fu,c.Link=P$,c.LinkOperationOption=mt,c.ListBind=qi,c.ListControlProperty=Lo,c.ListSelectButton=eT,c.ListView=jm,c.ListViewSelect=ET,c.LocationColumn=uA,c.MetaAutoWidth=Zy,c.MetaWidth=Hi,c.MultistageFillingItem=Ee,c.Number=qS,c.ObjectDataBind=Xi,c.OperationButton=Yo,c.OperationColumn=Y1,c.OperationItem=Dt,c.OptObject=wP,c.OptionAndDataSourcePropertyRules=En,c.OptionSetting=cp,c.OrderColumn=x1,c.OrganizationDataSourceBind=aP,c.OrganizationSelection=F3,c.Page=v1,c.Pagination=lT,c.PeopleColumn=eA,c.Position=T1,c.PositioningContainer=P1,c.PrintTemplate=D$,c.Property=Q,c.PropertyRules=oe,c.PropertyRuntimeRules=tn,c.Radio=CS,c.RangeDataBind=dP,c.RangeDateValue=vP,c.RegisterControls=So,c.RegularRules=up,c.RichText=PE,c.RightVariable=ar,c.Row=eN,c.RowStyleRule=PP,c.RowStyleRuleScript=$P,c.RulesMessage=v,c.RuntimeColumnControl=fe,c.RuntimeControl=Z,c.RuntimeFormControl=D,c.RuntimeLayoutControl=ee,c.RuntimeListControl=kp,c.RuntimeSearchControl=c$,c.RuntimeWrapControl=s$,c.SUBTABLE_DEFAULT_MAX_HEIGHT=k$,c.Score=mI,c.SearchControlProperty=mu,c.SearchDateRange=OB,c.SearchInput=UB,c.SearchNumberRange=sB,c.Select=AE,c.SelectMultiple=xE,c.SelectRelation=FB,c.SelectedContentConfig=Ki,c.SimpleSearch=RA,c.SubListItem=iP,c.SubListPageConfig=uP,c.SubTable=k1,c.SubTableColumn=nm,c.SubTableRow=ON,c.SubmissionRecordListButton=gR,c.SuperDataSourceBind=Io,c.Tab=qN,c.TabPane=zN,c.Text=b$,c.TextColumn=cM,c.TextOcrButton=LT,c.Textarea=vE,c.TimescopeColumn=OM,c.TimestampColumn=EM,c.Title=Q$,c.Toolbox=ZN,c.Tree=e3,c.TreeDataSourceBind=rp,c.UndersignedPerson=pd,c.UserEntity=Ly,c.VarcharColumn=eM,c.VersionBuilder=yhe,c.ViewOperationItem=mP,c.VueFormItem=EB,c.WPS=$3,c.WPSSetting=B$,c.Watcher=Hw,c.WpsOperationItem=dd,c.WrapControlProperty=$u,c.baseControls=GG,c.camelizeKeys=zw,c.columnControls=bde,c.controlHooksEmitter=AP,c.createValidator=MP,c.debounce=Tj,c.decamelizeKeys=Tn,c.defineArrayParent=Kw,c.defineControlArrayToProperty=ft,c.defineParent=Xy,c.error=Qt,c.formControls=zee,c.genNonDuplicateId=ze,c.getHackerControl=ky,c.getNotRepeatItems=xw,c.initExpression=Fo,c.initImageOptions=Qj,c.initLinkOperationRules=jt,c.initOptionAndDataSourceRules=eu,c.initOptions=Ot,c.initSuperDataSourceRules=ko,c.isArray=$n,c.isBuiltInControls=Ej,c.isDataBind=HP,c.isFunction=mj,c.isJSONArray=$j,c.isJSONObject=Rj,c.isLanguageObject=me,c.isNumber=qy,c.isNumberAndEmptyStringArray=Pj,c.isNumberArray=wj,c.isObject=gj,c.isPlainObject=Hy,c.isString=Cw,c.isStringArray=Oj,c.layoutControls=Rle,c.listControls=_ae,c.loadRemoteControl=Ay,c.loadRemoteControls=ghe,c.loadScriptFromFetch=HA,c.loadScriptFromTag=bhe,c.log=To,c.logerror=kw,c.loop=ce,c.loopFormSchema=Vi,c.nativeFetch=mw,c.noop=XL,c.referenceError=Vy,c.registerByteluckControls=whe,c.registerCustomControls=mhe,c.searchControls=Dde,c.setPropertyDontEnum=Gi,c.toNumberOrEmpty=Rn,c.updateValueFromKeys=jw,c.upgradeCustomControlSchema=Ohe,c.wait=Sj,c.warn=Pn,c.wrapControls=lve,Object.defineProperty(c,"__esModule",{value:!0})});
|